> 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/014__list_campaigns.md).

# List 10DLC Campaigns

GraphQL endpoint: `/company`

List all the 10DLC Campaigns 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

```graphql
query($brandId: String, $companyId: ID, $status: TenDlcCampaignStatus, $workflowStatus: TenDlcCampaignWorkflowStatus, $usecase: String, $ownershipType: TenDlcOwnershipType, $page: Int, $pageSize: Int) {
  tenDlcCampaigns(brandId: $brandId, companyId: $companyId, status: $status, workflowStatus: $workflowStatus, usecase: $usecase, ownershipType: $ownershipType, page: $page, pageSize: $pageSize) {
    page
    totalRecords
    records {
      campaignId
      companyId
      brandId
      usecase
      workflowStatus
      status
      description
      autoRenewal
      ownershipType
    }
  }
}

```

## Variables

```json
{}
```

## Response

```json
{
  "data": {
    "tenDlcCampaigns": {
      "page": 1,
      "records": [
        {
          "autoRenewal": true,
          "brandId": "BTEST1",
          "campaignId": "CZDFL35",
          "companyId": "00000000-0000-4000-8000-000000000001",
          "description": "Test marketing campaign for product launches and promotions",
          "ownershipType": "DIRECT",
          "status": "ACTIVE",
          "usecase": "MARKETING",
          "workflowStatus": "VERIFIED"
        },
        {
          "autoRenewal": false,
          "brandId": "BTEST1",
          "campaignId": "CTXXGOS",
          "companyId": "00000000-0000-4000-8000-000000000001",
          "description": "Test customer care campaign for support and inquiries",
          "ownershipType": "DIRECT",
          "status": "DRAFT",
          "usecase": "CUSTOMER_CARE",
          "workflowStatus": "DRAFT"
        },
        {
          "autoRenewal": false,
          "brandId": "BTEST2",
          "campaignId": "CYQG6AV",
          "companyId": "00000000-0000-4000-8000-000000000001",
          "description": "Test customer care campaign for support and inquiries",
          "ownershipType": "PARTNER",
          "status": "DRAFT",
          "usecase": "CUSTOMER_CARE",
          "workflowStatus": "DRAFT"
        }
      ],
      "totalRecords": 3
    }
  }
}
```
