GET   alerts/target_groups/{group_id}

Gets a information about target group.

URL Parameters

NameDescription
group_id

Target group Id. Type: numeric.

Request example

Response body model example and description

{
  "id": 12,
  "name": "Developers",
  "enabled": true,
  "targets": [
    {
      "type": "sms",
      "id": 12,
      "name": "Email to customer",
      "to": "support@apica.io",
      "enabled": true
    },
    {
      "type": "sms",
      "id": 12,
      "name": "Email to customer",
      "to": "support@apica.io",
      "enabled": true
    },
    {
      "type": "sms",
      "id": 12,
      "name": "Email to customer",
      "to": "support@apica.io",
      "enabled": true
    }
  ]
}
NameType Description
idInteger

The target group's numeric identity.

nameString

The target group name.

enabledBoolean

The target group is enable.

targetsArray

Targets in group.

typeString

The target's type.

idInteger

The target's numeric identity.

nameString

The target's name.

toString

The target's destination.

enabledBoolean

The target is enable.