curl --request DELETE \
--url https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"phoneNumber": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones"
payload = { "phoneNumber": "<string>" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({phoneNumber: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"phones": [],
"primaryPhone": null
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Remove a phone added by hand
Removes a number added by hand (POST /business/contacts//phones, or the app’s Add phone) for your whole team, as the app does: it comes off your record of the contact and off every teammate’s record that holds it as added by hand, whoever added it (an add gives every teammate who holds the contact a copy). It must be on your own record. A number enrichment found cannot be removed: rate it bad with POST /business/contacts//phone-feedback instead; one both found and added stays listed. When it was your primary phone, another of your numbers becomes primary, and the same for each teammate. Answers your phones and primaryPhone as they now stand. Free to call.
Errors:
404CONTACT_NOT_FOUND— No contact with that id is held by your team (saved by you or a teammate), or it was deleted or merged.422CONTACT_DETAILS_NOT_EDITABLE— Your team holds the contact, but you hold no record of it of your own; save it to one of your lists first.422CONTACT_PHONE_NOT_FOUND— The number is not one of your phones for the contact.422CONTACT_PHONE_NOT_MANUALLY_ADDED— The number was found by enrichment, not added by hand.422CONTACT_PHONE_NUMBER_INVALID—phoneNumberdoes not read as a phone number.422VALIDATION_FAILED—phoneNumberis not in international (E.164) form, orcontactIdis not a 24-character hex id.429RATE_LIMITED— More than 120 requests per minute or 10,000 per day on the contacts bucket, which every /business/contacts endpoint shares; retry after Retry-After.500UNEXPECTED_ERROR— The request could not be completed; quote request_id to support.
Requires one of the following token scopes: contacts.
curl --request DELETE \
--url https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"phoneNumber": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones"
payload = { "phoneNumber": "<string>" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.delete(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({phoneNumber: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/contacts/{contactId}/phones', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"phones": [],
"primaryPhone": null
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Authorizations
Path Parameters
Id of the contact: the row id from GET /business/lists/{listId}/rows, or the contactId returned by POST /business/contacts/resolve. It must be a contact your team holds (saved by you or a teammate), though GET /business/contacts/{contactId}/activities also answers for one your team has activity with.