discovery

Invite someone to the organization

Owner or admin. Sends an email via Resend when the server has RESEND_API_KEY configured; otherwise the invitation is still created and its accept link can be shared manually. Re-inviting an address with a pending invitation resends it (extends the 7-day expiry) instead of creating a duplicate.

post/v1/invitations

Request

  • Base URL: https://postbag.dev
  • URL: https://postbag.dev/v1/invitations
  • Auth: HTTP bearer

Request body

emailstring email required
role'admin' | 'member' required

Invite as admin or member. Promote to owner from Members after they join.

Response

created

idstring required
emailstring required
role'owner' | 'admin' | 'member' required
expires_atstring required
created_atstring required

Example response

{
  "id": "fm_8f3kq2",
  "expires_at": "2026-08-21T09:00:00.000Z",
  "created_at": "2026-08-21T09:00:00.000Z"
}

Changes

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