Patients

Get conversations by patient ID

get
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdstringRequiredPattern: [^\/#\?]+?
Query parameters
limitintegerOptional

Limit of items

Default: 10Example: 10
lastObjectIdstringOptional

ID of the last object

Example: abc123
pageNumberintegerOptional

Page number

Default: 1Example: 1
pageSizeintegerOptional

Size of the page

Default: 20Example: 20
statusanyOptional

Status of the conversation

Default: CLOSEExample: CLOSE
Responses
200Success
application/json
get
/api/conversations/patients/{patientId}
200Success

Create a new conversation for a patient

post
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
patientIdstringRequiredPattern: [^\/#\?]+?
Body
targetIdstringRequired

The ID of the target

Example: 12345
initialMessagestringOptional

The initial message of the conversation

Example: Hello, how are you?
subjectstringOptional

The subject of the conversation

Example: Meeting Agenda
statusstring · enumOptional

The status of the conversation

Default: CLOSEExample: CLOSEPossible values:
Responses
200Success
application/json
post
/api/conversations/patients/{patientId}
200Success

Update an existing conversation

put
Authorizations
AuthorizationstringRequired

Enter your Bearer token

organization_codestringRequired

Enter your organization code

Path parameters
conversationIdstringRequiredPattern: [^\/#\?]+?
patientIdstringRequiredPattern: [^\/#\?]+?
Body
targetIdstringRequired

The ID of the target

Example: 12345
initialMessagestringOptional

The initial message of the conversation

Example: Hello, how are you?
subjectstringOptional

The subject of the conversation

Example: Meeting Agenda
statusstring · enumOptional

The status of the conversation

Default: CLOSEExample: CLOSEPossible values:
Responses
200Success
application/json
put
/api/conversations/{conversationId}/patients/{patientId}
200Success