FAQ & widgets

Account self-service: company FAQ blocks, testimonials, gallery images, and review widgets.

Account self-service: company FAQ blocks, testimonials, gallery images, and review widgets.

Prerequisites

  • A bearer token in the Authorization header. Any endpoint that needs no token says so on its own page.
  • The id of each record the call targets. Every endpoint page lists the ids it needs.

Errors

StatusMeaning
401The bearer token is missing, expired or invalid
403The token is valid but the record sits outside your account
422The request failed validation — the response names the fields
500Unexpected server error

Individual endpoints may return more; each page lists its own.

Endpoints

MethodEndpointDescription
GETList child accountsGet the immediate child companies (accounts/locations) directly under the authenticated user's own company, formatted as value/label option pairs for dropdowns.
GETOverall ranking by location (last 12 months)Overall location ranking for the selected window (default last 12 months): up to 10 store locations ranked and graded by review count, response rate, and average rating (bridge-aware for hipages stores).
GETGet FAQ listGet the FAQ entries for a company, optionally filtered by type and status.
GETGet how-it-works blocksGet the 'how it works' blocks for a company, filtered by type.
GETGet testimonialsGet the testimonials configured for a company.
POSTSave how-it-works blockReplace the 'how it works' blocks for a company.
POSTSave FAQ entriesReplace the FAQ entries for a company.
POSTSave testimonialsReplace the testimonials for a company.
GETGet imagesGet the active images uploaded for a company, filtered by type.
POSTSave images (upload)Upload one or more image files to S3 (under account/images/{type}) and creates an Image row per file for the company, returning the saved records with public S3 URLs.
DELETEDelete imageDelete a stored company image.
POSTList widgetsReturns a paginated list of widgets scoped to a single store (store_id) or an account company and its child companies (company_id), joined to widget type, store, and company-account names, with optional search/sort.
POSTCreate or update widgetCreate a new widget, or updates an existing one when you supply unique_id.
DELETEDelete widgetPermanently deletes a widget identified by its unique_id.