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

# Register a plot



## OpenAPI

````yaml /api-reference/openapi.json post /plots
openapi: 3.1.0
info:
  title: MicroCrop Partner API
  version: 1.0.0
  description: >-
    Parametric crop & livestock insurance API for integrating partners. All
    requests authenticate with an organization API key in the `x-api-key`
    header.
servers:
  - url: https://app.microcrop.app/api
    description: Production (Base mainnet)
security:
  - apiKey: []
tags:
  - name: Farmers
  - name: Plots
  - name: Herds
  - name: Policies
  - name: Payments
  - name: Payouts
  - name: Organization
  - name: Determinations
paths:
  /plots:
    post:
      tags:
        - Plots
      summary: Register a plot
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlotCreate'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Envelope'
components:
  schemas:
    PlotCreate:
      type: object
      required:
        - farmerId
        - name
        - latitude
        - longitude
        - acreage
        - cropType
      properties:
        farmerId:
          type: string
          format: uuid
        name:
          type: string
        latitude:
          type: number
          minimum: -90
          maximum: 90
        longitude:
          type: number
          minimum: -180
          maximum: 180
        acreage:
          type: number
          exclusiveMinimum: 0
        cropType:
          type: string
          enum:
            - MAIZE
            - BEANS
            - RICE
            - SORGHUM
            - MILLET
            - VEGETABLES
            - CASSAVA
            - SWEET_POTATO
            - BANANA
            - COFFEE
            - TEA
            - WHEAT
            - BARLEY
            - POTATOES
        plantingDate:
          type: string
          format: date
    Envelope:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````