Webhooks

Create Webhook Secret

POST

Creates a Webhook Secret to use with the Impilo Platform with the provides secret. The secret will be passed along as a header with Webhooks sent from Impilo.

Returns an error if you already have a Webhook secret created.


For more information see the WebhookSecret Model.

Request

This endpoint expects an object.
secret
stringOptional
Secret we will pass along with any Webhooks we send to your subscribed endpoints.

Response

This endpoint returns an object
secret
stringOptional
Secret we will pass along with any Webhooks we send to your subscribed endpoints.
POST
1curl -X POST https://app.impiloplatform.com/api/v3/webhook-secret \
2 -H "Impilo-API-Key: <apiKey>" \
3 -H "Content-Type: application/json" \
4 -d '{}'
200
Successful
1{
2 "secret": "secret"
3}