API Reference · Phone numbers
Remove a phone number
Removes a number from Daffy Voice. Your AI employee stops answering it straight away. The number stays yours at your provider — Daffy Voice doesn't release it there.
DELETE
/phone-numbers/{id}https://calling.ubiqproject.com/api/v1/phone-numbers/{id} · Auth: API key (full access)
Request
Path parameters
idstring (UUID)requiredThe phone number's ID.
Request
curl -X DELETE https://calling.ubiqproject.com/api/v1/phone-numbers/a71d9e04-2c3b-4f58-8e6a-1b9c0d2e3f47 \
-H "Authorization: Bearer vk_live_YOUR_KEY"Response
204 No Content, with an empty body.
Campaigns that called from this number lose it as their caller ID and use another of the AI employee's numbers. If the AI employee has no number left, its calls stop. When this was the last number on its Twilio or Plivo telephony account, that account is deleted too.
Errors
Responses
Phone number not found404No number with this ID exists.
Forbidden403The number belongs to another company.
This API key is read-only403Use a full-access key.
This can't be undone
The number is deleted, not archived. To use it again, add it again with
POST /phone-numbers — and, for Twilio or Plivo, Daffy Voice will set up its incoming calls again.