10DLC Registration
List campaign priorities
Returns the priority options available to your account at the US 10DLC registry, as a JSON array. Pass an option’s id as priorityId when you create or register a toll-free campaign.
GET
/
10dlc
/
campaigns
/
priorities
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/sms/10dlc/campaigns/priorities \
--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.campaign_priorities()
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/10dlc/campaigns/priorities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "2c9e4b7a-1d3f-4a5b-8c6d-0e9f8a7b6c5d",
"name": "Standard"
}
]{
"error": "missing or invalid credentials"
}{
"error": "internal error"
}{
"error": "registration provider unavailable",
"providerError": "registration error 500 (HTTP 500): upstream timeout"
}Authorizations
Your Vobiz account Auth ID (MA_XXXXXXXX).
Your Vobiz account Auth Token.
Response
Priority options, as returned by the registry.
ID (UUID) of the priority option. Pass it as priorityId.
Example:
"2c9e4b7a-1d3f-4a5b-8c6d-0e9f8a7b6c5d"
Was this page helpful?
⌘I
cURL
curl --request GET \
--url https://api.vobiz.ai/api/v1/sms/10dlc/campaigns/priorities \
--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.campaign_priorities()
const options = {
method: 'GET',
headers: {'X-Auth-ID': '<api-key>', 'X-Auth-Token': '<api-key>'}
};
fetch('https://api.vobiz.ai/api/v1/sms/10dlc/campaigns/priorities', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"id": "2c9e4b7a-1d3f-4a5b-8c6d-0e9f8a7b6c5d",
"name": "Standard"
}
]{
"error": "missing or invalid credentials"
}{
"error": "internal error"
}{
"error": "registration provider unavailable",
"providerError": "registration error 500 (HTTP 500): upstream timeout"
}