WebhookHandler()
SIP Protocol API Reference v0.7.4
SIP Protocol API Reference / WebhookHandler
Interface: WebhookHandler()
Section titled “Interface: WebhookHandler()”Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16161
Handler function type returned by createWebhookHandler
WebhookHandler(
payload):Promise<WebhookProcessResult[]>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16165
Process a webhook payload (simple mode - no signature verification)
Parameters
Section titled “Parameters”payload
Section titled “payload”Returns
Section titled “Returns”Promise<WebhookProcessResult[]>
Methods
Section titled “Methods”processRequest()
Section titled “processRequest()”processRequest(
request):Promise<WebhookProcessResult[]>
Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:16171
Process a webhook request with full authentication
H-4, H-7, H-8 FIX: Supports signature and auth token verification
Parameters
Section titled “Parameters”request
Section titled “request”Returns
Section titled “Returns”Promise<WebhookProcessResult[]>