Integration

Purpose

To enable or disable the provider integration within PhoneBridge.

Request URL

https://www.zohoapis.com/phonebridge/v3/integrate

Request Method

POST - To enable integration

DELETE - To disable integration

Possible Errors

HTTP StatusError CodeMessageReason
400SC_BAD_REQUESTPROVIDER_NOT_REGISTEREDThe PhoneBridge registration information is not available for the Provider name obtained from the OAuth Token object.
403SC_FORBIDDENINTERNAL_ERRORRequested user does not have enough privilege in Zoho PhoneBridge to enable the PhoneBridge integration.
403SC_FORBIDDENDIFFERENT_PROVIDER_ALREADY_ENABLEDA different Provider integration has been enabled for the account already.
500SC_INTERNAL_SERVER_ERRORINTERNAL_ERRORAn exception occurred while processing the request.

Sample Request to Enable Integration

Copiedcurl "https://www.zohoapis.com/phonebridge/v3/integrate"
-X POST
-H "Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxx.ef77

Sample Response

Copied{
  "message": "(Provider Name) Integration is successful" 
  "status":"success",
  "code":"SUCCESS"
}

Sample Request to Disable Integration

Copiedcurl  "https://www.zohoapis.com/phonebridge/v3/integrate"
-X DELETE
-H "Authorization: Zoho-oauthtoken 1000.xxxxxxxxxxxxxx.ebd1"

Sample Response

Copied{
  "message": "(Provider Name) Integration has been successfully removed" 
  "status":"success",
  "code":"SUCCESS"
}