Clients API
POST/api/v1/portal-invitations/bulk
Product availabilityAlgaPSAAlgaDesk

Invite contacts to the client portal in bulk

Sends client portal invitations for the named contacts, which may belong to different clients; each contact is authorized against its own client before anything is sent. Same per-contact result envelope as the client-scoped endpoint.

RBAC · user

Request body

Content type: application/json · schema BulkPortalInvitationRequest

contact_idsarray of stringRequired
Contacts to invite, in any client. Each contact is authorized against its own client.
min items 1 · max items 500
itemsstring <uuid>

Response body

Success response 200 · schema BulkPortalInvitationEnvelope

dataobjectRequired
totalintegerRequired
Contacts considered by this request.
sentintegerRequired
skippedintegerRequired
failedintegerRequired
resultsarray of PortalInvitationResultRequired
itemsobject
contact_idstringRequired
contacts.contact_name_id.
emailstring
Address the invitation went to, when the contact has one.
statusstringRequired
sent: an invitation email went out. skipped: the contact is not invitable as it stands (no email, invalid email, already a portal user, shared mailbox, not in this client). failed: the invitation could not be delivered.
Enum: sentskippedfailed
invitation_idstring
portal_invitations.invitation_id of the invitation created.
error_codestring
Stable code for a skip or failure, e.g. USER_EXISTS_FOR_CONTACT.
messagestring
metaobject

Response codes

200
Per-contact invitation outcomes.
400
Invalid payload, no targets selected, more than 500 contacts, or the tenant is not configured to send invitations.
401
API key missing/invalid or key user not found.
403
Permission denied for user invite.
500
Unexpected invitation failure.