Skip to Content

IBA API — Public

11 endpoints. Server: https://api.tunnelflight.com/api

Ans

POST /public/chatbot/

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

{ "query": "what is iba?", "views": [], "response": [], "showHistory": false }

Responses

2XX — Successful response

Try it

curl --request POST \ --url 'https://api.tunnelflight.com/api/public/chatbot/' \ --header 'token: <token>' \ --header 'content-type: application/json' \ --data '{"query":"what is iba?","views":[],"response":[],"showHistory":false}'

View source on GitHub → 


Create Stream

POST /public/chatbot/stream

Request body

Request body example (default)

{ "query": "", "thread_id": 0 }

Responses

2XX — Successful response

Try it

curl --request POST \ --url 'https://api.tunnelflight.com/api/public/chatbot/stream' \ --header 'content-type: application/json' \ --data '{"query":"","thread_id":0}'

View source on GitHub → 


Get By UUID

POST /public/chatbot/get/1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

{ "uuid": "1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca" }

Responses

2XX — Successful response

Try it

curl --request POST \ --url 'https://api.tunnelflight.com/api/public/chatbot/get/1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca' \ --header 'token: <token>' \ --header 'content-type: application/json' \ --data '{"uuid":"1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca"}'

View source on GitHub → 


Get Single

POST /public/chatbot/single

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

{ "q_id": 1 }

Responses

2XX — Successful response

Try it

curl --request POST \ --url 'https://api.tunnelflight.com/api/public/chatbot/single' \ --header 'token: <token>' \ --header 'content-type: application/json' \ --data '{"q_id":1}'

View source on GitHub → 


History

POST /public/chatbot/history

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

{ "chatIds": ",thread_8WGNhyFngiBKmcy63xFh1uwu,thread_zXLR57DNv14ytUUVmUOYbsVb,thread_H5De8EzQGHkBhaDn3O7fiLeS", "history": [] }

Responses

2XX — Successful response

Try it

curl --request POST \ --url 'https://api.tunnelflight.com/api/public/chatbot/history' \ --header 'token: <token>' \ --header 'content-type: application/json' \ --data '{"chatIds":",thread_8WGNhyFngiBKmcy63xFh1uwu,thread_zXLR57DNv14ytUUVmUOYbsVb,thread_H5De8EzQGHkBhaDn3O7fiLeS","history":[]}'

View source on GitHub → 


get countries

GET /public/countries

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

null

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/countries' \ --header 'token: <token>'

View source on GitHub → 


Get Skills

GET /public/skills

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/skills' \ --header 'token: <token>'

View source on GitHub → 


Get All

GET /public/tunnels/all

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/tunnels/all'

View source on GitHub → 


Get Skyventure

GET /public/tunnels/skyventure

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/tunnels/skyventure'

View source on GitHub → 


Get Tunnels 1

GET /public/tunnels

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/tunnels'

View source on GitHub → 


get tunnels

GET /public/tunnels/248

Headers

NameTypeRequiredDescription
tokenstringyesAuthentication token. External HMAC endpoints: the HMAC-SHA256 hex digest of the JSON request body. Internal/admin endpoints: your IBA session token.

Request body

Request body example (default)

null

Responses

2XX — Successful response

Try it

curl --request GET \ --url 'https://api.tunnelflight.com/api/public/tunnels/248' \ --header 'token: <token>'

View source on GitHub → 

Last updated on