Skip to content

sentWebhooks

Fetch paginated SentWebhooks collection. SentWebhook records are available for 180 days.

Arguments

sent_after · ISO8601DateTime · Filter sent webhooks sent on or after this date.
sent_before · ISO8601DateTime · Filter sent webhooks sent on or before this date. Only considered if `sent_after` is provided. Defaults to the current date if not provided.
resource_id · ID · Filter by the ID of the resource that triggered the webhook.
resource_type · SentWebhookResourceType · Filter by the type of resource that triggered the webhook.
failed · Boolean · Filter for webhooks that did not receive a 2xx response status code.
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

SentWebhookPaginationConnection

Example

query sentWebhooks(
$keywords: String
$order_by: SentWebhookOrderKeys
$sort_by: String
$sent_after: ISO8601DateTime
$sent_before: ISO8601DateTime
$resource_id: ID
$resource_type: SentWebhookResourceType
$failed: Boolean
$after: String
$before: String
$first: Int
$last: Int
) {
sentWebhooks(
keywords: $keywords
order_by: $order_by
sort_by: $sort_by
sent_after: $sent_after
sent_before: $sent_before
resource_id: $resource_id
resource_type: $resource_type
failed: $failed
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}