Pointify Travels Group Trips API

The group-trips API from Pointify Travels — 9 operation(s) for group-trips.

GitHub OpenAPI

Operations 10

POST /api/group-trips Create Group Trip #
POST /api/group-trips/{trip_id}/invite Invite Member #
POST /api/group-trips/{trip_id}/join-code Create Join Code #
GET /api/group-trips/join/{code} Preview Join Code #
POST /api/group-trips/join/{code} Join By Code #
POST /api/group-trips/{trip_id}/members/{member_id}/confirm Confirm Member #
GET /api/group-trips/{trip_id} Get Group Trip #
POST /api/group-trips/{trip_id}/search Trigger Search #
GET /api/group-trips/{trip_id}/search/{task_id}/stream Search Stream #
POST /api/group-trips/{trip_id}/book Book Group Trip #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pointifytravels-com:pointifytravels-com-group-trips-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pointifytravels-com-group-trips-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pointify Deal Engine Group Trips API
  description: 'Enterprise travel search API powering the Pointify Travel Platform.


    Aggregates flights from Duffel, SerpAPI, and Seats.aero with advanced fare intelligence including self-connect routing, fare prediction, and geo-pricing.


    **Authentication**: Pass your API key via `Authorization: Bearer pt_live_...` header.

    Requests without an API key are allowed for first-party web-app access.'
  contact:
    name: Pointify Travel Technologies
    url: https://pointifytravels.com/
    email: api@pointifytravels.com
  license:
    name: Proprietary
  version: 1.0.0
tags:
- name: group-trips
paths:
  /api/group-trips:
    post:
      tags:
      - group-trips
      summary: Create Group Trip
      description: Host creates a new group trip in ``planning`` state.
      operationId: create_group_trip_api_group_trips_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/app__routes__group_trips__CreateTripRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/invite:
    post:
      tags:
      - group-trips
      summary: Invite Member
      description: 'Host invites a traveler by email. Sends a magic-link email.


        The invite record is created up-front (so the host can see pending

        invites) and the magic-link URL is returned in the response for the

        host UI; the same URL is also dispatched via Resend.'
      operationId: invite_member_api_group_trips__trip_id__invite_post
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InviteRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/join-code:
    post:
      tags:
      - group-trips
      summary: Create Join Code
      description: 'Host generates (or rotates) the trip-level public join code.


        Idempotent if a code already exists on the trip — returns the existing

        code with ``public_join_enabled=true``. Pass ``?rotate=1`` to mint a

        fresh one (invalidates any QR already in the wild).'
      operationId: create_join_code_api_group_trips__trip_id__join_code_post
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/join/{code}:
    get:
      tags:
      - group-trips
      summary: Preview Join Code
      description: 'Public preview: returns trip destination + date window so the scanner

        can render a confirm sheet before the user taps Join.'
      operationId: preview_join_code_api_group_trips_join__code__get
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - group-trips
      summary: Join By Code
      description: 'Public join: creates a pending member row and returns an

        ``invite_token`` so the scanner can route straight to ``/confirm``.

        No auth required — the token is the only capability the invitee

        needs until they confirm their passenger info.'
      operationId: join_by_code_api_group_trips_join__code__post
      parameters:
      - name: code
        in: path
        required: true
        schema:
          type: string
          title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/members/{member_id}/confirm:
    post:
      tags:
      - group-trips
      summary: Confirm Member
      description: 'Member confirms their origin + dates + passenger info.


        Gated by the single-use invite token so unauthenticated members can

        confirm without signing in yet. The ``user_id`` column is later

        populated when the member signs in via the magic link.'
      operationId: confirm_member_api_group_trips__trip_id__members__member_id__confirm_post
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      - name: member_id
        in: path
        required: true
        schema:
          type: string
          title: Member Id
      - name: token
        in: query
        required: true
        schema:
          type: string
          description: Invite token from the magic-link email.
          title: Token
        description: Invite token from the magic-link email.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConfirmMemberRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}:
    get:
      tags:
      - group-trips
      summary: Get Group Trip
      description: 'Full trip view — trip row plus per-member statuses.


        ``trip_id`` is typed as ``uuid.UUID`` so FastAPI rejects non-UUID path

        values (e.g. ``/api/group-trips/list``) with a clean 422 before the

        asyncpg layer crashes trying to encode a non-UUID literal as a UUID

        bind parameter. The internal helpers accept the stringified form.'
      operationId: get_group_trip_api_group_trips__trip_id__get
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Trip Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/search:
    post:
      tags:
      - group-trips
      summary: Trigger Search
      description: Host kicks off the optimiser. Returns a task_id + stream URL.
      operationId: trigger_search_api_group_trips__trip_id__search_post
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/search/{task_id}/stream:
    get:
      tags:
      - group-trips
      summary: Search Stream
      description: Replay the optimiser events as an SSE stream.
      operationId: search_stream_api_group_trips__trip_id__search__task_id__stream_get
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      - name: task_id
        in: path
        required: true
        schema:
          type: string
          title: Task Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/group-trips/{trip_id}/book:
    post:
      tags:
      - group-trips
      summary: Book Group Trip
      description: 'Accept the agent''s recommended combo and issue one Duffel order

        per member.


        On failure we cancel every order that already succeeded so the

        group either books atomically or not at all.'
      operationId: book_group_trip_api_group_trips__trip_id__book_post
      parameters:
      - name: trip_id
        in: path
        required: true
        schema:
          type: string
          title: Trip Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BookingSelection'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    InviteRequest:
      properties:
        email:
          type: string
          title: Email
        phone:
          anyOf:
          - type: string
          - type: 'null'
          title: Phone
        member_name:
          anyOf:
          - type: string
          - type: 'null'
          title: Member Name
      type: object
      required:
      - email
      title: InviteRequest
    app__routes__group_trips__CreateTripRequest:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
        destination_iata:
          type: string
          maxLength: 3
          minLength: 3
          title: Destination Iata
        earliest_depart:
          type: string
          title: Earliest Depart
        latest_depart:
          type: string
          title: Latest Depart
        min_duration_nights:
          type: integer
          title: Min Duration Nights
          default: 3
        max_duration_nights:
          type: integer
          title: Max Duration Nights
          default: 14
        budget_per_person:
          anyOf:
          - type: number
          - type: 'null'
          title: Budget Per Person
      type: object
      required:
      - destination_iata
      - earliest_depart
      - latest_depart
      title: CreateTripRequest
    BookingSelection:
      properties:
        legs:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Legs
        total_price:
          anyOf:
          - type: number
          - type: 'null'
          title: Total Price
        arrival_window_minutes:
          anyOf:
          - type: integer
          - type: 'null'
          title: Arrival Window Minutes
      type: object
      required:
      - legs
      title: BookingSelection
      description: Host's chosen combo from the agent recommendations.
    ConfirmMemberRequest:
      properties:
        origin_iata:
          type: string
          maxLength: 3
          minLength: 3
          title: Origin Iata
        preferred_depart:
          type: string
          title: Preferred Depart
        preferred_return:
          anyOf:
          - type: string
          - type: 'null'
          title: Preferred Return
        preferred_cabin:
          type: string
          title: Preferred Cabin
          default: economy
        passenger_info:
          additionalProperties: true
          type: object
          title: Passenger Info
        loyalty_programs:
          items:
            additionalProperties: true
            type: object
          type: array
          title: Loyalty Programs
      type: object
      required:
      - origin_iata
      - preferred_depart
      title: ConfirmMemberRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError