Skip to main content

Get company addresses

GET 

/company/address/

Returns a paginated list of all addresses associated with the authenticated user's company.

Features:

  • Pagination (20 results per page by default)
  • Optional filtering by country code
  • Sorting by name and company

Example response:

{
docs: [
{
_id: 507f1f77bcf86cd799439011,
name: Head Office,
company_name: CargoOffer SL,
phone: +34912345678,
street: Example Street 123,
city: Madrid,
zipcode: 28045,
country: ES,
location: {
type: Point,
coordinates: [-3.703790, 40.416775]
},
isDefault: true,
can_be_deleted: false
}
],
total: 1,
limit: 20,
page: 1,
pages: 1
}

Notes:

  • Default addresses (isDefault=true) appear first
  • Requires authentication (JWT token or API Key)

Request

Responses

List of addresses