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

# Post organisations hubs

> Create a new Hub for the provided organisation. No request body required as all parameters
provided by server.




## OpenAPI

````yaml post /organisations/{organisationId}/hubs
openapi: 3.0.3
info:
  title: Switchboard API
  description: >-
    The Switchboard API provides users the ability to manage their Apps,
    Integrations and Workflows
  version: 0.0.1-alpha.0
servers:
  - url: https://platform.versori.com/api/switchboard/v1alpha1/
    description: Production server
  - url: http://localhost:8080/v1alpha1/
    description: Localhost
security:
  - apiKey: []
paths:
  /organisations/{organisationId}/hubs:
    post:
      tags:
        - hubs
      description: >
        Create a new Hub for the provided organisation. No request body required
        as all parameters

        provided by server.
      operationId: CreateHub
      parameters:
        - name: organisationId
          in: path
          required: true
          schema:
            type: string
          example: '101'
      requestBody:
        $ref: '#/components/requestBodies/CreateHubRequest'
      responses:
        '200':
          $ref: '#/components/responses/GetHubResponse'
        default:
          $ref: '#/components/responses/ErrorResponse'
components:
  requestBodies:
    CreateHubRequest:
      description: |
        Payload to create a new Hub.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/HubCreate'
  responses:
    GetHubResponse:
      description: A single Hub result
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Hub'
    ErrorResponse:
      description: The default error response
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    HubCreate:
      type: object
      properties:
        name:
          type: string
      required:
        - name
    Hub:
      type: object
      properties:
        id:
          type: string
        orgId:
          type: string
        name:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        deletedAt:
          type: string
          format: date-time
      required:
        - id
        - orgId
        - name
        - createdAt
        - updatedAt
    Error:
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        extensions:
          type: object
      required:
        - code
        - message
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization

````