post https://partner.gupshup.io/partner/account/api/appLink
Use this API to map your Gupshup App with a Partner
Parameters
Parameters | Value | Description |
---|---|---|
Authorization | {{PARTNER_TOKEN}} | JWT Token issued post Partner login |
apiKey | {{API_KEY}} | API key for the app |
appName | {{APP_NAME}} | Unique Identifier for Gupshup App |
Sample Request
curl --location --request POST 'https://partner.gupshup.io/partner/account/api/appLink' \
--header 'Authorization: {{PARTNER_TOKEN}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'apiKey={{API_KEY}}' \
--data-urlencode 'appName={{APP_NAME}}'
Sample Response
{
"partnerApps": {
"createdOn": 1609829592910,
"healthy": false,
"id": "fa*b***e-d2**-****-be38-0****d*9a**b",
"live": false,
"modifiedOn": 1614162854108,
"name": "assistant0092",
"partnerId": 1,
"phone": "91**********",
"stopped": false,
"walletId": "1**"
}
}