Skip to main content

Add a new Webhook Endpoint

POST 

/v4/applications/:appId/envs/:appEnv/webhooks

This endpoint adds a new webhook endpoint to an application environment.

Request

Path Parameters

    appId stringrequired

    The application identifier which is used to identify the application used.

    Example: appId_XXXX-XXXX-XXXX-XXXX-XXXX
    appEnv stringrequired

    Possible values: [DEVELOPMENT, STAGING, PRODUCTION]

    The execution environment of the application where request are executed.

Body

The details of the webhook endpoint to be added.

    url stringrequired

    The URL of the webhook endpoint.

    description string

    The description of the webhook endpoint.

Responses

The updated list of webhook settings.

Schema

    _id string
    _createdAt date-time
    url stringrequired

    The URL of the webhook endpoint.

    description string

    The description of the webhook endpoint.

    isDisabled boolean

    Whether the webhook is disabled or not.

Loading...