Skip to content

Create an API key (shown once)

POST
/api/v1/auth/api-keys

Request Body

application/json
JSON
{
  
"$schema": "https://bpincentives.com/schemas/Auth-apikeys-createRequest.json",
  
"expiresAt": 0,
  
"label": "string"
}

Responses

Created

application/json
JSON
{
  
"$schema": "https://bpincentives.com/schemas/Auth-apikeys-createResponse.json",
  
"apiKey": {
  
  
"createdAt": 0,
  
  
"enabled": true,
  
  
"expiresAt": 0,
  
  
"id": 0,
  
  
"label": "string",
  
  
"lastUsedAt": 0,
  
  
"prefix": "string"
  
},
  
"key": "string"
}

Playground

Body

Samples

Powered by VitePress OpenAPI