Create/Edit/Delete Label Event Subscription

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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"
+ }

Path Params
string
required

App ID

Body Params
boolean

To subscribe to the event webhook, please make sure the input value = true; To delete an existing subscription, please input the value = false

string

The webhook URL. You will get a POST request with a Action, and need to set the response in JsonResponse format.

Headers
string

Bearer AppToken

Responses

Language
LoadingLoading…
Response
Choose an example:
application/json