Sign in

Create invitation(s)

documented

Trigger invitation emails for service or product reviews.

POST /v1/private/business-units/{businessUnitId}/email-invitationsProduct Reviewsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://invitations-api.trustpilot.com/v1/private/business-units/{{$businessUnitId}}/email-invitations" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{ "replyTo": "{{$replyTo}}", "locale": "{{$locale}}", "senderName": "{{$senderName}}", "senderEmail": "{{$senderEmail}}", "locationId": "{{$locationId}}", "referenceNumber": "{{$referenceNumber}}", "consumerName": "{{$consumerName}}", "consumerEmail": "{{$consumerEmail}}", "type": "email", "serviceReviewInvitation": { "templateId": "{{$service_template_id}}", "preferredSendTime": "{{$service_preferred_send_time}}", "redirectUri": "{{$service_redirect_uri}}" }, "productReviewInvitation": { "templateId": "{{$product_template_id}}", "preferredSendTime": "{{$product_preferred_send_time}}", "redirectUri": "{{$product_redirect_uri}}", "products": [ { "sku": "{{$product_sku}}", "name": "{{$product_name}}", "mpn": "{{$product_mpn}}", "brand": "{{$product_brand}}", "imageUrl": "{{$product_image_url}}", "productUrl": "{{$product_url}}", "gtin": "{{$product_gtin}}", "productCategoryGoogleId": "{{$product_google_category_id}}" } ] } }'"}
Create invitation(s) · Trustpilot · OpenIntegrations