@vonage/applications
Version:
Vonage Applications API
17 lines (15 loc) • 415 B
text/typescript
/**
* Represents the base properties for a capability webhook configuration.
*/
type CapabilityWebhook = {
/**
* The URL endpoint to which the webhook data will be sent.
*/
address: string;
/**
* The HTTP method to be used when sending data to the webhook endpoint.
* It can be either 'POST' or 'GET'.
*/
httpMethod: 'POST' | 'GET';
};
export type { CapabilityWebhook };