Skip to main content
POST
/
accounts
/
api-key
Issue API key
curl --request POST \
  --url https://api.quiva.ai/accounts/api-key \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "key_name": "<string>"
}
'
{
  "data": {
    "key": "<string>",
    "name": "<string>",
    "created_on": "2023-11-07T05:31:56Z",
    "expires_on": "2023-11-07T05:31:56Z",
    "creds": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
key_name
string
required

API key name

Response

API key created successfully

data
object
required