Authentication routes
Sign-in, sessions, OAuth and passkey flows.
curl -X GET 'https://your-app-node-url/oauth/google/callback'application/json- body
code*string1 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/oauth/exchange' \ -H 'Content-Type: application/json' \ -d '{ "code": "string"}'redirect_uri*string^http://127\.0\.0\.1:([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])/callback$state*string1 <= length <= 512client_name?stringlength <= 128Default Response
curl -X GET 'https://your-app-node-url/oauth/cli/authorize?redirect_uri=string&state=string'sessionId*string^[0-9a-f]{64}$Default Response
curl -X GET 'https://your-app-node-url/oauth/cli/session/string'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
session*stringteamId?stringDefault Response
curl -X POST 'https://your-app-node-url/oauth/cli/exchange' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "session": "string"}'application/json- body
email*stringemailpassword*string1 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/login' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "password": "string"}'curl -X POST 'https://your-app-node-url/pwd/forgot' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com"}'application/json- body
email*stringemailtoken*stringnew_password*string6 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/pwd/reset' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "token": "string", "new_password": "string"}'application/json- body
email*stringemailtoken*stringDefault Response
curl -X POST 'https://your-app-node-url/pwd/reset/verify' \ -H 'Content-Type: application/json' \ -d '{ "email": "user@example.com", "token": "string"}'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X GET 'https://your-app-node-url/auth/userinfo' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
name?|1 <= lengthtitle?|1 <= lengthpicture?|uriDefault Response
curl -X PATCH 'https://your-app-node-url/auth/userinfo' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
current_password*string6 <= lengthnew_password*string6 <= lengthDefault Response
curl -X POST 'https://your-app-node-url/auth/change-password' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{ "current_password": "string", "new_password": "string"}'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X POST 'https://your-app-node-url/auth/logout' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X POST 'https://your-app-node-url/auth/logout/all' \ -H 'ttr-token: <session-token>'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
application/json- body
teamId?stringttl?numberDefault Response
curl -X POST 'https://your-app-node-url/auth/token' \ -H 'ttr-token: <session-token>' \ -H 'Content-Type: application/json' \ -d '{}'ttrTokenttr-token<token>Session token issued by sign-in. Sent as the ttr-token header.
Default Response
curl -X POST 'https://your-app-node-url/auth/team-auth' \ -H 'ttr-token: <session-token>'