curl --location '/api/v1/webhooks/' \
--header 'Authorization: Bearer <token>'{
"webhook": {
"id": "string",
"url": "http://example.com",
"events": [
"document.created"
],
"createdAt": "2019-08-24T14:15:22.123Z",
"lastDelivery": {
"at": "2019-08-24T14:15:22.123Z",
"outcome": "delivered",
"statusCode": 0,
"error": "string",
"eventId": "string"
}
}
}