Skip to content

API overview

The Pingdex API is a JSON REST API. You use it to submit leads, read their outcomes, and manage the campaigns and providers that route them. Everything you can do with the API acts on your own account. There is no way to reach another account’s data.

https://api.pingdex.io/api/v1

Every path in this reference is relative to that base URL. For example, POST /leads means POST https://api.pingdex.io/api/v1/leads.

Topic Behaviour
Format Requests and responses are JSON. Send Content-Type: application/json on requests with a body, and Accept: application/json on every request.
Authentication A Passport bearer token in the Authorization header. See Authentication.
Identifiers Lead, campaign, provider and attempt identifiers are UUIDs.
Timestamps ISO 8601 with a UTC offset, for example 2026-12-04T09:15:02+00:00.
Money Decimal strings with two places, for example "12.50". Fields are null when there is no value.
Field names snake_case throughout.
Account scope The account comes from the token. You never send an account identifier. A resource that belongs to another account returns 404.
Unknown routes An unknown path returns 404. A known path with an unsupported method returns 405. Both use the {"message": "..."} shape.

Pingdex has not published a separate versioning or deprecation policy beyond the v1 path prefix.

Every endpoint requires a bearer token. Create tokens as API keys in the dashboard, under Settings, API keys. Each key carries one or more scopes, and each endpoint requires exactly one scope.

Scope Allows Endpoints
leads:ingest Submit leads. POST /leads
leads:read Read leads and their delivery attempts. GET /leads, GET /leads/{lead}, GET /leads/{lead}/attempts
campaigns:manage Create, read and update campaigns. GET, POST, PUT and PATCH on /campaigns
providers:manage Create, read and update providers. GET, POST, PUT and PATCH on /providers

Scopes do not imply one another. A key with leads:ingest cannot read leads, and a key with providers:manage cannot read campaigns. A request with a valid token that lacks the required scope returns 403.

Method Path Scope Purpose
POST /leads leads:ingest Submit a lead. Returns 202.
GET /leads leads:read List leads, newest first, with cursor pagination.
GET /leads/{lead} leads:read Read one lead.
GET /leads/{lead}/attempts leads:read List the delivery attempts for one lead.
GET /campaigns campaigns:manage List campaigns.
POST /campaigns campaigns:manage Create a campaign.
GET /campaigns/{campaign} campaigns:manage Read one campaign.
PUT, PATCH /campaigns/{campaign} campaigns:manage Replace a campaign.
GET /providers providers:manage List providers.
POST /providers providers:manage Create a provider.
GET /providers/{provider} providers:manage Read one provider.
PUT, PATCH /providers/{provider} providers:manage Replace a provider.

There are no delete endpoints. To stop a campaign or provider being used, update it with enabled set to false.

Pingdex also runs a Model Context Protocol server for AI assistants, at a separate endpoint (https://api.pingdex.io/mcp/pingdex). It uses the same tokens and scopes but is not part of this REST API. See the MCP introduction.

Webhooks are not a REST endpoint you call. Pingdex calls an endpoint that you host when a lead reaches a final outcome. They have their own configuration and payload, covered in Webhooks. Nothing under /api/v1 sends or manages webhooks.

The Pingdex dashboard uses session-based routes of its own. Those routes are not part of the API and are not covered by this reference. Use only the endpoints listed above in your integrations.