List the caller's pending workspace invitations
Returns the pending invites addressed to the authenticated caller's email across all active workspaces, which is the invite inbox shown during onboarding. Account-scoped rather than workspace-scoped and requires a synced user profile; a caller whose identity carries no email gets an empty list.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/v1/me/workspace-invites"{ "data": [ { "id": "string", "workspaceId": "string", "workspaceName": "string", "workspaceSlug": "string", "workspaceIcon": "initials", "workspaceAccentColor": "string", "email": "string", "role": "owner", "status": "pending", "expiresAt": "string", "createdAt": "string" } ]}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}Invite someone to the workspace by email
Creates a pending invite at the requested role, queues the invitation email, and returns the invite together with its one-time token; re-inviting an address that already has a pending invite refreshes that invite and rotates its token instead of creating a second one. Requires `members:invite`, and only owners may invite owners. Fails when the email already belongs to a member, when the address or expiry is malformed, and when an editor-role invite would exceed the plan's seat allowance — viewer invites do not consume a seat.
Change a pending invite's role or expiry
Updates the role and/or expiry of an invite that is still pending. Requires `members:invite`, and only owners may move an invite to or from the owner role. An unknown invite is not found, an invite that has already been accepted or revoked conflicts, and raising a viewer invite to an editor role must fit within the plan's editor seats.