List webhook deliveries
What was posted to an endpoint, newest first, with the answer and the tries.
opensend.webhooks.deliveries(id, input?)opensend webhooks deliveriesInput
id goes first, on its own, and the rest in one object. One object that holds id works too.
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.idstringRequiredThe id of the item. Up to 64 characters.
Returns
The call resolves to the answer, already parsed. A call the API refuses throws OpenSendError with the code and the message of the answer. SDK lists the errors of the client itself.
object"list"Always
list.dataobject[]The items on this page.
data[].object"webhook_delivery"Always
webhook_delivery.data[].idstringThe id of the delivery.
data[].webhookIdstringThe id of the webhook it was for.
data[].typestringThe event that was posted.
One of
email.sentemail.deliveredemail.delayedemail.bouncedemail.openedemail.clickedemail.complainedemail.failedemail.receivedemail.scheduledemail.canceledautomation.enteredautomation.finishedautomation.stepdata[].statestringpendingwhile it is still being tried,deliveredonce your address answered 2xx,failedafter the last try.One of
pendingdeliveredfaileddata[].statusintegerThe HTTP status of the last answer, or 0 when there was none.
data[].attemptsintegerHow many times it has been tried.
data[].errorstringWhat went wrong on the last try. Empty when nothing did.
data[].nextAttemptAtstring | nullWhen it is tried again, or
null.data[].createdAtstringWhen the event happened.
totalintegerHow many items match in all, on every page together.
hasMorebooleanWhether more items follow this page.