---
title: "AddressV2Response"
url: "https://developer.agentsync.io/apis/producer-sync-api/versions/953bc6f0-354b-4960-adc0-3acdb3d638a2/schemas/AddressV2Response"
---

> Full API specification: https://developer.agentsync.io/apis/producer-sync-api/versions/953bc6f0-354b-4960-adc0-3acdb3d638a2.md

# AddressV2Response

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: ProducerSync API
  version: v2.80.2
servers:
  - url: https://api.sandbox.agentsync.io
    description: Sandbox
components:
  schemas:
    AddressBaseResponse:
      type: object
      description: Common address fields shared across versions.
      properties:
        id:
          type: integer
          format: int64
          example: 1234567
          description: Unique identifier for the address.
        npn:
          type: string
          example: "18551108"
          description: National Producer Number associated with the address.
        transactionId:
          type: string
          format: uuid
          example: ae51f10b-8b5e-40ba-98a9-8f860392b344
        type:
          type: string
          enum:
            - BUSINESS
            - MAILING
            - RESIDENCE
          example: BUSINESS
          description: Type of address. One of `BUSINESS`, `MAILING`, `RESIDENCE`
        forState:
          type: string
          example: AL
          minLength: 2
          maxLength: 2
          description: State where the address applies.
        branchId:
          type: string
          example: ""
          description: Identifier for a related branch, if applicable.
        niprDateUpdated:
          type: string
          format: date
          example: 2024-12-01
          description: Last date NIPR reported an update to this address.
        createdAt:
          type: string
          format: date
          example: 2021-04-04
          description: Date of the creation of this record in AgentSync.
        updatedAt:
          type: string
          format: date
          example: 2024-12-02
          description: Date of the most recent update to this record in AgentSync.
        line1:
          type: string
          example: 789 S Washington Ave
          description: Street address.
        city:
          type: string
          example: Denver
          description: City of the address.
        state:
          type: string
          example: CO
          description: State of the address.
        zip:
          type: string
          example: "80211"
          description: ZIP or postal code.
        country:
          type: string
          example: U.S.A.
          description: Country of the address.
        niprDeleted:
          type: boolean
          example: false
          description: Indicates if the address was marked deleted by NIPR.
    SelfLink:
      type: object
      properties:
        self:
          type: object
          properties:
            href:
              type: string
              example: https://api.sandbox.agentsync.io/v1/{endpoint}/{id}
    AddressV2Response:
      allOf:
        - $ref: "#/components/schemas/AddressBaseResponse"
        - type: object
          properties:
            links:
              $ref: "#/components/schemas/SelfLink"
```
