List app tokens (UAT)

Lists this app's tokens, including expired and revoked ones.

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
statusOptional exact-match filter: ACTIVE, EXPIRED or REVOKED.—StringOptional
nameOptional case-insensitive substring match on the token name.—StringOptional

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

Identifier of the WhatsApp app the call acts on.

Query Params
string

Optional exact-match filter: ACTIVE, EXPIRED or REVOKED.

string

Optional case-insensitive substring match on the token name.

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