---
title: "Create a Marketplace"
method: POST
path: "/marketplaces"
tags: ["Marketplaces"]
---

# Create a Marketplace

`POST /marketplaces`

## Request

- Base URL: `https://api.mediamath.com/api/v3.0`
- URL: `https://api.mediamath.com/api/v3.0/marketplaces`
- Auth: OAuth 2
  - Authorization code: `https://auth.mediamath.com/authorize`
  - Token URL: `https://auth.mediamath.com/oauth/token` scopes: `offline_access`, `manage:services`
- TypeScript: <https://skmtc.dev/mediamath/apis/campaigns-api/docs/marketplaces/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a marketplace

## Request body

- MarketplaceCreate
  - `created_on` string, date-time
  - `updated_on` string, date-time
  - `name` string, required
  - `supply_type` string
  - `status` boolean
  - `rtb_enabled` boolean
  - `strategy_id` integer, required
  - `code` string
  - `bidder_exchange_identifier` integer
  - `rtb_type` string
  - `has_display` boolean
  - `has_mobile_display` boolean
  - `has_video` boolean
  - `has_mobile_video` boolean
  - `requires_creative_audit` boolean
  - `has_desktop_video` boolean
  - `has_connected_tv` boolean
  - `mma_free` boolean
  - `private` boolean
  - `mkt_sell_price` number, float, nullable
  - `mkt_sell_price_currency_code` string, nullable
  - `permission_organizations` integer[]
  - `permission_agencies` integer[]

## Response `201`

Marketplace response

- object
  - `data` MarketplaceFullResponse
    - `id` integer
    - `version` integer
    - `created_on` string, date-time
    - `updated_on` string, date-time
    - `name` string
    - `supply_type` string
    - `status` boolean
    - `rtb_enabled` boolean
    - `strategy_id` integer
    - `code` string
    - `bidder_exchange_identifier` integer
    - `rtb_type` string
    - `has_display` boolean
    - `has_mobile_display` boolean
    - `has_video` boolean
    - `has_mobile_video` boolean
    - `requires_creative_audit` boolean
    - `has_desktop_video` boolean
    - `has_connected_tv` boolean
    - `mma_free` boolean
    - `private` boolean
    - `mkt_sell_price` number, float, nullable
    - `mkt_sell_price_currency_code` string, nullable
    - `permission_organizations` integer[]
    - `permission_agencies` integer[]
  - `meta` SingleMetadata
    - `status` string, required

## Other responses

- `400`: Error response
- `401`: Error response
- `403`: Error response

---

[API](https://skmtc.dev/mediamath/apis/campaigns-api.md) - [All operations](https://skmtc.dev/mediamath/apis/campaigns-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mediamath/apis/campaigns-api/revisions/408743891def?raw)
