Create 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 setup 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.
headers
array of objects
List of custom headers used in requests back to the origin.
headers ADD object
event_types
array of objects
required
A list of unique event keys to subscribe to.
event_types*
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
ADD string
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
xxxxxxxxxx
curl --request POST \
--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"
}