How do I migrate from api.thinklumo.com before February 28, 2027?
Move flight lookups and active subscriptions to flapi using your existing API key before the old API shuts down.
Action required: migrate before February 28, 2027
On February 28, 2027, api.thinklumo.com will stop working and all active subscriptions on that API will be deleted.
We encourage you to move to Lumo’s new API, flapi.thinklumo.com, which offers more capabilities and better-structured data. This API is documented at https://app.swaggerhub.com/apis-docs/thinklumo/flapi/2.0.0#/
We have created legacy-compatible endpoints so you can continue using your current setup with a new url for flight status, search, and subscriptions. The legacy-compatible endpoints will continue working indefinitely after Feb 28th 2027 (there is no plan right now to sunset this). Note that these legacy-compatible endpoints are not a substitute for building against the new api; we strongly recommend building to the new API specs to take full advantage of any new developments from Lumo; the legacy endpoints will not be updated.
Your API key
Your existing API key works with the legacy-compatible flapi endpoints. Continue sending it in the token request header.
Move flight status and search requests
Update your integration to call the corresponding legacy-compatible flapi endpoint:
-
https://api.thinklumo.com/flights/v1/status → https://flapi.thinklumo.com/v2/legacy/flights/v1/status
-
https://api.thinklumo.com/flights/v1/status/{flight_id} → https://flapi.thinklumo.com/v2/legacy/flights/v1/status/{flight_id}
-
https://api.thinklumo.com/flights/v1/search → https://flapi.thinklumo.com/v2/legacy/flights/v1/search
- https://api.thinklumo.com/flights/v1/subscriptions → https://flapi.thinklumo.com/v2/legacy/flights/v1/subscriptions
The bridge accepts legacy flight IDs and provides the familiar legacy response format. The search bridge returns up to 500 flights without pagination; changed_after and changed_before filters are not applied.
Move your active subscriptions
The old API and flapi use separate subscription systems. Creating a subscription in flapi does not move or delete the corresponding subscription in the old API. If both remain active, you can receive alerts from both systems.
Complete the following one-time migration for each active subscription before February 28, 2027. After migrating, create all new subscriptions in flapi.
The examples below use the legacy-compatible subscription endpoint.
1. Get all active subscriptions from the old API
Set your existing API key locally, then retrieve your subscriptions:
export API_KEY='YOUR_EXISTING_API_KEY' curl 'https://api.thinklumo.com/flights/v1/subscriptions' -H "token: $API_KEY"
The response includes a results array. Save each subscription’s itinerary_id, flight_ids, and booking_reference, if present. The old endpoint is paginated: follow each next URL using the same authentication header until next is null, so you have every active subscription.
2. Register each subscription in flapi
Copy the flight IDs from the old subscription into the request below. Replace the example booking reference and webhook URL with your own values.
curl -X POST 'https://flapi.thinklumo.com/v2/legacy/flights/v1/subscriptions' -H "token: $API_KEY" -H 'Content-Type: application/json' -d '{"flight_ids":["LEGACY_FLIGHT_ID_1","LEGACY_FLIGHT_ID_2"],"booking_reference":"YOUR_BOOKING_REFERENCE","target":"https://example.com/webhooks/lumo-bridge"}'
Use as many entries in flight_ids as your itinerary requires. booking_reference is optional; if you omit it, flapi generates a UUID as the reference. If you supply a reference that already exists for your API key, flapi updates that booking rather than creating another one.
The target field specifies your webhook URL. Save the itinerary_id returned by flapi: this is the new subscription’s identifier and is separate from the old API’s subscription identifier. The legacy response can show target: null even when you supplied a target; that field does not confirm whether your webhook is configured.
3. Verify the new subscription
Use the booking reference you supplied, or the generated reference returned by registration:
curl 'https://flapi.thinklumo.com/v2/legacy/flights/v1/subscriptions?booking_reference=YOUR_BOOKING_REFERENCE' -H "token: $API_KEY"
Confirm that the expected flights are registered and that your webhook receives alerts. To list subscriptions without filtering by booking reference:
curl 'https://flapi.thinklumo.com/v2/legacy/flights/v1/subscriptions' -H "token: $API_KEY"
The flapi subscription list returns up to 1,000 subscriptions without pagination. Contact Lumo support if you need help verifying a larger set.
4. Delete the corresponding subscription from the old API
Once the flapi subscription is working, delete the old subscription to stop duplicate alerts. Replace OLD_SUBSCRIPTION_UUID with the itinerary_id you saved from the old API in step 1, not the new flapi identifier.
curl -i -X DELETE 'https://api.thinklumo.com/flights/v1/subscriptions/OLD_SUBSCRIPTION_UUID' -H "token: $API_KEY"
A successful deletion returns HTTP 204 with no response body. Repeat these steps for every active subscription, and update your integration to create future subscriptions in flapi.
Use a separate webhook URL when testing the new alert format
We recommend creating a separate webhook URL when testing native flapi subscriptions and the new alert format. This keeps test callbacks separate from your existing legacy alerts.
The alert format is configured per registered webhook URL. For the same API key and exact URL, the sink uses either the legacy format or the new format at a time; registering it again with a different format changes that setting. Use a separate URL to test both formats without changing the format delivered to your existing webhook.
What happens to the /manage endpoints?
All api.thinklumo.com/manage/... endpoints will stop working on February 28, 2027. No replacement is provided for these endpoints.
To use Lumo’s new dashboards, contact support@thinklumo.com.
Need help migrating?
Contact Lumo support at support@thinklumo.com with any questions during your migration. Please complete your migration before February 28, 2027, when the old API stops working and its active subscriptions are deleted.