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

TNID API documentation Company Ten dlc Register 10DLC Api Key

Register 10DLC Api Key

On this page

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

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

Variables

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

Response

{
  "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"
    }
  }
}