TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company Ten dlc Get 10DLC campaign

Get 10DLC campaign

On this page

GraphQL endpoint: /company

Get a single 10DLC Campaign the company has access to.

The company has access to their own campaigns as well as any other campaigns from companies that have authorized 10DLC actions to the company.

Query

query($id: ID!) {
  tenDlcCampaign(id: $id) {
    id
    campaignId
    companyId
    brandId
    createDate
    billedDate
    usecase
    subUsecases
    status
    description
    messageFlow
    subscriberOptin
    subscriberOptout
    subscriberHelp
    autoRenewal
    expirationDate
    ownershipType
  }
}

Variables

{
  "id": "00000000-0000-4000-8000-000000000002"
}

Response

{
  "data": {
    "tenDlcCampaign": {
      "autoRenewal": true,
      "billedDate": "2026-01-15T09:00:01",
      "brandId": "BTEST123",
      "campaignId": "CH5A5GR",
      "companyId": "00000000-0000-4000-8000-000000000001",
      "createDate": "2026-01-15T09:00:00",
      "description": "Test marketing campaign for product launches and promotions",
      "expirationDate": "2026-01-15T09:00:02",
      "id": "00000000-0000-4000-8000-000000000002",
      "messageFlow": "Users opt-in by texting JOIN. They receive updates about products.",
      "ownershipType": "DIRECT",
      "status": "ACTIVE",
      "subUsecases": [],
      "subscriberHelp": true,
      "subscriberOptin": true,
      "subscriberOptout": true,
      "usecase": "MARKETING"
    }
  }
}