> 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/002__register_api_key.md).

# Register 10DLC Api Key

GraphQL endpoint: `/company`

Register a new 10DLC API key for the company.

You must provision a new 10DLC API key, it MUST not be used for any other purpose and MUST not have any active subscriptions.

## Query

```graphql
mutation ($name: String!, $apiKey: String!, $apiKeySecret: String!) {
  addTenDlcApiKey(name: $name, apiKey: $apiKey, apiKeySecret: $apiKeySecret) {
    name
    apiKeyId
    apiKeySecret
    companyId
    insertedAt
    updatedAt
  }
}

```

## Variables

```json
{
  "apiKey": "test_api_key_12345",
  "apiKeySecret": "test_secret_67890",
  "name": "My Test API Key"
}
```

## Response

```json
{
  "data": {
    "addTenDlcApiKey": {
      "apiKeyId": "test_api_key_12345",
      "apiKeySecret": "test_secret_67890",
      "companyId": "00000000-0000-4000-8000-000000000001",
      "insertedAt": "2026-01-15T09:00:00",
      "name": "My Test API Key",
      "updatedAt": "2026-01-15T09:00:00"
    }
  }
}
```
