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. Excludes campaigns of templates hidden for the workspace. Workflow campaigns appear only when their type is exposed by the API and the in-app campaigns page lists them.

    Arguments

    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.

    after String default null
    Cursor for fetching the next page of results.
    filter CampaignFilterInput default {}
    Filter criteria to narrow down results (by campaign type, externalId or name).
    first Int default 20
    Number of campaigns to return (page size).

    Returns

    A paginated connection of Campaign nodes. See Pagination for the connection shape.

    edges [CampaignEdge!]!
    List of edges with cursors.
    nodes [Campaign!]!
    List of campaigns.
    pageInfo PageInfo!
    Pagination information.
    totalCount Int
    Total number of items available.