Get FAQs

Overview

Get the business's frequently asked questions.

Use this to display them.

You'll need the account's company_id.

Returns the questions and answers. Filter by type and status, or leave them out to get all of the account's FAQs.

Prerequisites

Base URL

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

Endpoint

GET /api/v1/account/faq/get

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.
typequerystringNoOnly FAQs for this page: landing_page or widget. Left out: all types.
statusquerystringNoOnly FAQs with this status: active or inactive. Left out: both.

Request body

None.

Request payload

None.

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
dataarray of objectsThe FAQs. An empty array [] when there are none.
data[].idintegerThe FAQ's id.
data[].company_idintegerThe account.
data[].typestring or nulllanding_page, widget, or null when saved without a type.
data[].questionstringThe question.
data[].answerstringThe answer.
data[].statusstringactive or inactive.
data[].created_atstringWhen it was saved (ISO 8601).
data[].updated_atstringWhen it was last changed (ISO 8601).
data[].deleted_atstring or nullnull.

Response payload

{
  "data": {
    "status": "success",
    "data": [
      {
        "id": 1,
        "company_id": 5994,
        "type": "landing_page",
        "question": "How do I leave a review?",
        "answer": "Click the link in the email we sent you.",
        "status": "active",
        "created_at": "2026-06-15T10:30:00.000000Z",
        "updated_at": "2026-06-15T10:30:00.000000Z",
        "deleted_at": null
      }
    ]
  }
}

Examples

Success payload

FAQs: see Response payload.

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

422 Unknown type or status

{
  "message": "The selected type is invalid. (and 1 more error)",
  "errors": {
    "type": [
      "The selected type is invalid."
    ],
    "status": [
      "The selected status is invalid."
    ]
  }
}
StatusMeaning
200The account's FAQs, or [].
401The token is missing, expired or invalid.
422company_id is missing, doesn't exist or is outside your tree, or type / status isn't allowed.
500Unexpected server error.

Example request

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

Did this page help you?