The Sohar Health service operates asynchronously, utilizing webhooks to facilitate real-time interactions. We use Svix to send webhook events, for more information please refer to their documentation.

This section provides detailed information about the webhooks triggered by specific events. Webhooks can be configured in the Sohar Health dashboard.

Events

verification.updated

Occurs whenever a production verification has been completed.

sandbox.verification.updated

Occurs whenever a sandbox verification has been completed.

verification.pending

Occurs whenever a production verification has not been resolved immediately.

sandbox.verification.pending

Occurs whenever a sandbox verification has not been resolved immediately.

Attributes

verificationId
string
required

Unique identifier for the verification.

id
string

An optional identifier for the verification. This is a user-defined value that can be used when creating the verification.

status
string
required

The status of the verification.