Create a new personal API key. The full key is returned only once.
cURL
curl --request POST \ --url https://your-domain.com/api/me/api-keys \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "scopes": "<string>", "expires_at": "2023-11-07T05:31:56Z" } '
{ "id": "<string>", "name": "<string>", "key": "<string>", "key_prefix": "<string>", "created_at": "<string>", "scopes": "<string>", "expires_at": "2023-11-07T05:31:56Z" }
1 - 100
Successful Response
Returned only at creation time -- includes the full key.