You can use our Trustpilot API Invitation to ask your customers to leave a review for your business. This guide shows you how to get started.
An API (Application Programming Interface) allows developers to build integrations and applications that connect to your Trustpilot account. If you’d like to learn more, check out this article, which explains how to create and manage your Trustpilot APIs. Otherwise, share this guide with your developer, to start using our API documentation to trigger invitations.
Get started
With this Trustpilot API Invitation endpoint, you can create both service review invitations and product review invitations.
You can find the API call here.
Send a service review invitation
If you’d like to send a service review invitation, the following parameters are mandatory and required for one service review invitation per customer:
- Customer’s email address
- Customer’s name
- Reference number - The customer’s internal reference number
- Locale - Landing page country domain
- Business Unit ID - Your Business Unit ID (assigned by Trustpilot)
Send a service and product review invitation
You can also send a service and product review invitation at the same time. You’ll need to include:
- Customer’s email address
- Customer’s name
- Reference number - The customer’s internal reference number
- Locale - Landing page country domain
- Products - Either a list of product IDs or a list of each product's URL, name, SKU code, image-URL, and brand. The image-URL and brand are optional, but recommended for the best user experience.
- Business Unit ID - Your Business Unit ID (assigned by Trustpilot)
This API allows you to send invitations using our platform and email templates. If you’d like to use an API to send invitations using your own platform, you should check out this article to learn how to send an invitation using a business API link.