Create a campaign
/10dlc/campaignsRegister a campaign under the organization's registered brand. The registry and carriers review it asynchronously; registration.campaign.updated fires as its status changes. Once a campaign reaches mno_provisioned, Blooio assigns the organization's unassigned SMS numbers to its oldest provisioned campaign. A campaign bills monthly until it can no longer send (tcr_failed, tcr_expired, tcr_suspended, or mno_provisioning_failed) or is canceled with DELETE /10dlc/campaigns/{campaignId}, and each one after the first that's reviewed charges a review fee; both are charged before it's submitted and refunded if the registry rejects the request. A campaign carriers would reject is refused before any charge, with every reason; one the registry still fails before review (tcr_failed) has its review fee refunded. 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.
tcr_* is the registry's review, review_* the carriers' vetting, and mno_* the carriers' own. Numbers send once the campaign is mno_provisioned. A review_failed or mno_rejected campaign can be appealed. deactivated is a campaign the organization canceled.
"submitting""tcr_pending""tcr_accepted""tcr_failed""tcr_suspended""tcr_expired""review_accepted""review_failed""mno_pending""mno_accepted""mno_rejected""mno_provisioned""mno_provisioning_failed""deactivated"Sends a live request with your values and shows the real response below. Your key is stored only in this browser.
curl -X POST https://api.blooio.com/v4.1/10dlc/campaigns \{ "data": { "campaign_id": "obj_a1b2c3d4", "brand_id": "obj_a1b2c3d4", "usecase": "MARKETING", "status": "submitting", "details": { "usecase": "string", "sub_usecases": [ "string" ], "samples": [ "string" ], "description": "Example description", "message_flow": "string", "help_message": "string", "optin_message": "string", "optout_message": "string", "privacy_policy_link": "https://example.com", "terms_and_conditions_link": "https://example.com", "embedded_link_sample": "https://example.com", "help_keywords": [ "string" ], "optin_keywords": [ "string" ], "optout_keywords": [ "string" ], "subscriber_optin": false, "subscriber_optout": false, "subscriber_help": false, "terms_and_conditions": false, "embedded_link": false, "embedded_phone": false, "number_pool": false, "age_gated": false, "direct_lending": false }, "failure_reasons": "string", "created_at": 0, "updated_at": 0 }}