invites

Invite summary

Visibility mirrors GET /tenants/{id}/invites EXACTLY: caller-scoped to invites they sent by default, tenant-wide only with all=true from a manage-role caller. That asymmetry is an email-PII boundary — a summary that counted tenant-wide rows for a self-scoped caller would disclose how many invites other people sent, and its total would contradict the list it drills into. status filters pending|accepted|expired|cancelled; email is a case-insensitive substring match.

get/tenants/{id}/invites/summary

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/tenants/{id}/invites/summary
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

idstring required

id

Query parameters

allboolean

tenant-wide management view (manage-role only)

statusstring

filter by status: pending | accepted | expired | cancelled

emailstring

filter by invitee email (case-insensitive substring)

Response

OK

successboolean

Example response

{
  "success": true
}

Changes

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