Caller IDsv4

Verify a caller ID

POST/caller-ids

Send a verification code to phone_number, by text (sms, the default) or by a phone call that reads it out (call). Confirm it with POST /caller-ids/{phone}/verify. Only US and Canadian numbers can be verified. A number gets one code a minute, and the organization one every 30 seconds. OAuth apps need numbers:manage.

Headers

AuthorizationRequiredstring

Your API key, sent as a bearer token: Authorization: Bearer <api_key>. Editing this stays in sync with the API key box on the right.

Bearer

Body parameters

JSON
phone_numberRequiredstring

A US or Canadian number in E.164 format.

methodoptionalstring

sms texts the code; call calls the number and reads it out, for a landline.

"sms""call"
extensionoptionalstring

call only: digits to dial once the call is answered, such as an extension behind a phone menu. w and W pause before the next digit.

Returns

dataoptionalPendingCallerId
phone_numberRequiredstring

The number in E.164 format.

verification_methodRequiredstring
"sms""call"
statusRequiredstring

Waiting for the code to be confirmed.

"pending"

Response codes

202The code is on its way
400`invalid_body`, or `invalid_field` (with the `field`) for a bad `phone_number`, `method`, or `extension`.
401Your API key is missing or invalid. Pass it as a bearer token.
402Blooio SMS, Voice & RCS couldn't charge the organization, and nothing was submitted or ordered. `code` is `no_payment_method` (no saved card, and the credit doesn't cover the charge), `payment_failed` (the card was declined), or `invoice_unpaid` (pay the organization's unpaid invoice first).
409`caller_id_is_line`: the number is one of the organization's Blooio Voice numbers, which can be shown without verification.
422`caller_id_unsupported_country`: only US and Canadian numbers can be verified. `caller_id_verification_rejected`: a code couldn't be sent to the number.
429`verification_cooldown`: a code was sent to this number, or by this organization, too recently. `verification_busy`: too many verifications are in progress. Both carry `retry_after`, the seconds to wait.
502`upstream_unavailable`: the carrier network couldn't be reached. Retry with backoff.

Sends a live request with your values and shows the real response below. Your key is stored only in this browser.

Request
curl -X POST https://api.blooio.com/v4/caller-ids \
Body object
Response objectexample
{  "data": {    "phone_number": "+15551234567",    "verification_method": "sms",    "status": "pending"  }}