post
https://production-api.shoutaboutus.com/api/v1/account/faq/save
Replace the FAQ entries for a company. Within a DB transaction it deletes all existing FAQ entries for the given company_id + type, then inserts the supplied FAQ entries.
Auth: Both — authentication bearer token. Target company comes from the company_id body field; no ownership/partner-tree scoping, so any authenticated Partner or Account user can write FAQs for any company id. Role only changes which company_id you pass.
Rate limit: No rate limit.
Request
- Body:
| Field | Type | Required | Notes |
|---|---|---|---|
company_id | integer | required | Must be an existing account. |
type | string | optional (nullable) | One of landing_page, widget. The endpoint stores scopes the pre-delete and on each row; if omitted, rows are deleted/saved with type = null. |
faqs | array | required | Full replacement set of FAQ entries. |
faqs.*.question | string | required | FAQ question text. |
faqs.*.answer | string | required | FAQ answer text. |
faqs.*.status | string | required | One of active, inactive. |
Response — { data. } envelope (nested). The controller echoes back the submitted faqs array (not the persisted models, so no id/timestamps).
data.status(string) — literal"success".data.message(string) —"FAQ saved successfully".data.data(array) — thefaqsarray exactly as submitted.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
