Create vID Invite
Related workflow: Invite lifecycle · ID verification flow
Create a new vID invite for the provided applicant details.
Behavior
- Reuse: unless
forceNewInviteis true, an existing PENDING or STARTED invite without an order for the same package, email (case-insensitive) and organization is reused. It keeps itsinviteId, its expiry is renewed from the package's invite period (30 days by default), and supplied names replace the stored ones. Other stored fields, such as metadata, postback URL and phone number, are not changed.inviteDataechoes the request. forceNewInvite: truealways creates a new invite. Existing invites are left unchanged.organizationIddefaults to the package's owning organization.- With the default delivery method EMAIL, the invite email is queued; reminder emails are scheduled when the package enables them. Use List vID Invites or Get vID Invite to follow the invite; once the applicant submits, Get vID Invite returns its
orderId.
Related: Get vID Invite · List vID Invites · Invite · Event Types
apiKeyapikey<token>application/json- body
packageId*stringPackage ID: the id returned by List Package Sets (a UUID). The package may be owned by your organization or shared with it.
organizationId?string|nullThe ID of the organization for the invite. If not provided, the organization from the package will be used.
passTypeId?stringThe id of the pass type used for the invite
postbackWebhookUrl?stringThe URL that webhooks will be sent to when an order is completed
metadata?objectAdditional metadata to include in the invite request. Can be any valid JSON Object
contactInformation*objectApplicant email address & phone number
deliveryMethod*stringThe Delivery method used to send an invite to the applicant
"EMAIL""NONE"web?booleanThis boolean indicates whether to create a web invite or app invite. Default: false
falseonSubmitReturnUrl?stringThe url where the user will be redirected after submitting their vID order
forceNewInvite?booleanAlways create a new invite instead of reusing an existing pending invite or voucher.
falseorigin?stringThe platform that originated this voucher.
"COGNITION""CORTEX""MYCELIUM"Invite created or reused. Retain inviteId: Get, Resend and Cancel vID Invite use it.
application/json- response
inviteId*stringThe ID of the newly created invite
packageId*stringThe id of the package used for the order
packageName*stringThe name of the package
vIDInviteUrl*stringURL of the vID invite
vIDWebInviteUrl*stringURL of the vID Web invite
vIDQRCode*stringQR CODE of the vID invite
vIDShortCode*stringshortcode that can be used in vID to redeem invite
inviteExpiry*stringDate (YYYY-MM-DD) on which the invite expires. Set from the package's invite expiration period: 30 days unless the package is configured otherwise. When an existing pending invite is reused, its expiry is renewed. List vID Invites returns the full timestamp.
inviteData*objectThe data that was provided when creating the invite
curl -X POST 'https://api.cerebrum.com/v1/vid/invites' \ -H 'apikey: CEREBRUM_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "packageId": "81eb7401-8ff0-4404-8450-4d7508482c19", "deliveryMethod": "EMAIL", "web": true, "contactInformation": { "email": "applicant@example.com", "firstName": "Jordan", "lastName": "Lee" }, "metadata": { "clientReferenceId": "APP-1042" }}'Store inviteId. Send the applicant vIDWebInviteUrl for a web invite. URL and QR values are shortened placeholders.
{ "inviteId": "8faf4d07-6fec-43b8-a32c-cd549c30b5e9", "packageId": "81eb7401-8ff0-4404-8450-4d7508482c19", "packageName": "Standard ID Verification", "vIDInviteUrl": "https://cerebrum.app.link/EXAMPLE", "vIDWebInviteUrl": "https://cognition.cerebrum.com/vid/i/EXAMPLE", "vIDQRCode": "data:image/png;base64,iVBORw0KGgo=", "vIDShortCode": "ABC123", "inviteExpiry": "2026-12-02", "inviteData": { "contactInformation": { "email": "applicant@example.com", "firstName": "Jordan", "lastName": "Lee" }, "metadata": { "clientReferenceId": "APP-1042" } }}