Introduction
Clipping tool can be configured to send callbacks whenever the process of creating a clip from an asset is initiated. In order to configure a clipping callback you need to contact Icareus.
In order to receive callbacks, you should provide an endpoint that can receive HTTP POST requests.
Callback
The callback itself is sent as a POST request to the configured endpoint. The request body contains the following information:
- {
- "callbackEvent": "clipping",
- "assetId": <number, id of the asset from which a clip is made>,
- "clipAssetId": <number, id of the newly created clip>,
- "organizationId": <number, id of the organization to which the clipped asset belongs to>
- }
Additionally it is possible to configure custom headers that are sent along with the above callback, such as Authorization headers.