Update webhook info

Update a webhook. You will need to provide the webhook ID. You can get this from List all webhooks.

For more information about webhooks, see Set up webhooks in Label Studio and the Webhook event reference.

Path parameters

idintegerRequired
A unique integer value identifying this webhook.

Headers

AuthorizationstringRequired

Header authentication of the form Token <token>

Query parameters

urlstringRequiredformat: "uri">=1 character<=2048 characters
URL of webhook
send_payloadbooleanOptional
If value is False send only action
send_for_all_actionsbooleanOptional

If value is False - used only for actions from WebhookAction

headersstringOptional
Key Value Json of headers
is_activebooleanOptional
If value is False the webhook is disabled
actionsenumOptional

Request

This endpoint expects an object.
urlstringRequiredformat: "uri">=1 character<=2048 characters
URL of webhook
idintegerOptional
organizationintegerOptional
projectintegerOptional
send_payloadbooleanOptional
If value is False send only action
send_for_all_actionsbooleanOptional

If value is False - used only for actions from WebhookAction

headersmap from strings to anyOptional
Key Value Json of headers
is_activebooleanOptional
If value is False the webhook is disabled
actionslist of enumsOptional
created_atdatetimeOptional
Creation time
updated_atdatetimeOptional
Last update time

Response

urlstringformat: "uri">=1 character<=2048 characters
URL of webhook
idinteger or null
organizationinteger or null
projectinteger or null
send_payloadboolean or null
If value is False send only action
send_for_all_actionsboolean or null

If value is False - used only for actions from WebhookAction

headersmap from strings to any or null
Key Value Json of headers
is_activeboolean or null
If value is False the webhook is disabled
actionslist of enums or null
created_atdatetime or null
Creation time
updated_atdatetime or null
Last update time