Create a new invitation.
Creates an invitation for a user to join the current user’s account. Sends an invitation email with a secure token.
Flow:
Successful Response
Response schema for invitation details.
Invitation ID
Account ID (UUID)
Human-readable account code in XX#### format (e.g., AB1234)
Email address of the invited user
User ID of the inviter
Expiration timestamp
Creation timestamp
Current invitation status
pending, accepted, expired, cancelled Invitation token for constructing acceptance URL
Acceptance timestamp (if accepted)
Whether the invitation email has been sent
Timestamp when the email was sent