UC Protect numbers can be de-registered via the API to improve real time integration with third party phone number providers.
URL: https://core.purecallerid.app/api/public/ucProtect/remove
Method: POST
Content-Type: application/json
Security: A custom HTTP header must be included in the POST request. The Header name is "X-API-KEY" and the value passed within this header is one of the encrypted API keys associated with your workspace.
Request Body:
{
"numbers": [
"5555551212",
"5555551213",
"5555551214",
"5555551215"
]
}
- numbers: Array of phone numbers to de-register with the UC Protect service
Response Body:
{
"success": [
{
"number": "+15555551212,
"reason": "OK"
},
{
"number": "+1555551213",
"reason": "OK"
}
],
"failure": [
{
"number": "5555551214",
"reason": "Unable to locate phone number"
},
{
"number": "5555551215",
"reason": "Unable to locate phone number"
}
],
"successfulRecords": 2,
"failureRecords": 2
}
- success: array of phone numbers that were successfully de-registered with UC Protect
- failure: Array of phone numbers that were not able to be de-registered. Reason will indicate why the number was not successful
- successRecords: count of de-registered numbers
- failureRecords: count of records that were not able to be de-registered
Comments
0 comments
Please sign in to leave a comment.