Submit 10DLC campaign when brand is ready
On this page
GraphQL endpoint: /company
Register a new 10DLC campaign when the brand is ready. This is useful when you want to create a campaign for a brand that is currently pending verification. The campaign will be automatically submitted once the brand verification is complete.
This mutation will save the campaign and schedule it to be submitted once the brand reaches ACTIVE — the status a verified brand reports. Until then the campaign stays PENDING.
Query
mutation($input: TenDlcRegisterCampaignInput!) {
registerTenDlcCampaignWhenReady(input: $input) {
id
campaignId
companyId
brandId
internalBrandId
usecase
status
description
messageFlow
}
}
Variables
{
"input": {
"description": "Test marketing campaign for product launches and promotions",
"internalBrandId": "00000000-0000-4000-8000-000000000003",
"messageFlow": "Users opt-in by texting JOIN to our number. They receive updates about new products.",
"nnid": "test-nnid-001",
"tenDlcApiKeyId": "00000000-0000-4000-8000-000000000004",
"usecase": "MARKETING"
}
}
Response
{
"data": {
"registerTenDlcCampaignWhenReady": {
"brandId": "B5LN2OX",
"campaignId": null,
"companyId": "00000000-0000-4000-8000-000000000001",
"description": "Test marketing campaign for product launches and promotions",
"id": "00000000-0000-4000-8000-000000000002",
"internalBrandId": "00000000-0000-4000-8000-000000000003",
"messageFlow": "Users opt-in by texting JOIN to our number. They receive updates about new products.",
"status": "PENDING",
"usecase": "MARKETING"
}
}
}