List webhooks
The endpoints of the workspace with the events each one receives.
opensend webhooks list [flags]Flags
--qstringText to search for. Only items that contain it are returned. Up to 40 characters.
--limitintegerHow many items to return, from 1 to 100. Without it you get 25.
--offsetintegerHow many items to skip. Use it with
limitto read the next page. Default:0.--afterstringThe id of the last item you have. The answer starts with the item that follows it, which reads a long list without skipping or repeating when it changes meanwhile. Up to 64 characters.
--beforestringThe id of the first item you have. The answer ends with the item just before it. Give this or
after, not both. Up to 64 characters.--statusstringOnly webhooks in this state:
enabledordisabled.One of
enableddisabled
Returns
The command prints the answer: as JSON when its output goes to a file or another program, and as a table or a list of fields in a terminal. When the API refuses, the error goes to the error stream and the command ends with a code that names the failure. Output and scripts lists the codes.
object"list"Always
list.dataobject[]The items on this page.
data[].object"webhook"Always
webhook.data[].idstringThe id of the webhook.
data[].urlstringThe address events are posted to.
data[].eventsstring[]The events it is told about.
One of
email.sentemail.deliveredemail.delayedemail.bouncedemail.openedemail.clickedemail.complainedemail.failedemail.receivedemail.scheduledemail.canceledautomation.enteredautomation.finishedautomation.stepdata[].statusstringenabledwhile events are posted to it,disabledwhen it is switched off.One of
enableddisableddata[].formatstringHow an event is written and signed:
nativeis this API,resendis the headers, signature and body an endpoint built for Resend expects.One of
nativeresenddata[].lastDeliveryAtstring | nullWhen an event was last posted to it, or
null.data[].lastStatusinteger | nullThe HTTP status your address answered with last time, or
null.data[].createdAtstringWhen the webhook was added.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.