Skip to main content

ATS Integration Guide

This guide is for developers building an ATS that connects to Adway. It covers everything you need to build on your side: publishing your open jobs, and receiving the candidates who apply through Adway Social Apply.

Overview

The integration has two independent parts:

Part

Direction

How it works

Who calls whom

Job feed

Your ATS to Adway

You publish a list of your open jobs at a URL

Adway calls you, about once an hour

Candidate delivery

Adway to your ATS

We notify you by webhook, then you read the application and its files from our API

Adway calls you, then you call Adway

How jobs and candidates move between your ATS and Adway

What you need to build

  1. A job feed endpoint that returns all open jobs as JSON.

  2. A webhook endpoint that verifies and accepts our deliveries.

  3. An API client that reads applications and downloads their files.

What we exchange at setup

Send secrets over a trusted channel agreed with your Adway contact, never by plain email or chat.

You give Adway

Adway gives you

Job feed URL

API access token, one per environment

Feed credentials, if the feed is protected

Webhook endpoint URL

Webhook signing secret and/or bearer token

Environments

Environment

Application API base URL

Test

https://connect-test.adway.ai/api/external-api/v2

Production

https://connect.adway.ai/api/external-api/v2

Tokens differ between environments. An interactive API reference is available at /swagger/ under each base URL.

Part 1: Job feed

Adway reads your feed about once an hour and keeps its copy of your jobs in line with it. Always return the complete list of currently open jobs, not only what changed.

Request

Adway sends a plain HTTP request to the URL you give us:

GET https://your-ats.example.com/adway/jobs
Accept-Encoding: gzip, deflate
X-Api-Key: <your feed key>

The feed can be protected in either of these ways:

  • Custom headers, such as an API key or Authorization: Bearer .... We send a fixed value that you give us.

  • HTTP Basic authentication, with a username and password.

Please choose one of these rather than an OAuth flow, because we don’t run a token exchange for this type of feed.

Response

Return status 200, a JSON body and the header Content-Type: application/json. The Content-Type header is required, as we use it to decide how to parse the response.

The simplest shape is a top-level array of jobs. If you prefer to wrap it, such as { "jobs": [... ] }, tell us the path to the list.

[
{
"atsJobPostId": "REQ-4711",
"title": "Registered Nurse",
"description": "<p>Join our acute care team in Umeå.</p>",
"shortDescription": "Acute care nurse, full time, Umeå.",
"url": "https://careers.example.com/jobs/REQ-4711",
"applicationUrl": "https://careers.example.com/jobs/REQ-4711/apply",
"categories": ["Healthcare"],
"department": "Acute Care",
"role": "Nurse",
"language": "sv",
"pubDate": "2026-11-02T08:00:00.000Z",
"endDate": "2026-12-15T23:59:59.000Z",
"locations": [
{
"country": "SE",
"subdivision": "Västerbotten",
"municipality": "Umeå",
"city": "Umeå",
"postalCode": "90325"
}
],
"contacts": [
{
"type": "recruiter",
"name": "Grace Hopper",
"email": "[email protected]",
"phone": "+46700000002",
"position": "Talent Acquisition Partner"
}
],
"employer": {
"name": "Example Healthcare AB",
"homepage": "https://www.example.com",
"logoUrl": "https://www.example.com/logo.png",
"description": "<p>A regional healthcare provider.</p>"
},
"images": {
"background": "https://www.example.com/images/ward.jpg"
},
"isPartTime": false,
"isTemporary": false,
"remoteStatus": { "remote": false, "flexible": false }
}
]

Job fields

Please send these exact field names. It keeps the setup on our side simple, and you won’t have to agree a custom mapping with us.

Required

Field

Type

Rules

atsJobPostId

string

Your unique ID for the job. It must stay the same for the life of the job.

title

string

Job title.

description

string

Full job description. HTML is allowed and is cleaned on our side.

url

string

Full URL of the job on your career site.

categories

string[]

At least one category.

locations

object[]

At least one location. See below.

Recommended

Field

Type

Rules

language

string

Two-letter language code, such as sv.

pubDate

string

Publish date, ISO 8601.

endDate

string

Last application date, ISO 8601.

contacts

object[]

Contact people for the job. See below.

shortDescription

string

Short summary of the job.

employer

object

Employer details. See below.

Optional

Field

Type

Rules

applicationUrl

string

Full URL of your own application form, if you have one.

department

string

Department name.

role

string

Short name of the position.

costCenter

string

Your reference for invoicing.

isPartTime

boolean

isTemporary

boolean

remoteStatus

object

remote and flexible, both boolean.

images

object

Full URLs in background, backgroundSmall and banner.

Nested objects

Object

Field

Rules

locations[]

country

Required. Two-letter country code, such as SE.

subdivision

Region or county.

municipality, city

Letters, spaces, hyphens and apostrophes only. No digits.

postalCode

Postal code as a string.

contacts[]

email

Required. Valid email address, up to 250 characters.

name, type

Letters, spaces, hyphens and apostrophes only. No digits.

phone

+ followed by digits only, up to 20 characters.

position

Job title.

avatarUrl

Full URL.

employer

name

Required if you send employer.

subsidiary, description

Text. description may contain HTML.

homepage, logoUrl

Full URLs.

How your feed behaves

Situation

What happens

A job appears in the feed

It is created in Adway.

A job’s content changes

It is updated in Adway.

A job disappears from the feed

It is treated as closed and deactivated in Adway.

Two jobs share an atsJobPostId

All jobs with that ID are skipped, so keep IDs unique.

A job is missing atsJobPostId

That job is skipped.

The feed returns an error status

The sync fails and your existing jobs stay as they are. We retry on the next hourly sync.

Never answer with an empty list when something goes wrong on your side. An empty list says you have no open jobs. If you can’t build the list, return a 5xx status so that your jobs are left untouched.

Practical notes

  • Large feeds: prefer one response with every open job. If your volume makes that impractical, talk to us before building pagination, as we only support specific query-offset paging.

  • XML: we can read XML feeds as well, but JSON is what we recommend for a new build.

  • Keep it fast: the feed is read every hour, so serve it from a cache or simple query.

  • Screening questions: these are not part of the feed. They are configured in Adway, and the answers come back with each application.

Part 2: Candidate delivery

When something happens to an application, we send you a short webhook. It carries no personal data, only the application ID and what happened. You then read the application from the API.

Your webhook endpoint

You provide:

Item

Requirements

Endpoint URL

HTTPS on a public hostname.

Signing secret

At least 16 characters. We use it to sign each delivery.

Bearer token

At least 64 characters. We send it back to you in the Authorization header.

At least one of the secret or the token is required. We recommend the signing secret, as it also proves that the body wasn’t changed.

The delivery

POST /your/endpoint HTTP/1.1
Content-Type: application/json
Authorization: Bearer <your token>
X-Adway-Timestamp: 1789012345678
X-Adway-Delivery: 9f2c1e7b4d8a...
X-Hub-Signature-256: sha256=4a7d9c...
{
"version": 2,
"event": "APPLICATION_QUALIFIED",
"applicationId": "6712aaaaaaaaaaaaaaaaaaaa",
"customerId": "6100aaaaaaaaaaaaaaaaaaaa",
"occurredAt": "2026-09-01T08:05:00.000Z"
}

Field

Meaning

version

Payload version. Currently 2.

event

What happened. See below.

applicationId

The application to read from the API.

customerId

The Adway customer the application belongs to.

occurredAt

When the event happened. It stays the same across retries.

Header

Sent

Meaning

X-Adway-Timestamp

Always

Milliseconds since the Unix epoch at this attempt. Part of the signature.

X-Adway-Delivery

Always

Identifies one delivery. Retries repeat the same value.

X-Hub-Signature-256

If you gave a secret

sha256= followed by the hex HMAC.

Authorization

If you gave a token

Bearer followed by your exact token.

Events

Event

Sent when

What you should do

APPLICATION_QUALIFIED

An application qualifies and its documents are ready. Sent again if it requalifies after being disqualified.

Read the application and create or restore the candidate.

APPLICATION_UPDATED

A qualified application changes.

Read the application again and update your copy.

APPLICATION_DISQUALIFIED

A previously qualified application no longer qualifies.

Mark the candidate accordingly.

APPLICATION_DELETED

An application you were told about is deleted or anonymized.

Remove or anonymize your copy, as your data agreement requires. The API will no longer return it.

From

Event

To

New application

APPLICATION_QUALIFIED

Qualified

Qualified

APPLICATION_UPDATED

Qualified

Qualified

APPLICATION_DISQUALIFIED

Disqualified

Disqualified

APPLICATION_QUALIFIED

Qualified

Qualified or Disqualified

APPLICATION_DELETED

Gone

When a change affects both qualification and content, you only receive the qualification event.

Verifying the signature

The signature is an HMAC-SHA256 of the timestamp and the raw body joined by a period, hex encoded and prefixed with sha256=.

signed material = "<X-Adway-Timestamp>" + "." + "<exact raw request body>"
expected header = "sha256=" + hex(hmac_sha256(secret, signed material))

Sign the raw bytes you received. Parsing the JSON and serializing it again can change the key order or whitespace, and the signature won’t match.

const crypto = require("node:crypto");

function isGenuine(rawBody, headers, secret) {
const timestamp = headers["x-adway-timestamp"];
const received = headers["x-hub-signature-256"];
if (!timestamp || !received) return false;

const expected = "sha256=" + crypto
.createHmac("sha256", secret)
.update(`${timestamp}.${rawBody}`)
.digest("hex");

const a = Buffer.from(received);
const b = Buffer.from(expected);

// Constant-time compare; lengths must match first.
return a.length === b.length && crypto.timingSafeEqual(a, b);
}

Responding and retries

Answer with any 2xx status within 10 seconds. The safest design is to verify the delivery, store it, respond, and then read the application in a background job.

Your response

What we do

2xx

Delivery complete.

5xx, 408, 429, timeout or connection failure

Retry, up to 4 attempts in total.

Any other 4xx

Treated as a permanent rejection. No retry.

Retries only cover short interruptions. All 4 attempts happen within about a minute. If your endpoint is down for longer, the delivery is not retried automatically. We’re alerted to the failure and can trigger it again, so tell your Adway contact about any outage.

There is no endpoint for listing applications, so webhooks are the only way to discover new ones. Keep your receiver highly available, and separate from anything that might slow it down.

Duplicates and ordering

  • Duplicates: you can receive more than one delivery for the same event. Make your handling idempotent, keyed on applicationId so that repeating it does no harm. X-Adway-Delivery identifies retries of one delivery, but two separate deliveries have different values.

  • Ordering: deliveries can arrive out of order. Compare occurredAt with the last event you processed for that applicationId, and ignore older ones.

Part 3: Application API

All requests use your Adway access token:

Authorization: Bearer <your Adway access token>

Get an application

GET {base URL}/applications/{id}

{id} is the applicationId from the delivery. To link the candidate to the right job, use atsJobId. It holds the atsJobPostId value you sent in your feed.

Which fields are present depends on what the candidate provided and what we could extract from their documents, so handle any missing field gracefully. You can ignore upsertedToAtsAt fields, which don’t apply to this integration.

{
"id": "6712aaaaaaaaaaaaaaaaaaaa",
"customerId": "6100aaaaaaaaaaaaaaaaaaaa",
"jobPostId": "6650aaaaaaaaaaaaaaaaaaaa",
"atsJobId": "REQ-4711",
"state": "created",
"isQualified": true,
"rating": 0.82,
"score": 4,
"age": 34,
"utmSource": "linkedin",
"registrationForm": {
"fullName": "Ada Lovelace",
"email": "[email protected]",
"phone": "+46700000000",
"completedAt": "2026-09-01T08:00:00.000Z"
},
"files": [
{
"id": "kK3rW1vQ0nS7bT2xY9pL",
"name": "cv.pdf",
"size": 182734,
"extension": "pdf",
"type": "cv"
},
{
"id": "zX4cV7bN1mQ8wE2rT5yU",
"name": "Adway Smart CV - Ada Lovelace.pdf",
"size": 241664,
"extension": "pdf",
"type": "smartCV"
}
],
"screeningQuestions": [
{
"id": "6700aaaaaaaaaaaaaaaaaaaa",
"title": "Do you hold a valid nursing licence?",
"answer": true,
"formattedAnswer": "Yes"
}
],
"questions": [
{
"question": "Do you hold a valid nursing licence?",
"type": "Boolean",
"answer": true,
"source": "ScreeningQuestion"
},
{
"question": "Years of experience?",
"type": "Number",
"answer": "7",
"source": "LeadAd"
}
],
"enrichmentData": {
"cvParser": {
"name": "Ada Lovelace",
"title": "Registered Nurse",
"email": "[email protected]",
"phone": "+46700000000",
"linkedinProfile": "https://www.linkedin.com/in/ada",
"dateOfBirth": { "year": 1992, "month": 4, "day": 17 },
"location": {
"city": "Umeå",
"region": "Västerbotten",
"country": "Sweden",
"postalCode": "90325"
},
"skills": ["Triage", "Paediatrics"],
"otherQualifications": ["Driving licence B"],
"spokenLanguages": [
{ "language": "Swedish", "proficiency": "Native" }
],
"workHistory": [
{
"position": "Registered Nurse",
"company": "Norrlands universitetssjukhus",
"companyLogo": null,
"location": { "city": "Umeå", "country": "Sweden" },
"startDate": { "year": 2019, "month": 8, "day": 1 },
"endDate": null,
"responsibilities": ["Triage", "Ward rounds"]
}
],
"internships": [],
"educationHistory": [
{
"institution": "Umeå universitet",
"institutionLogoUrl": null,
"degree": "BSc Nursing",
"description": null,
"fields": ["Nursing"],
"location": { "city": "Umeå", "country": "Sweden" },
"startDate": { "year": 2015, "month": 9, "day": 1 },
"endDate": { "year": 2018, "month": 6, "day": 5 }
}
],
"references": [
{
"name": "Charles Babbage",
"position": "Ward Manager",
"company": "Norrlands universitetssjukhus",
"email": "[email protected]",
"phone": "+46700000001"
}
]
},
"linkedinProfile": {
"name": "Ada Lovelace",
"title": "Registered Nurse",
"username": "ada",
"profileUrl": "https://www.linkedin.com/in/ada",
"profileImageUrl": "https://media.example.com/ada.jpg",
"description": "Nurse with seven years in acute care.",
"location": { "city": "Umeå", "country": "Sweden" },
"skills": ["Triage"],
"spokenLanguages": [],
"workHistory": [],
"internships": []
}
}
}

This response contains sensitive personal data, including date of birth and the contact details of referees. Store and log it accordingly.

Download a file

The application lists file metadata. Fetch each document with:

GET {base URL}/applications/{id}/files/{fileId}

The response is the document as application/octet-stream, with Content-Disposition and Content-Length set.

curl -fL \
-H "Authorization: Bearer $ADWAY_TOKEN" \
-o cv.pdf \
"$ADWAY_BASE_URL/applications/$ID/files/$FILE_ID"

File field

Meaning

id

The fileId to download with.

name

File name, as uploaded or generated.

size

Size in bytes.

extension

pdf or docx.

type

What the file is. See below.

Type

Origin

What it is

cv

Candidate

The CV as uploaded.

coverLetter

Candidate

The cover letter as uploaded.

attachment

Candidate

Any further document. There can be several.

smartCV

Adway

A generated, standardised CV.

plainCV

Adway

A plain-text rendering, useful for parsing.

consolidatedCV

Adway

The candidate’s documents merged into one PDF.

Generated files are replaced, not versioned. When a generated CV is regenerated, it gets a new id and the old one stops working. If a download returns 404, read the application again and use the current list. A regenerated file on a qualified application also triggers APPLICATION_UPDATED.

Rate limits

Your token has an hourly request limit, agreed at setup. Responses carry the standard RateLimit-* headers. Each candidate costs one request for the application plus one per downloaded file, so tell us your expected candidate volume in advance and we’ll size the limit to match.

Errors

Failures return JSON with a single error field.

Status

Means

What to do

400

The application or file ID is malformed.

Send IDs exactly as we gave them to you.

401

The token is missing, expired, revoked or lacks permission.

Check the header, then ask us to confirm the token’s permissions.

403

The access token isn’t fully configured.

This is a setup issue on our side. Contact us.

404

No such application or file.

Check whether it was deleted, or whether a generated CV was replaced.

429

Hourly rate limit reached.

Back off and retry using the RateLimit-* headers.

502

An Adway service behind the API is unavailable.

Retry with backoff, and tell us if it persists.

Part 4: Going live

Scope of this integration

Supported

Not supported today

Adway reads open jobs from your feed

Pushing jobs to an Adway API

Adway notifies you about applications

Adway posting candidates into your API

You read applications and files from our API

Listing or searching applications

Sending candidate statuses, such as hired or rejected, back to Adway

If you need something from the right-hand column, raise it with your Adway contact early so that we can plan for it.

Checklist

Job feed

  1. Publish the feed in the test setup, with the required fields and Content-Type: application/json.

  2. Send the URL and any credentials to your Adway contact.

  3. We connect the feed and run a test sync, then share any validation problems with you.

  4. Close a test job by removing it from the feed, and confirm together that it’s deactivated.

Candidate delivery

  1. Set up your HTTPS endpoint so it answers 2xx on valid deliveries.

  2. Generate your signing secret and/or bearer token, and send them with the URL over a trusted channel.

  3. We register the webhook and issue your test API access token.

  4. Ask us for a test delivery. Confirm that your receiver verifies the signature, rejects a tampered body, and records the applicationId.

  5. Fetch an application from /applications/{id}, then fetch one of its files, to prove that your token and both paths work.

Production

  1. Repeat the setup with production URLs, secrets and token.

  2. Confirm your expected candidate volume, so that your rate limit fits.

  3. Agree how you’ll handle APPLICATION_DELETED, so that personal data is removed on both sides.

Support

For questions, a new secret, or a token that needs revoking, contact your Adway representative.

Did this answer your question?