POST api/webhook/create/{triggerName}

Creates a new webhook in the system (scoped to agency)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
triggerName

Name of the trigger.

string

Required

Body Parameters

Webhook callback details

Dezrez.Core.DataContracts.External.Api.Webhook.CreateWebhookDataContract
NameDescriptionTypeAdditional information
WebhookUrl

string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "WebhookUrl": "sample string 1"
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.