# Post Information

{% hint style="info" %}
Get post information for different scenarios using APIs below.
{% endhint %}

## Get All Posts

Get all posts by organization id.

<img src="https://203590333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIHuU6kmTWQfXxOUkN7No%2Fuploads%2FlxmjE9xejXbor6VW2ums%2Ffile.excalidraw.svg?alt=media&#x26;token=dc5a2fc4-de03-4472-91e5-202c0bcb1444" alt="API: - https://matar.in.ngrok.io/api/v1/get_post?organization_id=<ORG_ID>" class="gitbook-drawing">

### Params

**Query Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="234.33333333333331">Query Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>organization_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for organization/community to find related posts.</td></tr></tbody></table>

**Header Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="231.33333333333331">Header Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bearer {{access_token}} </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Access tokens enable secure access to Matar Resources.</td></tr></tbody></table>

***

**Sample Request ⬇️️**

```
curl --location 'https://matar.in.ngrok.io/api/v1/get_post?organization_id=129487316' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjkyOTQzNDY0LCJqdGkiOiJmNTY2MWMzMC00YWNkLTRjNDUtYmU2NS03ZmQyOGM2OTJiYzMiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiMzk1MDFUIiwibmJmIjoxNjkyOTQzNDY0LCJleHAiOjE2OTM4MDc0NjR9.soJepZDtTK3JLfvMjl_XL5jwQr9sP8oTOiA43Fi7VZs'
```

**Responses ⬇️**

Status Code: **🟢200** (200 denotes **'ok'**)

```200
{
    "page_details": {
        "current_start": 0,
        "next_offset": 10,
        "total": 39
    },
    "posts": [
        {
            "_id": "VAGDWM8YZP",
            "audio_data": null,
            "audio_text": "हमें अपनी अच्छी सेहत के लिए क्या करना चाहिए?",
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/RLOCWGZWM5v2Sehat_Question.flac",
            "category_ids": [
                "TFTWNI"
            ],
            "chatgpt_query_id": null,
            "child_posts": [],
            "child_posts_details": {
                "current_start": 0,
                "cursor": 0,
                "next_offset": 0,
                "total": 0
            },
            "created_at": "25/08/2023 , 06:05 AM",
            "data": {
                "duration": 4.56,
                "like": 1
            },
            "is_active": true,
            "is_chatgpt_enabled": false,
            "organization_id": "129487316",
            "parent_post_id": null,
            "sort_order": null,
            "text": "हमें अपनी अच्छी सेहत के लिए क्या करना चाहिए?",
            "user": {
                "_id": "39501T",
                "image_url": "https://listapp-images.s3.ap-south-1.amazonaws.com/matar_profile_05.png",
                "name": "Sri"
            },
            "user_id": "39501T",
            "user_post_activities": {
                "like": true
            },
            "whisper_id": null
        },
        {
            "_id": "KHNJOU",
            "audio_data": null,
            "audio_text": "मुझे अपनी अच्छी सेहत के लिए क्या करना चाहिए",
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/13TUAJ5OLCv2storage_emulated_0_Android_data_com.listag_files_DCIM_question_recording.mp3",
            "category_ids": [
                "WJ6BWG"
            ],
            "chatgpt_query_id": null,
            "child_posts": [
                {
                    "_id": "TA94F4",
                    "audio_data": null,
                    "audio_text": null,
                    "audio_translation": null,
                    "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/ZJO90T7ZS5v2audio.mp3",
                    "category_ids": [
                        "WJ6BWG"
                    ],
                    "chatgpt_query_id": null,
                    "created_at": "25/05/2023 , 06:19 AM",
                    "data": {
                        "block": 0,
                        "dislike": 1,
                        "duration": 4.98,
                        "like": 0,
                        "view": 2
                    },
                    "is_active": true,
                    "is_chatgpt_enabled": true,
                    "organization_id": "129487316",
                    "parent_post_id": "KHNJOU",
                    "sort_order": null,
                    "text": null,
                    "user": {
                        "_id": "BXLUNL",
                        "image_url": null,
                        "name": "sri"
                    },
                    "user_id": "BXLUNL",
                    "user_post_activities": {},
                    "whisper_id": null
                }
              }
            }              
```

Status Code: 🔴**404** (404 denotes **'Not found'**)

```
{
      "message": "Ain't no cake like that."
    }
```

{% hint style="warning" %}
Note: The response is shortened for formatting purposes.
{% endhint %}

***

## Get Posts with Children

Get children(answers) for a specified question post.

<img src="https://203590333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIHuU6kmTWQfXxOUkN7No%2Fuploads%2FiN7gNooBZE3rr5rSYXUn%2Ffile.excalidraw.svg?alt=media&#x26;token=3a721432-3a42-4d6b-b320-b6dbc8a50120" alt="API: - https://matar.in.ngrok.io/api/v1/get_post?post_id=<post_id>&#x26;offset=<offset_value>" class="gitbook-drawing">

### Params

**Query Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="240.33333333333331">Query Parameter</th><th width="114">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>post_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for a post to find children or answers for.</td></tr><tr><td><strong>offset </strong><mark style="color:green;"><strong>(optional)</strong></mark></td><td>String</td><td>Set this to show answers/replies or children starting from a specific page.</td></tr></tbody></table>

**Header Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="231.33333333333331">Header Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bearer {{access_token}} </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Access tokens enable secure access to Matar Resources.</td></tr></tbody></table>

**Body Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="229.33333333333331">Body Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>parent_post_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Required to view all replies/children post linked to parent/question post. Provide the post_id as parent_post_id.</td></tr></tbody></table>

***

**Sample Request ⬇️️**

```
curl --location --request GET 'https://matar.in.ngrok.io/api/v1/get_post?post_id=LX8LQC&offset=0' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjkyOTQzNDY0LCJqdGkiOiJmNTY2MWMzMC00YWNkLTRjNDUtYmU2NS03ZmQyOGM2OTJiYzMiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiMzk1MDFUIiwibmJmIjoxNjkyOTQzNDY0LCJleHAiOjE2OTM4MDc0NjR9.soJepZDtTK3JLfvMjl_XL5jwQr9sP8oTOiA43Fi7VZs ' \
--form 'parent_post_id="LX8LQC"'
```

**Responses ⬇️**

Status Code: **🟢200** (200 denotes **'ok'**)

```200
{
    "_id": "LX8LQC",
    "audio_data": null,
    "audio_text": null,
    "audio_translation": null,
    "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/EWT3IROKZEaud1.m4a",
    "category_ids": [],
    "chatgpt_query_id": null,
    "child_posts": [
        {
            "_id": "H9998M",
            "audio_data": null,
            "audio_text": null,
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/C4738WZB8Caud1.m4a",
            "category_ids": [],
            "chatgpt_query_id": null,
            "data": {},
            "is_active": true,
            "parent_post_id": "LX8LQC",
            "text": "dummy text",
            "user_id": "EQOKSU",
            "whisper_id": null
        },
        {
            "_id": "LWMVZC",
            "audio_data": null,
            "audio_text": null,
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/UNMQ5Z68P8aud1.m4a",
            "category_ids": [],
            "chatgpt_query_id": null,
            "data": {},
            "is_active": true,
            "parent_post_id": "LX8LQC",
            "text": "dummy text",
            "user_id": "EQOKSU",
            "whisper_id": null
        }
    ],
    "child_posts_details": {
        "cursor": 0,
        "total": 100
    },
    "data": {},
    "is_active": true,
    "parent_post_id": null,
    "text": "dummy text",
    "user_id": "EQOKSU",
    "whisper_id": null
}      
```

Status Code: 🔴**404** (404 denotes **'Not found'**)

```
{
      "message": "Ain't no cake like that."
    }
```

***

## Get Posts with Children(Offset)

Get limited number of children(answers) for a specified question post.

<img src="https://203590333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIHuU6kmTWQfXxOUkN7No%2Fuploads%2FVFSUvewSydbZ9TpFR09x%2Ffile.excalidraw.svg?alt=media&#x26;token=21fb7be5-4fcb-44eb-972f-c31a87249d7e" alt="API: - https://matar.in.ngrok.io/api/v1/get_post?post_id=<post_id>&#x26;offset=<offset_value>" class="gitbook-drawing">

### Params

**Query Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="240.33333333333331">Query Parameter</th><th width="114">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>post_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for a post to find children or answers for.</td></tr><tr><td><strong>offset </strong><mark style="color:green;"><strong>(optional)</strong></mark></td><td>String</td><td>Set this to show specific number of answers or children</td></tr></tbody></table>

**Header Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="231.33333333333331">Header Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bearer {{access_token}} </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Access tokens enable secure access to Matar Resources.</td></tr></tbody></table>

**Body Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="229.33333333333331">Body Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>parent_post_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Required to view all replies/children post linked to parent/question post. Provide the post_id as parent_post_id.</td></tr></tbody></table>

***

**Sample Request ⬇️️**

```
curl --location --request GET 'https://matar.in.ngrok.io/api/v1/get_post?post_id=LX8LQC&offset=1&organization_id=129487316' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjkyOTQzNDY0LCJqdGkiOiJmNTY2MWMzMC00YWNkLTRjNDUtYmU2NS03ZmQyOGM2OTJiYzMiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiMzk1MDFUIiwibmJmIjoxNjkyOTQzNDY0LCJleHAiOjE2OTM4MDc0NjR9.soJepZDtTK3JLfvMjl_XL5jwQr9sP8oTOiA43Fi7VZs' \
--form 'parent_post_id="LX8LQC"'
```

**Responses ⬇️**

Status Code: **🟢200** (200 denotes **'ok'**)

```200
The response will list only a single child post for every post ID as offset is set to 1 in the sample request query params: 

{
    "_id": "LX8LQC",
    "audio_data": null,
    "audio_text": null,
    "audio_translation": null,
    "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/EWT3IROKZEaud1.m4a",
    "category_ids": [],
    "chatgpt_query_id": null,
    "child_posts": [
        {
            "_id": "H9998M",
            "audio_data": null,
            "audio_text": null,
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/C4738WZB8Caud1.m4a",
            "category_ids": [],
            "chatgpt_query_id": null,
            "data": {},
            "is_active": true,
            "parent_post_id": "LX8LQC",
            "text": "dummy text",
            "user_id": "EQOKSU",
            "whisper_id": null
        }
    ],
    "child_posts_details": {
        "current_start": 0,
        "cursor": 0,
        "next_offset": 2,
        "total": 2
    },
    "data": {},
    "is_active": true,
    "parent_post_id": null,
    "text": "dummy text",
    "user_id": "EQOKSU",
    "whisper_id": null
}
```

Status Code: 🔴**404** (404 denotes **'Not found'**)

```
{
      "message": "Ain't no cake like that."
    }
```

***

## Get Posts by Category

Get posts by a specific category filter.

<img src="https://203590333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIHuU6kmTWQfXxOUkN7No%2Fuploads%2F9wxKn76Wcop2DUE2NRA5%2Ffile.excalidraw.svg?alt=media&#x26;token=7021e86c-de24-4297-b5ec-d391e8969fad" alt="API:- https://matar.in.ngrok.io/api/v1/get_post?category_id=<category_id>&#x26;organization_id=<ORG_ID>" class="gitbook-drawing">

### Params

**Query Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="240.33333333333331">Query Parameter</th><th width="114">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>category_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for a category to find relevant posts.</td></tr><tr><td><strong>organization_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for identifying psts under an organization</td></tr></tbody></table>

**Header Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="231.33333333333331">Header Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bearer {{access_token}} </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Access tokens enable secure access to Matar Resources.</td></tr></tbody></table>

***

**Sample Request ⬇️️**

```
curl --location --request GET 'https://matar.in.ngrok.io/api/v1/get_post?category_id=TFTWNI&organization_id=129487316' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjkyOTQzNDY0LCJqdGkiOiJmNTY2MWMzMC00YWNkLTRjNDUtYmU2NS03ZmQyOGM2OTJiYzMiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiMzk1MDFUIiwibmJmIjoxNjkyOTQzNDY0LCJleHAiOjE2OTM4MDc0NjR9.soJepZDtTK3JLfvMjl_XL5jwQr9sP8oTOiA43Fi7VZs' 
```

**Responses ⬇️**

Status Code: **🟢200** (200 denotes **'ok'**)

```200
The response will list all the posts in an organization by filtering to a specific category ID provided. Note that there are a total of 15 posts in the response below for a specified category.
Note: The response below is shortened for formatting purposes.

{
    "page_details": {
        "current_start": 0,
        "next_offset": 10,
        "total": 15
    },
    "posts": [
        {
            "_id": "VAGDWM8YZP",
            "audio_data": null,
            "audio_text": "हमें अपनी अच्छी सेहत के लिए क्या करना चाहिए?",
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/RLOCWGZWM5v2Sehat_Question.flac",
            "category_ids": [
                "TFTWNI"
            ],
            "chatgpt_query_id": null,
            "child_posts": [],
            "child_posts_details": {
                "current_start": 0,
                "cursor": 0,
                "next_offset": 0,
                "total": 0
            },
            "created_at": "25/08/2023 , 06:05 AM",
            "data": {
                "duration": 4.56,
                "like": 1
            },
            "is_active": true,
            "is_chatgpt_enabled": false,
            "organization_id": "129487316",
            "parent_post_id": null,
            "sort_order": null,
            "text": "हमें अपनी अच्छी सेहत के लिए क्या करना चाहिए?",
            "user": {
                "_id": "39501T",
                "image_url": "https://listapp-images.s3.ap-south-1.amazonaws.com/matar_profile_05.png",
                "name": "Sri"
            },
            "user_id": "39501T",
            "user_post_activities": {
                "like": true
            },
            "whisper_id": null
        },
        {
            "_id": "CONYLC",
            "audio_data": null,
            "audio_text": "श्रीमान एक किसान के तौर पर आपका सवाल है कि हम खेती लेकर किस तरह करियर बना सकते हैं और इसमें सफल होने के लिए कौनसी कदम उठाने होंगे खेती में अगर संभव हो तो कृपया उत्तर हिंदी में दें धन्यवाद",
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/53WL1YSXP4v208DY48PDIF.mp3",
            "category_ids": [
                "TFTWNI"
            ],
            "chatgpt_query_id": null,
            "child_posts": [
                {
                    "_id": "GSYRNH",
                    "audio_data": null,
                    "audio_text": null,
                    "audio_translation": null,
                    "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/O9AYC2TLXHv2storage_emulated_0_Android_data_com.mutter_files_DCIM_answer_recording.mp3",
                    "category_ids": [
                        "TFTWNI"
                    ],
                    "chatgpt_query_id": null,
                    "created_at": "17/05/2023 , 06:06 AM",
                    "data": {
                        "block": 0,
                        "dislike": 1,
                        "downvote": 0,
                        "like": 4,
                        "view": 4
                    },
                    "is_active": true,
                    "is_chatgpt_enabled": true,
                    "organization_id": "129487316",
                    "parent_post_id": "CONYLC",
                    "sort_order": null,
                    "text": null,
                    "user": {
                        "_id": "XUEWT6",
                        "image_url": "https://listapp-images.s3.ap-south-1.amazonaws.com/matar_profile_05.png",
                        "name": "shantanu"
                    },
                    "user_id": "XUEWT6",
                    "user_post_activities": {},
                    "whisper_id": null
                }
 
```

Status Code: 🔴**404** (404 denotes **'Not found'**)

```
{
      "message": "Ain't no cake like that."
    }
```

***

## Get User Posts

Get questions/posts asked by the specific user.

<img src="https://203590333-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIHuU6kmTWQfXxOUkN7No%2Fuploads%2F2TYWZPIAp8hUJW3MXDiC%2Ffile.excalidraw.svg?alt=media&#x26;token=59022907-f743-4414-a520-2e666e9d6d3e" alt="API:- https://matar.in.ngrok.io/api/v1/get_post?category_id=<category_id>&#x26;organization_id=<ORG_ID>" class="gitbook-drawing">

### Params

**Query Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="240.33333333333331">Query Parameter</th><th width="114">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>user_questions </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>Boolean</td><td>A unique boolean for a category to find relevant posts only related to user. Set to true to get only user posted questions.</td></tr><tr><td><strong>organization_id </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>A unique identifier for identifying relevant posts under an organization</td></tr></tbody></table>

**Header Parameter ⬇️**

<table data-full-width="false"><thead><tr><th width="231.33333333333331">Header Parameter</th><th width="129">Data Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Bearer {{access_token}} </strong><mark style="color:red;"><strong>(required)</strong></mark></td><td>String</td><td>Access tokens enable secure access to Matar Server Resources.</td></tr></tbody></table>

***

**Sample Request ⬇️️**

```
curl --location 'https://matar.in.ngrok.io/api/v1/get_post?user_questions=true&organization_id=129487316' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmcmVzaCI6dHJ1ZSwiaWF0IjoxNjkzMTYzNjYyLCJqdGkiOiI2Yzk3NTI1Mi05OWIzLTQzODEtOTU1NC0zM2VmM2ZhNTE0ZjUiLCJ0eXBlIjoiYWNjZXNzIiwic3ViIjoiRUE5UzZaIiwibmJmIjoxNjkzMTYzNjYyLCJleHAiOjE2OTQwMjc2NjJ9.vVll7d-oq_pNU6dDIZvmxFndZAUQ9QvTdh_AA6BvVuE'
```

**Responses ⬇️**

Status Code: **🟢200** (200 denotes **'ok'**)

```200
The response will list all the posts/questions in an organization by filtering to a specific user. 

{
    "page_details": {
        "current_start": 0,
        "next_offset": 1,
        "total": 1
    },
    "posts": [
        {
            "_id": "ZNF04X",
            "audio_data": null,
            "audio_text": null,
            "audio_translation": null,
            "audio_url": "https://matar-audio.s3.ap-south-1.amazonaws.com/8Z3IK53SUBaud1.m4a",
            "category_ids": [
                "TFTWNI"
            ],
            "chatgpt_query_id": null,
            "child_posts": [],
            "child_posts_details": {
                "current_start": 0,
                "cursor": 0,
                "next_offset": 0,
                "total": 0
            },
            "data": {},
            "is_active": true,
            "parent_post_id": null,
            "text": null,
            "user_id": "EQOKSU",
            "whisper_id": null
        }
    ]
}
 
```

#### Response Parameters Description Table

<table><thead><tr><th width="301">Response Parameter</th><th>Description</th></tr></thead><tbody><tr><td>page_details_current_start</td><td>Current post page number.</td></tr><tr><td>page_details_next_offset</td><td>Set a particular page number to start for post-viewing via offset.</td></tr><tr><td>page_details _total</td><td>Total number of post pages available on network</td></tr><tr><td>post_id</td><td>A unique identifier linked to posted audio question.</td></tr><tr><td>post_audio_text</td><td>Contains transcribed version of audio post.</td></tr><tr><td>post_audio_url</td><td>URL of where audio post is stored.</td></tr><tr><td>category_ids</td><td>A unique identifier linked the category in which question is posted.</td></tr><tr><td>child_posts</td><td>Contains list of child posts. A child post is a answer/reply post to the parent/question post.</td></tr><tr><td>child_posts_current_start</td><td>Current child post page number.</td></tr><tr><td>child_posts_cursor</td><td></td></tr><tr><td>child_posts_next_offset</td><td>Set a particular page number to start from for child post-viewing.</td></tr><tr><td>total</td><td>Total number of child posts</td></tr><tr><td>chatgpt_query_id</td><td>A chatgpt unique dentifier linked to audio question asked by users.</td></tr><tr><td>created_at</td><td>Post creation date</td></tr><tr><td>duration</td><td>Duration of audio post in minutes and seconds.</td></tr><tr><td>like</td><td>Total number of likes for the post.</td></tr><tr><td>is_active</td><td>Is organization active or not.</td></tr><tr><td>is_chatgpt_enabled</td><td>Is chat gpt enabled to answer to question post in an organization</td></tr><tr><td>organization_id</td><td>Organization in which the question is posted.</td></tr><tr><td>parent_post_id</td><td>If question post has replies or child post then the question has a valid parent_post_id. parent_post_id is set to null when question post has no replies.</td></tr><tr><td>sort_order</td><td>When there are multiple posts to display they are sorted by sort order and has a number assigned to it. If there is a single post to display the sort_order will be set to null.</td></tr><tr><td>text</td><td>Contains post text transcribed from audio.</td></tr><tr><td>user_id</td><td>User ID of the account from which audio is posted.</td></tr><tr><td>user image_url</td><td>Image URL containing the user account image.</td></tr><tr><td>user_name</td><td>Name for the user account.</td></tr><tr><td>user_post_activities</td><td>Any post activity performed by the linked user.</td></tr><tr><td>whisper_id</td><td>Used internally for speech-to-text tasks.</td></tr></tbody></table>
