Skip to main content
POST
/
v1
/
projects
/
{projectId}
/
api-keys
Create Project API Key
curl --request POST \
  --url https://api.anchorbrowser.io/v1/projects/{projectId}/api-keys \
  --header 'Content-Type: application/json' \
  --header 'anchor-api-key: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "apikey": "<string>",
  "name": "<string>"
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Path Parameters

projectId
string
required

Body

application/json
name
string
required
Required string length: 1 - 255
is_default
boolean

Set this key as the project's default key.

Response

API key created successfully.

id
string
apikey
string
name
string