ContactGroup
A ContactGroup organises Contacts for batch sending or notifications. Each ContactGroup belongs to a Group and can contain multiple contacts.
Fields
| Field | Type | Description |
|---|---|---|
id | ID! | Unique identifier |
name | String! | Name (e.g. "Finance") |
colour | String | Display colour |
Relationships
| Field | Type | Description |
|---|---|---|
group | Group | The group this contact group belongs to |
contacts | [Contact] | Contacts in this group |
Query
query GetContactGroup($id: ID!) {
contactGroup(id: $id) {
id
name
colour
contacts {
id
firstName
lastName
email
}
}
}
ContactGroups are also accessed via Group.contactGroupConnection.