Help Center


  • ~ minute read

Restriction: You need to be signed in using an administrator's account in order to configure webhooks.

User Menu > Settings > Configuration Options > API > Webhooks

What are Webhooks?

Webhooks are automated messages sent from applications when something happens. They have a message which is sent to a unique URL - which is essentially the application's phone number or address.

As an example, let's look at text notifications. Say, you want to be notified by your bank through a text message when you make a new purchase – you provide the bank with your phone number, so they know where to send the message. Then, once you make a purchase, a message will be created by the bank and sent to your phone number. 

In this case, the bank is the webhook, your phone number is the webhook endpoint, and the content of the text is the automated message.

Using webhooks, Canto can send automated messages to external webhook endpoints.

These endpoints can be URLs provided by a third party application or your own custom built application.

These messages are triggered based on certain actions for an asset in the Canto main library.

Uploading a new asset, deleting an asset, updating asset metadata, adding a new asset version, when an asset version is set to current.

Note: You are able to set up multiple webhooks for the same event type.

How to configure Webhooks

  1. To configure a webhook within your account, navigate to Settings > ConfigurationOptions > API > Webhooks.
    Here you will find the following fields:
    • Event

      There are 14 available events that you can setup to trigger a webhook:
      • Add Album - When an album is added to the library.
      • Add Folder - When a folder is added to the library.
      • Add New Version - When a new version of an asset is added to the library.
        This event can also be used to create a webhook that is triggered when a version is set to current.
      • Assign to Album - When an asset is assigned to another album.
      • Delete Album - When an album is deleted from the library.
      • Delete Asset - When an asset is deleted from the library.
      • Delete Folder - When a folder is deleted from the library.
      • New Asset - When a new asset is uploaded to the library.
        This event is also triggered whenever an asset is moved from an Upload Link to the Main Library.
      • Relate Files - When a new set of assets is related.
      • Remove from Album - When an asset is removed from an album.
      • Unrelate Files - When the relation between files is unlinked.
      • Update Album - When an album's information is updated. 
      • Update Folder - When a folder's information is updated.
      • Update Metadata - When an asset's tags, keywords, a description, etc. are added/removed/changed.

    • Webhook URL

      Enter the incoming webhook endpoint URL here.
    • Secure Token

      If the incoming webhook URL requires a token for authentication, enter the token here.
      In case the URL does not require authentication, you can simply place the value "null" in the box.
    • Content Type

      Choose the type of message to be sent to the webhook URL.

      • JSON 
      • Form
      • XML
    • Parameters

      Check the box for the parameters of the asset to be sent over to the webhook URL.
  2. Once all the necessary fields have been filled out, go ahead and click Add.

Note: You can add multiple webhooks for the same event type. Make sure to setup the whole webhook configuration multiple times - not only the endpoint URL.

How to edit/delete Webhooks

To edit a previously setup webhook, select the pencil icon to the right of it-

To delete a previously setup webhook, select the trash icon to the right of it-

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request