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

# Create Company

> Create a company. Users and contacts whose email is on one of its email domains join it.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/crm/companies
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/crm/companies:
    post:
      tags:
        - CRM
      summary: Create Company
      description: >-
        Create a company. Users and contacts whose email is on one of its email
        domains join it.
      operationId: create_crm_company
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyCreateIn'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    CompanyCreateIn:
      properties:
        name:
          title: Name
          type: string
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        size:
          anyOf:
            - type: string
            - type: 'null'
          description: ''''', 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000 or 5000+'
          title: Size
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
        lifecycle_stage:
          anyOf:
            - type: string
            - type: 'null'
          description: ''''', prospect, onboarding, customer or churned'
          title: Lifecycle Stage
        owner_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Account owner (sales), an active staff user; null clears it
          title: Owner Id
        csm_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Customer success manager, an active staff user; null clears it
          title: Csm Id
        arr:
          anyOf:
            - type: string
            - type: number
            - type: 'null'
          description: Annual recurring revenue; null clears it
          title: Arr
        currency:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 4217 code of arr, e.g. EUR
          title: Currency
        plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Plan
        contract_start_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD
          title: Contract Start Date
        renewal_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD; renewal deals open ahead of it
          title: Renewal Date
        custom_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Merged into the record; null value clears a key
          title: Custom Fields
        email_domains:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Replaces the company's email domains
          title: Email Domains
      required:
        - name
      title: CompanyCreateIn
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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