Skip to main content
DELETE
/
v1
/
webhooks
Unsubscribe from webhook events
const options = {
  method: 'DELETE',
  headers: {
    'x-api-key': '<api-key>',
    'x-api-secret': '<api-key>',
    'x-connector-id': '<api-key>',
    'x-owner-id': '<api-key>',
    'x-session-token': '<api-key>',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({events: ['genericCompany::created']})
};

fetch('https://api.runmorph.dev/v1/webhooks', 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
x-connector-id
string
header
required
x-owner-id
string
header
required
x-session-token
string
header
required

Body

events
enum<string>[]
required
Minimum array length: 1
Available options:
genericCompany::created,
genericCompany::updated,
genericCompany::deleted,
genericContact::created,
genericContact::updated,
genericContact::deleted,
genericUser::created,
genericUser::updated,
genericUser::deleted,
genericWorkspace::created,
genericWorkspace::updated,
genericWorkspace::deleted,
crmOpportunity::created,
crmOpportunity::updated,
crmOpportunity::deleted,
crmStage::created,
crmStage::updated,
crmStage::deleted,
crmPipeline::created,
crmPipeline::updated,
crmPipeline::deleted,
crmEngagement::created,
crmEngagement::updated,
crmEngagement::deleted,
telephonyCall::created,
telephonyCall::updated,
telephonyCall::deleted,
telephonyCallTranscript::created,
telephonyCallTranscript::updated,
telephonyCallTranscript::deleted,
schedulingEventType::created,
schedulingEventType::updated,
schedulingEventType::deleted,
schedulingSlot::created,
schedulingSlot::updated,
schedulingSlot::deleted,
schedulingEvent::created,
schedulingEvent::updated,
schedulingEvent::deleted,
widgetCardView::created,
widgetCardView::updated,
widgetCardView::deleted,
accountingInvoice::created,
accountingInvoice::updated,
accountingInvoice::deleted,
accountingInvoiceLineItem::created,
accountingInvoiceLineItem::updated,
accountingInvoiceLineItem::deleted,
accountingInvoiceItem::created,
accountingInvoiceItem::updated,
accountingInvoiceItem::deleted

Response

No Content

The response is of type unknown.