Numbersv4.1
Update a number
PATCH
/numbers/{number}Turn a Blooio SMS or Blooio Voice number's products on and off, or assign its SMS channel to a 10DLC campaign. Turning sms off takes the number off its campaign. iMessage lines can't be changed here. OAuth apps need numbers:manage.
AuthorizationRequiredstringYour 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
Array of NumberChannel
200The updated number
400`invalid_number`, `invalid_products`, `invalid_campaign_id`, or `empty_update`.
401Your API key is missing or invalid. Pass it as a bearer token.
404`number_not_found` (including iMessage lines) or `campaign_not_found`.
409`sms_product_required` (a `campaign_id` for a number without `sms`) or `campaign_not_approved`.
422`number_update_rejected`: the carrier refused the change.
502`upstream_unavailable`: the carrier network couldn't be reached. Retry with backoff.
503`telephony_unavailable`: Blooio Voice isn't configured.
Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X PATCH https://api.blooio.com/v4.1/numbers/%2B15551234567 \{ "data": { "number": "+15551234567", "products": [ "imessage" ], "status": "active", "channels": [ { "channel_id": "ch_a1b2c3d4", "type": "blooio", "status": "active", "campaign_id": "obj_a1b2c3d4", "assignment_status": "unassigned", "inbound_handler": "softphone", "ring_timeout_seconds": 0, "outbound_caller_id": "obj_a1b2c3d4" } ], "created_at": 0 }}