This API updates the display name for a WhatsApp application.
Rate limited to 3 requests per day
Request Example
curl --location 'https://partner.gupshup.io/partner/app/{{APP_ID}}/profile/displayName' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'newDisplayName=Updated Business Name'
Request Example
{
"status": "success"
}
Status Codes
Status Code | Response | Comments |
---|---|---|
200 |
| Successfully updated display name |
400 |
| Display Name validations |
400 |
| Display Name validations |
400 |
| Display Name validations |
400 |
| Display Name validations |
400 |
| Display Name validations |
500 |
| For any internal error |
Request Parameters
Key | Description | Values | Data Type | Required/Optional | Constraints |
---|---|---|---|---|---|
Path Parameters | |||||
appId | The unique identifier of the WhatsApp application | 57d9179b-7412-4621-bf86-57ee1962fd12 | String | Required | Must be a valid app ID |
Form Parameters | |||||
newDisplayName | The new display name for the WhatsApp application | Updated Business Name | String | Required | Must comply with WhatsApp display name requirements |
Request Headers | |||||
Authorization | Partner App token for authentication | sk_226b25558a19407c9d34845****b6b88 | String | Required | Must be a valid JWT token with PARTNER_APP role |