Table of Contents

Class NotifyAction

Namespace
Vonage.Voice.Nccos
Assembly
Vonage.dll

Represents an NCCO Notify action that sends a webhook notification to a specified URL with a custom payload without interrupting the call flow.

public class NotifyAction : NccoAction
Inheritance
NotifyAction
Inherited Members

Properties

Action

The type of NCCO action to execute.

public override NccoAction.ActionType Action { get; }

Property Value

NccoAction.ActionType

EventMethod

The HTTP method to use when sending payload to your eventUrl

[JsonProperty("eventMethod")]
public string EventMethod { get; set; }

Property Value

string

EventUrl

The URL to send events to. If you return an NCCO when you receive a notification, it will replace the current NCCO

[JsonProperty("eventUrl")]
public string[] EventUrl { get; set; }

Property Value

string[]

Payload

The JSON object body to send to your event URL

[JsonProperty("payload")]
public object Payload { get; set; }

Property Value

object