Skip to content

Get agency details

GET
/v1/agency
curl --request GET \
--url https://api2.recruso.co.uk/v1/agency \
--header 'Authorization: <Authorization>'

Returns the configuration of the agency your credentials are bound to: contact details, the financial and holiday year, the working-week shape, and the AWR break thresholds. There is no agency identifier to pass — the agency is always your own.

Access. Requires a client-credentials access token. Tokens issued through the interactive user login are rejected.

OK

Media typeapplication/json

The configuration of a single agency: who they are, how their financial and holiday years are set up, how their working week is aligned, and the defaults applied to new workers.

object
ownerName
required

The agency’s trading name.

string
businessType
required

The agency’s legal form, e.g. Limited Company.

string
nullable
address1
required

First line of the agency’s registered address.

string
nullable
address2
required

Second line of the agency’s registered address.

string
nullable
postcode
required

Postcode of the agency’s registered address.

string
nullable
telephone1
required

Primary contact telephone number.

string
nullable
telephone2
required

Secondary contact telephone number.

string
nullable
mobile
required

Contact mobile number.

string
nullable
fax
required

Contact fax number.

string
nullable
email
required

Primary contact email address.

string
nullable
website
required

The agency’s public website.

string
nullable
vatNumber
required

The agency’s VAT registration number.

string
nullable
companyRegNumber
required

The agency’s Companies House registration number.

string
nullable
endOfTaxYear
required

The last day of the agency’s tax year.

string format: date-time
nullable
yearStartDate
required

The first day of the agency’s financial year.

string format: date-time
nullable
weekEndingDateOfFirstWeek
required

The week-ending date of the agency’s first trading week. Every booking, plan, timesheet and invoice aligns to a week-ending date derived from this anchor, so use it when calculating week boundaries locally rather than assuming a calendar week.

string format: date-time
nullable
currentNi
required
number format: float
nullable
freepay
required
number format: float
nullable
vatRate
required

The VAT percentage applied to invoices.

number format: double
nullable
smsPurchased
required
integer format: int32
nullable
employeeDefaultTaxCode
required

The tax code applied to a new worker when the create-worker request does not supply one.

string
nullable
customAccountNumber
required
boolean
nullable
blockTimesheetAgreement
required
string
nullable
firstDayOfWeek
required

The day the agency’s working week starts, e.g. Monday. Determines the shape of the week that WeekEndingDateOfFirstWeek anchors.

string
nullable
postCodeSearch
required
boolean
nullable
subbyNameInPlan
required
boolean
nullable
modifiedBy
required

The Recruso user id (tblUsers.UserID) that last changed the agency record, not the ASP.NET Identity id.

string
nullable
modifiedOn
required

When the agency record was last changed, in UK local time.

string format: date-time
nullable
holidayAccrualMethodId
required
integer format: uint8
nullable
awRBreakWeeks
required

Weeks of absence that break a worker’s Agency Worker Regulations qualifying period. The remaining AwR*BreakWeeks fields carry the same threshold for specific absence reasons.

integer format: int16
nullable
awRSicknessBreakWeeks
required

AWR qualifying-period break threshold for sickness absence.

integer format: int16
nullable
awRJuryServiceBreakWeeks
required

AWR qualifying-period break threshold for jury service.

integer format: int16
nullable
awRMaternityBreakWeeks
required

AWR qualifying-period break threshold for maternity leave.

integer format: int16
nullable
awRPaternityBreakWeeks
required

AWR qualifying-period break threshold for paternity leave.

integer format: int16
nullable
awRAdoptionBreakWeeks
required

AWR qualifying-period break threshold for adoption leave.

integer format: int16
nullable
awRUnpaidLeaveBreakWeeks
required

AWR qualifying-period break threshold for unpaid leave.

integer format: int16
nullable
holidayYearStartDate
required

The first day of the agency’s holiday year.

string format: date-time
nullable
holidayYearByWorkStartDate
required

When true, each worker’s holiday year runs from their own start date rather than from the agency-wide HolidayYearStartDate.

boolean
nullable
weeklyCappedHours
required

The maximum hours per week that count towards holiday accrual.

number format: double
nullable
weeksToCalculateAveragePay
required

The number of trailing weeks averaged when calculating a worker’s average pay.

number format: double
nullable
town
required

Town of the agency’s registered address.

string
nullable
county
required

County of the agency’s registered address.

string
nullable
country
required

Country of the agency’s registered address.

string
nullable
pageSize
required

The agency’s default page size for paged listings.

integer format: int32
nullable
sendSmsAs
required
string
nullable
workerDefaultStatus
required

The worker status type assigned to a newly created worker. When null, workers are created without a status.

integer format: int16
nullable
customSubContractorAccountNumber
required
boolean
nullable
bankDetails
required
string
nullable
healthAndSafety
required
string
nullable
ppe
required
string
nullable
assessmentDetails
required
string
nullable
trainingDetails
required
string
nullable
inductionDetails
required
string
nullable
smsPerBranch
required
boolean
nullable
pension
required
number format: float
nullable
ssp
required
number format: float
nullable
isRolledUpHoliday
required

When true, holiday pay is rolled up into the hourly rate rather than accrued and paid on leave.

boolean
nullable
calculateVatOnRateType
required
boolean
nullable
calculateVatOnClient
required
boolean
nullable
Examplegenerated
{
"ownerName": "example",
"businessType": "example",
"address1": "example",
"address2": "example",
"postcode": "example",
"telephone1": "example",
"telephone2": "example",
"mobile": "example",
"fax": "example",
"email": "example",
"website": "example",
"vatNumber": "example",
"companyRegNumber": "example",
"endOfTaxYear": "2026-04-15T12:00:00Z",
"yearStartDate": "2026-04-15T12:00:00Z",
"weekEndingDateOfFirstWeek": "2026-04-15T12:00:00Z",
"currentNi": 1,
"freepay": 1,
"vatRate": 1,
"smsPurchased": 1,
"employeeDefaultTaxCode": "example",
"customAccountNumber": true,
"blockTimesheetAgreement": "example",
"firstDayOfWeek": "example",
"postCodeSearch": true,
"subbyNameInPlan": true,
"modifiedBy": "example",
"modifiedOn": "2026-04-15T12:00:00Z",
"holidayAccrualMethodId": 1,
"awRBreakWeeks": 1,
"awRSicknessBreakWeeks": 1,
"awRJuryServiceBreakWeeks": 1,
"awRMaternityBreakWeeks": 1,
"awRPaternityBreakWeeks": 1,
"awRAdoptionBreakWeeks": 1,
"awRUnpaidLeaveBreakWeeks": 1,
"holidayYearStartDate": "2026-04-15T12:00:00Z",
"holidayYearByWorkStartDate": true,
"weeklyCappedHours": 1,
"weeksToCalculateAveragePay": 1,
"town": "example",
"county": "example",
"country": "example",
"pageSize": 1,
"sendSmsAs": "example",
"workerDefaultStatus": 1,
"customSubContractorAccountNumber": true,
"bankDetails": "example",
"healthAndSafety": "example",
"ppe": "example",
"assessmentDetails": "example",
"trainingDetails": "example",
"inductionDetails": "example",
"smsPerBranch": true,
"pension": 1,
"ssp": 1,
"isRolledUpHoliday": true,
"calculateVatOnRateType": true,
"calculateVatOnClient": true
}

Unauthorized

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Media typeapplication/problem+json
object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}