OrganizationWebhookRequestBody
JSON body POSTed to your organization webhook URL configured in settings.
- organizationType: string
Id Pattern: ^[0-9a-z]+$Format: cuid2requiredThe organization this webhook event belongs to.
- payloadrequired
Emitted when a new encounter is created.
- agentType: string
Id Pattern: ^[0-9a-z]+$Format: cuid2 nullablerequiredThe agent associated with the encounter, or null when the encounter has no agent (for example a scribe encounter).
- consultType: string
Invitation Id Pattern: ^[0-9a-z]+$Format: cuid2 nullablerequiredThe consult invitation that led to the encounter, or null when the encounter was not created from an invitation.
- encounterType: string
Id Pattern: ^[0-9a-z]+$Format: cuid2requiredThe encounter this event applies to.
- teamType: string
Id Pattern: ^[0-9a-z]+$Format: cuid2requiredThe team the encounter belongs to.
- typeconst:encounter.createdrequired
