cURL
curl --request PUT \ --url https://api.sendpost.io/api/v1/account/webhook/{webhook_id} \ --header 'Content-Type: application/json' \ --header 'X-Account-ApiKey: <api-key>' \ --data '{ "enabled": true, "url": "https://app.hooli.com/email/webhook", "processed": true, "delivered": true, "dropped": false, "softBounced": false, "hardBounced": true, "opened": true, "clicked": true, "unsubscribed": true, "spam": true }'
{ "id": 117, "enabled": true, "url": "https://app.hooli.com/email/webhook", "processed": true, "delivered": true, "dropped": false, "softBounced": false, "hardBounced": true, "opened": true, "clicked": true, "unsubscribed": true, "spam": true, "created": 1567512491588004000 }
Update the properties of an existing webhook.
This api key can be used for all account level operations
ID of the webhook to update.
117
Webhook updated successfully.
The response is of type object.
object