API Keys
Create API key
Create a new API key. The full secret is returned once in the secret field of the response — store it immediately. Subsequent reads only return the key_prefix.
Pass role_id to bind the key to an account role; the key inherits that role's permissions. To grant per-project access, after creating the key add it as a Project Member on each project (passing api_key_id).
post/api/v1/api-keys
Request body
Response
API key created (full secret returned once)
Example response
{
"data": {
"key_prefix": "raff_17d70fcf",
"secret": "raff_17d70fcf7e7510968a4c19279b25707f088f1cc5ad8b74210341d8e470b5bb7a"
}
}