Account
Invite a teammate to the workspace
Invites someone by email as an admin or a member of the active workspace. Inviting an address that already has a pending invite re-sends it and extends the expiry instead of creating a second one. Only a workspace Owner or Admin can invite. To share a single site instead, use createSiteInvite.
post/api/v1/account/workspace-invites
Request
- Base URL: https://api.dotsy.ai
- URL: https://api.dotsy.ai/api/v1/account/workspace-invites
- Auth: HTTP bearer
Headers
X-Dotsy-Workspacestring
Org id or slug to act as for this request (session/MCP user actors only — ignored for pga_ keys). Validated against the caller's own memberships (id match first, then slug); 403 if not a member. Takes precedence over session.activeOrganizationId and the auto-provisioned home-workspace fallback.
Request body
Example request
{
"email": "grace@example.com"
}Response
The invitation.
Example response
{
"expiresAt": "2026-10-09T09:00:00.000Z",
"createdAt": "2026-10-09T09:00:00.000Z",
"acceptPath": "/invite/workspace/inv_abc123"
}Changes
No recorded changes to this operation across all 1 revision of this API.