cURL
curl --request PUT \ --url https://app.telentir.com/api/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "id": "<string>", "name": "<string>", "key": "<string>", "last_used_at": "2023-11-07T05:31:56Z", "created_at": "2023-11-07T05:31:56Z" }
Create an API key
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Friendly name displayed in the dashboard
New key (plaintext is returned once)
Plaintext is only returned immediately after creation