> ## Documentation Index
> Fetch the complete documentation index at: https://help.pixwel.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a studio



## OpenAPI

````yaml /openapi.yaml post /studios
openapi: 3.1.0
info:
  title: Pixwel Platform
  description: >-
    The Pixwel Platform REST API. Authenticate with HTTP Basic (email +
    password) or a personal access token (`Authorization: Bearer pat_…`).
    Responses are decorated by proxy middleware (Fields, Links, Permissions,
    etc.). Use `?fields=` to request specific fields.
  version: '2.8'
  contact:
    email: jeff@pixwel.com
  license:
    name: UNLICENSED
    identifier: LicenseRef-Pixwel-Proprietary
servers:
  - url: https://api-staging.pixwel.com/api
    description: Staging
  - url: https://app.pixwel.com/api
    description: Production
security:
  - BasicAuth: []
  - BearerAuth: []
paths:
  /studios:
    post:
      tags:
        - Studios
      summary: Create a studio
      operationId: createStudio
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StudiosResponse'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StudiosResponse'
        '401':
          description: Not authenticated
components:
  schemas:
    StudiosResponse:
      type: object
      properties:
        _id:
          type: string
          example: 507f1f77bcf86cd799439011
        logo:
          type: string
          example: 507f1f77bcf86cd799439011
        coordinator:
          oneOf:
            - type: string
              example: 507f1f77bcf86cd799439011
            - type: object
              properties:
                _id:
                  type: string
                  example: 507f1f77bcf86cd799439011
                studios:
                  type: array
                  items:
                    type: string
                    example: 507f1f77bcf86cd799439011
                users:
                  type: array
                  items:
                    type: string
                    example: 507f1f77bcf86cd799439011
                addresses:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                      address:
                        type: string
                      city:
                        type: string
                      state:
                        type: string
                      postalCode:
                        type: string
                      country:
                        type: string
                name:
                  type: string
                type:
                  type: string
                domains:
                  description: Shape not inferred — the sampled response had no entries
        name:
          type: string
        slug:
          type: string
        previewWatermarkFormat:
          type: string
        created:
          type: integer
        $links:
          type: object
          properties:
            self:
              type: string
              format: uri-reference
              example: //example.com/path/to/object
            coordinator:
              type: string
              format: uri-reference
              example: //example.com/path/to/object
            logo:
              type: string
              format: uri-reference
              example: //example.com/path/to/object
        billing:
          type: string
        preferences:
          type: object
          properties:
            enforce2fa:
              type: boolean
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: >-
        Email address and password. A personal access token (`pat_…`) or session
        token (`token-…`) may also be sent in the password field, with any
        non-empty value as the username — a blank username short-circuits to a
        401 before the token is read.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: pat_<64 hex characters>
      description: >-
        A personal access token: `Authorization: Bearer pat_…`. Create one under
        Preferences → API Tokens, or with `POST /personal-access-tokens`. The
        token acts as its owner, with their full permissions.

````