Get how-it-works content

Overview

Get the explanatory blocks shown on the business's hosted page.

Use this to display them.

You'll need the account's company_id and the page type.

Returns the blocks. Send type: without it the list is empty.

Prerequisites

Base URL

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

Endpoint

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

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.
typequerystringNoWhich page the blocks are for: landing_page or widget. Left out: the list is empty.

Request body

None.

Request payload

None.

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
dataarray of objectsThe blocks. An empty array [] when there are none.
data[].idintegerThe block's id.
data[].company_idintegerThe account.
data[].typestringWhich page the block is for: landing_page or widget.
data[].contentstringThe HTML content.
data[].image_urlstring or nullThe block's image URL.
data[].image_directionstringWhich side the image is on: left or right.
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": 7,
        "company_id": 5994,
        "type": "landing_page",
        "content": "<p>Step one: leave a review.</p>",
        "image_url": "https://d2ny6zb7otrnhl.cloudfront.net/how-it-works/65f2a1c3d4e5f.png",
        "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

Blocks: see Response payload.

No blocks saved for that type, or type left out:

{
  "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."
    ]
  }
}

422 type isn't allowed

{
  "message": "The selected type is invalid.",
  "errors": {
    "type": [
      "The selected type is invalid."
    ]
  }
}
StatusMeaning
200The blocks, or [].
401The token is missing, expired or invalid.
422company_id is missing, doesn't exist or is outside your tree, or type isn't allowed.
500Unexpected server error.

Example request

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

Did this page help you?