Browse API documentation
Implementation guidesv1

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

ParameterDefaultRules
limit20Integer from 1 to 100
offset0Integer zero or greater
searchEmptyUp to 160 characters; matches title, department and location
company_slugAll your hiring brandsUp to 160 characters; only brands in your company
bash
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

json
{
  "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

FieldTypeUse
idStringPublic job ID for subsequent requests
posting_idStringPublished posting ID; preserve alongside the job ID
title, descriptionStringCandidate-facing posting content; description may contain HTML
company_name, company_slugStringHiring brand identity
department, locationString or nullDisplay and search information
employment_type, workplaceString or nullEmployment and location arrangement
published_at, application_deadlineTimestamp or nullPublication time and application cutoff
compensation_summaryString or nullCompensation only when configured for public display
apply_urlString URLKarwa'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.

javascript
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.