Team
Accept an invite
Adds the signed-in user to the invited workspace. The user must be signed in with the email address the invite was sent to.
- Console only: signed-in session
Path parameters
tokenstringrequiredThe token from the invite link.
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
iduuidWorkspace id. Send it as
X-Tenant-ID.namestringWorkspace name.
roleenumYour role in the workspace:
owner,adminoragent.
Status codes
- 200OK. The workspace you joined.
- 400Bad request. You are signed in with a different email (
sign in with <email> to accept this invite). - 401Unauthorized. No signed-in session (
unauthorized). - 404Not found. The invite is unknown, revoked or expired.