invitations

Create Invitations Batch

Invite up to 100 emails at once with a common org role + common per-project roles (task #2089). Best-effort against the seat cap: emails are invited in order until the cap is hit, the rest returned skipped: seat_limit. Reuses the single-invite logic; results are reported per email. No tokens in the response — accept links go by email.

Fail-fast (whole request): a bad org/project role → 403/422 before anything is created. Non-fatal per email: already a member / already invited / a duplicate in the payload → skipped.

post/v1/orgs/{org_id}/invitations/batch

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/orgs/{org_id}/invitations/batch
  • Auth: none declared

Path parameters

org_idstring required

Request body

emailsstring[] required
role'owner' | 'admin' | 'member'
messagestring nullable

Response

Successful Response

invitedinteger required
skippedinteger required
failedinteger required

Changes

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