Welcome

Webhooks are HTTP callbacks that Treet processes and sends to a specified URL. They enable your application to receive information from Treet without making an API call to Treet. Each webhook has a topic that defines the information payload and a trigger that specifies the event prompting Treet to send the request.

Setting up webhooks

You will need to reach out the Treet team at support@treet.co to set up webhooks. Please contact our team with the webhook topic, trigger, and URL the payload will be sent to.

Treet Webhooks

Currently Treet offers 1 webhook topic:

  • Shipping Label

And 2 triggers:

  • Shipping Label Create: A shipping label has been created
  • Shipping Label Updated: A shipping label has been updated (e.g. status has moved into “SHIPPED” or “DELIVERED”)