Skip to main content

events_transports_retrieve

GET 

/api/v3//events/transports/:uuid/

NotificationTransport Viewset

Request

Path Parameters

    uuid uuidrequired

    A UUID string identifying this Notification Transport.

Responses

Schema
    pkuuidrequired
    namestringrequired
    modeNotificationTransportModeEnum (string)

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

    mode_verbosestringrequired

    Return selected mode with a UI Label

    webhook_urluri
    webhook_mapping_bodyuuidnullable

    Customize the body of the request. Mapping should return data that is JSON-serializable.

    webhook_mapping_headersuuidnullable

    Configure additional headers to be sent. Mapping should return a dictionary of key-value pairs

    send_onceboolean

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

Authorization: http

name: authentiktype: httpscheme: bearer
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/events/transports/:uuid/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Auth
Parameters
— pathrequired