Skip to main content

GET /projects/{id}/connected-agencies

Agency-scoped keys

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

Summary

List connected agencies

URL Parameters

NameTypeRequiredDescription
idstringYesProject identifier

Query Parameters

NameTypeRequiredDescription
pageintegerNoPage number (default 1)
limitintegerNoRecords per page (default 50, max 200)
querystringNoCase-insensitive search against connected-agency name and email
fromstringNoCreated date filter start (YYYY-MM-DD)
tostringNoCreated date filter end (YYYY-MM-DD)
sortByenum(createdAt, updatedAt, name, tier)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/projects/{id}/connected-agencies' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Accept: application/json'

Response Fields

FieldTypeDescription
afpbooleanWhether AfP is enabled
agencyobject
Show child attributes
  • id string - Agency id
  • name string - Agency name
cisobjectOptional CIS status object
Show child attributes
  • name string - CIS label
  • value number - CIS numeric value
  • display string - CIS display value
connectionLevelstringWhether the connection comes from the project itself or from the parent company
createdAtstringCreation timestamp
drcbooleanWhether domestic reverse charge is enabled
emailstringOverride email address for the connected agency
idstringConnected-agency record id
invoicebooleanWhether invoicing is enabled for the connected agency
markupAdjustmentnumberMarkup adjustment value
paymentTermsobjectOptional payment terms object
Show child attributes
  • days number - Payment term day count
  • term string - Payment term label
rateUpliftsarray[object]Custom uplift rules
Show child attributes
  • description string - Uplift description
  • type string - Uplift type key
  • uplift number - Default uplift percentage
  • regions array[object] - Region-specific overrides with id, name, and uplift
restrictedbooleanWhether the connected agency is restricted
tierintegerAgency tier
updatedAtstringLast update timestamp

Response Example (200)

{
"success": true,
"data": [
{
"id": "67bc36db80a1616ec3f47071",
"agency": {
"id": "67bc36db80a1616ec3f47060",
"name": "Agency One"
},
"connectionLevel": "project",
"cis": {
"name": "Gross",
"value": 0,
"display": "0%"
},
"tier": 1,
"restricted": false,
"invoice": true,
"drc": false,
"afp": false,
"email": "project-ops@agency-one.example",
"paymentTerms": {
"days": 14,
"term": "invoice"
},
"markupAdjustment": 10,
"rateUplifts": [
{
"description": "Nightwork (Mon-Fri)",
"type": "nightworkWeekday",
"uplift": 25,
"regions": []
}
],
"createdAt": "2026-01-12T12:00:00.000Z",
"updatedAt": "2026-02-21T14:03:12.111Z"
},
{
"id": "67bc36db80a1616ec3f47072",
"agency": {
"id": "67bc36db80a1616ec3f47061",
"name": "Agency Two"
},
"connectionLevel": "company",
"cis": null,
"tier": 2,
"restricted": false,
"invoice": true,
"drc": false,
"afp": false,
"email": null,
"paymentTerms": null,
"markupAdjustment": 8,
"rateUplifts": [
{
"description": "Bank Holiday",
"type": "bankHoliday",
"uplift": 100,
"regions": []
}
],
"createdAt": "2026-01-05T12:00:00.000Z",
"updatedAt": "2026-02-19T14:03:12.111Z"
}
],
"meta": {
"page": 1,
"limit": 50,
"total": 2
}
}

Errors

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