Archive API docs
    Jump to

    Narrow by kind with a prefix — q: queries, m: mutations, t: types, g: guides, f: fields and arguments.

    Jump to examples ↓
    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.
    nodes [Campaign!]!
    List of campaigns.
    pageInfo PageInfo!
    Pagination information.
    totalCount Int
    Total number of items available.