UserApiCreateResponse
A new API key. The secret is returned only here: store it now, as it can’t be read again.
Kind: an object, used in responses.
Fields
Section titled “Fields”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
id | uuid | The key’s id, used to revoke it. |
secret | string | The key’s secret. Authenticate with Authorization: ApiKey <your user id> <secret>. |
Example
Section titled “Example”{ "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "secret": "..."}Where it’s used
Section titled “Where it’s used”apiKeys.create(POST /users/self/api-keys)