addwebhook

area apiaction addwebhookPOSTwrite

Adds a webhook to the account

Arguments

ArgumentTypeRequiredDescription
urlstringYesFull url to your webhook https://yoursite.com/file.php
hooktypestringYesOne of the following values: open,click,unsubscribe,smsreply,smsclick,smsoptout,smtpopen,smtpclick

Example request

https://api.mailclickconvert.com/api.php
  ?apikey=YOUR_API_KEY
  &area=api
  &action=addwebhook

The platform expects this call as a POST; the parameters are the same either way.

Response

<response>
  <success>Webhook Added</success>
  <webhookid>1</webhookid>
</response>

Need a call that isn't here?

Custom integration work is quoted on scope, and support is a person on weekdays, 9am to 5pm CST.