API Referencev1 REST API

Pingstack REST API Reference

Complete catalog of all 22 official endpoints with request parameters, schemas, headers, and copy-paste code snippets.

POST & GET endpoints for single message dispatch and conversation history.

POST/api/v1/messages
Send WhatsApp template or text message
GET/api/v1/messages
List workspace messages with pagination
GET/api/v1/messages/{id}
Retrieve single message status and metadata

CRUD and batch endpoints for managing contact records and custom fields.

GET/api/v1/contacts
List contacts with search and tags
POST/api/v1/contacts
Create or upsert a contact
GET/api/v1/contacts/{id}
Get contact profile
PATCH/api/v1/contacts/{id}
Update contact fields
DELETE/api/v1/contacts/{id}
Delete contact
POST/api/v1/contacts/bulk
Bulk upsert up to 500 contacts
DELETE/api/v1/contacts/bulk
Bulk delete contacts

Audience segment creation and contact membership association.

GET/api/v1/groups
List groups with live contact counts
POST/api/v1/groups
Create a new audience group
GET/api/v1/groups/{id}
Get group details
PATCH/api/v1/groups/{id}
Update group name/description
DELETE/api/v1/groups/{id}
Delete group
GET/api/v1/groups/{id}/contacts
List group member contacts
POST/api/v1/groups/{id}/contacts
Add contact IDs to group
DELETE/api/v1/groups/{id}/contacts
Remove contact IDs from group

Query approved Meta WhatsApp templates, languages, and variable schemas.

GET/api/v1/templates
List approved templates
GET/api/v1/templates/{id}
Get template content and variable placeholders

Broadcast lifecycle management and audience delivery execution.

GET/api/v1/campaigns
List broadcast campaigns and delivery stats
POST/api/v1/campaigns
Create campaign draft or scheduled broadcast
GET/api/v1/campaigns/{id}
Get campaign details
DELETE/api/v1/campaigns/{id}
Delete campaign
POST/api/v1/campaigns/{id}/launch
Launch broadcast (contacts, groups, direct recipients)
GET/api/v1/campaigns/{id}/results
Get campaign delivery metrics and read rates

Manage outbound webhook subscriptions and test ping dispatches.

GET/api/v1/webhooks
List registered webhook subscriptions
POST/api/v1/webhooks
Register new webhook endpoint (secret generated)
GET/api/v1/webhooks/{id}
Get webhook endpoint and delivery logs
DELETE/api/v1/webhooks/{id}
Delete webhook subscription
POST/api/v1/webhooks/{id}/test
Trigger immediate test ping event

Programmatic API key provisioning and revocation.

GET/api/v1/keys
List active API keys
POST/api/v1/keys
Generate new API key
DELETE/api/v1/keys
Revoke API key

Usage & Telemetry Reference

View Full Usage & Telemetry Reference

Integration metrics, latency averages, and persistent operational request logs.

GET/api/v1/usage
Get request totals, success rate, and latency metrics
GET/api/v1/logs
Query paginated operational request logs