---
title: "List all addresses"
method: GET
path: "/addresses"
tags: ["Addresses"]
---

# List all addresses

`GET /addresses`

## Request

- Base URL: `https://api.samsara.com`
- URL: `https://api.samsara.com/addresses`
- Auth: HTTP bearer

Returns a list of all addresses in an organization. 

 **Submit Feedback**: Likes, dislikes, and API feature requests should be filed as feedback in our <a href="https://forms.gle/zkD4NCH7HjKb7mm69" target="_blank">API feedback form</a>. If you encountered an issue or noticed inaccuracies in the API documentation, please <a href="https://www.samsara.com/help" target="_blank">submit a case</a> to our support team.

To use this endpoint, select **Read Addresses** under the Addresses category when creating or editing an API token. <a href="https://developers.samsara.com/docs/authentication#scopes-for-api-tokens" target="_blank">Learn More.</a>

## Query parameters

- `limit` integer
- `after` string
- `parentTagIds` string[]
- `tagIds` string[]
- `createdAfterTime` string

## Response `200`

List of all addresses in the organization

- ListAddressesResponse: A list of Addresses and pagination information.
  - `data` Address[], required: A list of Addresses.
    - `addressTypes` string[]: Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`.
    - `contacts` ContactTinyResponse[]: An array Contact mini-objects that are associated the Address.
      - `firstName` string: First name of the contact.
      - `id` string: ID of the contact.
      - `lastName` string: Last name of the contact.
    - `createdAtTime` string, date-time: The date and time this address was created in RFC 3339 format.
    - `externalIds` object: The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object.
    - `formattedAddress` string, required: The full street address for this address/geofence, as it might be recognized by Google Maps.
    - `geofence` AddressGeofence, required: The geofence that defines this address and its bounds. This can either be a circle or a polygon, but not both.
      - `circle` AddressGeofenceCircle: Information about a circular geofence. This field is only needed if the geofence is a circle.
        - `latitude` number, double: Latitude of the address. Will be geocoded from `formattedAddress` if not provided.
        - `longitude` number, double: Longitude of the address. Will be geocoded from `formattedAddress` if not provided.
        - `radiusMeters` integer, required: The radius of the circular geofence in meters.
      - `polygon` AddressGeofencePolygon: Information about a polygon geofence. This field is only needed if the geofence is a polygon.
        - `vertices` AddressGeofencePolygonVertices[], required: The vertices of the polygon geofence. These geofence vertices describe the perimeter of the polygon, and must consist of at least 3 vertices and less than 40.
          - `latitude` number, double, required: The latitude of a geofence vertex in decimal degrees.
          - `longitude` number, double, required: The longitude of a geofence vertex in decimal degrees.
      - `settings` AddressGeofenceSettings: Information about a geofence's settings.
        - `showAddresses` boolean: If this property is set to true, then underlying geofence addresses will be shown in reports instead of a geofence's name.
    - `id` string, required: ID of the Address.
    - `latitude` number, double: Latitude of the address. Will be geocoded from `formattedAddress` if not provided.
    - `longitude` number, double: Longitude of the address. Will be geocoded from `formattedAddress` if not provided.
    - `name` string, required: Name of the address.
    - `notes` string: Notes about the address.
    - `tags` TagTinyResponse[]: An array of all tag mini-objects that are associated with the given address entry.
      - `id` string: ID of the tag.
      - `name` string: Name of the tag.
      - `parentTagId` string: If this tag is part a hierarchical tag tree, this is the ID of the parent tag, otherwise this will be omitted.
  - `pagination` PaginationResponse, required: Pagination parameters.
    - `endCursor` string, string, required: Cursor identifier representing the last element in the response. This value should be used in conjunction with a subsequent request's 'after' query parameter. This may be an empty string if there are no more pages left to view.
    - `hasNextPage` boolean, required: True if there are more pages of results immediately available after this endCursor.

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/samsara/apis/samsara-api.md) - [All operations](https://skmtc.dev/samsara/apis/samsara-api/llms.txt) - [OpenAPI document](https://skmtc.dev/samsara/apis/samsara-api/revisions/a9e35d4999be?raw)
