MediaMath Components API

v3.0 component definition endpoints.

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /component_creatives/v3.0/components List native creative components · List All Components #
Ask an LLM
“Which components can native creatives be built from?”
“What component types are defined in the system?”
Tell an agent
List all creative components.
Show every component available for native creatives.
POST /component_creatives/v3.0/components Create a creative component · Create Component #
Ask an LLM
“How do I define a new native creative component with a character limit?”
“Who is allowed to create components?”
Tell an agent
Create component {name} of value type {type} with a {limit} character limit.
Define a new component named {name} with value type {type}.
GET /component_creatives/v3.0/components/{component_id} Get a creative component · Get Component By ID #
Ask an LLM
“What are the settings of a specific component?”
“Can I look up one component by its ID?”
Tell an agent
Get component {component}.
Show the settings of component {component}.
POST /component_creatives/v3.0/components/{component_id} Update a creative component · Update Component #
Ask an LLM
“Can I change a component's character limit or disable it?”
“Is a component's value type editable after creation?”
Tell an agent
Set the character limit on component {component} to {limit}.
Disable component {component}.

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mediamath:mediamath-components-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mediamath-components-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Component Creatives Components API
  description: The terms creative components and native components may be used interchangeably.
  contact:
    name: API Support
    url: https://support.infillion.com/
  license:
    url: http://www.apache.org/licenses/LICENSE-2.0.html
    name: Apache 2.0
  version: '3.0'
servers:
- url: https://api.mediamath.com
tags:
- name: Components
  description: v3.0 component definition endpoints.
paths:
  /component_creatives/v3.0/components:
    get:
      description: Retrieve all components from the system
      responses:
        '200':
          description: Components retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ComponentListResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
      security:
      - BearerAuth: []
      operationId: v3-list-all-components
      summary: List All Components
      tags:
      - Components
    post:
      description: Create a new component. Requires Component Manager authorization.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/models.ComponentCreateRequest'
        description: Component creation request
        required: true
      responses:
        '201':
          description: Component created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ComponentResponse'
        '400':
          description: Validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '401':
          description: Unauthorized - not a component manager
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
      security:
      - BearerAuth: []
      operationId: v3-create-component
      summary: Create Component
      tags:
      - Components
  /component_creatives/v3.0/components/{component_id}:
    get:
      description: Retrieve a component by its ID
      parameters:
      - description: Component ID
        in: path
        name: component_id
        required: true
        example: 1
        schema:
          type: integer
      responses:
        '200':
          description: Component retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ComponentResponse'
        '400':
          description: Invalid component ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '404':
          description: Component not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
      security:
      - BearerAuth: []
      operationId: v3-get-component-by-id
      summary: Get Component By ID
      tags:
      - Components
    post:
      description: 'Update an existing component. Requires Component Manager authorization. Note: value_type_name cannot be updated.'
      parameters:
      - description: Component ID
        in: path
        name: component_id
        required: true
        example: 1
        schema:
          type: integer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/models.ComponentUpdateRequest'
        description: Component update request
        required: true
      responses:
        '200':
          description: Component updated successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ComponentResponse'
        '400':
          description: Invalid component_id or validation error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '401':
          description: Unauthorized - not a component manager
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '404':
          description: Component not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/httputil.Response'
      security:
      - BearerAuth: []
      operationId: v3-update-component
      summary: Update Component
      tags:
      - Components
components:
  schemas:
    httputil.Response:
      properties:
        data: {}
        error:
          type: string
        message:
          type: string
      type: object
    models.ComponentListResponse:
      description: Component list API response
      properties:
        data:
          items:
            $ref: '#/components/schemas/models.Component'
          type: array
        meta:
          $ref: '#/components/schemas/models.MetaInfo'
      type: object
    models.ComponentUpdateRequest:
      description: Component update request
      properties:
        char_limit:
          type: integer
        component_human_name:
          type: string
        is_enabled:
          type: boolean
      type: object
    models.ComponentResponse:
      description: Single component API response
      properties:
        data:
          $ref: '#/components/schemas/models.Component'
        meta:
          $ref: '#/components/schemas/models.MetaInfo'
      type: object
    models.Component:
      description: Component definition
      properties:
        char_limit:
          type: integer
        component_human_name:
          type: string
        component_id:
          type: integer
        created_at:
          type: string
        is_enabled:
          type: boolean
        updated_at:
          type: string
        value_type_name:
          type: string
      type: object
    models.ComponentCreateRequest:
      description: Component creation request
      properties:
        char_limit:
          type: integer
        component_human_name:
          description: Required
          type: string
        is_enabled:
          description: 'Default: true'
          type: boolean
        value_type_name:
          description: 'Required: TEXT, IMAGE, VIDEO, INTEGER, SUBTITLE'
          type: string
      type: object
    models.MetaInfo:
      description: Response metadata
      properties:
        code:
          type: integer
        count:
          type: integer
        next_page:
          type: string
        offset:
          type: integer
        prev_page:
          type: string
        status:
          type: string
        total_count:
          type: integer
        type:
          type: string
      type: object
  securitySchemes:
    BearerAuth:
      description: Type "Bearer" followed by a space and JWT token.
      in: header
      name: Authorization
      type: apiKey
x-tagGroups:
- name: Component Creatives API v3.0
  tags:
  - Creatives - Native
  - Components
  - Approvals
- name: Component Creatives API v1.0 (Deprecated)
  tags:
  - Component Creatives