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 ↓
    Mutation

    addMentionSources

    Start tracking Instagram or TikTok @-mentions for up to 50 handles with no connected account, each with its own outcome; idempotent on a handle already tracked. A mention of a connected account is managed in the Archive app by connecting or disconnecting the account. Priced per handle.

    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.

    handles [String!]! required
    Handles, with or without the leading @, or profile URLs; at least 1 and at most 50. Each is added independently of the others. An empty list or more than that refuses the whole request.
    provider Provider! required
    Platform of the handles: INSTAGRAM or TIKTOK. Any other value is a userError.

    Returns

    results [AddMentionSourceResult!]!
    One result per handle, in the order sent. Empty when userErrors is non-empty.
    userErrors [UserError!]!
    Errors that refused the whole request: an unsupported provider, an empty or oversized list, or a call costing more than the workspace's rate-limit capacity. Empty when the request was accepted; per-handle refusals are reported in results.