Skip to main content
POST
/
api-keys
Create Api Credentials
curl --request POST \
  --url https://management-api.unomiq.com/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "app_id": "<string>",
  "name": "<string>",
  "permissions": [
    "<string>"
  ]
}
'
{
  "name": "<string>",
  "api_key": "<string>",
  "api_secret": "<string>",
  "created_at": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
app_id
string
required

Application ID this API key belongs to

name
string
required

The API key's name

Required string length: 1 - 255
permissions
string[]
required

List of permissions granted to this credential. Allowed values: write:traces, read:traces

Minimum array length: 1
Allowed value: "write:traces"

Response

Successful Response

name
string
required
api_key
string
required
api_secret
string
required
created_at
string
required