Validates a Lyra API key and returns associated user and org identifiers.
cURL
curl --request POST \ --url https://app.lyra.so/api/v1/auth \ --header 'Authorization: Bearer <token>'
{ "valid": true, "userId": "user_123", "orgId": "org_123" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
API key is valid
true
"user_123"
"org_123"
Was this page helpful?