Create a lead
const url = 'https://api2.recruso.co.uk/v1/leads';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"clientName":"Northgate Foods Ltd","branchId":4,"mediaSourceId":6,"companyRegNumber":"08841972","vatYn":true,"vatRegNumber":"GB 412 8853 07","website":"https://www.example-northgate.co.uk","address1":"Northgate House","address2":"22 Ashburton Road West","town":"Trafford Park","county":"Greater Manchester","country":"United Kingdom","postCode":"M17 1RU","telephone1":"0161 872 4400","telephone2":"0161 872 4401","fax":"0161 872 4402","email":"operations@example-northgate.co.uk","notes":"Invoices must quote the site purchase order number."}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api2.recruso.co.uk/v1/leads \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "clientName": "Northgate Foods Ltd", "branchId": 4, "mediaSourceId": 6, "companyRegNumber": "08841972", "vatYn": true, "vatRegNumber": "GB 412 8853 07", "website": "https://www.example-northgate.co.uk", "address1": "Northgate House", "address2": "22 Ashburton Road West", "town": "Trafford Park", "county": "Greater Manchester", "country": "United Kingdom", "postCode": "M17 1RU", "telephone1": "0161 872 4400", "telephone2": "0161 872 4401", "fax": "0161 872 4402", "email": "operations@example-northgate.co.uk", "notes": "Invoices must quote the site purchase order number." }'Creates a lead — a prospective client — under your own agency. A lead is the same kind of record as a client, held at an earlier stage, and it carries only the fields worth capturing before the relationship is agreed: name, branch, address, contact details and notes.
Only clientName and branchId are required, and vatRegNumber becomes required when vatYn is true. Billing terms, invoicing preferences and Sage details are not part of a lead — they arrive when the lead becomes a client.
branchId must be a branch the Recruso user behind your API app can access. A branch outside that set returns 400, not 403.
Leads and clients share one identifier space. A lead’s id is never reused as a client id, but a lead id sent to a client endpoint returns 404 rather than the record: the two are told apart by type, not by range.
mediaSourceId is an id from your agency’s Recruitment sources lookup; one that does not exist returns 400. On success the response carries the new clientId and a Location header pointing at GetLeadById.
Access. Requires a client-credentials access token. Tokens issued through the interactive user login are rejected.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”The lead to create.
object
The client’s registered or trading name. Required, up to 100 characters.
Example
Northgate Foods LtdThe branch the client is managed under. Must be a branch the Recruso user behind your API app can access.
Example
4The recruitment source the client came from, as an id from your agency’s Recruitment sources lookup.
Example
6The client’s company registration number. Required, up to 20 characters.
Example
08841972Whether the client is VAT registered. When true, vatRegNumber is required.
Example
trueThe client’s VAT registration number. Required when vatYn is true.
Example
GB 412 8853 07The client’s website.
Example
https://www.example-northgate.co.ukFirst line of the client’s trading address. Required, up to 100 characters.
Example
Northgate HouseSecond line of the client’s trading address.
Example
22 Ashburton Road WestTown or city of the client’s trading address. Required, up to 50 characters.
Example
Trafford ParkCounty of the client’s trading address. Required, up to 50 characters.
Example
Greater ManchesterCountry of the client’s trading address. Required, up to 50 characters.
Example
United KingdomPostcode of the client’s trading address. Required, up to 15 characters.
Example
M17 1RUThe client’s main telephone number.
Example
0161 872 4400A second telephone number for the client.
Example
0161 872 4401The client’s fax number.
Example
0161 872 4402The client’s main email address.
Example
operations@example-northgate.co.ukFree-text notes about the client. Up to 2000 characters.
Example
Invoices must quote the site purchase order number.Responses
Section titled “Responses”Created
A newly created lead.
object
The client’s unique identifier, assigned by Recruso.
The client’s registered or trading name. Required, up to 100 characters.
The Recruso user the client is assigned to. Set to the user behind your API app when the client is created.
When the client record was created, in UK local time (GMT/BST). A legacy column carrying the same value as createdOn.
The branch the client is managed under. Must be a branch the Recruso user behind your API app can access.
The recruitment source the client came from, as an id from your agency’s Recruitment sources lookup.
The client’s company registration number. Required, up to 20 characters.
Whether the client is VAT registered. When true, vatRegNumber is required.
The client’s VAT registration number. Required when vatYn is true.
The client’s website.
The Recruso user who created the client.
When the client was created, in UK local time (GMT/BST) — not UTC.
First line of the client’s trading address. Required, up to 100 characters.
Second line of the client’s trading address.
Town or city of the client’s trading address. Required, up to 50 characters.
County of the client’s trading address. Required, up to 50 characters.
Country of the client’s trading address. Required, up to 50 characters.
Postcode of the client’s trading address. Required, up to 15 characters.
The client’s main telephone number.
A second telephone number for the client.
The client’s fax number.
The client’s main email address.
Free-text notes about the client. Up to 2000 characters.
Example
{ "clientId": 137, "clientName": "Northgate Foods Ltd", "userId": 12, "createdDate": "2026-03-04T09:12:44", "branchId": 4, "mediaSourceId": 6, "companyRegNumber": "08841972", "vatYn": true, "vatRegNumber": "GB 412 8853 07", "website": "https://www.example-northgate.co.uk", "createdBy": 12, "createdOn": "2026-03-04T09:12:44", "address1": "Northgate House", "address2": "22 Ashburton Road West", "town": "Trafford Park", "county": "Greater Manchester", "country": "United Kingdom", "postCode": "M17 1RU", "telephone1": "0161 872 4400", "telephone2": "0161 872 4401", "fax": "0161 872 4402", "email": "operations@example-northgate.co.uk", "notes": "Invoices must quote the site purchase order number."}Bad Request
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Unauthorized
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}
