Skip to main content

contactGroup

Returns a single ContactGroup by ID. A ContactGroup is a named collection of contacts for organising recipients.

Arguments

ArgumentTypeRequiredDescription
idIDNoGlobal node ID
contactGroupIdIDNoContactGroup-specific ID

Provide either id or contactGroupId.

Return Type

ContactGroup

Example

query GetContactGroup($id: ID!) {
contactGroup(id: $id) {
id
name
created
modified
contactConnection {
contacts {
id
firstName
lastName
email
phoneNumber
}
totalCount
}
}
}

Export This Article

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