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

# Get apiv2organizations postcodes



## OpenAPI

````yaml https://api.osiro.com/doc get /api/v2/organizations/{orgId}/postcodes
openapi: 3.0.0
info:
  title: osiro API
  version: 2.0.0
servers: []
security: []
tags:
  - name: Funnel
    description: Public funnel rendering, submission, Lead verification, and analytics.
  - name: Booking
    description: A lead's cancel and reschedule of their booking, via the manage link.
  - name: Training
    description: Org-scoped sales-training catalogs, sessions, and call records.
  - name: Attribution
    description: Cross-domain PostHog identity handoff for the marketing site.
  - name: Billing
    description: Org-scoped checkouts, plans, trials and the Stripe billing portal.
  - name: Leads
    description: Org-scoped lead reads and actions.
  - name: Ad copy
    description: Org-scoped ad guidelines and Meta ad copy generation.
paths:
  /api/v2/organizations/{orgId}/postcodes:
    get:
      tags:
        - Postcodes
      parameters:
        - schema:
            type: string
            format: uuid
          required: true
          name: orgId
          in: path
        - schema:
            anyOf:
              - type: string
                pattern: ^\d{2,5}$
              - type: array
                items:
                  type: string
                  pattern: ^\d{2,5}$
            description: >-
              Postcode entries: a full 5-digit PLZ or a 2- to 4-digit prefix.
              Repeat the parameter for several, at most 200 per request so the
              URL stays short; send more in batches.
            example:
              - '80331'
              - '76'
          required: true
          description: >-
            Postcode entries: a full 5-digit PLZ or a 2- to 4-digit prefix.
            Repeat the parameter for several, at most 200 per request so the URL
            stays short; send more in batches.
          name: entries
          in: query
      responses:
        '200':
          description: >-
            Each requested entry the postcode table knows, with its cities and,
            for a full PLZ, its point. Unknown entries are left out.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostcodeLookup'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: Rate limited
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    PostcodeLookup:
      type: object
      properties:
        entries:
          type: object
          additionalProperties:
            type: object
            properties:
              cities:
                type: array
                items:
                  type: string
              cityCount:
                type: integer
              point:
                type: object
                nullable: true
                properties:
                  lat:
                    type: number
                  lon:
                    type: number
                required:
                  - lat
                  - lon
            required:
              - cities
              - cityCount
              - point
      required:
        - entries
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
            - code
            - message
      required:
        - error

````

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