post
https://partner.gupshup.io/partner/bizgate/app//thread/control
Passthrough to Self Serve thread control (WASS forwards the JSON to Meta thread_control).
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| appId | Identifier of the WhatsApp app the call acts on. | 6f414190-d45c-4671-bca1-fb6c3018cb13 | String | Required |
Body
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| messaging_product | Must be whatsapp. | — | Required | |
| to | Destination WhatsApp user phone number (the conversation to pass or release). | 16XXXXXXX34 | — | Required |
| action | pass hands the thread to another app on the WhatsApp account; release returns control to the primary app. Any other action Meta accepts on thread_control is also forwarded as-is. | release | — | Required |
Sample cURL — Pass or release WhatsApp thread control (WAME).
curl --request POST \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/thread/control' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{
"messaging_product" : "whatsapp",
"to" : "16XXXXXXX34",
"action" : "release"
}'Sample success response (200)
{
"success": true
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…