get
https://partner.gupshup.io/partner/bizgate/partner//auth/token
Lists the partner's universal tokens, including expired and revoked ones.
Request parameters
Path parameters
| Key | Description | Values | Data Type | Required/Optional |
|---|---|---|---|---|
| partnerId | Identifier of the partner account. Must be the partner the token authenticates. | 13824 | Integer | 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 universal tokens (UT).
curl --request GET \
--url 'https://partner.gupshup.io/partner/bizgate/partner/13824/auth/token' \
--header 'Authorization: Bearer <UT>' \
--header 'Accept: application/json'Sample success response (200)
{
"status": "success",
"data": {
"tokens": [
{
"id": "a2f6c0de-1b2c-4d5e-8f90-1234567890ab",
"name": "ci-pipeline",
"createdByEmail": "[email protected]",
"createdOn": 1791280282000,
"expiredOn": 1796408962000,
"revokedOn": null,
"status": "ACTIVE"
}
]
}
}Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…