API Key Management
List API Keys for your User
Example cURL Request
curl --request GET 'https://${BASE_URL}/api/api-keys' \
--header 'Authorization: Bearer ${API_KEY}'Endpoint Specification
Get your user
Headers
Name
Type
Description
{
"api_keys": [
{
"id": "00n06yx75dzuxz2lgi",
"name": "default api key",
"created_at": "2023-06-09T06:34:37.685Z",
"is_active": true
}
]
}{
api_keys: Array<{
id: string
name: string
created_at: string
is_active: boolean
}>
}{
"statusCode": 500,
"message": "Internal server error"
}{
statusCode: number
message: string
}Create an API Key
Example cURL Request
Endpoint Specification
Create a new API key
Headers
Name
Type
Description
Request Body
Name
Type
Description
422: Unprocessable Entity error types
error typesValue from API
Description
Deactivate an API Key
Example cURL Request
Endpoint Specification
Deactivate an API key
Path Parameters
Name
Type
Description
Headers
Name
Type
Description
422: Unprocessable Entity error types
error typesValue from API
Description
Last updated