10DLCv4.1
Update campaign samples
PATCH
/10dlc/campaigns/{campaignId}Replace a campaign's sample messages, the field carriers most often ask to change. 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
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"200The campaign
400`invalid_campaign_id` or `invalid_field`.
401Your API key is missing or invalid. Pass it as a bearer token.
404`campaign_not_found`.
409`campaign_submission_in_progress`: the campaign is still being submitted.
422`campaign_rejected`: the registry refused the change.
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.
curl -X PATCH https://api.blooio.com/v4.1/10dlc/campaigns/obj_a1b2c3d4 \{ "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 }}