API reference

Jobs

Every write against a portal runs as a job. Poll a job, or listen for the webhook that reports its outcome.

List jobs

GET/jobs

Query parameters

connection_idstring
Only objects from this connection.
statusstring
One of queued, running, succeeded, failed, cancelled
typestring
One of deal_registration.create, deal_registration.extend, quote.create, rebate.create, mdf_claim.create, passthrough, connection.sync
limitinteger
Page size.
cursorstring
The next_cursor from the previous page.

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.

Responses

200
A page of jobs, newest first.
400
Invalid parameters, or a version we do not recognise.
401
Missing or invalid API key.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/jobs" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Get a job

GET/jobs/{job_id}

Path parameters

job_idstringRequired

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.

Responses

200
The job.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X GET "https://app.airstride.ai/api/open-partnerships/jobs/{job_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"
Response 200
{
  "id": "job_1Mx8Tq",
  "type": "deal_registration.create",
  "status": "succeeded",
  "connection_id": "conn_8f2kq1",
  "resource": {
    "type": "deal_registration",
    "id": "dr_9Wc2Fj"
  },
  "result": null,
  "error": null,
  "attempts": 1,
  "created_at": "2026-11-24T10:30:00Z",
  "started_at": "2026-11-24T10:30:02Z",
  "finished_at": "2026-11-24T10:31:34Z"
}

Cancel a queued job

POST/jobs/{job_id}/cancel

Cancels a job that has not started. A job that is already running cannot be cancelled, because the portal may have accepted part of it; the request returns 409.

Path parameters

job_idstringRequired

Headers

Airstride-Versionstring
The API version, as a date. Defaults to the version pinned on the key. The first version of Open Partnerships is 2026-12-01.
Idempotency-KeystringRequired
A unique value per logical write, such as a UUID. Required on every write. Retry with the same key and the same body after a timeout or network error; you get the original response, never a second registration or a second claim.

Responses

200
The job, now cancelled.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
409
The request conflicts with the current state. Codes include IDEMPOTENCY_KEY_REUSED, CONNECTION_NEEDS_REAUTH, CONNECTION_DISCONNECTED, CONNECTION_EXISTS and JOB_ALREADY_RUNNING.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X POST "https://app.airstride.ai/api/open-partnerships/jobs/{job_id}/cancel" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"