cURL
curl --request POST \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/api-keys \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "name": "<string>" } '
{ "created_at": "2023-11-07T05:31:56Z", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "last_used_at": "2023-11-07T05:31:56Z", "name": "<string>", "prefix": "<string>", "revoked_at": "2023-11-07T05:31:56Z", "key": "<string>" }
Create a new API key. Returns the plaintext key once — store it now.
Documentation IndexFetch the complete documentation index at: https://docs.riftmap.dev/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.riftmap.dev/llms.txt
Use this file to discover all available pages before exploring further.
Successful Response