MCPcopy Index your code
hub / github.com/simstudioai/sim / getNotificationUrl

Function getNotificationUrl

apps/sim/lib/webhooks/provider-subscription-utils.ts:16–18  ·  view source on GitHub ↗
(webhook: Record<string, unknown>)

Source from the content-addressed store, hash-verified

14
15/** Build the public callback URL providers should deliver webhook events to. */
16export function getNotificationUrl(webhook: Record<string, unknown>): string {
17 return `${getBaseUrl()}/api/webhooks/trigger/${webhook.path}`
18}
19
20/**
21 * Resolve an OAuth-backed credential to the owning user and account.

Callers 15

createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
deleteSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90
createSubscriptionFunction · 0.90

Calls 1

getBaseUrlFunction · 0.90

Tested by

no test coverage detected