Auth

Authentication and session management

Login

post
/auth/login

Authenticate with email and password. For dashboard access only.

Body
emailstring · emailRequired
passwordstring · min: 8Required
Responses
post
/auth/login

Refresh tokens

post
/auth/refresh

Exchange refresh token for new access and refresh tokens.

Body
refresh_tokenstringRequired
Responses
post
/auth/refresh

Logout

post
/auth/logout

Invalidate the provided refresh token.

Body
refresh_tokenstringRequired
Responses
post
/auth/logout
200

Logged out successfully

Logout all sessions

post
/auth/logout-all

Invalidate all sessions for the current user.

Authorizations
AuthorizationstringRequired

API key provided by GoMobile team. Request yours at https://docs.google.com/forms/d/1F6_7OIDNq8_lWgKPyP-DudF3dvBTl31X4dqVf5St2zE

Responses
post
/auth/logout-all

Get active sessions

post
/auth/sessions

Retrieve all active sessions for the current user.

Authorizations
AuthorizationstringRequired

API key provided by GoMobile team. Request yours at https://docs.google.com/forms/d/1F6_7OIDNq8_lWgKPyP-DudF3dvBTl31X4dqVf5St2zE

Responses
post
/auth/sessions

Revoke session

post
/auth/revoke-session

Revoke a specific session by ID.

Authorizations
AuthorizationstringRequired

API key provided by GoMobile team. Request yours at https://docs.google.com/forms/d/1F6_7OIDNq8_lWgKPyP-DudF3dvBTl31X4dqVf5St2zE

Body
sessionIdstring · uuidRequired
Responses
post
/auth/revoke-session

Last updated