Co-Existence - Closed Beta Phase - Enable for Onboarding APIs

Co-existence allows you to connect your existing WhatsApp Business App number to Gupshup.

The below API will help to enable API app level which is recommended when using Gupshup Onboarding APIs.

Request

curl --location --request PUT 'https://partner.gupshup.io/partner/app/:appId/config' \
--header 'Authorization: {{PARTNER_APP_TOKEN}}' \
--header 'Content-Type: application/json' \
--data '{
	"coexistenceEnabled" : true
}'

Params

KeyDescriptionConstraints
Headers
PARTNER_APP_TOKENPartner app access token issued post partner loginShould be a valid Partner app access token belonging to the passed app ID
Request Params
coexistenceEnabledCo Existence flagBoolean. Value - true / false
Path Params
appIdApp ID for the appValid app ID

Response

Status Code

Response

Comments

Success

200

"status": "success"

Successfully updated config

Error

400

"status":"error", "messagedata":"Specific to API"

Error with respect to API

401

"status":"error", "message":"Unauthorized Access"

When authentication fails

429

Too Many Requests

When rate limit is hit

500

"status": "error", "message": "Internal Server Error"

For any Internal Error