Create/Edit/Delete Label Event Subscription

Response Format

ParameterTypeDescription
codeNumberRefer to [Success and Error Code] (https://docs.cinnox.com/reference/error-codes-and-rate-limit)
enabledBooleanTrue or False. When you successfully create the webhook subscription to the label event, the value will be "true".
urlStringThe webhook URL
updatedAtStringThe label updated day and time

🚧

Webhook URL requirement:

The webhook URL needs to be verified, you will get a POST request with an Action, and are required to set the response in JsonResponse format as below:

Note that the JsonResponse.Result is JSON encoding of the ActionEndpointResponse

ActionEndpointRequest {
+ Challenge string json:"challenge"
+ }

ActionEndpointResponse {
+ Challenge string json:"challenge"
+ }

JsonResponse {
+ Code int json:"code"
+ Result json.RawMessage json:"result"
+ }

Language