InvitationCreated

Schema #/components/schemas/InvitationCreated of contract 1.0.0-draft.17.

  • id Uuidrequiredread-only

    Fields of id
  • operatorId Uuidrequired

  • customerId Uuid | null

  • email Emailrequired

  • firstName string | null

  • lastName string | null

  • role MembershipRolerequired

  • teamIds array of Uuid

  • status InvitationStatusrequired

  • invitedBy string | null (uuid)required

    Inviting user; null for system invitations (e.g. the primary owner of an operator-created customer when the inviter was removed).

  • expiresAt Timestamprequired

  • acceptedAt Timestamp | null

  • createdAt Timestamprequiredread-only

    Fields of createdAt
  • verificationCode string | nullrequired

    6-digit code shown once to the inviter to pass to the invitee out of band. null only on an Idempotency-Key replay of a manual delivery (the code is never stored).

    pattern ^[0-9]{6}$

  • delivery InvitationDeliveryrequired