Release Agent Phone Number (Token auth)

This API is used to force-release an agent's phone number when an agent disconnects a call with the customer; however, the call does not get disconnected, and the agent's phone number is still mapped with the customer.

This API enables you to create a new agent in your CloudAgent account.

To use this API with the help of a token, follow these steps:

  1. Generate the Token: Use the 'Generate Token' API to obtain an authentication token.
  2. Enter the Token ID: Navigate to the right section of this page, under the 'CREDENTIALS' tab. Here, input the generated token ID.
  3. With the token entered, pass the header and body parameters:

Possible responses

success message

"status": "success",

"FwpNumbers": ["xxxx"]

Invalid apiKey

"status": "error"

"message": "userName or apiKey not valid"

Invalid userName

"status": "error"

"message": "userName or apiKey not valid"

empty userName

"status": "error"

"message: "userName cannot be empty"

empty apiKey

"status": "error"

"message": "apiKey cannot be empty"

Language
Credentials
Bearer
URL
Click Try It! to start a request and see the response here!