Browse API documentation
API REFERENCEv1

List jobs

List eligible public postings in your company, with search and pagination.

On this page
GET/api/auth/public/v1/jobs

Requires jobs:read. Only your company's eligible public postings are accessible. Read the implementation guide →

How to use this endpoint

Use this endpoint to populate the jobs listing on your website. A job can have several published postings, so each item has both a public job ID and a posting ID. Retain the pair. An empty page is a successful response. If an expected job is absent, check its status, visibility, deadline, confidentiality and brand. Refresh regularly because offset pagination is not a frozen snapshot.

Authentication

Send both headers from your server. An app key or application token alone does not authorize a request.

http
X-Karwa-App-Key: <APP_KEY>
Authorization: Bearer <SECRET_KEY>

Parameters

Query parameters

limitintegerOptional

Maximum number of postings in this page. Default: 20. Minimum: 1. Maximum: 100.

offsetintegerOptional

Number of results to skip. Advance by limit while has_more is true. Default: 0. Minimum: 0.

company_slugstring or nullOptional

Limit results to one hiring brand in your company.

searchstringOptional

Case-insensitive text matched against title, department and location. Default: "". Maximum length: 160.

Request body

No request body is required.

Request example

Set KARWA_API_BASE to your HTTPS gateway origin followed by /api/auth/public/v1. Local development uses http://localhost:8000/api/auth/public/v1. Replace job, posting, question and token values where shown.

bash
curl --fail-with-body "$KARWA_API_BASE/jobs?limit=20&offset=0" \
  -H "X-Karwa-App-Key: $KARWA_APP_KEY" \
  -H "Authorization: Bearer $KARWA_SECRET_KEY"

Response

200 · application/json · Successful Response

itemsarray<object>Required
One item per eligible published posting. Use the pair of id and posting_id as the list key.
Show item fields
idstringRequired
Public job identifier. Preserve it together with posting_id for subsequent requests.
posting_idstringRequired
The selected posting ID. Pass the same value throughout detail, form, session, upload and submission. Omission selects the default eligible posting.
titlestringRequired
Candidate-facing title from the published posting, rather than an unpublished draft.
descriptionstringRequired
Published description, which may contain HTML. Sanitize it before rendering.
company_namestringRequired
Display name of the company or hiring brand associated with this posting or credential.
company_slugstringRequired
Limit results to one hiring brand in your company.
departmentstring or null
Public department label, when configured. May be null.
locationstring or null
Public location display text. May be null; it does not establish an applicant's location.
employment_typestring or null
Published employment arrangement, such as full-time. May be null.
workplacestring or null
Published workplace arrangement, such as hybrid or remote. May be null.
published_atdate-time or null
Posting publication timestamp, when available. May be null.
application_deadlinedate-time or null
Application cutoff timestamp, when configured. May be null. Expired postings are excluded.
compensation_summarystring or null
Only included when the posting permits public compensation display. May be null.
apply_urlstringRequired
Hosted application URL for this exact posting. Use it if you do not implement a custom application form.
totalintegerRequired
Number of eligible postings matching the current search and brand filter before pagination.
limitintegerRequired
Maximum number of postings in this page.
offsetintegerRequired
Number of results to skip. Advance by limit while has_more is true.
has_morebooleanRequired
True when another page is available. Increase offset by limit to continue.
json · example 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://your-karwa-site/example-company/jobs/job-public-id?posting_id=posting-id"
    }
  ],
  "total": 1,
  "limit": 20,
  "offset": 0,
  "has_more": false
}

Errors and recovery

401
Invalid credential or application session
403
Missing permission, scope or plan access
404
Posting unavailable
422
Validation Error
429
Rate limited; observe Retry-After
json · example error response
{
  "detail": "Invalid API key"
}

Inspect the HTTP status before using the body. Validation detail can be a string or an array. For submission timeouts, retain the same Idempotency-Key. For 429 responses, wait for Retry-After. See error handling and quotas →