UserInvitationCreateResponse
Response for inviting a user to a network. Wraps the created UserInvitationDto with the public accept link the recipient was sent, and whether the invitation email actually went out (sending is best-effort --- a false here does not mean the invitation failed to create).
invitation object
The created invitation
Unique id of the invitation
7Hb2Kp9QvL3mNx0R8tZ4Id of the network the recipient is invited to join
9Kp3Lm2QvX7nRt0B8wZ5Email address the invitation was sent to
member@example.comRecipient's first name
JordanRecipient's last name
LeeNetwork membership role to grant on acceptance
Possible values: [admin, viewer]
viewerInvitation lifecycle status
Possible values: [pending, accepted, expired, revoked]
pendingWhen the invitation expires and can no longer be accepted
2026-01-15T09:30:00ZWhen the invitation was created
2026-01-15T09:30:00ZWhen the invitation was last updated
2026-01-15T09:30:00ZPublic link the recipient uses to accept the invitation
https://app.adbridge.ai/invite/inv_3f9a2b7c1d8e4f60a5b2Whether the invitation email was sent (best-effort; invitation is created regardless)
true{
"invitation": {
"id": "7Hb2Kp9QvL3mNx0R8tZ4",
"network_id": "9Kp3Lm2QvX7nRt0B8wZ5",
"email": "member@example.com",
"first_name": "Jordan",
"last_name": "Lee",
"role": "viewer",
"status": "pending",
"expires_at": "2026-01-15T09:30:00Z",
"created_at": "2026-01-15T09:30:00Z",
"updated_at": "2026-01-15T09:30:00Z"
},
"invite_url": "https://app.adbridge.ai/invite/inv_3f9a2b7c1d8e4f60a5b2",
"email_sent": true
}