get
https://partner.gupshup.io/partner/bizgate/app//token
Lists this app's tokens, including expired and revoked ones.
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 |
|---|---|---|---|---|
| status | Optional exact-match filter: ACTIVE, EXPIRED or REVOKED. | — | String | Optional |
| name | Optional case-insensitive substring match on the token name. | — | String | Optional |
Sample cURL — List app tokens (UAT).
curl --request GET \
--url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/token' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"status": "success",
"data": {
"tokens": [
{
"id": "7d0e5a91-3c4b-4f2a-9e1d-0a1b2c3d4e5f",
"name": "support-bot",
"createdByEmail": "[email protected]",
"createdOn": 1791545000000,
"expiredOn": 1791631227000,
"revokedOn": null,
"status": "ACTIVE"
}
]
}
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…