webhookRequestsForSubscription
QUERY

A page of webhook requests matching the specified criteria generated by a selected subscription.A maximum of 100 webhook requests can be returned in a single page. Additional webhook requests can be queried using a pagination cursor.The result list is returned in ascending creation date & time order. It starts from the earliest known request if no pagination arguments are provided.

Arguments

Name
Description
subscriptionId* 
String!
The identifier for the WebhookSubscription that generated the requests.
after 
String
An opaque cursor to the earlier bounding webhook request.Resulting webhook requests will succeed this cursor.
before 
String
An opaque cursor to the later bounding webhook request.Resulting webhook requests will precede this cursor.
The additional WebhookRequest-specific criteria to filter by.
first 
Int
The upper limit of webhook requests to return from the start of the list.Defaults to 10 if neither first nor last are specified. Excess webhook requests will be trimmed from the end of the list.first and last cannot be specified in the same query.
last 
Int
The upper limit of webhook requests to return from the end of the list.Excess webhook requests will be trimmed from the start of the list.first and last cannot be specified in the same query.

Result

Name
Description
A page of webhook requests.

Sample

GraphQL
query ($subscriptionId: String!) {
  webhookRequestsForSubscription(subscriptionId: $subscriptionId) {
    edges {
      cursor
    }
  }
}