Skip to content

Team

Get the signed-in user

Returns the user of the current browser session and their workspaces (tenants). The app uses it to choose the X-Tenant-ID to send. API keys are not accepted.

GET/api/me
  • Console only: signed-in session

Headers

  • Cookiestringrequired

    The whatsappx_session cookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.

    Example
    whatsappx_session=…

Response

200 OKapplication/json

  • iduuid

    User id.

  • namestring

    Display name.

  • emailstring

    Email address.

  • tenantsarray<object>

    Workspaces the user belongs to.

    Show child attributesHide child attributes3
    • iduuid

      Workspace id. Send it as X-Tenant-ID.

    • namestring

      Workspace name.

    • roleenum

      Your role in the workspace: owner, admin or agent.

  • live_sendboolean

    Messages are sent for real.

  • email_verifiedboolean

    false until the user confirms their email address.

Status codes

  • 200OK. The signed-in user.
  • 401Unauthorized. No signed-in session (unauthorized).