Partner API v1
Post jobs and receive applications
For multiposters and recruitment systems. Base address: https://thatzeasy.co.uk/api/partner/v1
Getting started
- The agency is approved and has signed the partnership agreement.
- In the app, My agency → Connect your jobs → Create API key. The key starts with
tzp_and is shown once. - Send it on every request:
Authorization: Bearer tzp_... - Test it with
GET /ping.
Candidates always apply inside ThatzEasy, and only after they agree to share their profile and CV with the agency. Jobs do not link to an outside application page.
Endpoints
| Method | Path | What it does |
|---|---|---|
| GET | /ping | Tests your key. Returns the agency name. |
| POST | /jobs | Create or update one job or {"jobs":[...]} (up to 100). JSON or XML. Matches by reference. |
| PUT | /jobs/{reference} | Create or update one job by the reference in the address. |
| DELETE | /jobs/{reference} | Close the job. Safe to repeat. Applications already made stay. |
| GET | /jobs?status=active|closed|all | List the agency's jobs that came through the API, a feed or a file. |
| GET | /applications?since=ISO8601&limit=100 | Applications to the agency's jobs, only from candidates who agreed to share their details. |
| GET | /applications/{id}/cv | The CV as a PDF. |
| POST | /applications/{id}/status | Set the status. See below. |
Job fields
| Field | Required | Notes |
|---|---|---|
reference | Required | Your own id for the job. Up to 100 characters: letters, digits and . _ : / - |
title | Required | Job title (up to 200 characters) |
company_name | Required | Employer name. Use "Confidential" if it must stay private |
location | Optional | Town or area |
postcode | Optional | UK postcode |
description | Optional | Plain text or HTML. Only p, br, ul, ol, li, strong, b, em, i, h3, h4 and a (https links) are kept; everything else is removed |
contract_type | Optional | permanent, contract, temporary, part_time or full_time (perm and temp also work) |
hours | Optional | For example "37.5 hours" |
salary_min, salary_max | Optional | Numbers |
salary_period | Optional | hour, day, week, month or year |
salary_text | Optional | For example "Competitive" |
closing_date | Optional | YYYY-MM-DD |
application_email | Optional | Where applications for this job are e-mailed (for example a Broadbean or idibu tracking address) |
remote | Optional | true or false |
Sending the same reference again updates the job. The same content again answers unchanged. Temporary and contract jobs are marked as temporary placements.
Examples
Post a job (JSON):
curl https://thatzeasy.co.uk/api/partner/v1/jobs \
-H "Authorization: Bearer tzp_..." \
-H "Content-Type: application/json" \
-d '{
"jobs": [{
"reference": "BB-1001",
"title": "Care Assistant",
"company_name": "Confidential",
"location": "Leeds",
"contract_type": "permanent",
"salary_min": 24000, "salary_max": 27000, "salary_period": "year",
"closing_date": "2026-12-31",
"application_email": "jobs+bb1001@agency.example",
"description": "<p>Support residents in a friendly care home.</p>"
}]
}'Answer:
{
"results": [
{ "reference": "BB-1001", "id": 412, "status": "created",
"url": "https://thatzeasy.co.uk/app/#agency-jobs/412" }
],
"created": 1, "updated": 0, "unchanged": 0, "error": 0
}The same in XML (send with Content-Type: application/xml). XML with a DOCTYPE or ENTITY declaration is refused:
<jobs>
<job>
<reference>BB-1002</reference>
<title>Driver</title>
<company_name>Acme Ltd</company_name>
<location>York</location>
<contract_type>temporary</contract_type>
<description><p>Local deliveries.</p></description>
</job>
</jobs>CSV (feeds and spreadsheet uploads):
reference,title,company_name,location,contract_type,salary_min,salary_max,closing_date
BB-1003,Cleaner,Acme Ltd,Hull,part_time,11.5,12.5,2026-12-15Application status
POST /applications/{id}/status with {"status": "interview", "note": "Please call us"}. Statuses: received, reviewing, shortlisted, interview, offered, hired, rejected, withdrawn_by_agency. The candidate sees the status and your note in the app. For hired, add start_date (YYYY-MM-DD) to record the placement; for a temporary placement also placement_type = temporary, hourly_gross_margin_gbp and weekly_hours.
Feeds and spreadsheets
Instead of the API, an agency can give a feed address (XML, RSS, JSON or CSV with the same field names) or upload an Excel or CSV file in the app. A feed address must start with https://. We read feeds about once an hour. Jobs missing from a feed that was read successfully are closed. Nothing is closed if the feed cannot be fetched, cannot be read, or suddenly shows no jobs.
Receiving applications
The agency chooses in the app. By e-mail: sent to the job's application_email if it has one, otherwise the agency's default address, with subject Application: <job title> (<reference>) - <candidate name> and the CV as a PDF. By webhook (below), or by collecting them with GET /applications.
Webhooks
Events: application.created, application.withdrawn (no personal details) and ping. We send a POST with the header X-ThatzEasy-Signature: t=<unix time>,v1=<hex>, where v1 is HMAC-SHA256 of "t." + raw body with your secret (shown once when the agency saves the address). Answer with any 2xx. If you do not, we try again up to 8 times over about 24 hours. Callback addresses must be https and public.
{
"event": "application.created",
"created_at": "2026-11-12T10:15:00+00:00",
"application": {
"id": 77, "public_id": "APP-...", "job_id": 412, "job_reference": "BB-1001",
"job_title": "Care Assistant", "applied_at": "2026-11-12T10:14:55+00:00", "status": "submitted",
"candidate": { "first_name": "Pat", "last_name": "Example", "email": "pat@example.com",
"phone": "", "location": "Leeds" },
"cover_letter": "...",
"cv_url": "https://thatzeasy.co.uk/api/partner/v1/applications/77/cv"
}
}Checking the signature in Python:
import hashlib, hmac, time
def verify(secret: str, header: str, body: bytes, tolerance=300) -> bool:
parts = dict(p.split("=", 1) for p in header.split(","))
t, sig = parts["t"], parts["v1"]
if abs(time.time() - int(t)) > tolerance:
return False
expected = hmac.new(secret.encode(), t.encode() + b"." + body, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected, sig)And in Node.js:
const crypto = require("crypto");
function verify(secret, header, rawBody, tolerance = 300) {
const parts = Object.fromEntries(header.split(",").map(p => p.split(/=(.*)/s).slice(0, 2)));
if (Math.abs(Date.now() / 1000 - Number(parts.t)) > tolerance) return false;
const expected = crypto.createHmac("sha256", secret)
.update(parts.t + "." + rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
}Errors and limits
Errors look like {"error": {"code": "...", "message": "..."}}. Codes: 400 invalid request, 401 key missing or not valid, 403 agency not approved or partner access switched off, 404 not found, 413 body over 1 MB, 422 the job was rejected, 429 too many requests.
- 120 requests a minute for each key.
- 1 MB for each request, 100 jobs in one call.
- 1,000 active jobs for each agency.
- An agency can have up to 5 active keys and can revoke any of them at once.
Questions? hello@thatzeasy.co.uk · Back to Partners