webhooks
post/api/settings/webhooks/{webhookId}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/settings/webhooks/{webhookId}
  • Auth: HTTP bearer

Path parameters

webhookIdstring required

Request body

urlstring uri
jobSourceIdstring
secretsobject

Secrets of the job started by the webhook, used together with jobSourceId: the source job's own secrets are never copied. On update, listed keys are replaced, an empty value removes a secret, and omitted keys keep their stored value.

domainsstring[] required
secretstring

Response

Updated webhook

Changes

    • breaking

      removed subschema #1 subschema #2 from the request property oneOf list

    • breaking

      added subschema #1 subschema #2 to the / response property oneOf list for the response status

    • info

      added subschema #1 subschema #2 to the request property oneOf list

    • info

      removed subschema #1 subschema #2 from the / response property oneOf list for the response status

    • info

      added the new optional request property