> ## Documentation Index
> Fetch the complete documentation index at: https://api-docs.hrizn.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get marketing artifacts

> Returns all marketing artifacts configured for the site

Returns all marketing artifacts (evergreen messages, why-buy reasons, and custom USPs). These are used by the AI to weave dealership-specific selling points into generated content.

**Scope required:** `site:read`

<ResponseExample>
  ```json 200 theme={"theme":{"light":"github-light","dark":"github-dark"}}
  {
    "data": {
      "marketing": [
        {
          "id": "b2f95b26-ecc7-436c-86b4-9bd0e3694d88",
          "type": "evergreen",
          "description": "2 Oil Change and Tire Rotations for $144.00 up to 7 quarts, (Diesel Excluded)",
          "created_at": "2025-08-01T17:21:52.492779+00:00",
          "updated_at": "2025-08-01T17:21:52.492779+00:00"
        },
        {
          "id": "14139f00-b281-4dc1-9f3b-c7bbcae7a24f",
          "type": "why_buys",
          "description": "Buying a new or pre-owned vehicle is as easy as heading to Empire Chevrolet of Huntington...",
          "created_at": "2025-05-26T16:43:33.78039+00:00",
          "updated_at": "2025-05-26T16:43:33.78039+00:00"
        }
      ]
    }
  }
  ```
</ResponseExample>

<Note>
  Returns an empty `marketing` array if no marketing artifacts have been configured for the site.
</Note>


## OpenAPI

````yaml GET /site/marketing
openapi: 3.1.0
info:
  title: Hrizn Public API
  version: 1.2.0
  description: >
    The Hrizn Public API allows partners to programmatically create content,
    manage inventory descriptions, and integrate with the Hrizn platform.


    All endpoints are prefixed with `/public` and require an API key passed via
    the `X-API-Key` header (except the health check).
  contact:
    email: support@hrizn.io
servers:
  - url: https://api.app.hrizn.io/v1/public
    description: Production
security:
  - apiKeyAuth: []
tags:
  - name: IdeaClouds
    description: Create and manage AI-powered keyword research
  - name: Content Intelligence
    description: AI-powered content gap analysis and recommendations
  - name: Content
    description: Generate content from IdeaClouds
  - name: Compliance
    description: Run OEM compliance checks on content
  - name: Content Tools
    description: Generate SEO metadata, schemas, and social snippets
  - name: Inventory
    description: Access vehicle data and AI descriptions
  - name: Site
    description: View dealership details and configuration
  - name: Webhooks
    description: Manage webhook subscriptions for real-time events
  - name: Reference
    description: Look up available types, scopes, and events
  - name: Social
    description: >-
      Zernio-backed social posting and reviews across all connected platforms
      (X, Facebook, Instagram, LinkedIn, Google Business Profile)
  - name: Health
    description: Health check (no authentication)
paths:
  /site/marketing:
    get:
      tags:
        - Site
      summary: List marketing artifacts
      description: >-
        Returns all marketing artifacts (evergreen messages, why-buys, custom
        USPs).
      operationId: getSiteMarketing
      responses:
        '200':
          description: Marketing artifacts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SiteMarketingResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    SiteMarketingResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            marketing:
              type: array
              items:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                  type:
                    type: string
                    description: Artifact type (evergreen, why_buys, custom)
                  description:
                    type: string
                    nullable: true
                  created_at:
                    type: string
                    format: date-time
                  updated_at:
                    type: string
                    format: date-time
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: 'keyword: Required'
            details:
              type: object
            request_id:
              type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: API key lacks required scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    InternalError:
      description: Internal server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Your Hrizn API key (prefix hzk_)

````