Members

Invite a member

Send an email invitation to join the workspace as admin or member; it expires after 48 hours. Idempotent: an address that already holds an open invitation gets it back with 200 and no second email. An address that is already a member is a 409 already_member. Team changes need a signed-in owner or admin (an OAuth token from an MCP sign-in, or the dashboard session): an API key answers 403.

post/v1/members/invitations

Request

  • Base URL: https://api.mentio.dev
  • URL: https://api.mentio.dev/v1/members/invitations
  • Auth: HTTP bearer

Request body

emailstring email required

The address to invite; it receives an email with a link to join.

role'admin' | 'member'

The role they join with. Ownership is only handed over in the dashboard.

Response

The open invitation this address already had

idstring required

Invitation id (inv_...).

emailstring required

The invited address, lowercased.

role'owner' | 'admin' | 'member' required

The role they join with.

expiresAtstring required

Invitations last 48 hours; an expired one is no longer listed.

createdAtstring required

When the invitation was sent.

Changes

No recorded changes to this operation across all 1 revision of this API.