Pointify Travels Customer Service API

Agentic AI customer service — chat, tickets, escalations, CSAT

GitHub OpenAPI

Operations 17

POST /api/cs/sms-reply Cs Sms Reply #
POST /api/cs/chat Cs Chat #
GET /api/cs/tickets Get Tickets #
POST /api/cs/tickets Create Ticket Endpoint #
GET /api/cs/tickets/all Get All Tickets #
GET /api/cs/tickets/escalated Get Escalated #
POST /api/cs/escalate Escalate Endpoint #
GET /api/cs/conversations Get Conversations #
GET /api/cs/conversations/all Get All Conversations #
GET /api/cs/conversations/{conversation_id}/messages Get Messages #
POST /api/cs/conversations/{conversation_id}/resolve Resolve Endpoint #
POST /api/cs/conversations/{conversation_id}/agent-message Agent Message Endpoint #
GET /api/cs/canned-responses Canned Responses Endpoint #
GET /api/cs/stats Cs Stats #
POST /api/cs/transcribe Transcribe Audio #
GET /api/cs/knowledge-base List Knowledge Base #
POST /api/cs/knowledge-base/search Search Knowledge Base #

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-customer-service-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-customer-service-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pointify Deal Engine Customer Service 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: customer-service
  description: Agentic AI customer service — chat, tickets, escalations, CSAT
paths:
  /api/cs/sms-reply:
    post:
      tags:
      - customer-service
      summary: Cs Sms Reply
      description: 'One-shot chat for SMS / email adapters.


        Internal endpoint — guarded by `X-Internal-Key` (the Vercel proxy

        sets this; external callers can''t reach it). Body is a plain JSON

        dict with `message`, optional `from_phone`, `from_email`,

        `conversation_id`, `customer_id`. Returns the text response so the

        caller (e.g. the Twilio webhook handler) can drop it straight into

        a TwiML reply or a Resend send.'
      operationId: cs_sms_reply_api_cs_sms_reply_post
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: true
              type: object
              title: Request
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/chat:
    post:
      tags:
      - customer-service
      summary: Cs Chat
      description: 'Send a message to the AI customer service agent.


        Returns a Server-Sent Events stream with the agent''s response,

        including any tool calls (flight searches, booking lookups, etc).'
      operationId: cs_chat_api_cs_chat_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/tickets:
    get:
      tags:
      - customer-service
      summary: Get Tickets
      description: List the authenticated user's support tickets.
      operationId: get_tickets_api_cs_tickets_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by status
          title: Status
        description: Filter by status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - customer-service
      summary: Create Ticket Endpoint
      description: Create a support ticket directly (not through AI chat).
      operationId: create_ticket_endpoint_api_cs_tickets_post
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateTicketRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/tickets/all:
    get:
      tags:
      - customer-service
      summary: Get All Tickets
      description: List all tickets (admin/agent only).
      operationId: get_all_tickets_api_cs_tickets_all_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by status
          title: Status
        description: Filter by status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/tickets/escalated:
    get:
      tags:
      - customer-service
      summary: Get Escalated
      description: Get all escalated tickets requiring human attention.
      operationId: get_escalated_api_cs_tickets_escalated_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/cs/escalate:
    post:
      tags:
      - customer-service
      summary: Escalate Endpoint
      description: Escalate a conversation to a human agent.
      operationId: escalate_endpoint_api_cs_escalate_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EscalateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/conversations:
    get:
      tags:
      - customer-service
      summary: Get Conversations
      description: List the authenticated user's conversations.
      operationId: get_conversations_api_cs_conversations_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/conversations/all:
    get:
      tags:
      - customer-service
      summary: Get All Conversations
      description: List all conversations (admin/agent only).
      operationId: get_all_conversations_api_cs_conversations_all_get
      parameters:
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Status
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/conversations/{conversation_id}/messages:
    get:
      tags:
      - customer-service
      summary: Get Messages
      description: Get all messages in a conversation.
      operationId: get_messages_api_cs_conversations__conversation_id__messages_get
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: string
          title: Conversation Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/conversations/{conversation_id}/resolve:
    post:
      tags:
      - customer-service
      summary: Resolve Endpoint
      description: Resolve a conversation and optionally submit a satisfaction rating.
      operationId: resolve_endpoint_api_cs_conversations__conversation_id__resolve_post
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: string
          title: Conversation Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/conversations/{conversation_id}/agent-message:
    post:
      tags:
      - customer-service
      summary: Agent Message Endpoint
      description: Human agent sends a message in a conversation (admin/agent only).
      operationId: agent_message_endpoint_api_cs_conversations__conversation_id__agent_message_post
      parameters:
      - name: conversation_id
        in: path
        required: true
        schema:
          type: string
          title: Conversation Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentMessageRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/canned-responses:
    get:
      tags:
      - customer-service
      summary: Canned Responses Endpoint
      description: Get canned response library.
      operationId: canned_responses_endpoint_api_cs_canned_responses_get
      parameters:
      - name: category
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Category
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/stats:
    get:
      tags:
      - customer-service
      summary: Cs Stats
      description: Get customer service stats (admin/agent only).
      operationId: cs_stats_api_cs_stats_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
  /api/cs/transcribe:
    post:
      tags:
      - customer-service
      summary: Transcribe Audio
      description: 'Transcribe an audio file to text using Claude''s vision/audio capabilities.


        Accepts audio/ogg, audio/mp4, audio/mpeg, audio/wav, audio/webm.

        Returns {"transcript": "", "language": "", "confidence": }.


        This endpoint is called by the WhatsApp webhook to transcribe voice messages

        before routing them to the CS agent.'
      operationId: transcribe_audio_api_cs_transcribe_post
      parameters:
      - name: language
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: ISO language code hint (e.g. 'en', 'es')
          title: Language
        description: ISO language code hint (e.g. 'en', 'es')
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/Body_transcribe_audio_api_cs_transcribe_post'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/knowledge-base:
    get:
      tags:
      - customer-service
      summary: List Knowledge Base
      description: List knowledge base entries, optionally filtered by category.
      operationId: list_knowledge_base_api_cs_knowledge_base_get
      parameters:
      - name: category
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by category
          title: Category
        description: Filter by category
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/cs/knowledge-base/search:
    post:
      tags:
      - customer-service
      summary: Search Knowledge Base
      description: Search KB entries by keyword overlap.
      operationId: search_knowledge_base_api_cs_knowledge_base_search_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/KBSearchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    KBSearchRequest:
      properties:
        query:
          type: string
          title: Query
        threshold:
          type: integer
          title: Threshold
          default: 2
        max_results:
          type: integer
          title: Max Results
          default: 3
      type: object
      required:
      - query
      title: KBSearchRequest
    ResolveRequest:
      properties:
        rating:
          anyOf:
          - type: integer
          - type: 'null'
          title: Rating
        feedback:
          anyOf:
          - type: string
          - type: 'null'
          title: Feedback
      type: object
      title: ResolveRequest
    AgentMessageRequest:
      properties:
        content:
          type: string
          title: Content
      type: object
      required:
      - content
      title: AgentMessageRequest
    ChatRequest:
      properties:
        message:
          type: string
          title: Message
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
      type: object
      required:
      - message
      title: ChatRequest
    EscalateRequest:
      properties:
        conversation_id:
          type: string
          title: Conversation Id
        reason:
          type: string
          title: Reason
        priority:
          type: string
          title: Priority
          default: medium
      type: object
      required:
      - conversation_id
      - reason
      title: EscalateRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    Body_transcribe_audio_api_cs_transcribe_post:
      properties:
        audio:
          type: string
          contentMediaType: application/octet-stream
          title: Audio
      type: object
      required:
      - audio
      title: Body_transcribe_audio_api_cs_transcribe_post
    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
    CreateTicketRequest:
      properties:
        subject:
          type: string
          title: Subject
        description:
          type: string
          title: Description
        priority:
          type: string
          title: Priority
          default: medium
        category:
          type: string
          title: Category
          default: other
        conversation_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Conversation Id
      type: object
      required:
      - subject
      - description
      title: CreateTicketRequest