10DLC: Retrieve a Campaign
Returns one campaign after refreshing its stage and rejectionReasons from the US 10DLC registry. lastSyncedAt tells you how fresh the record is.
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Campaign/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.get_campaign(
id="4c2a0e8d-6b4f-4d2c-b0a8-9e7c5a3f1d24",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Campaign/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "8a7d2f10-3c4b-4e9a-b1d2-6e5f4a3b2c11",
"accountId": "MA_XXXXXXXX",
"brandId": "5f1c3a2e-7b4d-4e8f-9a0b-1c2d3e4f5a60",
"name": "Example Corp account alerts",
"campaignType": "TEN_DIGIT_LONG_CODE",
"stage": "REGISTERED",
"programSummary": "Example Corp sends account and support alerts to customers who opted in on the sign-up form. Reply STOP to opt out, HELP for help.",
"confirmationMessage": "Example Corp: You are subscribed to account alerts. Msg frequency varies. Msg & data rates may apply. Reply HELP for help, STOP to opt out.",
"helpMessage": "Example Corp: For help email support@example.com. Reply STOP to opt out.",
"stopMessage": "Example Corp: You have been unsubscribed. Reply HELP for help.",
"customerCarePhone": "+14155550100",
"customerCareEmail": "support@example.com",
"exampleMessages": [
"Example Corp: Your support ticket #48213 was updated. View it at https://example.com/support. Reply STOP to opt out."
],
"termsAndConditionsUrl": "https://example.com/terms",
"privacyPolicyUrl": "https://example.com/privacy",
"useCases": [
"ALERTS"
],
"messageTypes": [
"SMS"
],
"optIns": {
"web": {
"url": "https://example.com/signup",
"callToAction": "By checking this box you agree to receive account alerts from Example Corp. Msg frequency varies. Msg & data rates may apply. Reply STOP to opt out, HELP for help."
}
},
"lowVolume": true,
"ageGated": false,
"directLending": false,
"embeddedLink": true,
"embeddedPhone": false,
"numbers": [
"14155550100"
],
"lastSyncedAt": "2026-10-17T08:46:48Z",
"createdAt": "2026-10-06T14:28:25Z",
"updatedAt": "2026-10-14T17:19:03Z"
}Authorizations
Path Parameters
Response
The campaign with its current registry state.
A 10DLC or toll-free campaign on your account and its state at the US 10DLC registry. Optional fields are omitted when empty, and registry state is refreshed when you retrieve the campaign.
Kind of campaign. TEN_DIGIT_LONG_CODE is a standard 10DLC campaign (the default on create) and TOLL_FREE_UNIFIED_NUMBER is a toll-free verification created with POST /TenDlc/Campaign/TollFree/. The other values are registry campaign types you can request on create.
TEN_DIGIT_LONG_CODE, TOLL_FREE_UNIFIED_NUMBER, TOLL_FREE_NUMBER, SHORT_CODE, EXTERNAL_TEN_DIGIT_LONG_CODE, DCA2_TEN_DIGIT_LONG_CODE, TOLL_FREE_EXTERNALLY_VERIFIED, RCS_SENDER_LAUNCH Registry lifecycle stage. A new campaign is DRAFT; after you register it, it moves through review stages such as SUBMITTED, IN_REVIEW or APPEALED and settles at REGISTERED or REJECTED. Other values include REGISTERED_PENDING_UPDATE, REGISTERED_PENDING_DEREGISTRATION, REJECTED_EXTERNALLY, DEREGISTERED, ARCHIVED, BLOCKED, SUSPENDED and DELETED; treat it as an open string.
"REGISTERED"
The registry's review feedback after a rejection, with keys such as rejectionDate, rejectionReasons and rejectionDetails (each detail has errorCode, description, recommendedAction and rejectionCategory). Omitted when the campaign has no feedback; address every point before you appeal.
Was this page helpful?
curl --request GET \
--url https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Campaign/{id}/ \
--header 'X-Auth-ID: <api-key>' \
--header 'X-Auth-Token: <api-key>'from vobiz import Vobiz
client = Vobiz(api_key="MA_XXXXXXXX", auth_token="YOUR_AUTH_TOKEN")
client.sms.campaigns.get_campaign(
id="4c2a0e8d-6b4f-4d2c-b0a8-9e7c5a3f1d24",
)
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/Account/{auth_id}/Sms/TenDlc/Campaign/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "8a7d2f10-3c4b-4e9a-b1d2-6e5f4a3b2c11",
"accountId": "MA_XXXXXXXX",
"brandId": "5f1c3a2e-7b4d-4e8f-9a0b-1c2d3e4f5a60",
"name": "Example Corp account alerts",
"campaignType": "TEN_DIGIT_LONG_CODE",
"stage": "REGISTERED",
"programSummary": "Example Corp sends account and support alerts to customers who opted in on the sign-up form. Reply STOP to opt out, HELP for help.",
"confirmationMessage": "Example Corp: You are subscribed to account alerts. Msg frequency varies. Msg & data rates may apply. Reply HELP for help, STOP to opt out.",
"helpMessage": "Example Corp: For help email support@example.com. Reply STOP to opt out.",
"stopMessage": "Example Corp: You have been unsubscribed. Reply HELP for help.",
"customerCarePhone": "+14155550100",
"customerCareEmail": "support@example.com",
"exampleMessages": [
"Example Corp: Your support ticket #48213 was updated. View it at https://example.com/support. Reply STOP to opt out."
],
"termsAndConditionsUrl": "https://example.com/terms",
"privacyPolicyUrl": "https://example.com/privacy",
"useCases": [
"ALERTS"
],
"messageTypes": [
"SMS"
],
"optIns": {
"web": {
"url": "https://example.com/signup",
"callToAction": "By checking this box you agree to receive account alerts from Example Corp. Msg frequency varies. Msg & data rates may apply. Reply STOP to opt out, HELP for help."
}
},
"lowVolume": true,
"ageGated": false,
"directLending": false,
"embeddedLink": true,
"embeddedPhone": false,
"numbers": [
"14155550100"
],
"lastSyncedAt": "2026-10-17T08:46:48Z",
"createdAt": "2026-10-06T14:28:25Z",
"updatedAt": "2026-10-14T17:19:03Z"
}