Authentication

Authentication tokens can be generated by account admins in Fundra settings. It shall be included in the Authorization header as Bearer <token> for all API requests. This endpoint can be used to verify that the token is valid and to retrieve information about the associated account.

GET
/auth

Credentials

Bearer
curl -X GET "https://api.fundra.com/v1/auth" \
  -H "Authorization: Bearer <token>"

Successfully authenticated

{
  "authenticated": true,
  "account": {
    "name": "My Fund",
    "subdomain": "myfund"
  },
  "apiKey": {
    "name": "Fund name"
  },
  "userId": "123",
  "email": "user@example.com"
}