curl --location --request PUT 'https://api.makini.io/v4/clients//webhook-endpoints/' \
--header 'Content-Type: application/json' \
--data '{
"url": "http://example.com",
"events": [
"connection.created"
],
"entityDeliveryMode": "batched",
"connectionIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"entityTypes": [
"Currency"
],
"active": true,
"retryPolicy": "none",
"retryMaxAttempts": 1,
"retryBackoff": "exponential",
"retryInitialDelaySeconds": 1
}'{
"webhookEndpoint": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"clientId": "5e505642-9024-474d-9434-e5a44f505cc5",
"url": "string",
"events": [
"connection.created"
],
"entityDeliveryMode": "batched",
"connectionIds": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"entityTypes": [
"string"
],
"active": true,
"retryPolicy": "none",
"retry": {
"maxAttempts": -9007199254740991,
"backoff": "exponential",
"initialDelaySeconds": -9007199254740991
},
"lastDeliveryAt": "2019-08-24T14:15:22.123Z",
"lastDeliveryStatus": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}