Team
Resend an invite
Replaces the invite link (the old link stops working), resets the expiry to 7 days from now and sends the email again when email is configured. Only owners can resend admin invites.
- Console only: owner or admin
- Workspace:
X-Tenant-ID
Path parameters
iduuidrequiredInvite id.
Headers
CookiestringrequiredThe
whatsappx_sessioncookie the app sets when you sign in. Browsers send it automatically; API keys are not accepted on this endpoint.X-Tenant-IDuuidrequiredWorkspace id. Required for session requests. You can pass
?tenant=<id>instead.
Response
200 OKapplication/json
iduuidInvite id.
emailstringInvited email address (lower case).
roleenumadminoragent.statusstringInvite status,
pendingwhile it can be accepted.expires_atintegerExpiry in Unix seconds (7 days after it was sent).
invite_urlstringmay be absentLink the invitee opens to join. Returned when an invite is created or resent.
email_sentbooleanWhether the invite email was sent.
createdbooleantruefor an invite (as opposed to a member added immediately).
Status codes
- 200OK. The invite with its new
invite_url. - 400Bad request. The id is not a valid UUID.
- 401Unauthorized. No signed-in session (
unauthorized). - 403Forbidden. API keys can never call this endpoint (
API keys cannot administer workspaces). A signed-in user who is not an owner or admin getsadmin required; a user who is not a member of the workspace getsforbidden. Admins getonly owners can resend admin invitesfor admin invites. - 404Not found. No pending invite with this id.