api-keys

Create Api Key

Create a new API key. The raw key is returned in the response body exactly once — store it securely. It cannot be retrieved later.

post/api/v1/api-keys

Request

  • Base URL: https://api.trueight.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.trueight.com/api/v1/api-keys
  • Auth: HTTP bearer

Request body

namestring required

Label for this key

Response

Successful Response

idstring required

API key database ID

keystring required

Full API key (shown once). Format: tru8_sk_<32 hex chars>. Store securely — it cannot be retrieved later.

key_prefixstring required

Key prefix for identification (e.g. tru8_sk_a1b2)

namestring required

Label for this key

created_atstring date-time required

Creation timestamp

Changes

No recorded changes to this operation across all 1 revision of this API.