✈
    TravelmodeDevelopers
    🔎/
    🔑Manage API Keys
    Feature
    🌦️Weather🛂Visa🧩Platform🧭Trips🤝Partner Trips🤖Agent Runs📅Events

    Partner Trips API · v1

    📖Overview🧪API Reference (Try It)
    Guides
    🚀Getting Started🔐Authentication & Scopes🔗The Claim Flow🔔Description Sync & Webhooks⚠️Errors
    ⬇️Download openapi.yaml
    Developers / Partner Trips

    Partner Trips API

    Let your booking suppliers start travelmode trip plans for their groups, hand each trip to its organizer with a claim link, and sync the trip description back to your site.

    Production base URLhttps://api.travelmode.ai
    Versionv1
    Specopenapi.yaml

    🧪 Open the API Reference

    Browse every endpoint, search the schema, and call production with the built-in Authorize / Try It console.

    🚀 Getting Started

    Register a supplier, start your first trip, and read the response.

    Guides

    🚀

    Getting Started

    Register a supplier, start your first trip, and read the response.

    🔐

    Authentication & Scopes

    Organization API keys, the trips:* scopes, and environments.

    🔗

    The Claim Flow

    How a partner-created trip becomes the group organizer's own trip.

    🔔

    Description Sync & Webhooks

    Pull the trip description anytime, or subscribe to signed trip.* events.

    ⚠️

    Errors

    Error envelope, status codes, and common failure causes.

    Partner Trips API

    Let your booking suppliers start travelmode trip plans for their travel groups — and keep your marketplace in sync with what the group plans.

    The Partner Trips API is the B2B surface for third-party marketplaces:

    • Organizations and suppliers. Your marketplace is a travelmode organization with a stable organization_id. You register each of your group providers as a supplier under it, keyed by your own external_id — used for attribution, filtering, and reporting.
    • Start trip planning. One call creates a trip shell linked to your organization and returns a claim link for the group organizer plus the planner URL where the group continues in travelmode's UI — including the AI planning assistant.
    • Ownership via claim. The organizer opens the claim link, signs in, and the trip becomes theirs in their own travelmode account. Your organization keeps API access to the trip before and after the claim.
    • Description sync, both directions. Pull the partner trip view (name, description, summary, status, public story URL, a revision counter) anytime, or subscribe to signed trip.updated / trip.claimed webhooks on the shared platform webhook pipeline.

    Endpoints at a glance

    AreaEndpoints
    OrganizationGET /v1/partner/organization (whoami)
    SuppliersPOST/GET /v1/partner/suppliers, GET/PATCH/DELETE /v1/partner/suppliers/[supplierId]
    TripsPOST/GET /v1/partner/trips, GET/PATCH /v1/partner/trips/[tripId]
    ClaimPOST /v1/partner/trips/[tripId]/claim-token (re-issue)
    Webhooksshared platform API: POST /v1/webhooks with trip.* events

    Start with Getting Started, then read The Claim Flow and Description Sync and Webhooks.

    Authentication

    Every request sends your organization key as Authorization: Bearer tm_trips_.... Keys carry trips:* scopes and are issued by the Travelmode team when your organization is registered. See Authentication and Scopes.