ValeronDocs

Webhooks

Rotate a signing secret

POST/v1/webhook-endpoints/{endpoint_id}/rotate-secret

Requires the scope webhooks:write

Replace the endpoint's signing secret. Deliveries from now on are signed with the new secret, which this answer shows once; the old one stops at once.

#Path parameters

endpoint_idstringrequired

#Responses

200Successful Response
Show response fieldsHide response fields
created_atstring (date-time)required
descriptionstring or nullrequired
disabled_reasonstring or nullrequired
eventsstring[]required
Allowed values: "*" "recording.analyzed" "contact.stage_changed" "contact.created" "contact.updated" "meeting.booked" "message.received" "payment.succeeded"
failing_sincestring (date-time) or nullrequired
idstringrequired
is_enabledbooleanrequired
secretstringrequired
updated_atstring (date-time)required
urlstringrequired

#Errors

Errors use the standard error shape.

StatusMeaning
400The request is not valid.
401Not signed in, or the credentials are not valid.
402The balance is too low.
403Not allowed to do this.
404Not found.
409Conflicts with the current state.
413The request body is too large.
415The content type is not supported.
422A value in the request is not valid.
429Too many requests. Wait for Retry-After seconds.
500Something went wrong on our side.
502A service Valeron depends on refused the request.
503A service Valeron depends on is unavailable.