Contact Numbers API
Delete a Contact Number from a Contact by phone number
curl -X DELETE https://api.retreaver.com/contact_numbers/+18668987878.json?api_key=[api_key]&company_id=1Swipe horizontally for full code
Deletes the contact number from the Contact it is associated with, as long as the Contact has more than one Contact Number.
HTTP Request
DELETE https://api.retreaver.com/contact_numbers/+18668987878.json?api_key=[api_key]&company_id=1
Update a Contact Number by phone number
curl -s \
-X PUT \
https://api.retreaver.com/contact_numbers/+18001234567.json?api_key=[api_key]&company_id=1 \
-H "Content-Type: application/json" \
-d '{"contact_number":{"number":"+18005551234"}}'Swipe horizontally for full code
The above command returns JSON structured like this:
{
"contact_number": {
"number": "+18005551234",
"description": "Landline",
"id": 2
}
}Swipe horizontally for full code
Easily updates a Contact Number.
HTTP Request
PUT https://api.retreaver.com/contact_numbers/+18001234567.json?api_key=[api_key]&company_id=1
Content-Type: application/json
{"contact_number":{"number":"+18005551234"}}
Help us improve this article or request new support guides.
On this page