Get Alerts

Get All Alerts

curl -i -X POST "https://api.usedarwin.com/v1/alerts" \
  -u "username:password"
{
  "alerts": {
    "alert_count": 2,
    "new_transaction": [
      {
        "gravatar": "https://www.gravatar.com/avatar/ffdfcd7c49ec8e3a3aacab30c9521376",
        "customer_id": "mcs_nsdukhewewikjhs",
        "heading": "Lenn Hypolite",
        "transaction_stamp": "Tuesday 6th of January 2015 01:40:39 PM",
        "message": "New Transaction for house keeping"
      }
      {
        "gravatar": "https://www.gravatar.com/avatar/d7d6df4f5902ce0fa281482783481636",
        "customer_id": "mcs_bs78sdhsbldkjs",
        "heading": "James Philmore",
        "transaction_stamp": "Wednesday 3rd of June 2015 03:59:27 PM",
        "message": "New Transaction for dry cleaning"
      }
    ]
  }
}

Did this page help you?