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

    campaign

    Return a single campaign by ID for the current workspace, or null if no such campaign exists here.

    Arguments

    id ID! required
    UUID of the campaign to fetch.

    Returns

    Returns Campaign.

    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.

    campaignType CampaignType
    What kind of campaign this is; null for a campaign whose type the API does not expose.
    createdAt DateTime!
    When the campaign was created (UTC).
    creatorsCount Int!
    Creators currently on the roster. Creators added through updateCampaign join it once their background import resolves them.
    dateEnd DateTime
    End of the campaign's window (UTC); null when it has none.
    dateStart DateTime
    Start of the campaign's window (UTC); null when it has none.
    externalId String
    The key the campaign was created with through createCampaign; null for a campaign created in the Archive app.
    id ID!
    Unique identifier for the campaign in Archive's system.
    name String!
    Campaign name as shown in Archive.