Switch App
Exchange the current session for a session in another app the user belongs to.
Authentication: Required — Bearer token.
Request body:
target_subdomain(required) — Subdomain of the app to switch into
Behavior:
- Admins switch via their linked admin account and additionally receive an
admin_token - Regular members switch to the account matching their email in the target app
Response:
data.token— JWT for the target appdata.subdomain— Target app subdomaindata.name— Target app namedata.admin_token— Present only when the switch was performed as an admin
Errors:
403—Access denied(the admin has no access to the target app)404—App not found404—No account found in target app
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
target_subdomain
Response
OK