# link.latr.developer.createKey

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.developer.createKey)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.developer.createKey/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/link.latr.developer.createKey/examples)

## Definitions

### `link.latr.developer.createKey`

**Type**: `procedure`

L@tr XRPC method link.latr.developer.createKey.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `label` | `string` | No |  |
| `clientId` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**
- **InvalidUrl**
- **AuthRequired**
- **InvalidToken**
- **InvalidDpop**
- **SavedItemNotFound**
- **Conflict**
- **RateLimitExceeded**
- **UpstreamFailure**

## Raw Schema

```json
{
  "id": "link.latr.developer.createKey",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "clientId"
          ],
          "properties": {
            "label": {
              "type": "string",
              "maxLength": 256,
              "maxGraphemes": 128
            },
            "clientId": {
              "type": "string",
              "maxLength": 128,
              "maxGraphemes": 128
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "InvalidUrl"
        },
        {
          "name": "AuthRequired"
        },
        {
          "name": "InvalidToken"
        },
        {
          "name": "InvalidDpop"
        },
        {
          "name": "SavedItemNotFound"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "RateLimitExceeded"
        },
        {
          "name": "UpstreamFailure"
        }
      ],
      "output": {
        "schema": {
          "ref": "link.latr.developer.defs#createdKey",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "L@tr XRPC method link.latr.developer.createKey."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
