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.
Base URL
Section titled “Base URL”https://api.pingdex.io/api/v1Every path in this reference is relative to that base URL. For example, POST /leads means POST https://api.pingdex.io/api/v1/leads.
Conventions
Section titled “Conventions”| 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.
Authentication and scopes
Section titled “Authentication and scopes”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.
Resources
Section titled “Resources”Endpoint summary
Section titled “Endpoint summary”| 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.
Reference pages
Section titled “Reference pages”- Authentication: create a key, send it, and understand
401and403. - Errors: the shape of every error response.
- Leads
- Campaigns
- Providers
- Integration object
- Limits: pagination, size caps, timeouts and the absence of request rate limits.
Related surfaces
Section titled “Related surfaces”MCP server
Section titled “MCP server”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
Section titled “Webhooks”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.
Dashboard routes
Section titled “Dashboard routes”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.