---
description: Get the genral faq list for emart.
---

# General FAQ API

<mark style="color:blue;">`GET`</mark> `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. |

{% tabs %}
{% tab title="200: OK Upon successful response you will get the following" %}
```javascript
{
  "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"
    }
  ]
}
```
{% endtab %}
{% endtabs %}

### IF response fail

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