Skip to main content

Agency

Agency represents the tenants of the Recruso. Each agency operates independently, with its own data and configuration.

🏢 An agency corresponds to a recruitment business using Recruso to manage its branches, clients, workers, and financial operations.


Overview


Creation and Lifecycle

Agencies are not created or deleted through the public API. They are manually set up by the Recruso onboarding team during client implementation.

This ensures:

⚙️ If you are a new client integrating with Recruso CRM, your agency will be created as part of the onboarding process. Once created, you can use API endpoints to manage all entities under your agency (branches, clients, sites, workers, etc.).


API Endpoints

Get Current Agency

Retrieve details of the agency associated with the authenticated user.

GET /api/agency/

Response Example

{
  "name": "Recruso Ltd",
  "email": "support@recruso.co.uk",
  "phone": "08450 511 055",
  "workWeekStart": "Monday",
  "calendarYearStart": "2025-01-01",
  "holidayYearStart": "2025-01-01",
  "holidayCapHours": 48
}

Typical Usage

Client applications or partner systems do not create or modify agencies. Instead, they use:


Example Use Case

Scenario: A mobile app that syncs worker weekly plans needs to display work week boundaries correctly.

Steps:

  1. Call GET /api/agency to fetch weekEndingDate.
  2. Use the value to calculate start/end of weeks when displaying weekly plans.
  3. Continue using /api/workers/weeklyplans endpoints scoped to that agency.

Summary

Feature Availability
Create Agency ❌ Not allowed
Update Agency ⚙️ Admin only
Get Agency Details /api/agency
List Agencies ❌ Not allowed
Delete Agency ❌ Not allowed

👉 Next: Branches — Learn how to manage agency branches and their operational data.

For a complete list of request and response fields, and to test the endpoints interactively — click below.

Try it