API reference

Webhooks

Subscribe to events instead of polling.

Each delivery is a POST with this JSON envelope: { "event": "...", "data": { ... }, "timestamp": "...", "version": "1" }.

Each delivery carries these headers:

  • x-webhook-signature: the hex HMAC-SHA256 of the raw request body, keyed with the subscription's secret.
  • x-webhook-event: the event name.
  • x-webhook-delivery-id: unique per delivery. Retries of the same delivery reuse it, so use it to discard duplicates.
  • x-webhook-timestamp: the same value as timestamp in the body.
  • x-webhook-payload-version: the envelope version.

To verify a delivery, compute the HMAC over the raw body before parsing it, compare it with x-webhook-signature in constant time, and reject deliveries whose timestamp is more than five minutes old. Because the timestamp is inside the signed body, it cannot be altered without breaking the signature.

A new subscription is verified before it receives events: Airstride posts { "challenge": "<token>" } and your endpoint must answer 2xx with the same JSON. Failed deliveries are retried with exponential backoff for up to 24 hours.

Create a subscription

POST/webhooks/subscriptions

Subscribes a URL to one or more events. Event names accept a trailing wildcard, such as deal_registration.*. The response is the only time the signing secret is shown. The subscription stays pending_verification until the endpoint answers the challenge.

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.

Request body

urlstring (uri)Required
Must use HTTPS.
eventsarray of stringRequired
Event names. A trailing * matches every event in a family.
descriptionstring

Responses

201
The subscription, with its secret.
400
Invalid parameters, or a version we do not recognise.
401
Missing or invalid API key.
422
The request parsed but failed validation. Codes include VALIDATION_FAILED, CAPABILITY_NOT_SUPPORTED, REGISTRATION_NOT_APPROVED and CLAIM_WINDOW_CLOSED.
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/webhooks/subscriptions" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://crm.example.com/hooks/airstride",
  "events": [
    "deal_registration.*",
    "quote.priced",
    "connection.needs_reauth"
  ],
  "description": "CRM write-back"
}'

List subscriptions

GET/webhooks/subscriptions

Query parameters

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 subscriptions.
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/webhooks/subscriptions" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Get a subscription

GET/webhooks/subscriptions/{subscription_id}

Path parameters

subscription_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 subscription.
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/webhooks/subscriptions/{subscription_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Update a subscription

PATCH/webhooks/subscriptions/{subscription_id}

Changing the URL sends a new challenge before deliveries resume.

Path parameters

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

Request body

urlstring (uri)
eventsarray of string
descriptionstring
statusstring
One of active, disabled

Responses

200
The updated subscription.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
422
The request parsed but failed validation. Codes include VALIDATION_FAILED, CAPABILITY_NOT_SUPPORTED, REGISTRATION_NOT_APPROVED and CLAIM_WINDOW_CLOSED.
429
Rate limited. Wait until X-RateLimit-Reset before retrying.
500
Something broke on our side.
Request
curl -X PATCH "https://app.airstride.ai/api/open-partnerships/webhooks/subscriptions/{subscription_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Delete a subscription

DELETE/webhooks/subscriptions/{subscription_id}

Path parameters

subscription_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

204
Deleted.
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 DELETE "https://app.airstride.ai/api/open-partnerships/webhooks/subscriptions/{subscription_id}" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Send the challenge again

POST/webhooks/subscriptions/{subscription_id}/verify

Re-sends the challenge to a subscription that is pending_verification or disabled.

Path parameters

subscription_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 subscription after the challenge.
401
Missing or invalid API key.
404
The resource does not exist, or belongs to another organisation.
422
The request parsed but failed validation. Codes include VALIDATION_FAILED, CAPABILITY_NOT_SUPPORTED, REGISTRATION_NOT_APPROVED and CLAIM_WINDOW_CLOSED.
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/webhooks/subscriptions/{subscription_id}/verify" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

List deliveries

GET/webhooks/deliveries

Query parameters

subscription_idstring
statusstring
One of pending, succeeded, failed
eventstring
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 deliveries, 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/webhooks/deliveries" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Retry a delivery

POST/webhooks/deliveries/{delivery_id}/retryRuns as a job

Path parameters

delivery_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

202
The delivery is queued again.
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 POST "https://app.airstride.ai/api/open-partnerships/webhooks/deliveries/{delivery_id}/retry" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

Which events can you subscribe to?

connection.created
A connection changed
connection.needs_reauth
A connection changed
connection.reauthorized
A connection changed
connection.disconnected
A connection changed
job.succeeded
A job finished
job.failed
A job finished
deal_registration.created
A deal registration changed

created fires for registrations Airstride finds in the portal that were not made through the API. expiring fires 14 days and 3 days before expires_at.

deal_registration.submitted
A deal registration changed
deal_registration.approved
A deal registration changed
deal_registration.rejected
A deal registration changed
deal_registration.updated
A deal registration changed
deal_registration.expiring
A deal registration changed
deal_registration.extended
A deal registration changed
deal_registration.expired
A deal registration changed
deal_registration.failed
A deal registration changed
quote.submitted
A quote changed
quote.priced
A quote changed
quote.rejected
A quote changed
quote.expired
A quote changed
quote.failed
A quote changed
rebate.submitted
A rebate claim changed

deadline_approaching fires 14 days and 3 days before a claim window closes.

rebate.approved
A rebate claim changed
rebate.rejected
A rebate claim changed
rebate.paid
A rebate claim changed
rebate.short_paid
A rebate claim changed
rebate.deadline_approaching
A rebate claim changed
mdf_claim.submitted
An MDF claim changed
mdf_claim.approved
An MDF claim changed
mdf_claim.rejected
An MDF claim changed
mdf_claim.paid
An MDF claim changed
mdf_claim.short_paid
An MDF claim changed
mdf_claim.deadline_approaching
An MDF claim changed
portal.live
A portal in the catalogue went live