POST
/
v1
/
customer-alerts
/
get
Get an alert
curl --request POST \
  --url https://api.metronome.com/v1/customer-alerts/get \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "customer_id": "9b85c1c1-5238-4f2a-a409-61412905e1e1",
  "alert_id": "8deed800-1b7a-495d-a207-6c52bac54dc9"
}'
{
  "data": {
    "customer_status": "in_alarm",
    "alert": {
      "id": "8deed800-1b7a-495d-a207-6c52bac54dc9",
      "uniqueness_key": "823j7fqzo1",
      "name": "Low credit balance alert",
      "type": "low_credit_balance_reached",
      "status": "enabled",
      "credit_type": {
        "id": "2714e483-4ff1-48e4-9e25-ac732e8f24f2",
        "name": "USD (cents)"
      },
      "threshold": 0,
      "updated_at": "2022-01-01T00:00:00Z"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

The customer ID and alert ID of the customer alert to get

The body is of type object.

Response

Success

The response is of type object.