Skip to navigation

Create FAQ

View as Markdown

Creates a faq. Needs a key with Website Content: Read and Write (website-content:write).

FieldTypeRules
faq_category_idintegerRequired. An FAQ category of this website.
questionstringRequired, max 5000.
answerstring|nullHTML, max 100,000.
slugstring|nullMax 255, ^[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*$. Defaults to the slug of the question.
sortinteger0–1,000,000.

If a faq with the same slug already exists, this returns 422. Use Upsert FAQ when you do not know whether it exists.

Headers

GorillaDash-Api-KeystringOptional
Gorilla Dash API Key
GorillaDash-Api-SecretstringOptional
Gorilla Dash API Secret

Request

This endpoint expects an object.
faq_category_idintegerRequired
questionstringRequired
answerstringRequired
slugstringRequired
sortintegerRequired

Response

Created
successboolean
statusinteger
dataobject

Errors

403
Forbidden Error