POST
/
entities
/
webhooks
/
dispatch
/
url
curl --request POST \
  --url https://sandbox.axle.energy/entities/webhooks/dispatch/url \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "secret": "<string>"
}'
"<any>"

For an example response signed with the X-Axle-Signature header, see the example dispatch event endpoint.

Body

application/json

Request to update the url to which axle will send dispatch requests

url
string
required
Required string length: 1 - 2083
secret
string
required

A secret which will be used to sign events sent via the firehose. We sign events with the header X-Axle-Signature, which is a SHA256 HMAC of the event ID, using this secret as the key.

Response

200
application/json
Successful Response

The response is of type any.