POST
/
projects
/
{projectId}
/
apiKeys
curl --request POST \
  --url https://partner.peaka.studio/api/v1/projects/{projectId}/apiKeys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "test"
}'
{
  "name": "test",
  "apiKey": "TtgGcQFq.s3fzROFoop8uHG4pS2LYhoqn1rLb6oW6",
  "apiKeyId": "21fd1a8d-88d5-4295-b792-5b2113138057"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

projectId
string
required

Project ID

Body

application/json
API Key request

The body is of type object.

Response

200 - application/json
API Key created

Represents an API key.