Webjet Adminpanel API

The Adminpanel API from Webjet — 1 operation(s) for adminpanel.

Operations 1

POST /adminpanel/refresh-token/ Refresh Token

Documentation

Specifications

SDKs

Other Resources

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/webjet-adminpanel-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

webjet-adminpanel-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 4.15.0
  title: Trip Ninja API Documentation Adminpanel API
  description: ''
servers:
- url: https://sandbox.tripninja.io
  description: Sandbox server
tags:
- name: Adminpanel
paths:
  /adminpanel/refresh-token/:
    post:
      summary: Refresh Token
      description: ''
      operationId: ''
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RefreshTokenRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RefreshTokenResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: Machine-readable error code for auth failures.
                    example: '401'
                  message:
                    type: string
                    description: A human-readable message providing more details about the error. (e.g., <code>"Invalid Token"</code>)
                    example: Invalid token
      tags:
      - Adminpanel
components:
  schemas:
    RefreshTokenResponse:
      title: Response
      type: object
      properties:
        access_token:
          type: string
          description: 'Token used to authorize requests to protected API endpoints. (Send as Authorization: Token <code>access_token</code> to protected endpoints). Expires 90 days after <code>created_date</code>.'
          example: a1c1ebeb7460cb88f4dd366a21c790b8ca716889
        refresh_token:
          type: string
          description: Token used to obtain a new <code>access_token</code>. Has indefinite lifespan until regenerated. When used to generate new credentials (e.g., after the 90-day <code>access_token</code> expiration), a new <code>refresh_token</code> is also issued.
          example: ca46466787677bd50743a016532c6gg778b41532
        expiry_date:
          type: string
          description: 'Timestamp when the new <code>access_token</code> becomes invalid. Format: <code>YYYY-MM-DDThh:mm:ss.SSSSSSZ</code> (UTC).'
          example: '2023-10-26T18:27:16.657382Z'
        created_date:
          type: string
          description: 'Timestamp when the <code>access_token</code> was issued. Format: <code>YYYY-MM-DDThh:mm:ss.SSSSSSZ</code> (UTC).'
          example: '2023-09-26T18:27:16.657370Z'
        is_production_token:
          type: boolean
          description: When <code>false</code>, indicates that the generated <code>access_token</code> and <code>refresh_token</code> are intended for sandbox use only.
          example: false
        is_datastream_token:
          type: boolean
          description: When <code>false</code>, indicates that the generated <code>access_token</code> and <code>refresh_token</code> are intended for SmartFlights only.
          example: false
    RefreshTokenRequest:
      title: Request
      type: object
      required:
      - access_token
      - refresh_token
      properties:
        access_token:
          type: string
          description: 'Token used to authorize requests to protected API endpoints. (Send as Authorization: Token <code>access_token</code> to protected endpoints). Expires 90 days after <code>created_date</code>.'
          example: 6774c6717cb93ba8dbfac19c142d043d2ca5a7e7
        refresh_token:
          type: string
          description: Token used to obtain a new <code>access_token</code>. Has indefinite lifespan until regenerated. When used to generate new credentials (e.g., after the 90-day <code>access_token</code> expiration), a new <code>refresh_token</code> is also issued.
          example: 9aecb3c4aa17cb35758a2446a5c957040c879684