Manage webhooks
This topic explains how you can use the Webhooks section of the Dashboard to manage your webhooks and retrieve your secret keys.
Note that, for each webhook, the platform tracks the status of your endpoint and displays it in the Status column. The platform uses the following statuses:
- Not Executed: A notification has not yet been sent to your endpoint.
- Success: Your endpoint responded with a
2xx
code to the latest notification. - Failed: Your endpoint failed to respond with a
2xx
code to the latest notification. If you see this status, review the information in the Requirements for processing notifications section.
Register a webhook
Before you can receive notifications, you must first register your endpoint by following the steps below:
- Go to the Dashboard page.
- From the sidebar, choose Settings.
- Under Webhooks, select the Add Endpoint button.
- In the Add webhook endpoint modal, enter the URL of your endpoint and a brief description.
- When you've finished, select the Add button. Note that the status will show as
Not Executed
until the API sends the first request to your endpoint and receives a2xx
response.
Remove a webhook
When a webhook is no longer needed, you can remove it.
- Go to the Dashboard page.
- From the sidebar, choose Settings.
- Under Webhooks, find the webhook that you want to remove. Then, select the trash icon located at the far right end of the row.
Enable or disable a webhook
This section explains how you can temporarily suspend and then reactivate notifications by disabling or enabling a webhook
- Go to the Dashboard page.
- From the sidebar, choose Settings.
- Under Webhooks, find the webhook that you want to enable or disable. Then, use the toggle under Enabled to enable or disable the webhook.
Retrieve your secret key
Twelve Labs signs the notifications it sends to your endpoint by including a signature in each notification. Before you can verify signatures, you must retrieve your secret key from the Settings section of the Dashboard page.
- Go to the Dashboard page.
- From the sidebar, choose Settings.
- Under Webhooks, find your webhook and select the Reveal Secret button.
- Select the copy icon located at the right of the secret key.
Updated 12 months ago