cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/reviews' \
--header "x-api-key: $RAINBRAND_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"brandSessionId": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"assets": [
{
"imageId": "b73f2048-38a5-4ea7-a6f7-5e1b4d06d990"
}
],
"checks": [
"color",
"copy"
],
"context": {
"notes": "Acme Inc. Atlas Pro launch image. Expected headline: \"Meet Atlas Pro\". Expected call to action: \"Explore Atlas Pro\"."
}
}'{
"data": {
"id": "77be63b7-3c27-4b82-b023-af1f6f5a0d2b",
"status": "pending"
}
}{
"error": {
"code": "INVALID_INPUT",
"status": 400,
"message": "Invalid review input",
"data": "<unknown>"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"status": 402,
"message": "Not enough credits to review this image",
"data": {
"action_url": "<string>",
"credits_required": 123,
"balance": 123,
"pricing_version": 0
}
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_SKILL_UNAVAILABLE",
"status": 409,
"message": "This brand is not ready for reviews yet",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Failed to create review",
"data": "<unknown>"
}
}Reviews
Request a Review
Check an asset against a brand’s guidance. Retrieve the findings with Get a Review.
POST
/
reviews
cURL
curl --request POST \
--url 'https://www.rainbrand.com/api/v1/reviews' \
--header "x-api-key: $RAINBRAND_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"brandSessionId": "e6220a5e-4a68-4d39-8bb9-5105e9a3a164",
"assets": [
{
"imageId": "b73f2048-38a5-4ea7-a6f7-5e1b4d06d990"
}
],
"checks": [
"color",
"copy"
],
"context": {
"notes": "Acme Inc. Atlas Pro launch image. Expected headline: \"Meet Atlas Pro\". Expected call to action: \"Explore Atlas Pro\"."
}
}'{
"data": {
"id": "77be63b7-3c27-4b82-b023-af1f6f5a0d2b",
"status": "pending"
}
}{
"error": {
"code": "INVALID_INPUT",
"status": 400,
"message": "Invalid review input",
"data": "<unknown>"
}
}{
"error": {
"code": "UNAUTHORIZED",
"status": 401,
"message": "Invalid or missing API credentials",
"data": "<unknown>"
}
}{
"error": {
"code": "INSUFFICIENT_CREDITS",
"status": 402,
"message": "Not enough credits to review this image",
"data": {
"action_url": "<string>",
"credits_required": 123,
"balance": 123,
"pricing_version": 0
}
}
}{
"error": {
"code": "ACCOUNT_BANNED",
"status": 403,
"message": "This account has been suspended.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_NOT_FOUND",
"status": 404,
"message": "Brand not found.",
"data": "<unknown>"
}
}{
"error": {
"code": "BRAND_SKILL_UNAVAILABLE",
"status": 409,
"message": "This brand is not ready for reviews yet",
"data": "<unknown>"
}
}{
"error": {
"code": "TOO_MANY_REQUESTS",
"status": 429,
"message": "Rate limit exceeded",
"data": "<unknown>"
}
}{
"error": {
"code": "INTERNAL_ERROR",
"status": 500,
"message": "Failed to create review",
"data": "<unknown>"
}
}Authorizations
apiKeybeareroauth
Headers
Body
application/json
Was this page helpful?