Update webhook info

Authentication

Authorizationstring
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Path parameters

idintegerRequired

Request

This endpoint expects an object.
actionslist of enumsOptional
headersanyOptional
Key Value Json of headers
is_activebooleanOptional
If value is False the webhook is disabled
send_for_all_actionsbooleanOptional

If value is False - used only for actions from WebhookAction

send_payloadbooleanOptional
If value is False send only action
urlstringOptionalformat: "uri"1-2048 characters
URL of webhook

Response

created_atdatetime
Creation time
idinteger
organizationinteger
projectinteger or null
updated_atdatetime
Last update time
urlstringformat: "uri"<=2048 characters
URL of webhook
actionslist of enums or null
headersany or null
Key Value Json of headers
is_activeboolean or null
If value is False the webhook is disabled
send_for_all_actionsboolean or null

If value is False - used only for actions from WebhookAction

send_payloadboolean or null
If value is False send only action