Skip to main content
POST
/
notes
cURL
curl --request POST \
  --url https://api.iolokis.com/notes \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "<string>",
  "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'
{
  "data": {
    "id": 123,
    "content": "<string>",
    "original_content": "<string>",
    "patient_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "doctor_id": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  },
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
content
string
required
patient_id
string<uuid>
required

Response

data
object
required
message
string
required

Note created successfully.