Webhooks
Webhook Event Send
Send a WebhookDeliveryAttempt
event to the Webhook
. This is useful if you want to manually retry a webhook event that failed to deliver.
GET
/
v1
/
webhook
/
events
/
{webhook_delivery_attempt_id}
/
send
Headers
TENANT
string
requiredThe tenant you are making this request on behalf of
API-KEY
string
requiredYour api key
Path Parameters
webhook_delivery_attempt_id
string
requiredQuery Parameters
notify_failure
boolean
default: trueNotify the webhook owner via email if the event fails to deliver
Response
200 - application/json
An Event in Decoda's system.
alertId
string
requiredThe Alert
's id associated with this WebhookDeliveryAttempt
.
createdDate
string
requiredThe date and time when the event was created.
data
object
requiredThe Alert's
data associated with this WebhookDeliveryAttempt
.
deliveredDate
string | null
The date and time when the event was delivered.
id
string
requiredUnique identifier for the webhook delivery attempt.
lastDeliveryAttemptDate
string | null
The date and time when the last delivery attempt was made.
lastDeliveryAttemptError
string | null
The error message from the last delivery attempt, if any.
lastDeliveryAttemptStatus
integer | null
The HTTP status of the last delivery attempt.
type
enum<string>
requiredThe type of event.
Available options:
PATIENT_CREATED
, PATIENT_UPDATED
, APPOINTMENT_CANCELLED
, APPOINTMENT_RESCHEDULED
, APPOINTMENT_REQUEST
, PAYMENT_CREATED
, PAYMENT_FAILED
, PAYMENT_SUCCEEDED
, CHARGE_CREATED
, REFUND_CREATED
, REFUND_FAILED
, REFUND_SUCCEEDED
, ADJUSTMENT_CREATED
, ADJUSTMENT_FAILED
, ADJUSTMENT_SUCCEEDED
, INVOICE_SENT
, INVOICE_FAILED
, CALL_RECIEVED
, CALL_MADE
, MESSAGE_RECIEVED
, MESSAGE_SENT
, MESSAGE_DELIVERED
, MESSAGE_FAILED
, EMAIL_RECIEVED
, EMAIL_SENT
, FORM_SUBMITTED
, MAIL_SENT
, MAIL_DELIVERY_FAILED