Token APIs
Create, list and revoke universal tokens (UT) and app tokens (UAT): the bearer tokens a partner integration calls the APIs with.
| Endpoint | Method | Path |
|---|---|---|
| Revoke a universal token (UT) | POST | /bizgate/partner/{partnerId}/auth/token/revoke |
| Revoke all universal tokens (UT) and the app tokens made from them | POST | /bizgate/partner/{partnerId}/auth/token/revoke-all |
| List universal tokens (UT) | GET | /bizgate/partner/{partnerId}/auth/token |
| Create a universal token (UT) | POST | /bizgate/partner/{partnerId}/auth/token |
| Revoke all app tokens (UAT) of every app | POST | /bizgate/partner/{partnerId}/auth/app-token/revoke-all |
| Revoke an app token (UAT) | POST | /bizgate/app/{appId}/token/revoke |
| Revoke all app tokens (UAT) of this app | POST | /bizgate/app/{appId}/token/revoke-all |
| List app tokens (UAT) | GET | /bizgate/app/{appId}/token |
| Create an app token (UAT) | POST | /bizgate/app/{appId}/token |
Base URL: https://partner.gupshup.io/partner
See Getting Started for authentication, rate limits, and error codes.