Auth

Impersonate a member

Authenticate member by given email. Returns the access token to login (impersonate) as a member. The authentication token returned by this endpoint can be used to generate quick login links to the members portal. You just need to add access_token=<token> to the URL.

Required scopes: flex.user.auth.impersonate

post/api/v2/organizations/{orgSlug}/auth/impersonate

Request

  • Base URL
    https://app.officernd.com
  • URL
    https://app.officernd.com/api/v2/organizations/{orgSlug}/auth/impersonate
  • Auth
    OAuth 2
    Authorization code: https://identity.officernd.com/auth/authorize
    Client credentials
    Token URL: https://identity.officernd.com/auth/token scopes: flex.user.auth.impersonate

Path parameters

orgSlugstring required

organization slug

Request body

emailstring required

The email of the member with which the member is registered.

Example request

{
  "email": "example@gmail.com"
}

Response

tokenstring

The generated token which you can use as authentication for various requests.

Example response

{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjU4NDZmMjhhZmY1ZDg4MTI2YWJjZmMzZiIsImlhdCI6MTQ4MTExNjQwOCwiZXhwIjoxNDgxMjg5MjA4fQ.ElceBwjTRBhu669SWkn_Za8VKk-cwomzmbEsNywPt5A"
}

Changes

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