groups

Create group invite

Invite an email or wallet address into the group's tenant and, on acceptance, into this group. Same rules as POST /tenants/{id}/invites with group_ids=[id]: provide exactly one of email or wallet_address; callers without tenant authority always invite at the "user" role (another role returns 403). Gated like POST /groups/{id}/members: 403 if the caller may not add members to the group, 404 for a missing, retired or other-tenant group. 403 verified_email_required when the caller signed up with only a passkey and has not verified an email yet.

post/groups/{id}/invites

Request

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

Path parameters

idstring required

group id

Request body

emailstring
rolestring
wallet_addressstring

Response

Created

successboolean

Example response

{
  "success": true
}

Changes

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