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

# Create Address



## OpenAPI

````yaml post /v1/addresses
openapi: 3.0.0
info:
  title: Corebanq - Addresses API
  description: API endpoints for address management
  version: 1.0.0
servers: []
security: []
tags:
  - name: Addresses
    description: Address management operations
paths:
  /v1/addresses:
    post:
      summary: Create new address
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAddressInput'
      responses:
        '201':
          description: Address created successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressResponse'
components:
  schemas:
    CreateAddressInput:
      type: object
      required:
        - rec_id
        - rec_type
        - type
        - street
        - postal_code
        - city
        - country
      properties:
        rec_id:
          type: string
          format: uuid
        rec_type:
          type: string
          enum:
            - customer
            - user
            - company
        type:
          type: string
          enum:
            - registration
            - actual
            - operational
            - correspondence
            - billing
        street:
          type: string
          maxLength: 255
        number:
          type: string
          maxLength: 50
        additional:
          type: string
          maxLength: 255
        postal_code:
          type: string
          minLength: 3
          maxLength: 10
        city:
          type: string
          maxLength: 100
        state:
          type: string
          maxLength: 100
        country:
          type: string
          minLength: 2
          maxLength: 2
        is_primary:
          type: boolean
          default: false
        metadata:
          type: object
    AddressResponse:
      type: object
      properties:
        id:
          type: string
          format: uuid
        rec_id:
          type: string
          format: uuid
        rec_type:
          type: string
        type:
          type: string
        street:
          type: string
        number:
          type: string
        additional:
          type: string
        postal_code:
          type: string
        city:
          type: string
        state:
          type: string
        country:
          type: string
        is_primary:
          type: boolean
        metadata:
          type: object
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time

````