cURL
curl --request POST \ --url https://staging.cutmake.ai/api/v1/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "org_id": "<string>", "name": "<string>", "permissions": [ "<string>" ], "rate_limit": 123, "expires_at": "2023-11-07T05:31:56Z" } '
{ "id": "<string>", "org_id": "<string>", "name": "<string>", "rate_limit": 123, "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z", "is_active": true, "last_used_at": "2023-11-07T05:31:56Z", "created_by_id": "<string>", "key": "<string>", "permissions": [ "<string>" ] }
The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response