General FAQ API

Get the genral faq list for emart.

GET https://castleindia.in/emart/public /api/faqs /api/faqs

Query Parameters

Name
Type
Description

secret*

String

Client secret which you obtain from the admin panel.

Headers

Name
Type
Description

Accept*

String

application/json.

{
  "faqs": [
    {
      "id": 2,
      "que": {
        "en": "Hello world"
      },
      "ans": {
        "en": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam accusantium aliquid eaque fugit perferendis et commodi facilis animi ratione laborum dignissimos suscipit aut provident minima culpa ab fuga, expedita dolores aliquam qui facere inventore amet illum eligendi! Facere nobis fuga doloribus iure architecto, distinctio expedita, labore dolore reprehenderit, quisquam commodi."
      },
      "status": "1",
      "created_at": "2020-04-06T19:59:23.000000Z",
      "updated_at": "2020-04-06T19:59:23.000000Z"
    },
    {
      "id": 3,
      "que": {
        "en": "Second world"
      },
      "ans": {
        "en": "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quam accusantium aliquid eaque fugit perferendis et commodi facilis animi ratione laborum dignissimos suscipit aut provident minima culpa ab fuga, expedita dolores aliquam qui facere inventore amet illum eligendi! Facere nobis fuga doloribus iure architecto, distinctio expedita, labore dolore reprehenderit, quisquam commodi."
      },
      "status": "1",
      "created_at": "2020-04-06T19:59:29.000000Z",
      "updated_at": "2020-04-06T19:59:29.000000Z"
    }
  ]
}

IF response fail

{
  "errors": "Secret Key is required",
  "status": "fail"
}

Last updated