---
title: "Create marketplace domains."
method: POST
path: "/marketplace/domains"
tags: ["Marketplace"]
---

# Create marketplace domains.

`POST /marketplace/domains`

## Request

- Base URL: `https://dataops.nexla.io/nexla-api`
- URL: `https://dataops.nexla.io/nexla-api/marketplace/domains`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/nexla/apis/nexla-rest-api/docs/marketplace/domains/post.ts> (a function with typed inputs; its response is checked against the schema)

Use this endpoint to create marketplace domains. You need a manage permission for the org.

## Headers

- `Accept` 'application/vnd.nexla.api.v1+json' | 'application/json': Setting to `application/vnd.nexla.api.v1+json` is recommended.

## Request body

- MarketplaceDomainCreate
  - `org_id` integer, nullable
  - `owner_id` integer, nullable
  - `name` string
  - `description` string
  - `parent_id` integer: ID of the parent domain. Domains may build a hierarchy.
  - `custodians` object[]
    - `id` integer
    - `email` string

## Response `200`

List of marketplace domains

- MarketplaceDomain[]
  - `id` integer
  - `org_id` integer, nullable
  - `owner_id` integer, nullable
  - `name` string
  - `description` string
  - `parent_id` integer: ID of the parent domain. Domains may build a hierarchy.
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2026-11-06** `ef02be92fe7b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nexla/apis/nexla-rest-api/changes/marketplace/domains/post.md)

---

[API](https://skmtc.dev/nexla/apis/nexla-rest-api.md) - [All operations](https://skmtc.dev/nexla/apis/nexla-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nexla/apis/nexla-rest-api/revisions/ef02be92fe7b?raw)
