put
https://partner.gupshup.io/partner/bizgate/app//management
Updates the tunable flags on a WhatsApp app, such as template messaging on/off, storage region, language code, redis caching, and opt-in preference URL behaviour.
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 |
Query parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| templateMessaging | Whether template messaging is enabled on the app. | true | Boolean | Optional |
| storageRegion | Region in which the app's message data is stored. | IN | String | Optional |
| disableOptinPrefUrl | Whether the opt-in preference URL is suppressed for the app. | true | Boolean | Optional |
| languageCode | Default language code for the app. | en | String | Optional |
| enableRedis | Whether Redis caching is enabled for the app. | false | Boolean | Optional |
Sample cURL — Update app flags.
curl --request PUT \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/management?templateMessaging=true&storageRegion=IN&disableOptinPrefUrl=true&languageCode=en&enableRedis=false' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"status": "success",
"data": {
"app": {
"id": "39ebad1e-7eab-4f07-aaee-d454e0cf00ac",
"customerId": 1000123456,
"customerType": "PARTNER",
"billingType": "PREPAID",
"createdOn": 1720203204000,
"phone": "91XXXXXXXX10",
"callbackUrl": "https://partner.example/webhook/whatsapp",
"disableOptinPrefUrl": false,
"federated": false,
"live": true,
"modifiedOn": 1721088316000,
"name": "AcmeSupport",
"stopped": false,
"templateMessaging": true,
"type": "apicallbackpost",
"storageRegion": "US",
"version": 2
}
}
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…