latestOpenAPI 3.1.02026-08-105279262.8 KB

51f7c5a8d15d

webhooks

Update subscription

Update subscription properties, such as callback_uri and status.

post/subscriptions/{id}

Path parameters

idstring required

Request body

eventsstring[]
secretstring

When your secret token is set, a hash signature is created with each payload. This hash signature is included with the headers of each request as x-ec-signature-256.

The intention is to calculate a hash of the payload received using your secret token, and check that the hash matches the one from EarthCache.

callback_uristring uri
status'active' | 'inactive'
callback_headersobject

Response

Success - subscription updated; no content returned