Create a new webhook

Changed on

Creates a new webhook with the specified details.

post/webhooks

Request

  • Base URL
    https://api.argil.ai/v1
  • Auth
    API key in header x-api-key

Request body

callbackUrlstring required

URL to which the webhook will send POST requests.

eventsstring[] required

List of events the webhook is subscribing to.

Response

Successfully created webhook

idstring uuid
callbackUrlstring
eventsstring[]

List of events the webhook is subscribing to.

createdAtstring date-time
updatedAtstring date-time
lastTriggeredAtstring date-time

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      the request property's minItems was increased to 1

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • warning

      added the new AVATAR_TRAINING_FAILED enum value to the / response property for the response status

    • warning

      added the new AVATAR_TRAINING_SUCCESS enum value to the / response property for the response status

    • warning

      added the new VIDEO_GENERATION_FAILED enum value to the / response property for the response status

    • warning

      added the new VIDEO_GENERATION_SUCCESS enum value to the / response property for the response status

    • info

      added the new AVATAR_TRAINING_FAILED enum value to the request property /

    • info

      added the new AVATAR_TRAINING_SUCCESS enum value to the request property /

    • info

      added the new VIDEO_GENERATION_FAILED enum value to the request property /

    • info

      added the new VIDEO_GENERATION_SUCCESS enum value to the request property /