---
title: "Post a new emotional health activity"
method: POST
path: "/patients/{patient_id}/emotional_health"
tags: ["emotional_health"]
---

# Post a new emotional health activity

`POST /patients/{patient_id}/emotional_health`

## Request

- Base URL: `https://api.rxfoodapp.com/api`
- URL: `https://api.rxfoodapp.com/api/patients/{patient_id}/emotional_health`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required

## Request body

- CreatePatientEmotionalHealthRequest
  - `association` string, nullable: association of emotional health
  - `emotional_health_activity_type` string, nullable: selected activity type of emotional health
  - `emotional_health_date` string, required: calendar date in format YYYY-MM-DD
  - `emotional_health_time` string, required: time in format hh:mm:ss
  - `kind` string, nullable: kind of emotional health
  - `label` string, nullable: label of emotional health
  - `note` string, nullable: note that can be added to provide additional description Max 1024 char
  - `source` string, nullable: source of emotional health data
  - `source_id` string, nullable: id of emotional health from source
  - `valence` string, nullable: valence of emotional health

## Response `200`

successful operation

- PatientEmotionalHealthResponse
  - `association` string, nullable: association of emotional health
  - `emotional_health_activity_type` string, nullable: selected activity type of emotional health
  - `emotional_health_date` string, required: calendar date in format YYYY-MM-DD
  - `emotional_health_time` string, required: time in format hh:mm:ss
  - `id` integer, required
  - `kind` string, nullable: kind of emotional health
  - `label` string, nullable: label of emotional health
  - `note` string, nullable: note that can be added to provide additional description Max 1024 char
  - `source` string, nullable: source of emotional health data
  - `source_id` string, nullable: id of emotional health from source
  - `valence` string, nullable: valence of emotional health

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) - [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) - [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/c3d8e22b22e8?raw)
