Class NotifyAction
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
EventMethod
The HTTP method to use when sending payload to your eventUrl
[JsonProperty("eventMethod")]
public string EventMethod { get; set; }
Property Value
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; }