GET api/v1/Webhooks/Subscriptions/{id}/Payloads?state={state}
Gets payloads which have the given state. Returns most recent, maximum of 1000 payloads.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
|
state | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of sent payloads with given type and subscription
Collection of PayloadName | Description | Type | Additional information |
---|---|---|---|
Counter | integer |
None. |
|
CreatedUtc | date |
None. |
|
Data | string |
None. |
|
FailedRequests | integer |
None. |
|
Response | string |
None. |
|
State | EventState |
None. |
|
SubscriptionId | globally unique identifier |
None. |
|
WebhookEventPayloadId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Counter": 1, "CreatedUtc": "2025-10-14T06:15:40.542351+03:00", "Data": "sample string 3", "FailedRequests": 4, "Response": "sample string 5", "State": 1, "SubscriptionId": "e7d8f25f-c56e-43b2-9f6e-4906e70d6ce5", "WebhookEventPayloadId": "12eaf874-6352-4352-90cd-624b25ae1561" }, { "Counter": 1, "CreatedUtc": "2025-10-14T06:15:40.542351+03:00", "Data": "sample string 3", "FailedRequests": 4, "Response": "sample string 5", "State": 1, "SubscriptionId": "e7d8f25f-c56e-43b2-9f6e-4906e70d6ce5", "WebhookEventPayloadId": "12eaf874-6352-4352-90cd-624b25ae1561" } ]
application/xml, text/xml
Sample:
<ArrayOfPayload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.bus.webhookservicews.Responses"> <Payload> <Counter>1</Counter> <CreatedUtc>2025-10-14T06:15:40.542351+03:00</CreatedUtc> <Data>sample string 3</Data> <FailedRequests>4</FailedRequests> <Response>sample string 5</Response> <State>Received</State> <SubscriptionId>e7d8f25f-c56e-43b2-9f6e-4906e70d6ce5</SubscriptionId> <WebhookEventPayloadId>12eaf874-6352-4352-90cd-624b25ae1561</WebhookEventPayloadId> </Payload> <Payload> <Counter>1</Counter> <CreatedUtc>2025-10-14T06:15:40.542351+03:00</CreatedUtc> <Data>sample string 3</Data> <FailedRequests>4</FailedRequests> <Response>sample string 5</Response> <State>Received</State> <SubscriptionId>e7d8f25f-c56e-43b2-9f6e-4906e70d6ce5</SubscriptionId> <WebhookEventPayloadId>12eaf874-6352-4352-90cd-624b25ae1561</WebhookEventPayloadId> </Payload> </ArrayOfPayload>