cURL
curl --request POST \ --url https://api.deepxl.ai/v1/api-keys/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{ "id": 124, "name": "New Production Key", "apiKey": "dxl_newkey1234567890abcdef", "createdOn": 1725814800, "createdOnISO": "2024-09-08T15:00:00", "modifiedOn": 1725814800, "modifiedOnISO": "2024-09-08T15:00:00", "createdBy": "user_123abc" }
Create a new API key for the authenticated organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Display name for the API key
API key created successfully
Was this page helpful?