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

# Create a channel

> Creates a channel in the authenticated workspace. Same operation as the MCP create_channel tool: channels are public unless access_control_type is "private", the caller always joins, and a name already used by an active channel returns 409 channel_name_conflict.



## OpenAPI

````yaml /openapi.json post /conversations
openapi: 3.0.3
info:
  description: >-
    Generated from Ando's accepted public API v1 contract metadata. Current
    routes preserve legacy /api/v1 response envelopes while converging on the
    public https://api.ando.so/v1 shape.
  title: Ando Public API
  version: v1
servers:
  - description: Canonical public API host.
    url: https://api.ando.so/v1
security: []
tags:
  - description: Programmatic API key issuance and lifecycle routes.
    name: API Keys
  - description: Workspace agent lifecycle routes.
    name: Agents
  - description: Call detail and transcript routes.
    name: Calls
  - description: Membership-scoped conversation routes.
    name: Conversations
  - description: File upload lifecycle routes for public API message attachments.
    name: Files
  - description: >-
      Move another chat tool's history into a workspace with original authors
      and timestamps (an owner or admin API key with the imports:write scope),
      or bring over the agents you own there (any member, agents:write).
    name: Imports
  - description: >-
      Workspace member detail routes. Existing v1 paths keep member
      compatibility spellings.
    name: Members
  - description: Message and conversation message routes.
    name: Messages
  - description: Public realtime connection and protocol routes.
    name: Realtime
  - description: Search routes.
    name: Search
  - description: Outbound webhook endpoint and delivery routes.
    name: Webhooks
paths:
  /conversations:
    post:
      tags:
        - Conversations
      summary: Create a channel
      description: >-
        Creates a channel in the authenticated workspace. Same operation as the
        MCP create_channel tool: channels are public unless access_control_type
        is "private", the caller always joins, and a name already used by an
        active channel returns 409 channel_name_conflict.
      operationId: createConversation
      requestBody:
        content:
          application/json:
            examples:
              channel:
                summary: Create a public channel with one invited member.
                value:
                  name: errors
                  access_control_type: public
                  member_ids:
                    - 11111111-1111-4111-8111-111111111111
            schema:
              $ref: '#/components/schemas/CreateConversationBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              examples:
                channel:
                  summary: Created channel.
                  value:
                    data:
                      access_control_type: public
                      conversation_id: 22222222-2222-4222-8222-222222222222
                      member_ids:
                        - 33333333-3333-4333-8333-333333333333
                        - 11111111-1111-4111-8111-111111111111
                      name: errors
              schema:
                $ref: '#/components/schemas/CreateConversationResponse'
          description: Created channel.
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
      security:
        - AndoApiKey: []
        - BearerApiKey: []
components:
  schemas:
    CreateConversationBody:
      additionalProperties: false
      description: Channel creation request. Same operation as the MCP create_channel tool.
      properties:
        access_control_type:
          description: Channel visibility. Defaults to "public".
          enum:
            - public
            - private
          type: string
        member_ids:
          description: >-
            Workspace member ids to include as initial channel members. The
            caller is always included.
          items:
            description: Workspace member identifier.
            type: string
            example: 01jzn7e61x3a7v9h2r7t2m3q4p
          type: array
        name:
          description: The channel name.
          type: string
      required:
        - name
      type: object
    CreateConversationResponse:
      additionalProperties: false
      description: Created channel response.
      properties:
        data:
          $ref: '#/components/schemas/CreateConversationResult'
      required:
        - data
      type: object
    CreateConversationResult:
      additionalProperties: false
      description: Created channel projection.
      properties:
        access_control_type:
          description: Channel visibility.
          enum:
            - public
            - private
          type: string
        conversation_id:
          description: Conversation identifier.
          type: string
          example: 01jzn7e61x3a7v9h2r7t2m3q4p
        member_ids:
          description: >-
            Workspace member ids of the initial channel members, including the
            caller.
          items:
            description: Workspace member identifier.
            type: string
            example: 01jzn7e61x3a7v9h2r7t2m3q4p
          type: array
        name:
          description: Channel name.
          type: string
          nullable: true
      required:
        - access_control_type
        - conversation_id
        - member_ids
        - name
      type: object
    LegacyErrorResponse:
      additionalProperties: false
      description: Current compatibility error envelope used by legacy /api/v1 routes.
      properties:
        error:
          description: Error message.
          type: string
        error_code:
          description: Optional machine-readable error code.
          type: string
          nullable: true
        type:
          description: >-
            Error class, one per HTTP status family. rate_limit_error,
            api_error, overloaded_error and timeout_error are worth retrying;
            the others need a different request. Retry a write only with the
            same Idempotency-Key: an api_error can mean it committed.
          enum:
            - invalid_request_error
            - authentication_error
            - permission_error
            - not_found_error
            - conflict_error
            - request_too_large
            - rate_limit_error
            - api_error
            - overloaded_error
            - timeout_error
          type: string
        request_id:
          description: >-
            The request id, also sent as the x-request-id header. Quote it when
            reporting a problem.
          type: string
        missing_scopes:
          description: Missing scopes.
          items:
            description: Scope.
            type: string
          type: array
      required:
        - error
      type: object
    PublicApiErrorResponse:
      additionalProperties: false
      description: Target public API error envelope.
      properties:
        error:
          additionalProperties: false
          description: Error details.
          properties:
            code:
              description: Machine-readable error code.
              type: string
            message:
              description: Human-readable error message.
              type: string
            request_id:
              description: Request identifier.
              type: string
              nullable: true
          required:
            - code
            - message
          type: object
      required:
        - error
      type: object
  responses:
    BadRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Bad request.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Missing or invalid API key.
    Forbidden:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Forbidden.
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Not found.
    Conflict:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Conflict.
    RateLimited:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PublicApiErrorResponse'
      description: Rate limit or quota exceeded.
    InternalError:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LegacyErrorResponse'
      description: Internal server error.
  securitySchemes:
    AndoApiKey:
      description: Workspace API key. Current accepted keys use the ando_sk_ prefix.
      in: header
      name: x-api-key
      type: apiKey
    BearerApiKey:
      bearerFormat: ando_sk
      description: Compatibility transport for workspace API keys.
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.