> For the complete documentation index, see [llms.txt](https://docs.tnid.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tnid.com/api-reference/002_company/002_ten_dlc/020__submit_campaign_when_ready.md).

# Submit 10DLC Campaign When Brand Is Ready

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

```graphql
mutation($input: TenDlcRegisterCampaignInput!) {
  registerTenDlcCampaignWhenReady(input: $input) {
    id
    campaignId
    companyId
    brandId
    internalBrandId
    usecase
    status
    description
    messageFlow
  }
}

```

## Variables

```json
{
  "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

```json
{
  "data": {
    "registerTenDlcCampaignWhenReady": {
      "brandId": "BCBD25V",
      "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"
    }
  }
}
```
