> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/fa-qs/create-faq/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.gorilladash.com/_mcp/server. # Create FAQ POST https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs Content-Type: application/json Creates a faq. Needs a key with **Website Content: Read and Write** (`website-content:write`). | Field | Type | Rules | | --- | --- | --- | | `faq_category_id` | integer | Required. An FAQ category of this website. | | `question` | string | Required, max 5000. | | `answer` | string\|null | HTML, max 100,000. | | `slug` | string\|null | Max 255, `^[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*$`. Defaults to the slug of the question. | | `sort` | integer | 0–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. Reference: https://docs.gorilladash.com/gorilla-dash-rest-ful-api/website-content/fa-qs/create-faq ## Request ### Headers - `GorillaDash-Api-Key` (string, optional) — Gorilla Dash API Key - `GorillaDash-Api-Secret` (string, optional) — Gorilla Dash API Secret ### Body (application/json) This endpoint expects an object. - `faq_category_id` (integer, required) - `question` (string, required) - `answer` (string, required) - `slug` (string, required) - `sort` (integer, required) ## Response ### 201 Created - `success` (boolean, required) - `status` (integer, required) - `data` (ApiV1WebsiteContentWebsites7BwebsiteId7DFaqsPostResponsesContentApplicationJsonSchemaData, required) ## Errors ### 403 Forbidden Error Forbidden - `message` (string, required) ## Types ### ApiV1WebsiteContentWebsites7BwebsiteId7DFaqsPostResponsesContentApplicationJsonSchemaData - `id` (integer, required) - `website_id` (integer, required) - `faq_category_id` (integer, required) - `slug` (string, required) - `question` (string, required) - `answer` (string, required) - `sort` (integer, required) - `created_at` (datetime, required) - `updated_at` (datetime, required) ## Examples **Request** ```json { "faq_category_id": 14, "question": "Where are you?", "answer": "
Melbourne.
", "slug": "where-are-you", "sort": 3 } ``` **Response** ```json { "success": true, "status": 201, "data": { "id": 130, "website_id": 206, "faq_category_id": 14, "slug": "where-are-you", "question": "Where are you?", "answer": "Melbourne.
", "sort": 3, "created_at": "2026-10-07T01:20:00+00:00", "updated_at": "2026-10-07T01:20:00+00:00" } } ``` **SDK Code** ```python Website Content_FAQs_Create FAQ_example import requests url = "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs" payload = { "faq_category_id": 14, "question": "Where are you?", "answer": "Melbourne.
", "slug": "where-are-you", "sort": 3 } headers = { "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.json()) ``` ```javascript Website Content_FAQs_Create FAQ_example const url = 'https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs'; const options = { method: 'POST', headers: { 'GorillaDash-Api-Key': '{{API_KEY}}', 'GorillaDash-Api-Secret': '{{GD_RESTFUL_SECRET}}', 'Content-Type': 'application/json' }, body: '{"faq_category_id":14,"question":"Where are you?","answer":"Melbourne.
","slug":"where-are-you","sort":3}' }; try { const response = await fetch(url, options); const data = await response.json(); console.log(data); } catch (error) { console.error(error); } ``` ```go Website Content_FAQs_Create FAQ_example package main import ( "fmt" "strings" "net/http" "io" ) func main() { url := "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs" payload := strings.NewReader("{\n \"faq_category_id\": 14,\n \"question\": \"Where are you?\",\n \"answer\": \"Melbourne.
\",\n \"slug\": \"where-are-you\",\n \"sort\": 3\n}") req, _ := http.NewRequest("POST", url, payload) req.Header.Add("GorillaDash-Api-Key", "{{API_KEY}}") req.Header.Add("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}") req.Header.Add("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` ```ruby Website Content_FAQs_Create FAQ_example require 'uri' require 'net/http' url = URI("https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Post.new(url) request["GorillaDash-Api-Key"] = '{{API_KEY}}' request["GorillaDash-Api-Secret"] = '{{GD_RESTFUL_SECRET}}' request["Content-Type"] = 'application/json' request.body = "{\n \"faq_category_id\": 14,\n \"question\": \"Where are you?\",\n \"answer\": \"Melbourne.
\",\n \"slug\": \"where-are-you\",\n \"sort\": 3\n}" response = http.request(request) puts response.read_body ``` ```java Website Content_FAQs_Create FAQ_example import com.mashape.unirest.http.HttpResponse; import com.mashape.unirest.http.Unirest; HttpResponseMelbourne.
\",\n \"slug\": \"where-are-you\",\n \"sort\": 3\n}") .asString(); ``` ```php Website Content_FAQs_Create FAQ_example request('POST', 'https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs', [ 'body' => '{ "faq_category_id": 14, "question": "Where are you?", "answer": "Melbourne.
", "slug": "where-are-you", "sort": 3 }', 'headers' => [ 'Content-Type' => 'application/json', 'GorillaDash-Api-Key' => '{{API_KEY}}', 'GorillaDash-Api-Secret' => '{{GD_RESTFUL_SECRET}}', ], ]); echo $response->getBody(); ``` ```csharp Website Content_FAQs_Create FAQ_example using RestSharp; var client = new RestClient("https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs"); var request = new RestRequest(Method.POST); request.AddHeader("GorillaDash-Api-Key", "{{API_KEY}}"); request.AddHeader("GorillaDash-Api-Secret", "{{GD_RESTFUL_SECRET}}"); request.AddHeader("Content-Type", "application/json"); request.AddParameter("application/json", "{\n \"faq_category_id\": 14,\n \"question\": \"Where are you?\",\n \"answer\": \"Melbourne.
\",\n \"slug\": \"where-are-you\",\n \"sort\": 3\n}", ParameterType.RequestBody); IRestResponse response = client.Execute(request); ``` ```swift Website Content_FAQs_Create FAQ_example import Foundation let headers = [ "GorillaDash-Api-Key": "{{API_KEY}}", "GorillaDash-Api-Secret": "{{GD_RESTFUL_SECRET}}", "Content-Type": "application/json" ] let parameters = [ "faq_category_id": 14, "question": "Where are you?", "answer": "Melbourne.
", "slug": "where-are-you", "sort": 3 ] as [String : Any] let postData = JSONSerialization.data(withJSONObject: parameters, options: []) let request = NSMutableURLRequest(url: NSURL(string: "https://api.gorilladash.com/api/v1/website-content/websites/%7BWEBSITE_ID%7D/faqs")! as URL, cachePolicy: .useProtocolCachePolicy, timeoutInterval: 10.0) request.httpMethod = "POST" request.allHTTPHeaderFields = headers request.httpBody = postData as Data let session = URLSession.shared let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in if (error != nil) { print(error as Any) } else { let httpResponse = response as? HTTPURLResponse print(httpResponse) } }) dataTask.resume() ```