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

# Get full address from short address code

> This endpoint retrieves the full address details based on the provided short address code. Useful for auto-filling property address information when only the short code is available.



## OpenAPI

````yaml /property-api-reference/openapi.json get /address-from-short
openapi: 3.0.1
info:
  title: OpenAPI For Property Insurance
  description: APIs for requesting and managing policies for your clients
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://sandbox.yasmina.ai/api/v1/property
  - url: https://production.yasmina.ai/api/v1/property
security:
  - bearerAuth: []
paths:
  /address-from-short:
    get:
      tags:
        - Addresses
      summary: Get full address from short address code
      description: >-
        This endpoint retrieves the full address details based on the provided
        short address code. Useful for auto-filling property address information
        when only the short code is available.
      parameters:
        - name: short_address
          in: query
          required: true
          schema:
            type: string
          example: RRRC7866
          description: Short address code provided by Saudi Post or similar systems
      responses:
        '200':
          description: Successfully retrieved address information
          content:
            application/json:
              schema:
                type: object
                properties:
                  street_name:
                    type: string
                    example: King Abdulaziz Road
                  building_number:
                    type: string
                    example: '345'
                  district_name:
                    type: string
                    example: Al Olaya
                  city_name:
                    type: string
                    example: Riyadh
                  additional_number:
                    type: string
                    example: '1234'
                  zip_code:
                    type: string
                    example: '12233'
                  unit_number:
                    type: string
                    example: 12B
        '400':
          description: Invalid or missing short address parameter
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: '40001'
                  message:
                    type: string
                    example: Invalid short address
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  responses:
    Unauthorized:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: '40101'
              message:
                type: string
                example: Unauthenticated
    NotFound:
      description: Record not found
      content:
        application/json:
          schema:
            type: object
            properties:
              code:
                type: string
                example: '40401'
              message:
                type: string
                example: Not found
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````