Organization webhook event
Mindoo sends this request to the webhook URL configured for your organization in Settings. The JSON body includes your organization id and a discriminated payload whose type indicates the event (for example encounter.status when an encounter’s status changes). Respond with any 2xx status to acknowledge receipt.
JSON body POSTed to your organization webhook URL configured in Settings.
- Type: string
organization Id Pattern: ^[0-9a-z]+$Format: cuid2requiredThe organization this webhook event belongs to.
payload requiredEmitted when an encounter’s status changes (for example to ONGOING, FINALIZING, FINISHED, or ABANDONED).
- Type: string
encounter Id Pattern: ^[0-9a-z]+$Format: cuid2requiredThe encounter whose status changed.
- Type: string · Encounter statusenum
status required%future added valueis a placeholder that is inserted to ensure you handle the possibility that new enum variants may be added by the server after your application has been deployed. This value should not be handled explicitly.valuesA B A N D O N E D F I N A L I Z I N G F I N I S H E D O N G O I N G %future added value
- enum
type const:encounter.statusrequiredvaluesencounter .status
200 Webhook acknowledged
{
"organizationId": "",
"payload": {
"encounterId": "",
"status": "ABANDONED",
"type": "encounter.status"
}
}
