GET /api/v2/addresses

This endpoint will return all addresses in the firm relevant to the user accessing them.

Headers

  • X-PLANNR-ACCOUNT-UUID string

Query parameters

  • filter[uuid] string

    Filter by a comma separated list of UUIDs.

  • filter[account_uuids] string

    Filter by a comma separated list of account UUIDs.

  • filter[circle_uuids] string

    Filter by a comma separated list of circle UUIDs.

  • include string

    Comma separated list of relationships to include in the response. Valid relationships are [accounts, primary_accounts].

  • sort string

    Field to sort by. Valid fields are [created_at, updated_at, address_1, postcode]. Negative sign to denote DESC. Defaults to '-created_at'.

  • per_page integer

    Number of results to return with pagination (Default 15. Max 500).

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • data array[object]
      Hide data attributes Show data attributes object
      • uuid string

        The UUID of the resource.

      • created_at string

        The timestamp of when the resource was created.

      • updated_at string

        The timestamp of when the resource was updated.

      • name string

        The friendly name for the address.

      • address_1 string

        The first line of the address.

      • address_2 string

        The second line of the address.

      • address_3 string

        The third line of the address.

      • address_4 string

        The fourth line of the address.

      • town_city string

        The town or city.

      • county string

        The county.

      • postcode string

        The postcode.

      • country string

        The country.

      • accounts object

        The accounts who own the address. This may not be included when viewing all addresses. Refer to the documentation to include this field.

        Hide accounts attributes Show accounts attributes object
        • uuid string
        • created_at string
        • updated_at string
        • type string
        • role string
        • first_name string
        • last_name string
        • name string
        • email string
        • photo_url string
        • external_references string
      • primary_accounts object

        The accounts who own the address and have it as their primary address. This may not be included when viewing all addresses. Refer to the documentation to include this field.

        Hide primary_accounts attributes Show primary_accounts attributes object
        • uuid string
        • created_at string
        • updated_at string
        • type string
        • role string
        • first_name string
        • last_name string
        • name string
        • email string
        • photo_url string
        • external_references string
      • moved_in_month integer

        The month the client moved into this address.

      • moved_in_year integer

        The year the client moved into this address.

      • moved_out_month integer

        The month the client moved out of this address.

      • moved_out_year integer

        The year the client moved out of this address.

      • residential_status string

        The client's residential status when living at the address.

      • residential_status_other string

        The client's residential status if it is not provided in the residential_status options. Must only be provided if residential_status is other.

      • lived_in_months integer

        The number of months the client lived in the address.

GET /api/v2/addresses
curl \
 --request GET 'https://api.plannrcrm.com/api/v2/addresses' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}"
Response examples (200)
{
  "data": [
    {
      "name": "Work Address",
      "uuid": "9c59f6f7-7e53-47e5-9657-1d6749a7570e",
      "county": "Hampshire",
      "country": "United Kingdom",
      "accounts": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "40154a59-a2d3-427d-8e4c-fce45c61c116",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-12-24T11:03:00+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-12-24T11:03:00+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "postcode": "PO7 7YH",
      "address_1": "Suite E, 5 The Briars",
      "address_2": "Waterberry Drive",
      "address_3": "The Innovative Centre",
      "address_4": "Waterlooville",
      "town_city": "Waterlooville",
      "created_at": "2025-12-24T11:03:00+00:00",
      "updated_at": "2025-12-24T11:03:00+00:00",
      "moved_in_year": 2022,
      "moved_in_month": 6,
      "moved_out_year": 2024,
      "lived_in_months": 19,
      "moved_out_month": 1,
      "primary_accounts": {
        "name": "Gareth Thompson",
        "role": "client",
        "type": "client",
        "uuid": "7cc41e79-e8dd-47ad-bc03-8ee811980a78",
        "email": "gareth@codepotato.co.uk",
        "last_name": "Thompson",
        "photo_url": "https://eu.ui-avatars.com/api/?name=Gareth+Thompson",
        "created_at": "2025-12-24T11:03:00+00:00",
        "first_name": "Gareth",
        "updated_at": "2025-12-24T11:03:00+00:00",
        "external_references": "App\\Http\\Resources\\ExternalReferenceResource"
      },
      "residential_status": "homeowner",
      "residential_status_other": "homeowner"
    }
  ]
}