Invitations API overview
The invitations API enables you to send service and product review invitations to customers. Use the Invitations API to create and delete email invitations, generate a service review link and get a list of existing invitation templates.
To create and send a basic service review invitation, you’ll need to include the following information:
- Your Business Unit ID. You’ll need to include this in the URL. To find your Business Unit ID, refer to Business Units overview.
- The customer’s email address and name.
- The customer’s locale.
- Your internal reference number for the customer.
- The template ID for the invitation template you want to send.
- (Optional) A preferred send time.
To get a list of templates available to you, use the following call:
curl -X GET "https://invitations-api.trustpilot.com/v1/private/business-units/{businessUnitId}/templates"
If you’re not sure where to start, go to Create Invitation(s) and use the example curl commands.