Add Alert

HTTP method: POST
URL: https://api.callcap.com/v3/alerts/

POST parameters (with example)

This resource will allow you to add an alert.

POST parameter

  • template = "23"
    • REQUIRED
    • The template key of the alert you want to add.
    • Valid keys can be found on the 'add alert' form:
      • Positive call notification: 23
      • Hangup alert: 9
      • Short call alert: 11
      • Per-call alert: 28
  • email = "[email protected]"
    • Email address(es) the alert will be sent to.
    • Can be a list of email addresses, separated by comma.
  • number = "3165551234"
    • Phone number(s) the alert will be sent to.
    • Can be a list of numbers, separated by comma.
  • corporateID = "1234"
    • Corporate account ID(s) for accounts that alert will apply to.
    • Can be a list of IDs, separated by comma.
  • divisionID = "1234"
    • Division account ID(s) for accounts that alert will apply to.
    • Can be a list of IDs, separated by comma.
  • locationID = "1234"
    • Location account ID(s) for accounts that alert will apply to.
    • Can be a list of IDs, separated by comma.
  • campaignID = "1234"
    • Campaign account ID(s) for accounts that alert will apply to.
    • Can be a list of IDs, separated by comma.