Update app flags

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

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired

Query parameters

KeyDescriptionValuesData TypeRequired/Optional
templateMessagingWhether template messaging is enabled on the app.trueBooleanOptional
storageRegionRegion in which the app's message data is stored.INStringOptional
disableOptinPrefUrlWhether the opt-in preference URL is suppressed for the app.trueBooleanOptional
languageCodeDefault language code for the app.enStringOptional
enableRedisWhether Redis caching is enabled for the app.falseBooleanOptional

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the WhatsApp app the call acts on.

Query Params
boolean

Whether template messaging is enabled on the app.

string

Region in which the app's message data is stored.

boolean

Whether the opt-in preference URL is suppressed for the app.

string

Default language code for the app.

boolean

Whether Redis caching is enabled for the app.

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json