Skip to main content
Create a project API key

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the project.

Body

application/json
name
string
default:API key

A name for the key, shown on the API keys page of the dashboard. Name it after where the key is used, for example the app or the computer.

Required string length: 1 - 50

Response

API key created successfully

id
string
required

The ID of the API key.

name
string
required

The key's name.

projectId
string
required

The ID of the project the key belongs to.

createdAt
string
required

When the key was created.

secretKey
string
required

The new secret API key. Use it to moderate content in this project. It is also shown in the project's settings.