# Create client secret

GraphQL endpoint: `/company`

Creates a new client secret for the calling company with an optional description. The plaintext `clientSecret` is returned only in this response and cannot be retrieved later.

## Query

```graphql
mutation ($description: String) {
  createClientSecret(description: $description) {
    id
    clientId
    clientSecret
    description
  }
}

```

## Variables

```json
{
  "description": "production key"
}
```

## Response

```json
{
  "data": {
    "createClientSecret": {
      "clientId": "00000000-0000-4000-8000-000000000001",
      "clientSecret": "RbywPevGOIDRbLioL1K23Q",
      "description": "production key",
      "id": "00000000-0000-4000-8000-000000000002"
    }
  }
}
```
