Create personal tokens or service keys.
cURL
curl --request POST \ --url https://app.strix.ai/api/v1/tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "personal", "name": "<string>", "scopes": [ "<string>" ], "expires_in_days": 123, "expires_at": "2023-11-07T05:31:56Z" } '
{ "token": "<string>", "token_record": { "id": "<string>", "type": "personal", "name": "<string>", "scopes": [ "<string>" ], "secret_prefix": "<string>", "expires_at": "2023-11-07T05:31:56Z", "last_used_at": "2023-11-07T05:31:56Z", "revoked_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" } }
API token from Settings > API Access
personal
service
Token created. The token secret is returned only once.
The full token secret (shown only once)
Show child attributes