Auth

Authentication and session management

Login

post

Authenticate with email and password. For dashboard access only.

Body
emailstring · emailRequired
passwordstring · min: 8Required
Responses
chevron-right
200

Login successful

application/json
post
/auth/login

Refresh tokens

post

Exchange refresh token for new access and refresh tokens.

Body
refresh_tokenstringRequired
Responses
chevron-right
200

Tokens refreshed

application/json
post
/auth/refresh

Logout

post

Invalidate the provided refresh token.

Body
refresh_tokenstringRequired
Responses
chevron-right
200

Logged out successfully

application/json
post
/auth/logout
200

Logged out successfully

Logout all sessions

post

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
chevron-right
200

All sessions logged out

application/json
post
/auth/logout-all

Get active sessions

post

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
chevron-right
200

List of active sessions

application/json
post
/auth/sessions

Revoke session

post

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
chevron-right
200

Session revoked

application/json
post
/auth/revoke-session

Last updated