Skip to main content
POST
/
api
/
auth
/
api_key
/
create
Create an API key
curl --request POST \
  --url https://{customer-tenant}.nuwacom.ai/api/api/auth/api_key/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "permissions": {},
  "expiration": "<string>"
}'
{
  "id": "<string>",
  "key": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Minimum length: 1
permissions
object
required
expiration

Response

API key created successfully

id
string
required
key
string
required
I