Skip to main content
POST
/
auth
/
login-key
Login Key
curl --request POST \
  --url https://apigcp.trynia.ai/v2/auth/login-key \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>",
  "organization_id": "<string>",
  "idempotency_key": "<string>"
}
'
{
  "api_key": "<string>",
  "api_key_id": "<string>",
  "user_id": "<string>",
  "organization_id": "<string>"
}

Body

application/json
email
string
required
password
string
required
organization_id
string | null

Org to scope the new key to (must be a member)

idempotency_key
string | null

Response

Successful Response

api_key
string
required
api_key_id
string
required
user_id
string
required
organization_id
string | null