Skip to the page

Send test event

Posts one signed sample event to an endpoint and answers with what the endpoint said.

POST/v1/webhooks/{id}/test
Needs the scopewebhooks:write

Path parameters

  • idstringRequired

    The id of the item. Up to 64 characters.

Returns

  • object"webhook_delivery"

    Always webhook_delivery.

  • idstring

    The id of the delivery.

  • webhookIdstring

    The id of the webhook it was for.

  • typestring

    The event that was posted.

    One ofemail.sentemail.deliveredemail.delayedemail.bouncedemail.openedemail.clickedemail.complainedemail.failedemail.receivedemail.scheduledemail.canceledautomation.enteredautomation.finishedautomation.step

  • statestring

    pending while it is still being tried, delivered once your address answered 2xx, failed after the last try.

    One ofpendingdeliveredfailed

  • statusinteger

    The HTTP status of the last answer, or 0 when there was none.

  • attemptsinteger

    How many times it has been tried.

  • errorstring

    What went wrong on the last try. Empty when nothing did.

  • nextAttemptAtstring | null

    When it is tried again, or null.

  • createdAtstring

    When the event happened.