Get testimonials

Overview

Get the testimonials a business displays.

Use this to show them.

You'll need the account's company_id.

Returns the testimonials.

Prerequisites

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

GET /api/v1/account/faq/get-testimonials

Authentication

Partner or Account token

  • company_id must be inside your own account tree. A Partner token can use any account under the partner; an Account token only its own account.
  • An account outside your tree, or one that doesn't exist, is rejected with 422.

Rate limit

This endpoint has no rate limit.

Request parameters

ParameterInTypeRequiredDescription
company_idqueryintegerYesThe account. Must exist and be inside your account tree.

Request body

None.

Request payload

None.

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
dataarray of objectsThe testimonials. An empty array [] when there are none.
data[].idintegerThe block's id.
data[].company_idintegerThe account.
data[].typestringtestimonials.
data[].contentstringThe HTML content.
data[].image_urlstring or nullNot used for testimonials; null.
data[].image_directionstringNot used for testimonials; left.
data[].statusstringactive.
data[].deleted_atstring or nullnull.
data[].created_atstringWhen it was saved (ISO 8601).
data[].updated_atstringWhen it was last changed (ISO 8601).

Response payload

{
  "data": {
    "status": "success",
    "data": [
      {
        "id": 21,
        "company_id": 5994,
        "type": "testimonials",
        "content": "<p>Great service, highly recommend!</p>",
        "image_url": null,
        "image_direction": "left",
        "status": "active",
        "deleted_at": null,
        "created_at": "2026-06-15T10:30:00.000000Z",
        "updated_at": "2026-06-15T10:30:00.000000Z"
      }
    ]
  }
}

Examples

Success payload

Testimonials: see Response payload.

No testimonials saved:

{
  "data": {
    "status": "success",
    "data": []
  }
}

Error payload

422 company_id is missing

{
  "message": "The company id field is required.",
  "errors": {
    "company_id": [
      "The company id field is required."
    ]
  }
}

422 Account outside your tree

{
  "message": "The selected company id does not belong to your company hierarchy.",
  "errors": {
    "company_id": [
      "The selected company id does not belong to your company hierarchy."
    ]
  }
}
StatusMeaning
200The account's testimonials, or [].
401The token is missing, expired or invalid.
422company_id is missing, doesn't exist or is outside your tree.
500Unexpected server error.

Example request

curl --request GET \
  --url "https://production-api.shoutaboutus.com/api/v1/account/faq/get-testimonials?company_id=5994" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json'

Did this page help you?