Authentication
The PostDog API uses API keys to authenticate requests. You can view and manage your API keys in the Dashboard under Settings > Developers.
Example Request
Authorization: Bearer pd_live_xxxxxxxx
POST
Send Message
Sends a WhatsApp message, Email, or Social post depending on the channel ID.
https://api.postdog.app/v1/messages
Parameters
channel_id
string
The ID of the channel sending the message.
to
string
Phone number or email address of recipient.
content
object
The message body payload.
Example
curl -X POST https://api.postdog.app/v1/messages \
-H "Authorization: Bearer pd_live_..." \
-H "Content-Type: application/json" \
-d '{
"channel_id": "ch_123456",
"to": "+15550109999",
"content": {
"type": "text",
"text": "Hello world!"
}
}'