---
title: "Get All Addresses"
method: GET
path: "/all-addresses"
tags: ["User Management"]
---

# Get All Addresses

`GET /all-addresses`

## Request

- Base URL: `https://queries.test.envia.com`
- URL: `https://queries.test.envia.com/all-addresses`
- Auth: HTTP bearer

Returns the complete list of addresses saved in the authenticated user's address book. These are reusable origin and destination addresses that can be referenced when creating shipments.

**When to use:** Call this endpoint to populate address selection dropdowns in your shipping forms, display the user's address book for management, or retrieve saved addresses for auto-fill during shipment creation.

**Prerequisites:**
- Valid JWT token in the Authorization header

**Key behaviors:**
- Returns all addresses associated with the authenticated user's account
- Each address includes its `address_id`, which can be used to update (`PUT /user-address/{address_id}`) or delete (`DELETE /user-address/{address_id}`) the entry
- Results are not paginated; all addresses are returned in a single response
- To filter addresses by type (e.g., origin vs destination), use `GET /all-addresses/{type}` instead

## Response `200`

Successful response

- object
  - `success` boolean: Indicates if the request was successful
  - `data` object[]: List of addresses
    - `address_id` integer: Address ID
    - `user_id` integer: User ID
    - `address` object: Address information

---

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