Sources
Issue a source key
Changed onIssues an ingest-only key for an API source. The key carries no scope: it reaches no other /v1 route and writes into its own source only. The raw key is in this answer only. Enterprise workspaces cap expires_at at 90 days. An owner manages every key of the source; anyone else only the keys they issued. In an enterprise workspace only Talonic staff issue and manage keys. Also answers at /v1/sources/api/{id}/keys….
Scope: team:write. A key holding only the legacy write scope does not satisfy it.
post/v1/sources/{id}/keys
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
id, string uuid required
Example:a1b2c3d4-e5f6-7890-abcd-ef1234567890
Resource UUID.
Request body
object required
name, string
expires_at, string date-time
When the key stops working.
Response
The new key with its raw value.
Source Key Minted required
key, Source Key required
api_key, string required
The raw key. Returned only here; store it now.
endpoint_url, string uri
Where the key sends files (/v1/ingest).
warning, string
links, object
Changes
- info
endpoint added
- info