Skip to main content
POST
/
v1
/
hook
/
{orgId}
/
{envKey}
/
{connectorId}
/
{webhookType}
/
{webhookTokenOrGlobalRoute}
Handle connector webhooks
const options = {
  method: 'POST',
  headers: {
    'x-api-key': '<api-key>',
    'x-api-secret': '<api-key>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify('<unknown>')
};

fetch('https://api.runmorph.dev/v1/hook/{orgId}/{envKey}/{connectorId}/{webhookType}/{webhookTokenOrGlobalRoute}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
"<unknown>"

Authorizations

x-api-key
string
header
required
x-api-secret
string
header
required

Headers

headers
unknown

Path Parameters

orgId
string
required
envKey
string
required
connectorId
enum<string>
required
Available options:
hubspot,
pipedrive,
salesforce,
aircall,
gong,
attio,
dialpad,
calendly,
xero,
chargebee
webhookType
enum<string>
required
Available options:
global,
subscription
webhookTokenOrGlobalRoute
string
required

Query Parameters

query
unknown

Body

The body is of type unknown.

Response

OK

The response is of type unknown.