Skip to main content
POST
/
auth
Verify API key
curl --request POST \
  --url https://app.lyra.so/api/v1/auth \
  --header 'Authorization: Bearer <token>'
{
  "valid": true,
  "userId": "user_123",
  "orgId": "org_123"
}

Authorizations

Authorization
string
header
required

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

Response

API key is valid

valid
boolean
required
Example:

true

userId
string
required
Example:

"user_123"

orgId
string
required
Example:

"org_123"