# `PhoenixKit.Users.OrganizationInvitation`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.165/lib/phoenix_kit/users/organization_invitation.ex#L1)

Schema for organization invitations.

Represents an invitation sent by an organization admin to a person (by email).
The raw token is never stored — only the SHA-256 hash, following the UserToken pattern.

# `accept_changeset`

Changeset for accepting an invitation.

# `cancel_changeset`

Changeset for cancelling an invitation. Only :pending invitations can be cancelled.

# `create_changeset`

Changeset for creating a new invitation.

# `decline_changeset`

Changeset for declining an invitation.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
