Skip to navigation

Switch to Admin

Issue a one-time switch token so an admin browsing the member experience can jump into the admin platform.

Authentication: Required — Bearer token; the user’s status must be admin.

Request body: None.

Response:

  • data.switch_token — Short-lived token the admin platform exchanges for an admin session
  • data.subdomain — Current app subdomain

Errors:

  • 403 — Admin access required (the user is not an admin)
  • 404 — No admin account linked

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OK