Skip to main content
POST
Create a webhook endpoint

Authorizations

Authorization
string
header
required

OAuth2 Client Credentials Flow

Body

application/json

Parameters for creating a new webhook endpoint

url
string<uri>
required

The URL where webhook events will be delivered

Example:

"https://example.com/webhook"

enabledEvents
enum<string>[]
required

List of event types to subscribe to

Minimum array length: 1

The type of event that triggers the webhook

Available options:
ocpp.message,
asset.connectivity
status
enum<string>
default:active

The status of the webhook endpoint

Available options:
active,
inactive

Response

Webhook endpoint created successfully

data
object

A webhook endpoint with its secret (only returned on creation)