get https://partner.gupshup.io/partner/app//template/sync
This is an app level API used to sync the templates on Gupshup platform
Rate Limit
1 request per hour
Request Parameters
Key | Description | Constraints |
---|---|---|
PARTNER_APP_TOKEN | Partner app access token issued post partner login | Should be a valid Partner app access token belonging to the passed app ID |
Path Parameters
Key | Description | Constraints |
---|---|---|
appId | App ID for the app | Valid app ID |
Sample Request
curl --location 'https://partner.gupshup.io/partner/app/:appId/template/sync' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}'
Sample Response
202 Accepted
Status Codes
Status Code | Response | Comments |
---|---|---|
Success | ||
202 | Successfully accepted sync request | |
Error | ||
400 | { "status": "error", "message/data": "Specific to API" } | Error with respect to the API |
401 | { "status": "error", "message": "Unauthorized Access" } | When authentication fails |
429 | { "status": "error", "message": "Too Many Requests" } | When the rate limit is hit |
500 | { "status": "error", "message": "Internal Server Error" } | For any Internal Error |