post
https://partner.gupshup.io/partner/app//username
Adopts or changes the business username for the app's WhatsApp phone number.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Sample Request:
curl --location 'https://partner.gupshup.io/partner/app/{{APP_ID}}/username' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'username=<USERNAME>' \
--data-urlencode 'transfer_action=none'
Sample Response:
{
"status": "reserved"
}
| Key | Description | Value |
|---|---|---|
| Authorization | Access token for the application | sk_***** |
| Content-Type | Request media type | application/x-www-form-urlencoded |
| APP_ID | App ID (path param) | e.g. 04e6c66b-bb95-4bfc-b75e-4e7391ddc680 |
| username | Desired business username | e.g. mybusiness |
| transfer_action | Username transfer action | none, force_transfer |