MyEZToll
PUT/api/partner/v1/webhooks/{webhookId}

Update webhook

Change a webhook endpoint.

Any of url, events, active. active: true re-enables an endpoint that was paused after repeated failed deliveries; it resumes from now.

Authorization

X-Api-Key header

Send your partner key on every request. The key is bound to exactly one owner account.

Path parameters

webhookIdstringpathrequired

Body

application/json
urlstring
eventsstring[]
activeboolean

Response

200 · application/json
successbooleanrequired
dataobject
idstring
urlstring
eventsstring[]
activeboolean

False once paused after repeated failures

secretstringnullable

Signing secret — returned on create only.

createdAtUtcstring <date-time>
lastSuccessAtUtcstring <date-time>nullable
consecutiveFailuresinteger
lastErrorstringnullable
errorstringnullable

Status codes

200Updated.
400Validation error.
401Missing, unknown or revoked API key.
404The resource does not exist under this owner.