Display jobs on your website
Search, paginate and display your published jobs and hiring brands.
On this page
List published postings with GET /jobs and retrieve an individual posting with GET /jobs/{job_id}. Both calls require jobs:read and your app key and secret.
List query parameters
| Parameter | Default | Rules |
|---|---|---|
limit | 20 | Integer from 1 to 100 |
offset | 0 | Integer zero or greater |
search | Empty | Up to 160 characters; matches title, department and location |
company_slug | All your hiring brands | Up to 160 characters; only brands in your company |
curl --fail-with-body --get "$KARWA_API_BASE/jobs" \
-H "X-Karwa-App-Key: $KARWA_APP_KEY" \
-H "Authorization: Bearer $KARWA_SECRET_KEY" \
--data-urlencode "search=engineer" \
--data-urlencode "limit=20" \
--data-urlencode "offset=0"Response
{
"items": [{
"id": "job-public-id",
"posting_id": "posting-id",
"title": "Software engineer",
"description": "<p>Build useful recruiting tools.</p>",
"company_name": "Example Company",
"company_slug": "example-company",
"department": "Engineering",
"location": "Riyadh",
"employment_type": "Full-time",
"workplace": "Hybrid",
"published_at": "2026-11-06T09:00:00Z",
"application_deadline": null,
"compensation_summary": null,
"apply_url": "https://<karwa-site>/example-company/jobs/job-public-id?posting_id=posting-id"
}],
"total": 1,
"limit": 20,
"offset": 0,
"has_more": false
}Field reference
| Field | Type | Use |
|---|---|---|
id | String | Public job ID for subsequent requests |
posting_id | String | Published posting ID; preserve alongside the job ID |
title, description | String | Candidate-facing posting content; description may contain HTML |
company_name, company_slug | String | Hiring brand identity |
department, location | String or null | Display and search information |
employment_type, workplace | String or null | Employment and location arrangement |
published_at, application_deadline | Timestamp or null | Publication time and application cutoff |
compensation_summary | String or null | Compensation only when configured for public display |
apply_url | String URL | Karwa's hosted application route for this posting |
Results are ordered by job publication time, newest first, then internal job ordering. Multiple postings from one job appear separately. Use (id, posting_id) as your UI key rather than id alone. Display null optional fields gracefully.
Paginate
Increase offset by limit while has_more is true. The result set can change while you paginate, so deduplicate by the pair of IDs when refreshing a long list. This is offset pagination, not a frozen snapshot or cursor.
import { KarwaClient } from "./karwa-api-client.mjs";
const client = new KarwaClient();
for await (const posting of client.allJobs({ search: "engineer" })) {
console.log(posting.id, posting.posting_id, posting.title);
}The downloadable client is in Server examples and OpenAPI.
Retrieve a posting
Call GET /jobs/{job_id}?posting_id={posting_id}. The response is one posting object, without the list envelope. Without posting_id, Karwa chooses the default eligible posting or the first eligible one. Pass the explicit ID to prevent switching postings between steps.
A brand filter cannot select another company's records. A guessed, confidential, unlisted, expired or closed posting returns 404. Do not cache a successful response indefinitely; handle a subsequent 404 by removing the listing and refreshing your page.