Skip to main content

ContactGroup

A ContactGroup organises Contacts for batch sending or notifications. Each ContactGroup belongs to a Group and can contain multiple contacts.

Fields

FieldTypeDescription
idID!Unique identifier
nameString!Name (e.g. "Finance")
colourStringDisplay colour

Relationships

FieldTypeDescription
groupGroupThe 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.

  • Contact — individual contacts
  • Group — the parent group

Export This Article

Save a copy of this page as PDF or plain text.