Legacy Cloud API
Inbox
List conversations, fetch details and message history, and update conversation status.
GET
/inbox/conversation-list
conversations:read
https://staging-mobile.washeej.com/external-api/inbox/conversation-list
List conversations.
| Parameter | Type | Required | Description |
|---|---|---|---|
whatsapp_account_id
|
integer | optional | Filter by Cloud account. |
cURL
curl -H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
https://staging-mobile.washeej.com/external-api/inbox/conversation-list
GET
/inbox/conversation-details/{id}
conversations:read
https://staging-mobile.washeej.com/external-api/inbox/conversation-details/{id}
Get conversation details and contact info.
| Parameter | Type | Required | Description |
|---|---|---|---|
id
path
|
integer | required | Conversation ID. |
cURL
curl -H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
https://staging-mobile.washeej.com/external-api/inbox/conversation-details/20717
API v1 equivalent
Prefer
GET /v1/conversations (list) + messages endpoint for new integrations.
Open API v1 docs →
GET
/inbox/conversation-details/{id}
conversations:read
https://staging-mobile.washeej.com/external-api/inbox/conversation-details/{id}
Conversation details for a conversation id.
| Parameter | Type | Required | Description |
|---|---|---|---|
id
path
|
integer | required | Conversation ID. |
cURL
curl -H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
https://staging-mobile.washeej.com/external-api/inbox/conversation-details/20717
API v1 equivalent
Prefer
GET /v1/conversations/{id}/messages for new integrations.
Open API v1 docs →
POST
/inbox/change-conversation-status/{id}
messages:send
https://staging-mobile.washeej.com/external-api/inbox/change-conversation-status/{id}
Change a conversation’s status.
| Parameter | Type | Required | Description |
|---|---|---|---|
id
path
|
integer | required | Conversation ID. |
status
|
integer | required | New status: 0, 1 = done, 2 = pending, 3 = important. |
cURL
curl -X POST https://staging-mobile.washeej.com/external-api/inbox/change-conversation-status/20717 \
-H "client-id: YOUR_CLIENT_ID" \
-H "client-secret: YOUR_CLIENT_SECRET" \
-H "Content-Type: application/json" \
-d '{"status":1}'