> ## 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 Record

> Create a record of a custom object type.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/crm/objects/{type_key}/records
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/objects/{type_key}/records:
    post:
      tags:
        - CRM objects
      summary: Create Record
      description: Create a record of a custom object type.
      operationId: create_crm_record
      parameters:
        - in: path
          name: type_key
          schema:
            title: Type Key
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RecordIn'
        required: true
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response
                type: object
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    RecordIn:
      properties:
        values:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Values by attribute key; a null value clears it
          title: Values
        links:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: >-
            Linked records by link type key: an id, a list of ids, or null.
            Replaces the records linked through that type.
          title: Links
      title: RecordIn
      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.