Skip to main content

List Sites

GET/sites
Agency-scoped keys

This endpoint is not available for agency-scoped API keys.

Summary​

Returns a paginated list of project sites available to the API key, with filters for company, project, status, search, and creation date.

URL Parameters​

  • None

Query Parameters​

NameTypeRequiredDescription
companystringNoFilter by company id(s). Pass a single id or comma-separated ids. If omitted, data for all companies linked to the API key is returned.
pageintegerNoPage number (default 1)
limitintegerNoRecords per page (default 50, max 200)
statusenum(active, inactive)NoFilter by site status
projectstringNoFilter by a single project id. Repeated parameters and non-string values return 400.
querystringNoCase-insensitive search against site name
fromstringNoCreated date filter start (YYYY-MM-DD)
tostringNoCreated date filter end (YYYY-MM-DD)
sortByenum(createdAt, updatedAt, name)NoSort field (default name)
sortOrderenum(asc, desc)NoSort direction (default asc)
fieldsstringNoComma-separated list of response fields or dot-path nested fields to return

Request Example​

curl -X GET 'https://api.requidex.com/api/open/v1/sites' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields​

FieldTypeDescription
activebooleanWhether site is active
addressobjectSite address details
Show child attributes
  • lineOne string - Address line one
  • lineTwo string - Address line two
  • city string - City
  • region string - Region
  • country string - Country
  • code string - Postal code
  • latitude number - Latitude
  • longitude number - Longitude
companyobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
createdAtstringCreation timestamp
emailstringSite contact email
idstringSite id
namestringSite name
phoneobject
Show child attributes
  • countryCode string - Country dialing code
  • number string - Phone number
projectobject
Show child attributes
  • id string - Entity id
  • name string - Entity name
updatedAtstringLast update timestamp

Response Example (200)​

{
"success": true,
"data": [
{
"id": "67bc36db80a1616ec3f47055",
"name": "Manchester Central",
"project": {
"id": "67bc36db80a1616ec3f47011",
"name": "Northern Rail Electrification"
},
"company": {
"id": "67bc36db80a1616ec3f47001",
"name": "Requidex Construction Ltd"
},
"active": true,
"email": "site.manager@requidex.com",
"phone": {
"countryCode": "+44",
"number": "1234567891"
},
"address": {
"line1": "1 Station Approach",
"city": "Manchester",
"postcode": "M1 1AA"
},
"createdAt": "2025-02-01T09:00:00.000Z",
"updatedAt": "2026-02-20T14:03:12.111Z"
}
],
"meta": {
"page": 1,
"limit": 50,
"total": 1
}
}

MCP Tool​

The MCP server exposes this operation as open_api_list_sites with the inputs company, page, limit, status, project, query, from, to, sortBy, sortOrder, and fields.

Errors​

HTTP StatusDescription
401Missing, invalid, revoked, or expired API key
403Forbidden due to scope or IP restrictions
405Method not allowed on Open API routes
429Rate limit exceeded
500Unexpected internal error