UserApiKeyCreateRequest
Creates an API key for the calling user.
Kind: an object, used in requests.
Fields
Section titled “Fields”| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes | A name for the key, 5 to 100 characters, unique among your active keys. Constraints: maxLength: 100, minLength: 5, required (empty or whitespace-only strings are rejected). |
dateExpires | datetime | null | When the key stops working, in UTC; must be in the future. Null: it never expires. |
Example
Section titled “Example”{ "name": "...", "dateExpires": "2026-10-26T12:00:00.0000000Z"}Where it’s used
Section titled “Where it’s used”apiKeys.create(POST /users/self/api-keys)