API reference

SubscriptionsPreview

Subscriptions read from a customer's own billing system, such as Chargebee or Stripe, once they approve the connection. Each one keeps the partner it is attributed to through upgrades, downgrades and renewals. Read only.

List subscriptions

GET/subscriptionsPreview

Lists subscriptions from the billing systems your customers have connected. Filter by partner_external_id to see what one partner sourced.

Query parameters

connection_idstring
Only objects from this connection.
statusstring
One of trialing, active, past_due, paused, cancelled
partner_external_idstring
Only subscriptions attributed to this partner.
updated_afterstring (date-time)
Only objects changed after this time. Use it for incremental sync.
include_remote_databoolean
Include remote_data, the raw values captured from the portal.
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.
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/subscriptions" \
  -H "X-API-Key: $AIRSTRIDE_API_KEY"

Get a subscription

GET/subscriptions/{subscription_id}Preview

Path parameters

subscription_idstringRequired

Query parameters

include_remote_databoolean
Include remote_data, the raw values captured from the portal.

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