Export reviews by email

Emails a CSV or JSON export of reviews to an address you name. Start Up plan and above.

POST https://cotlet.dev/api/v1/reviews-io/reviews/export

write Confirm

Fills in Settings > Export Reviews: type is company, product or questions_and_answers, with an optional date range and rating range. REVIEWS.io emails the file; it is not returned here. The file includes reviewer names and emails, so it goes only where you send it. Accounts below the Start Up plan get APP_PERMISSION_DENIED. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: export_reviews
NameTypeDescription
type enum required enum company, product or questions_and_answers.
send_to string required string Email address that receives the file.
format enum enum csv or json. Default: csv.
date_from date date Date From.
date_to date date Date To.
rating_min integer integer Minimum rating, 1 to 5.
rating_max integer integer Maximum rating, 1 to 5.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/reviews-io/reviews/export \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"company","send_to":"send to"}'
Python
result = client.call("reviews-io", "export_reviews", {"type":"company","send_to":"send to"})
Node.js
const result = await cotlet.call('reviews-io', 'export_reviews', {"type":"company","send_to":"send to"});
CLI
cotlet call reviews-io export_reviews --data '{"type":"company","send_to":"send to"}'

Example response

JSON

{
  "type": "company",
  "format": "csv",
  "status": "requested",
  "send_to": "reports@northwindkitchen.example"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.