Add Notification to AG

/groups/endpoint/add

Full Url

Arguments

  • token (string, required)
  • endpoint_type (enum('email', 'sms', 'post', 'voice'), required)
  • endpoint_value (string, required)
  • group_id (int, required)

Info

Add an endpoint to a group. When a 911 call is made from an associated 911 entry, this endpoint will be notified in the appropriate way

Example Success

{
"code": 200,
"status": "success",
"data": "Successfully added endpoint to group"
}

Example Error

{
"code": 500,
"status": "error",
"data": "Could not add endpoint to group"
}
{
"code": 400,
"status": "error",
"data": "Please provide a valid US/CAN SMS enabled number"
}