Create an API key

Create a new API key. Requires session authentication (cookie from login/signup), not API key auth. Free tier users can create keys without a payment method.

Request

This endpoint expects an object.
namestringRequired1-100 characters
Display name for the API key
scopeslist of enumsRequired
Permission scopes for the key
organizationIdstringOptionalformat: "uuid"
Scope key to an organization
descriptionstringOptional<=500 characters

Response

API key created. The full key is only returned once.
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error