client-portal-auth

Impersonate Client

Changed on

Create a pre-verified portal session so a business owner can preview the client portal as a specific contact. Requires Clerk JWT auth.

post/api/portal/impersonate

Request

  • Base URL: https://api.every.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.every.ai/api/portal/impersonate
  • Auth: none declared

Headers

X-Expected-Org-Idstring nullable

Request body

slugstring required
contact_idstring nullable
emailstring email nullable

Response

Successful Response

session_tokenstring required
slugstring required

Changes

    • info

      added the new optional header request parameter X-Expected-Org-Id

    • info

      added the new optional request property

    • info

      the request property became optional

    • info

      request property list-of-types was widened by adding types null to media type application/json