Skip to content
API v1 preview — endpoints and fields may change before general availability.

Versioning

How does date-pinned versioning work, and what can change within a version?

View .md

The BetterJobs API is versioned by date. You pin a version with the BetterJobs-Version header. Within a version, changes are additive only, so code that works today keeps working. The current version is 2026-10-01.

Send BetterJobs-Version on every request.

Terminal window
curl -i https://api.betterjobs.cc/v1/account \
-H "Authorization: Bearer $BETTERJOBS_API_KEY" \
-H "BetterJobs-Version: 2026-10-01"

If you leave the header out, the request is served with your account’s pinned version. POST /v1/jobs/search responses echo the version that served them in a BetterJobs-Version response header.

Within one version, BetterJobs only adds. Additive changes include:

  • New endpoints.
  • New optional request fields and filters.
  • New fields in response objects.

Anything that could break working code needs a new dated version. That covers removing or renaming a field, changing a field’s type or meaning, making an optional field required, and changing a default.

The API is a v1 preview, not generally available. Endpoints and fields may still change before GA. Changes are listed in the changelog.

The deprecation policy for versions after GA, including how long an old version keeps working, will be published at GA.

When a new version ships:

  1. Read its entry in the changelog.
  2. Update your code for the listed changes.
  3. Change the BetterJobs-Version value in the one place you pinned it.
  4. Test against the sandbox or a bj_test_ key, then deploy.

Because the version is a header, you can move one service at a time.