Webhooks

This endpoint creates a new Webhook in a specified Product identified by the productId parameter, which can be obtained from the List Products endpoint.

post/v1/configs/{configId}/environments/{environmentId}/webhooks

Request

Path parameters

configIdstring uuid required

The identifier of the Config.

environmentIdstring uuid required

The identifier of the Environment.

Request body

urlstring required

The URL of the Webhook.

contentstring nullable

The HTTP body content.

httpMethod'get' | 'post'

Response

When the creation was successful.

webhookIdinteger required

The identifier of the Webhook.

urlstring required

The URL of the Webhook.

httpMethod'get' | 'post' required
contentstring nullable required

The HTTP body content.

Changes

    • breaking

      added to the request property allOf list (media type: application/json)

    • breaking

      added to the request property allOf list (media type: text/json)

    • breaking

      added to the request property allOf list (media type: application/*+json)

    • breaking

      the request property // became not nullable (media type: application/json)

    • breaking

      the request property // became not nullable (media type: text/json)

    • breaking

      the request property // became not nullable (media type: application/*+json)

    • breaking

      the request property // became not nullable (media type: application/json)

    • breaking

      the request property // became not nullable (media type: text/json)

    • breaking

      the request property // became not nullable (media type: application/*+json)

    • breaking

      removed the enum value get of the request property (media type: application/json)

    • breaking

      removed the enum value get of the request property (media type: text/json)

    • breaking

      removed the enum value get of the request property (media type: application/*+json)

    • breaking

      removed the enum value post of the request property (media type: application/json)

    • breaking

      removed the enum value post of the request property (media type: text/json)

    • breaking

      removed the enum value post of the request property (media type: application/*+json)

    • breaking

      the request property type changed from string to no type (media type: application/json)

    • breaking

      the request property type changed from string to no type (media type: application/*+json)

    • info

      the request property became nullable (media type: application/json)

    • info

      the request property became nullable (media type: text/json)

    • info

      the request property became nullable (media type: application/*+json)

    • info

      the request property type was generalized from string to no type (media type: text/json)

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became optional for the status

    • breaking

      the // response property's maxLength was unset from 255 for the response status

    • breaking

      the // response property's maxLength was unset from 1000 for the response status

    • breaking

      the // response property's minLength was decreased from 1 to 0 for the response status

    • breaking

      the // response property's minLength was decreased from 1 to 0 for the response status

    • info

      the request property // became nullable (media type: application/json)

    • info

      the request property // became nullable (media type: text/json)

    • info

      the request property // became nullable (media type: application/*+json)

    • info

      the request property // became nullable (media type: application/json)

    • info

      the request property // became nullable (media type: text/json)

    • info

      the request property // became nullable (media type: application/*+json)

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      the response property became required for the status