Query
campaigns
List and paginate campaigns for the current workspace, ordered newest first. Workflow-type rows are excluded to match the in-app CRM listing.
Arguments
- after String default null
- Cursor for fetching the next page of results.
- first Int default 20
- Number of campaigns to return (page size).
Returns
A paginated connection of Campaign nodes. See Pagination for the connection shape.
Object, input and enum types open in place — use + to reveal their fields. A type that is already open above the row stops at a ↻ circular marker, and anything nested past the depth limit links out to its own page instead.
- edges [CampaignEdge!]!
- List of edges with cursors.
- cursor String!
- Cursor for this node.
- node Campaign!
- The campaign.
- createdAt DateTime!
- When the campaign was created (UTC).
- id ID!
- Unique identifier for the campaign in Archive's system.
- name String!
- Campaign name as shown in Archive.
- nodes [Campaign!]!
- List of campaigns.
- createdAt DateTime!
- When the campaign was created (UTC).
- id ID!
- Unique identifier for the campaign in Archive's system.
- name String!
- Campaign name as shown in Archive.
- pageInfo PageInfo!
- Pagination information.
- endCursor String
- Cursor for the last node in this page.
- hasNextPage Boolean!
- Whether there are more results after this page.
- hasPreviousPage Boolean!
- Whether there are results before this page.
- startCursor String
- Cursor for the first node in this page.
- totalCount Int
- Total number of items available.