Auth

Login or refresh token

post/auth/v1/token

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/auth/v1/token
  • Auth: API key in header apikey

Request body

OR
OR
OR

Response

Token issued

access_tokenstring required
token_type'bearer' required
expires_ininteger required
refresh_tokenstring required
elevation_requiredboolean

True when project_admin was downgraded until passkey auth.

required_method'passkey'
effective_role'authenticated'
intended_role'project_admin'
providerstring

Example response

{
  "expires_in": 3600,
  "provider": "google"
}

Changes

No recorded changes to this operation across all 1 revision of this API.