Create an API key
Changed onMints a new scoped key for the caller's own customer. The raw key value is returned ONCE and is never retrievable again — store it immediately. Requires the write scope. In an enterprise workspace only Talonic staff may mint keys: a key whose creator is not Talonic staff is refused with 403 (INSUFFICIENT_PERMISSIONS), and keys minted there live at most 90 days.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Request body
Subset of: extract, read, write, operations, billing, delivery, usage, records_write. Defaults to the calling key's own scopes. Every requested scope must already be held by the calling key; requesting one it lacks is rejected with 403 (scope_not_grantable) — a key can only ever narrow its own privilege on a newly minted key, never widen it. usage, records_write and billing are granted de novo only through owner+ key management, never through self-serve key creation.
When the key stops working (ISO 8601, in the future; 400 otherwise). Omitted: the key does not expire, except in an enterprise workspace, where it defaults to 90 days from creation and may not be set later than that.
Example request
{
"name": "ci-pipeline"
}Response
Newly created key. The key field is shown only here.
The raw secret. Shown once. Never returned again.
Example response
{
"key": "tlnc_0123456789abcdef0123456789abcdef"
}Changes
- info
added the new optional request property
expires_at - info
added the optional property
expires_atto the response with the status
- info