Create an invitation that lets an external contributor connect a new utility account to the specified company. The response includes an invitationUrl to send to the contributor. Supports optional email restrictions, expiration, usage limits, and pre-filled form data.
ID of the company to create the invitation for.
Request body for creating an invitation that lets an external contributor connect a utility account.
Restrict the invitation to these email addresses. If empty, anyone with the link can use it. When set, the recipient must verify their email before proceeding.
1Number of seconds until the invitation expires. Omit to create a non-expiring invitation.
x >= 60Maximum number of times this invitation can be used to create a connection. Omit for unlimited uses.
x >= 1If true and allowedEmails is non-empty, sends the invitation link to each email address. If false, the link is returned in the response for manual distribution.
Optional data to pre-populate in the connection form.
An invitation that grants an external contributor access to create or update a connection.
Unique identifier of the invitation.
Opaque token used in the invitation URL. This is the value embedded in invitationUrl.
CREATE_CONNECTION — invitation to connect a new utility account. EDIT_CONNECTION — invitation to update credentials on an existing connection.
ACTIVE — can still be used. EXPIRED — past its expiration time. REVOKED — manually invalidated. FULFILLED — reached its maximum use count.
Full URL to send to the recipient. Opening this link takes them to the connection form.
The company this invitation belongs to.
For EDIT_CONNECTION invitations, the ID of the connection to update. Null for CREATE_CONNECTION invitations.
Email addresses allowed to use this invitation. Empty list means anyone with the link can use it.
When the invitation expires. Null means it never expires.
Maximum number of times this invitation can be used. Null means unlimited.
How many times this invitation has been used so far.
When the invitation was created.
Pre-populated form data for CREATE_CONNECTION invitations. Empty object for EDIT_CONNECTION invitations.
Connections that were created by recipients of this invitation. Only populated for CREATE_CONNECTION invitations; empty list for EDIT_CONNECTION.