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.
- Console only: signed-in session
Headers
CookiestringrequiredThe
whatsappx_sessioncookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.
Response
200 OKapplication/json
iduuidUser id.
namestringDisplay name.
emailstringEmail address.
tenantsarray<object>Workspaces the user belongs to.
Show child attributesHide child attributes3
iduuidWorkspace id. Send it as
X-Tenant-ID.namestringWorkspace name.
roleenumYour role in the workspace:
owner,adminoragent.
live_sendbooleanMessages are sent for real.
email_verifiedbooleanfalseuntil the user confirms their email address.
Status codes
- 200OK. The signed-in user.
- 401Unauthorized. No signed-in session (
unauthorized).