Update a Webhook

PUT {{baseUrl}}/api/Webhook/:webhookId

Request Body

{"payloadUrl"=>"<string>", "secret"=>"<string>", "contactCreate"=>"<boolean>", "contactUpdate"=>"<boolean>", "giftCreate"=>"<boolean>", "giftUpdate"=>"<boolean>", "giftDelete"=>"<boolean>", "projectCreate"=>"<boolean>", "projectUpdate"=>"<boolean>", "projectDelete"=>"<boolean>", "formSubmission"=>"<boolean>", "contactNoteCreate"=>"<boolean>", "contactNoteUpdate"=>"<boolean>", "contactNoteDelete"=>"<boolean>", "eventCreate"=>"<boolean>", "eventUpdate"=>"<boolean>", "eventDelete"=>"<boolean>", "active"=>"<boolean>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;payloadUrl&quot;:&quot;\u003cstring\u003e&quot;,&quot;secret&quot;:&quot;\u003cstring\u003e&quot;,&quot;contactCreate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;contactUpdate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;giftCreate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;giftUpdate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;giftDelete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;projectCreate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;projectUpdate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;projectDelete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;formSubmission&quot;:&quot;\u003cboolean\u003e&quot;,&quot;contactNoteCreate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;contactNoteUpdate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;contactNoteDelete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;eventCreate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;eventUpdate&quot;:&quot;\u003cboolean\u003e&quot;,&quot;eventDelete&quot;:&quot;\u003cboolean\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;}