Skip to content

    Brand evidence

    Save a citation review

    Record whether a cited page mentions the brand or its competitors and which buyer questions the page can answer.

    PUT /v2/brands/{brand_id}/evidence/{kind}/{key}

    • Path kind is citation_review.

    Authentication and access

    Authentication
    Bearer API key
    Scopes
    brands:write
    Roles
    editor, owner, service
    Plans
    Optimizer, Analyzer
    Credits
    No credit charge.

    Parameters

    Request parameters
    NameWhereTypeRequiredDescription
    brand_idpathstring (uuid)Yes
    keypathstringYesUnpadded base64url of the UTF-8 canonical page URL with prefix u~.
    kindpath"citation_review"Yes

    Request body

    {
      "brand_mentioned": true,
      "checked_at": "2026-11-24T10:00:00Z",
      "complete_page_text": "Example retained source text.",
      "evidence_reference": "fixture-review",
      "expires_at": "2026-12-24T10:00:00Z",
      "url": "https://example.com/product"
    }
    Request body fields 1
    NameTypeRequiredDescription
    brand_mentionedboolean | nullNo
    channel"owned" | "competitor" | "peer" | "earned" | "paid" | "affiliate" | "ugc" | "review_site" | "local_directory" | "social" | nullNo
    checked_atstring (date-time)Yes
    competitor_mentionsobjectNo
    competitor_mentions.[key]booleanNoValue for each key.
    complete_page_htmlstring | nullNo
    complete_page_textstring | nullNo
    content_type"blog" | "listicle" | "comparison" | "product" | "documentation" | "review" | "research" | "news" | "social" | "video" | "wiki" | "guide" | "how_to" | "press_release" | "educational" | "directory" | nullNo
    evidence_referencestringYes
    expires_atstring (date-time)Yes
    opportunity_prompt_idsarray of string (uuid) | nullNoBuyer questions that this permitted source can help answer.
    social_publisherobject | nullNo
    social_publisher.entity_idstring (uuid)Conditional
    social_publisher.profile_urlstringConditional
    urlstringNo

    Request examples

    Set AEO_API_BASE_URL to https://api.aeoapi.dev and AEO_API_KEY to your server-side API key. Set the other environment variables to the values for your request.

    Save the JSON request body as request.json. Replace sample IDs, revisions and other values with your own.

    curl --fail-with-body -X PUT "$AEO_API_BASE_URL/v2/brands/$BRAND_ID/evidence/citation_review/$KEY" \
      -H "Authorization: Bearer $AEO_API_KEY" \
      -H "Content-Type: application/json" \
      --data-binary @request.json
    import json
    from pathlib import Path
    from os import environ
    from aeo_sdk import AeoClient
    
    body = json.loads(Path("request.json").read_text())
    
    with AeoClient(environ["AEO_API_KEY"], base_url=environ["AEO_API_BASE_URL"]) as client:
        response = client.v2_put_brands_brand_id_evidence_kind_key(
            brand_id=environ["BRAND_ID"],
            key=environ["KEY"],
            kind="citation_review",
            body=body,
        )
        print(response.body)
    import { AeoClient } from "@aeoapi/aeo-sdk";
    import { readFile } from "node:fs/promises";
    
    const client = new AeoClient(process.env.AEO_API_KEY!, {
      baseUrl: process.env.AEO_API_BASE_URL!,
    });
    const body = JSON.parse(await readFile("request.json", "utf8"));
    const response = await client.v2PutBrandsBrandIdEvidenceKindKey(
      process.env.BRAND_ID!,
      process.env.KEY!,
      "citation_review",
      body,
    );
    console.log(response.body);

    Responses

    HTTP 200

    Successful Response

    application/json

    Example generated from the response schema.

    {
      "data": {
        "url": "example",
        "checked_at": "example",
        "source": "customer_page_review",
        "brand_mentioned": null,
        "competitor_mentions": {}
      },
      "meta": {}
    }
    HTTP 200 response fields 1
    NameTypeRequiredDescription
    dataobjectYesThe requested result. See the fields below for its contents.
    data.brand_mentionedboolean | nullYes
    data.checked_atstringYes
    data.competitor_mentionsobjectYes
    data.competitor_mentions.[key]booleanNoValue for each key.
    data.opportunity_prompt_idsarray of stringNo
    data.social_publisherobjectNo
    data.social_publisher.entity_idstringConditional
    data.social_publisher.profile_urlstringConditional
    data.source"customer_page_review" | "submitted_full_text_alias_match" | "permissioned_website_alias_match"Yes
    data.urlstringYes
    metaobjectYesInformation about this response, including any warnings or pagination details.

    Errors

    Read code and message in the error response. Keep request_id when you contact support.

    Brand evidence reference