Update a webhook

Time Status User Agent
Make a request to see history.

URL Expired

The URL for this request expired after 30 days.

Dispatch Webhook Skip link to Dispatch Webhook

Webhook events for dispatch notifications are currently set up independently of this general webhook platform. See the Dispatch Webhook Events guide for setting up and receiving dispatch webhooks using the meter-level or group-level endpoints.

webhook_id
uuid
required
The ID of the webhook.

headers
array of objects
List of custom headers used in requests back to the origin.

event_types
array of objects
required
A list of unique event keys to subscribe to.

Allowed:
meter.created
connect_session.updated
connect_session.authorization_updated
meter.enrollment.global-status.updated
meter.enrollment.participation-status.updated
meter.enrollment.required-actions.updated
meter.enrollment.group.updated

receiver_url
string
required
The callback URL for this webhook.

``200 Webhook created successfully

object
webhook_id
uuid
required
The unique identifier for your webhook subscription.

``401 Unauthorized - Auth token is invalid

``403 Forbidden - You do not have permission to perform this action

``404 Not Found - The specified resource was not found

Base URL

https://api.staging.leap.energy/v1.1/webhooks/{webhook_id}

xxxxxxxxxx

curl --request PUT \
\n     --url https://api.staging.leap.energy/v1.1/webhooks/ \
     --header 'accept: application/json' \ 
     --header 'content-type: application/json'
xxxxxxxxxx

{
  "webhook_id": "364be407-1f08-48fa-afd2-ee1dd228b76b"
}