IBA API — Public
7 endpoints. Server: https://api.tunnelflight.com/api
Ans
POST /public/chatbot/
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
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 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>' \
--header 'content-type: application/json' \
--data '{"query":"what is iba?","views":[],"response":[],"showHistory":false}'Get By UUID
POST /public/chatbot/get/1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
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 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>' \
--header 'content-type: application/json' \
--data '{"uuid":"1315ee2e-f0dc-4c3c-b692-c8be1fcf64ca"}'Get Single
POST /public/chatbot/single
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
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 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>' \
--header 'content-type: application/json' \
--data '{"q_id":1}'History
POST /public/chatbot/history
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
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 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>' \
--header 'content-type: application/json' \
--data '{"chatIds":",thread_8WGNhyFngiBKmcy63xFh1uwu,thread_zXLR57DNv14ytUUVmUOYbsVb,thread_H5De8EzQGHkBhaDn3O7fiLeS","history":[]}'get countries
GET /public/countries
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
Request body
Request body example (default)
nullResponses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/public/countries' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>'Get Skills
GET /public/skills
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
Responses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/public/skills' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>'get tunnels
GET /public/tunnels/248
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | yes | Bearer token. Required for every request. |
client-id | string | yes | Client identifier issued by IBA. Required for every request. |
token | string | no |
Request body
Request body example (default)
nullResponses
2XX — Successful response
Try it
curl --request GET \ --url 'https://api.tunnelflight.com/api/public/tunnels/248' \
--header 'Authorization: Bearer <token>' \
--header 'client-id: <client-id>' \
--header 'token: <token>'