> For the complete documentation index, see [llms.txt](https://spice.docs.medtroniclabs.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://spice.docs.medtroniclabs.org/spice-docs/engineering/api-documentation/spice-services/mental-health-details.md).

# Mental Health Details

| **API URL**     | {{url}}/spice-service/mentalhealth/details |
| --------------- | ------------------------------------------ |
| **Method**      | POST                                       |
| **Description** | Mental health details                      |

#### **Input:** <a href="#mentalhealthdetails-input" id="mentalhealthdetails-input"></a>

| **Field Name**        | **Type** | **Mandatory** | **Example**                                                                                                                                     |
| --------------------- | -------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Authorization(Header) | String   | Yes           | Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI |

#### **Sample Input:** <a href="#mentalhealthdetails-sampleinput" id="mentalhealthdetails-sampleinput"></a>

{     "patientTrackId": 25,     "type": "PHQ9" }

#### **Sample Output:** <a href="#mentalhealthdetails-sampleoutput" id="mentalhealthdetails-sampleoutput"></a>

```
{
  "message": "Mental Health fetched successfully.",
  "entity": {
    "id": 34,
    "createdBy": 5
  },
  "status": true,
  "entityList": null,
  "responseCode": 200,
  "totalCount": null
}
```
