Skip to main content

Authentication

Authenticate with HTTP Basic Auth:
  • Username: your user_id
  • Password: your access_token
You can find both values in the MyTruv web app under Settings > Sharing. Log in at app.mytruv.com to generate your credentials.

Example request

curl -u $USER_ID:$ACCESS_TOKEN \
  https://api.mytruv.com/v1/user
Keep your access token secure!
  • Never expose your token in client-side code
  • Don’t commit credentials to version control
  • Use environment variables in production

Base URL

All API requests use the same base URL:
https://api.mytruv.com

Available endpoints

The API exposes read-only endpoints for retrieving:
  • User profile - name, email, phone, and lifecycle status
  • Financial data - balances, transactions, income, spending, liabilities, and balance history
  • Account links - connected financial institutions and payroll providers

Next steps

Errors

HTTP error codes and handling guidance

Pagination

How to paginate through large result sets