The webhook provides the same data found at the jobs endpoint, with the addition of a webhook_id field.
Setting up a webhook subscription
Once you have a webhook handler in place, go to the Paperplane dashboard and add a new webhook subscription via the "Webhooks" section.
A webhook subscription is linked to an API key, and will only be sent webhooks for jobs created with that API key. However, you can create multiple subscriptions for different API keys that use the same endpoint.
Whilst you're developing your webhook handler, you might find a service like ngrok useful for providing a public URL to a server that's running locally.