API Reference
Conversations
List inbox conversations and retrieve message history.
GET
/conversations
conversations:read
https://app.washeej.com/v1/conversations
List inbox conversations.
| Parameter | Type | Required | Description |
|---|---|---|---|
whatsapp_account_id
|
integer | optional | Filter by channel ID. |
per_page
|
integer | optional | Page size (default 25, max 100). |
cURL
curl -H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
"https://app.washeej.com/v1/conversations?whatsapp_account_id=YOUR_ACCOUNT_ID"
GET
/conversations/{id}/messages
messages:read
https://app.washeej.com/v1/conversations/{id}/messages
List messages in a conversation (newest first, paginated).
| Parameter | Type | Required | Description |
|---|---|---|---|
id
path
|
integer | required | Conversation ID. |
per_page
|
integer | optional | Page size. |
cURL
curl -H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
https://app.washeej.com/v1/conversations/20717/messages
Legacy note
The older External API path
/external-api/inbox/conversation-messages/{id} is also available. New integrations should use GET /v1/conversations/{id}/messages.