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

# Create a new provider

> Create a new provider



## OpenAPI

````yaml /api-reference/openapi.json post /api/providers
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/providers:
    post:
      tags:
        - Providers
      summary: Create a new provider
      description: Create a new provider
      operationId: ProvidersController_createProvider
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateProviderDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolProvider'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    CreateProviderDto:
      type: object
      properties:
        name:
          type: string
          description: Provider name
        code:
          type: string
          description: Unique code/slug for provider
        description:
          type: string
          description: Provider description
        logoUrl:
          type: string
          description: Logo URL
        websiteUrl:
          type: string
          description: Official website URL
        supportEmail:
          type: string
          description: Support email
        company:
          type: string
          description: Company name
        licenseInfo:
          type: string
          description: License info
        apiDocsUrl:
          type: string
          description: API documentation URL
      required:
        - name
        - code
        - description
        - logoUrl
        - websiteUrl
        - supportEmail
        - company
        - licenseInfo
        - apiDocsUrl
    ToolProvider:
      type: object
      properties:
        id:
          type: string
        createdAt:
          format: date-time
          type: string
        updatedAt:
          format: date-time
          type: string
        name:
          type: string
          description: Provider name
        code:
          type: string
          description: Unique code/slug for provider
        description:
          type: string
          description: Provider description
        logoUrl:
          type: string
          description: Logo URL
        websiteUrl:
          type: string
          description: Official website URL
        supportEmail:
          type: string
          description: Support email
        company:
          type: string
          description: Company name
        licenseInfo:
          type: string
          description: License info
        apiDocsUrl:
          type: string
          description: API documentation URL
        isActive:
          type: boolean
          description: Is provider active
      required:
        - id
        - createdAt
        - updatedAt
        - name
        - code
        - description
        - logoUrl
        - websiteUrl
        - supportEmail
        - company
        - licenseInfo
        - apiDocsUrl
        - isActive

````