API Reference
- Getting Started
- Charges
- Invoices
- Items
- Patients
- Providers
- Roles
- Rules
- Webhooks
Webhooks
Webhook Event Get
Get a single WebhookDeliveryAttempt
GET
/
v1
/
webhook
/
events
/
{webhook_delivery_attempt_id}
Copy
curl --request GET \
--url https://api.decodahealth.com/v1/webhook/events/{webhook_delivery_attempt_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'
Copy
{
"alertId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"data": {
"amount": 123,
"createdDate": "2023-11-07T05:31:56Z",
"currency": "USD",
"failedReason": "<string>",
"fee": 123,
"id": "<string>",
"patientId": "<string>",
"payinConfigId": "<string>",
"payinId": "<string>",
"paymentMedium": "POS",
"paymentMethodId": "<string>",
"status": "CANCELED",
"stripePaymentIntentId": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
},
"deliveredDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"lastDeliveryAttemptDate": "2023-11-07T05:31:56Z",
"lastDeliveryAttemptError": "<string>",
"lastDeliveryAttemptStatus": 123,
"type": "PATIENT_CREATED"
}
Headers
The tenant you are making this request on behalf of
Your api key
Path Parameters
Response
200
application/json
Successful Response
An Event in Decoda's system.
Copy
curl --request GET \
--url https://api.decodahealth.com/v1/webhook/events/{webhook_delivery_attempt_id} \
--header 'API-KEY: <api-key>' \
--header 'TENANT: <tenant>'
Copy
{
"alertId": "<string>",
"createdDate": "2023-11-07T05:31:56Z",
"data": {
"amount": 123,
"createdDate": "2023-11-07T05:31:56Z",
"currency": "USD",
"failedReason": "<string>",
"fee": 123,
"id": "<string>",
"patientId": "<string>",
"payinConfigId": "<string>",
"payinId": "<string>",
"paymentMedium": "POS",
"paymentMethodId": "<string>",
"status": "CANCELED",
"stripePaymentIntentId": "<string>",
"updatedDate": "2023-11-07T05:31:56Z"
},
"deliveredDate": "2023-11-07T05:31:56Z",
"id": "<string>",
"lastDeliveryAttemptDate": "2023-11-07T05:31:56Z",
"lastDeliveryAttemptError": "<string>",
"lastDeliveryAttemptStatus": 123,
"type": "PATIENT_CREATED"
}
Assistant
Responses are generated using AI and may contain mistakes.