Skip to main content
POST
/
notes
/
chat
Chat With Ai Note
curl --request POST \
  --url https://api.decodahealth.com/notes/chat \
  --header 'API-KEY: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'TENANT: <tenant>' \
  --data '
{
  "parentNoteId": "<string>",
  "providerId": "<string>",
  "message": "<string>"
}
'
{
  "id": "<string>",
  "content": {
    "noteContent": "<string>"
  },
  "template": {
    "id": "<string>",
    "name": "<string>",
    "createdDate": "2023-11-07T05:31:56Z",
    "contentTemplate": "<string>",
    "attachments": []
  }
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
parentNoteId
string
required
providerId
string
required
message
string
required

Response

Successful Response

id
string
required
content
DefaultNoteContent · object
required
template
NoteTemplateTableItem · object