Reviews
Create a review
POST
/
api
/
v1
/
app
/
reviews
Create a review
curl --request POST \
--url https://{subdomain}.easyflows.io/api/v1/app/reviews \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>",
"rating": 3,
"body": "<string>",
"title": "<string>",
"product_ref": "<string>"
}
'import requests
url = "https://{subdomain}.easyflows.io/api/v1/app/reviews"
payload = {
"email": "<string>",
"name": "<string>",
"rating": 3,
"body": "<string>",
"title": "<string>",
"product_ref": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
name: '<string>',
rating: 3,
body: JSON.stringify('<string>'),
title: '<string>',
product_ref: '<string>'
})
};
fetch('https://{subdomain}.easyflows.io/api/v1/app/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.easyflows.io/api/v1/app/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => '<string>',
'name' => '<string>',
'rating' => 3,
'body' => '<string>',
'title' => '<string>',
'product_ref' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.easyflows.io/api/v1/app/reviews"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{subdomain}.easyflows.io/api/v1/app/reviews")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.easyflows.io/api/v1/app/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "27e460ed-1e9c-4097-9f7e-12db081aa5c2",
"rating": 5,
"body": "I really like this product.",
"customer": true,
"approved": true,
"member": {
"id": "f804cfec-39ec-45cc-845a-4fe51b80d2f0",
"name": "John Doe"
},
"created_at": "2026-01-01T12:00:00Z",
"updated_at": "2026-01-01T12:00:00Z",
"title": "Great product!",
"product": {
"id": "0b0abfba-18a4-4b7e-9179-e0cec1f2994f",
"ref": "tebex-5ea84f",
"platform": "tebex",
"name": "Example Product",
"image": "https://example.com/image.jpg",
"description": "This is an example product."
}
}
}{
"error": "<string>"
}Body
application/json
The email of the reviewer.
The name of the reviewer.
Maximum string length:
60The rating given by the reviewer.
Required range:
1 <= x <= 5The content of the review.
Required string length:
10 - 1000The title of the review.
Maximum string length:
100The reference of the product for which to create a review.
Response
Success
The main data returned by the API endpoint.
Show child attributes
Show child attributes
⌘I
Create a review
curl --request POST \
--url https://{subdomain}.easyflows.io/api/v1/app/reviews \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"name": "<string>",
"rating": 3,
"body": "<string>",
"title": "<string>",
"product_ref": "<string>"
}
'import requests
url = "https://{subdomain}.easyflows.io/api/v1/app/reviews"
payload = {
"email": "<string>",
"name": "<string>",
"rating": 3,
"body": "<string>",
"title": "<string>",
"product_ref": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
email: '<string>',
name: '<string>',
rating: 3,
body: JSON.stringify('<string>'),
title: '<string>',
product_ref: '<string>'
})
};
fetch('https://{subdomain}.easyflows.io/api/v1/app/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{subdomain}.easyflows.io/api/v1/app/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'email' => '<string>',
'name' => '<string>',
'rating' => 3,
'body' => '<string>',
'title' => '<string>',
'product_ref' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{subdomain}.easyflows.io/api/v1/app/reviews"
payload := strings.NewReader("{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{subdomain}.easyflows.io/api/v1/app/reviews")
.header("Content-Type", "application/json")
.body("{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{subdomain}.easyflows.io/api/v1/app/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"email\": \"<string>\",\n \"name\": \"<string>\",\n \"rating\": 3,\n \"body\": \"<string>\",\n \"title\": \"<string>\",\n \"product_ref\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "27e460ed-1e9c-4097-9f7e-12db081aa5c2",
"rating": 5,
"body": "I really like this product.",
"customer": true,
"approved": true,
"member": {
"id": "f804cfec-39ec-45cc-845a-4fe51b80d2f0",
"name": "John Doe"
},
"created_at": "2026-01-01T12:00:00Z",
"updated_at": "2026-01-01T12:00:00Z",
"title": "Great product!",
"product": {
"id": "0b0abfba-18a4-4b7e-9179-e0cec1f2994f",
"ref": "tebex-5ea84f",
"platform": "tebex",
"name": "Example Product",
"image": "https://example.com/image.jpg",
"description": "This is an example product."
}
}
}{
"error": "<string>"
}