| Service Name | Query Failed Webhooks |
| Service Type | REST |
| Method | GET |
| UAT (Sandbox) URL |
https://integration.uat.marley.ai/webhooks/failed |
| Production URL | https://integration.himarley.io/webhooks/webhooks/failed |
| Technical Documentation | API Endpoint - Postman Collection |
This API will allow you to query and return an array of failed Webhook Posts you are subscribed to within 30 days of the original Webhook HTTP Post request.
Table of Contents
API Request
Flow
- Call the endpoint with your API key and pass the query parameters.
Request Example
https://integration.uat.marley.ai/webhooks/failed?startTime=1692991998000&endTime=1693337598000&eventId=14&subscriptionId=4a3a3e49-840d-4de1-9520-7ae539b3e468
Query Parameters Breakdown
| Property | Description | Type | Required | Example |
| startTime |
Start Time for Query in Unix Time. (with MS) |
int (unix) |
true |
1692991998000 |
| endTime |
TEnd Time for Query in Unix Time. (with MS) |
int (unix) |
false |
1693337598000 |
| eventId |
Hi Marley Event ID associated with the Webhook. |
string |
false |
14 |
| subscriptionId |
UUID of a specific Webhook subscription. Returned after successful webhook subscription API call. |
string |
false |
4a3a3e49-840d-4de1-9520-7ae539b3e468 |
API Response
Response Example
[
{
"requestId": "9bb6f0e8-3b9b-42fd-b55f-6bbb07251b86",
"subscriptionId": "4a3a3e49-840d-4de1-9520-7ae539b3e468",
"eventId": 14,
"originalAttemptTime": 1693056508641
},
{
"requestId": "0d428b2e-347c-4d13-bc3a-9c8b5ec62306",
"subscriptionId": "4a3a3e49-840d-4de1-9520-7ae539b3e468",
"eventId": 14,
"originalAttemptTime": 1693225749252
},
{
"requestId": "713ac2fa-c6f8-4c2d-a5ac-ef50638a3a8b",
"subscriptionId": "4a3a3e49-840d-4de1-9520-7ae539b3e468",
"eventId": 14,
"originalAttemptTime": 1693245759892
},
{
"requestId": "c87d431f-00a6-44fb-b8da-17704c7cbb6f",
"subscriptionId": "4a3a3e49-840d-4de1-9520-7ae539b3e468",
"eventId": 14,
"originalAttemptTime": 1693245796908
}
]
Response Fields Breakdown
| Property | Element | Description | Type | Required | Example |
| requestId |
The Identifier associated with the Original request. |
string |
true |
"requestId": "c87d431f-00a6-44fb-b8da-17704c7cbb6f" | |
| subscriptionId |
The unique UUID assigned to the subscription at registration. |
string |
true |
"subscriptionId": "4a3a3e49-840d-4de1-9520-7ae539b3e468" | |
| eventId |
The Hi Marley Event ID. |
int |
true |
"eventId": 14 | |
| originalAttemptTime |
The unix timestamp associated to the original (failed) attempt of the HTTP Post request. |
int (unix) |
true |
"originalAttemptTime": 1693245796908 |
Comments
0 comments
Please sign in to leave a comment.