Send review request (test-review-request — deprecated alias)

Create a one-off audience row and queues an Email and/or SMS review request for a campaign (dispatched after DB commit onto the messaging queue). Branches on whether email and/or phone is supplied. Serves both production and test sends via the is_test flag. A non-test send increments the campaign's total_audience and schedules a follow-up email when the email channel has a follow-up template.

Deprecated path. POST /campaign/test-review-request is a backward-compatible alias that points at the same sendReviewRequest handler as the canonical POST /campaign/review-request (documented as Send review request (email and/or SMS)). Migrate callers to review-request.

Auth

  • Account — authentication, ACCOUNT-scope group. If not owned by the caller it returns 403 ("You are not authorized to send a review request for this campaign"). Store must have an active plan (400 otherwise).

Rate limit

  • No rate limit.

Body

FieldTypeRequiredNotes
campaign_idintegerRequiredMust be an existing campaign inside your own account tree.
customer_namestringRequiredmax 255; trimmed.
emailstringConditionalrequired_without:phone; nullable, email:rfc,dns, max 255. Drives the Email send.
phonestringConditionalrequired_without:email; nullable, min 7, max 20. Drives the SMS send.
is_testbooleanOptionalnullable. When true, tags every downstream row as test and skips follow-ups; does not increment total_audience. Defaults false.
keywordsobjectOptionalnullable map; each key max 100 chars. Empty/null values skipped.
keywords.*stringOptionalnullable value per keyword.

At least one of email or phone is required.

Behaviour

  • 200 { status: "success", message } where message reflects which channel(s) were queued ("Email and SMS.", "Email.", or "SMS review request sent successfully").
  • 403 if the caller does not own the campaign.
  • 400 for: no active plan. A requested channel is missing/disabled or lacks a valid template. Missing review-site URLs in the landing page / email template (returns the per-site error list); or "Failed to send review request" if nothing was created.
  • 422 on validation failure.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
string
string
string
boolean
keywords
object
Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json