Skip to main content

events_transports_create

POST 

/events/transports/

NotificationTransport Viewset

Request

Body

required

    name stringrequired

    Possible values: non-empty

    mode NotificationTransportModeEnum (string)

    Possible values: [local, webhook, webhook_slack, email]

    webhook_url uri
    webhook_mapping uuidnullable
    send_once boolean

    Only send notification once, for example when sending a webhook into a chat channel.

Responses

Schema

    pk uuidrequired
    name stringrequired
    mode NotificationTransportModeEnum (string)

    Possible values: [local, webhook, webhook_slack, email]

    mode_verbose stringrequired

    Return selected mode with a UI Label

    webhook_url uri
    webhook_mapping uuidnullable
    send_once boolean

    Only send notification once, for example when sending a webhook into a chat channel.

Loading...