Skip to main content

Publish Testimonial Wall

Publish a testimonial wall and apply its saved changes. This is the only call that makes draft changes live on the testimonial wall, in embeds, and in Easypage sections. Afterwards has_draft is false. A testimonial wall that is already published is published again, and published_at becomes the time of this call. With no saved changes and nothing to approve, the call still returns 200 and applies nothing.

Pending testimonials do not block publishing. Without approve_pending, they stay pending and are not shown. With approve_pending: true, every pending testimonial in the draft is approved in the same call. On a testimonial wall that is a draft, those testimonials are approved directly.

When the call applied saved changes or approved pending testimonials, draft_version goes up by 1. Read the testimonial wall again before the next draft write. See Draft, preview, and publish.

Publishing requires a plan that allows it. When the plan refuses, the call returns 402, nothing is published or applied, and no testimonial is approved.

Request​

POST /walls/{id}/publish

Path Parameters​

ParameterTypeRequiredDescription
idstringYesTestimonial wall UUID. See Identifiers.

Request Body​

The body is optional.

ParameterTypeRequiredDescription
approve_pendingbooleanNotrue approves every pending testimonial in the draft and publishes. Defaults to false. null or a non-boolean is 422.

Example Requests​

curl -X POST "https://app.easy.tools/api/v1/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/publish" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"

Approve pending testimonials and publish:

curl -X POST "https://app.easy.tools/api/v1/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/publish" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{
"approve_pending": true
}'

Response​

Success Response (200)​

With approve_pending: true:

{
"data": {
"id": "4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94",
"slug": "product-reviews",
"name": "Customer reviews",
"status": "published",
"created_at": "2026-01-10T08:00:00.000Z",
"updated_at": "2026-01-21T10:00:00.000Z",
"published_at": "2026-01-21T10:00:00.000Z",
"preview_url": "https://app.easy.tools/walls/4a0c8e55-1d69-4b72-9f30-7c2e6b1a8d94/preview?expires=...&signature=...",
"has_draft": false,
"pending_testimonial_count": 0
}
}

Response Fields​

See Testimonial Wall Object and Status. The response also includes preview_url and pending_testimonial_count, the number of testimonials still pending after this call.

Error Responses​

Not Found Error (404)​

See Identifiers.

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Resource not found"
}
}

Payment Required Error (402 — Publish Not Allowed)​

The account needs a trial or a plan before anything can go live. Nothing is published. Retry after the account owner starts the trial or chooses a plan in Easytools.

{
"error": {
"code": "PUBLISH_NOT_ALLOWED",
"message": "This store cannot go live until the account owner starts the Easytools trial or chooses a plan. Nothing went live. Ask them to do that in Easytools, then retry."
}
}

When the plan has ended, the code is the same and the message says so:

{
"error": {
"code": "PUBLISH_NOT_ALLOWED",
"message": "This store's plan has ended. The account owner has to choose a plan in Easytools. Nothing went live. Ask them to do that, then retry."
}
}

Payment Required Error (402 — Publish Limit Reached)​

The account has no free publish slot left. Nothing is published. Retry after the account owner upgrades in Easytools.

{
"error": {
"code": "PUBLISH_LIMIT_REACHED",
"message": "This account has no free publish slot left. Ask the account owner to upgrade in Easytools, then retry. Nothing went live."
}
}

Validation Error (422 Unprocessable Entity)​

{
"error": {
"code": "VALIDATION_ERROR",
"message": "The given data was invalid",
"details": {
"approve_pending": ["approve_pending must be a boolean value"]
}
}
}

Authentication, permission, and rate-limit errors are described in Authorization.