Messages
The message event will be dispatched when a message within Luscii is either created or updated.
Examples
{
"eventType": "com.luscii.message.created.v1",
"eventId": "{eventId}",
"datetime": "ISO-8601", // e.g. 2024-05-14T13:33:33Z
"organizationId": "{organizationId}",
"payload": {
"url": "https://api.luscii.com/v1/messages/{messageId}",
"resource": {
"id": "{messageId}"
}
}
{
"eventType": "com.luscii.message.updated.v1",
"eventId": "{eventId}",
"datetime": "ISO-8601", // e.g. 2024-05-14T13:33:33Z
"organizationId": "{organizationId}",
"payload": {
"url": "https://api.luscii.com/v1/messages/{messageId}",
"resource": {
"id": "{messageId}"
}
}
Fields
Field | Description |
---|---|
eventId | Unique identifier for the event being dispatched |
organizationId | Unique identifier for the organization in which the patient is created |
messageId | Unique identifier for the message, can be used to fetch additional information about the patient via the Public Api |
Updated 5 days ago