Create a new webhook

Request Information

URI Parameters

None.

Body Parameters

WebhookSubscribeModel
NameDescriptionTypeAdditional information
HookUrl

Url for your webhook

string

None.

ActivityTypes

Which activities you want your webhook to be notified about. Leave emtpy to receive notifications for all activity types (not recommended)

Collection of ActivityType

None.

Request Formats

application/json, text/json

Sample:
{
  "HookUrl": "sample string 1",
  "ActivityTypes": [
    "NewMembership",
    "NewMembership"
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Returns Id of newly created webhook if successful

IHttpActionResult

None.

Try API

Try this endpoint by entering your credentials and using the API Explorer.

Try With API Explorer

Response Formats

application/json, text/json

Sample:

Sample not available.