Get Partner Token

Use this API to get the partner token for your Gupshup App

The partner token will be used as authorization in other Partner APIs. Currently, the expiry for the token is 24 hours.

Parameters

KeyValueDescription
Email{{EMAIL}}Email address through partner has signed up on partner portal
Password{{PASSWORD}}Password set by the partner on the partner portal

Sample Request

curl --location --request POST 'https://partner.gupshup.io/partner/account/login' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'email={{EMAIL}}' \
--data-urlencode 'password={{PASSWORD}}'

Sample Response

{
  "token": "{{PARTNER_TOKEN}}",
  "id": 1**3,
  "name": "gupshup",
  "terms_read": true,
  "admin": true,
  "email": "[email protected]",
  "activationRead": false,
  "billingType": "PREPAID",
  "contactName": "peter",
  "phoneNumber": "898",
  "enableCustomer": false,
  "enableWallet": true,
  "enableInrWallet": false,
  "enableLoaderWallet": false,
  "enableAppOnboarding": true,
  "isTpp": false,
  "onboardEnabled": false
}
Language
Click Try It! to start a request and see the response here!