Pointify Travels Auth 2fa API

The auth-2fa API from Pointify Travels — 4 operation(s) for auth-2fa.

GitHub OpenAPI

Operations 4

POST /api/auth/2fa/sms/send Send Sms Code #
POST /api/auth/2fa/sms/verify Verify Sms Code #
POST /api/auth/2fa/email/send Send Email Code #
POST /api/auth/2fa/email/verify Verify Email Code #

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-auth-2fa-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-auth-2fa-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pointify Deal Engine Auth 2fa 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: auth-2fa
paths:
  /api/auth/2fa/sms/send:
    post:
      tags:
      - auth-2fa
      summary: Send Sms Code
      description: Issue a 6-digit code and SMS it via Twilio.
      operationId: send_sms_code_api_auth_2fa_sms_send_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsSendRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/2fa/sms/verify:
    post:
      tags:
      - auth-2fa
      summary: Verify Sms Code
      description: Check a 6-digit code against Redis. Marks profiles.phone_verified on success.
      operationId: verify_sms_code_api_auth_2fa_sms_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmsVerifyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/auth/2fa/email/send:
    post:
      tags:
      - auth-2fa
      summary: Send Email Code
      description: Send a 6-digit code to the user's email (Resend).
      operationId: send_email_code_api_auth_2fa_email_send_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SendResponse'
  /api/auth/2fa/email/verify:
    post:
      tags:
      - auth-2fa
      summary: Verify Email Code
      description: Check an emailed code. Sets profiles.email_verified_2fa on success.
      operationId: verify_email_code_api_auth_2fa_email_verify_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailVerifyRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VerifyResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    SmsVerifyRequest:
      properties:
        phone:
          type: string
          maxLength: 20
          minLength: 6
          title: Phone
        code:
          type: string
          maxLength: 10
          minLength: 4
          title: Code
      type: object
      required:
      - phone
      - code
      title: SmsVerifyRequest
    VerifyResponse:
      properties:
        verified:
          type: boolean
          title: Verified
      type: object
      required:
      - verified
      title: VerifyResponse
    SmsSendRequest:
      properties:
        phone:
          type: string
          maxLength: 20
          minLength: 6
          title: Phone
      type: object
      required:
      - phone
      title: SmsSendRequest
    EmailVerifyRequest:
      properties:
        code:
          type: string
          maxLength: 10
          minLength: 4
          title: Code
      type: object
      required:
      - code
      title: EmailVerifyRequest
    SendResponse:
      properties:
        sent:
          type: boolean
          title: Sent
        ttl_seconds:
          type: integer
          title: Ttl Seconds
      type: object
      required:
      - sent
      - ttl_seconds
      title: SendResponse
    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