Skip to content
Markdown

Message settings ​

Outbound messaging settings

INFO

Каждый ответ приходит в общем конверте — code, message, messages, status_code, time — а полезная нагрузка лежит в data. Таблицы ниже описывают содержимое data.

POST /message-settings/get ​

Get the message settings for a specific (bot_type, message_type) combination. Auto-creates the document with defaults if it does not exist yet. Because the resource is keyed by a composite — not an ObjectId — the request requires a body with both keys.

Нужное разрешение: нет — закрыто для приложения, объявившего разрешения · как работают разрешения

Пример запроса

bash
curl -X POST 'https://api.bito.uz/integration-api/integration/api/v2/message-settings/get' \
  -H "api-key: $BITO_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE"
}'
js
const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/message-settings/get', {
  method: 'POST',
  headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "bot_type": "CUSTOMER_BOT",
    "message_type": "TRADE"
  }),
})
const { code, data } = await res.json()
python
import os
import requests

res = requests.request(
    "POST",
    "https://api.bito.uz/integration-api/integration/api/v2/message-settings/get",
    headers={"api-key": os.environ["BITO_API_KEY"]},
    json={
        "bot_type": "CUSTOMER_BOT",
        "message_type": "TRADE",
    },
)
print(res.json())
php
<?php
$body = <<<'JSON'
{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE"
}
JSON;

$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/message-settings/get');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'POST',
    CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => $body,
    CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);

Тело запроса

ПолеТипОбязательноОписание
bot_typestringДаBot channel type. Допустимые значения: CUSTOMER_BOT, REPORT_BOT, SMS
message_typestringДаBusiness event category the settings apply to. Допустимые значения: TRADE, PURCHASE, TRANSACTION, TRANSFER, PRODUCTION, TASK
json
{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE"
}

Ответ

ПолеТипОписание
_idstringDocument ObjectId
account_idstringTenant identifier
bot_typestringBot channel type. Допустимые значения: CUSTOMER_BOT, REPORT_BOT, SMS
message_typestringBusiness event category the settings apply to. Допустимые значения: TRADE, PURCHASE, TRANSACTION, TRANSFER, PRODUCTION, TASK
is_task_createdboolean
is_task_closedboolean
is_refundany
sold_atany
stateany
organizationany
sellerany
customerany
noteobject
note.showbooleanWhether this field is shown in the message
note.positionintegerDisplay position (0-based)
total_amountany
itemsany
discountany
included_taxany
added_taxany
totalany
paymentsany
by_balanceany
is_installment_planany
debtany
applied_cashbacksany
initial_paymentany
purchaseany
balanceany
earned_cashbackany
marksany
dateany
responsibleany
supplierany
purchase_created_atany
ordersany
transactionany
transaction_typeany
cashboxany
cashierany
invoiceany
tradeany
employeeany
personany
amountany
payment_methodany
payment_typeany
production_numberany
used_warehouseany
produced_warehouseany
used_dateany
produced_dateany
currencyany
route_sheetany
production_created_byany
production_codeany
total_producedany
total_usedany
total_costany
total_expenseany
linkany
state_changesany
state_changeany
transferany
sender_organizationany
receiver_organizationany
sender_warehouseany
sender_employeeany
reasonany
productsany
customer_balanceany
transfer_created_atany
production_created_atany
changeany
sign_amountany
numberany
transaction_created_byany
device_nameany
total_discountany
task_typeany
task_descriptionany
resultany
task_deadlineany
task_created_atany
phone_numberany
created_atstring (date-time)
updated_atstring (date-time)
json
{
  "code": 0,
  "message": "Success",
  "status_code": 200,
  "data": {
    "_id": "string",
    "account_id": "string",
    "bot_type": "CUSTOMER_BOT",
    "message_type": "TRADE",
    "is_task_created": false,
    "is_task_closed": false,
    "is_refund": null,
    "sold_at": null,
    "state": null,
    "organization": null,
    "seller": null,
    "customer": null,
    "note": {
      "show": false,
      "position": 0
    },
    "total_amount": null,
    "items": null,
    "discount": null,
    "included_tax": null,
    "added_tax": null,
    "total": null,
    "payments": null,
    "by_balance": null,
    "is_installment_plan": null,
    "debt": null,
    "applied_cashbacks": null,
    "initial_payment": null,
    "purchase": null,
    "balance": null,
    "earned_cashback": null,
    "marks": null,
    "date": null,
    "responsible": null,
    "supplier": null,
    "purchase_created_at": null,
    "orders": null,
    "transaction": null,
    "transaction_type": null,
    "cashbox": null,
    "cashier": null,
    "invoice": null,
    "trade": null,
    "employee": null,
    "person": null,
    "amount": null,
    "payment_method": null,
    "payment_type": null,
    "production_number": null,
    "used_warehouse": null,
    "produced_warehouse": null,
    "used_date": null,
    "produced_date": null,
    "currency": null,
    "route_sheet": null,
    "production_created_by": null,
    "production_code": null,
    "total_produced": null,
    "total_used": null,
    "total_cost": null,
    "total_expense": null,
    "link": null,
    "state_changes": null,
    "state_change": null,
    "transfer": null,
    "sender_organization": null,
    "receiver_organization": null,
    "sender_warehouse": null,
    "sender_employee": null,
    "reason": null,
    "products": null,
    "customer_balance": null,
    "transfer_created_at": null,
    "production_created_at": null,
    "change": null,
    "sign_amount": null,
    "number": null,
    "transaction_created_by": null,
    "device_name": null,
    "total_discount": null,
    "task_type": null,
    "task_description": null,
    "result": null,
    "task_deadline": null,
    "task_created_at": null,
    "phone_number": null,
    "created_at": "2025-05-01T12:00:00Z",
    "updated_at": "2025-05-01T12:00:00Z"
  },
  "time": "2025-05-01T12:00:00Z"
}

PUT /message-settings/set ​

Create or update the message settings for a specific (bot_type, message_type) combination. All ~80 DetailSettings toggle fields (show + position) are optional — omitted fields keep their existing values on update, or receive defaults on create.

Нужное разрешение: нет — закрыто для приложения, объявившего разрешения · как работают разрешения

Пример запроса

bash
curl -X PUT 'https://api.bito.uz/integration-api/integration/api/v2/message-settings/set' \
  -H "api-key: $BITO_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE"
}'
js
const res = await fetch('https://api.bito.uz/integration-api/integration/api/v2/message-settings/set', {
  method: 'PUT',
  headers: { 'api-key': process.env.BITO_API_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({
    "bot_type": "CUSTOMER_BOT",
    "message_type": "TRADE"
  }),
})
const { code, data } = await res.json()
python
import os
import requests

res = requests.request(
    "PUT",
    "https://api.bito.uz/integration-api/integration/api/v2/message-settings/set",
    headers={"api-key": os.environ["BITO_API_KEY"]},
    json={
        "bot_type": "CUSTOMER_BOT",
        "message_type": "TRADE",
    },
)
print(res.json())
php
<?php
$body = <<<'JSON'
{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE"
}
JSON;

$ch = curl_init('https://api.bito.uz/integration-api/integration/api/v2/message-settings/set');
curl_setopt_array($ch, [
    CURLOPT_CUSTOMREQUEST => 'PUT',
    CURLOPT_HTTPHEADER => ['api-key: ' . getenv('BITO_API_KEY'), 'Content-Type: application/json'],
    CURLOPT_POSTFIELDS => $body,
    CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);

Тело запроса

ПолеТипОбязательноОписание
bot_typestringДаBot channel type. Допустимые значения: CUSTOMER_BOT, REPORT_BOT, SMS
message_typestringДаBusiness event category the settings apply to. Допустимые значения: TRADE, PURCHASE, TRANSACTION, TRANSFER, PRODUCTION, TASK
is_task_createdbooleanНетNotify when a task is created
is_task_closedbooleanНетNotify when a task is closed
is_refundobjectНет
is_refund.showbooleanДаWhether this field is shown in the message
is_refund.positionintegerДаDisplay position (0-based)
sold_atobjectНет
sold_at.showbooleanДаWhether this field is shown in the message
sold_at.positionintegerДаDisplay position (0-based)
stateobjectНет
state.showbooleanДаWhether this field is shown in the message
state.positionintegerДаDisplay position (0-based)
organizationobjectНет
organization.showbooleanДаWhether this field is shown in the message
organization.positionintegerДаDisplay position (0-based)
sellerobjectНет
seller.showbooleanДаWhether this field is shown in the message
seller.positionintegerДаDisplay position (0-based)
customerobjectНет
customer.showbooleanДаWhether this field is shown in the message
customer.positionintegerДаDisplay position (0-based)
noteobjectНет
note.showbooleanДаWhether this field is shown in the message
note.positionintegerДаDisplay position (0-based)
total_amountobjectНет
total_amount.showbooleanДаWhether this field is shown in the message
total_amount.positionintegerДаDisplay position (0-based)
itemsobjectНет
items.showbooleanДаWhether this field is shown in the message
items.positionintegerДаDisplay position (0-based)
discountobjectНет
discount.showbooleanДаWhether this field is shown in the message
discount.positionintegerДаDisplay position (0-based)
included_taxobjectНет
included_tax.showbooleanДаWhether this field is shown in the message
included_tax.positionintegerДаDisplay position (0-based)
added_taxobjectНет
added_tax.showbooleanДаWhether this field is shown in the message
added_tax.positionintegerДаDisplay position (0-based)
totalobjectНет
total.showbooleanДаWhether this field is shown in the message
total.positionintegerДаDisplay position (0-based)
paymentsobjectНет
payments.showbooleanДаWhether this field is shown in the message
payments.positionintegerДаDisplay position (0-based)
by_balanceobjectНет
by_balance.showbooleanДаWhether this field is shown in the message
by_balance.positionintegerДаDisplay position (0-based)
is_installment_planobjectНет
is_installment_plan.showbooleanДаWhether this field is shown in the message
is_installment_plan.positionintegerДаDisplay position (0-based)
debtobjectНет
debt.showbooleanДаWhether this field is shown in the message
debt.positionintegerДаDisplay position (0-based)
applied_cashbacksobjectНет
applied_cashbacks.showbooleanДаWhether this field is shown in the message
applied_cashbacks.positionintegerДаDisplay position (0-based)
initial_paymentobjectНет
initial_payment.showbooleanДаWhether this field is shown in the message
initial_payment.positionintegerДаDisplay position (0-based)
purchaseobjectНет
purchase.showbooleanДаWhether this field is shown in the message
purchase.positionintegerДаDisplay position (0-based)
balanceobjectНет
balance.showbooleanДаWhether this field is shown in the message
balance.positionintegerДаDisplay position (0-based)
earned_cashbackobjectНет
earned_cashback.showbooleanДаWhether this field is shown in the message
earned_cashback.positionintegerДаDisplay position (0-based)
marksobjectНет
marks.showbooleanДаWhether this field is shown in the message
marks.positionintegerДаDisplay position (0-based)
dateobjectНет
date.showbooleanДаWhether this field is shown in the message
date.positionintegerДаDisplay position (0-based)
responsibleobjectНет
responsible.showbooleanДаWhether this field is shown in the message
responsible.positionintegerДаDisplay position (0-based)
supplierobjectНет
supplier.showbooleanДаWhether this field is shown in the message
supplier.positionintegerДаDisplay position (0-based)
purchase_created_atobjectНет
purchase_created_at.showbooleanДаWhether this field is shown in the message
purchase_created_at.positionintegerДаDisplay position (0-based)
ordersobjectНет
orders.showbooleanДаWhether this field is shown in the message
orders.positionintegerДаDisplay position (0-based)
transactionobjectНет
transaction.showbooleanДаWhether this field is shown in the message
transaction.positionintegerДаDisplay position (0-based)
transaction_typeobjectНет
transaction_type.showbooleanДаWhether this field is shown in the message
transaction_type.positionintegerДаDisplay position (0-based)
cashboxobjectНет
cashbox.showbooleanДаWhether this field is shown in the message
cashbox.positionintegerДаDisplay position (0-based)
cashierobjectНет
cashier.showbooleanДаWhether this field is shown in the message
cashier.positionintegerДаDisplay position (0-based)
invoiceobjectНет
invoice.showbooleanДаWhether this field is shown in the message
invoice.positionintegerДаDisplay position (0-based)
tradeobjectНет
trade.showbooleanДаWhether this field is shown in the message
trade.positionintegerДаDisplay position (0-based)
employeeobjectНет
employee.showbooleanДаWhether this field is shown in the message
employee.positionintegerДаDisplay position (0-based)
personobjectНет
person.showbooleanДаWhether this field is shown in the message
person.positionintegerДаDisplay position (0-based)
amountobjectНет
amount.showbooleanДаWhether this field is shown in the message
amount.positionintegerДаDisplay position (0-based)
payment_methodobjectНет
payment_method.showbooleanДаWhether this field is shown in the message
payment_method.positionintegerДаDisplay position (0-based)
payment_typeobjectНет
payment_type.showbooleanДаWhether this field is shown in the message
payment_type.positionintegerДаDisplay position (0-based)
production_numberobjectНет
production_number.showbooleanДаWhether this field is shown in the message
production_number.positionintegerДаDisplay position (0-based)
used_warehouseobjectНет
used_warehouse.showbooleanДаWhether this field is shown in the message
used_warehouse.positionintegerДаDisplay position (0-based)
produced_warehouseobjectНет
produced_warehouse.showbooleanДаWhether this field is shown in the message
produced_warehouse.positionintegerДаDisplay position (0-based)
used_dateobjectНет
used_date.showbooleanДаWhether this field is shown in the message
used_date.positionintegerДаDisplay position (0-based)
produced_dateobjectНет
produced_date.showbooleanДаWhether this field is shown in the message
produced_date.positionintegerДаDisplay position (0-based)
currencyobjectНет
currency.showbooleanДаWhether this field is shown in the message
currency.positionintegerДаDisplay position (0-based)
route_sheetobjectНет
route_sheet.showbooleanДаWhether this field is shown in the message
route_sheet.positionintegerДаDisplay position (0-based)
production_created_byobjectНет
production_created_by.showbooleanДаWhether this field is shown in the message
production_created_by.positionintegerДаDisplay position (0-based)
production_codeobjectНет
production_code.showbooleanДаWhether this field is shown in the message
production_code.positionintegerДаDisplay position (0-based)
total_producedobjectНет
total_produced.showbooleanДаWhether this field is shown in the message
total_produced.positionintegerДаDisplay position (0-based)
total_usedobjectНет
total_used.showbooleanДаWhether this field is shown in the message
total_used.positionintegerДаDisplay position (0-based)
total_costobjectНет
total_cost.showbooleanДаWhether this field is shown in the message
total_cost.positionintegerДаDisplay position (0-based)
total_expenseobjectНет
total_expense.showbooleanДаWhether this field is shown in the message
total_expense.positionintegerДаDisplay position (0-based)
linkobjectНет
link.showbooleanДаWhether this field is shown in the message
link.positionintegerДаDisplay position (0-based)
state_changesobjectНет
state_changes.showbooleanДаWhether this field is shown in the message
state_changes.positionintegerДаDisplay position (0-based)
state_changeobjectНет
state_change.showbooleanДаWhether this field is shown in the message
state_change.positionintegerДаDisplay position (0-based)
transferobjectНет
transfer.showbooleanДаWhether this field is shown in the message
transfer.positionintegerДаDisplay position (0-based)
sender_organizationobjectНет
sender_organization.showbooleanДаWhether this field is shown in the message
sender_organization.positionintegerДаDisplay position (0-based)
receiver_organizationobjectНет
receiver_organization.showbooleanДаWhether this field is shown in the message
receiver_organization.positionintegerДаDisplay position (0-based)
sender_warehouseobjectНет
sender_warehouse.showbooleanДаWhether this field is shown in the message
sender_warehouse.positionintegerДаDisplay position (0-based)
sender_employeeobjectНет
sender_employee.showbooleanДаWhether this field is shown in the message
sender_employee.positionintegerДаDisplay position (0-based)
reasonobjectНет
reason.showbooleanДаWhether this field is shown in the message
reason.positionintegerДаDisplay position (0-based)
productsobjectНет
products.showbooleanДаWhether this field is shown in the message
products.positionintegerДаDisplay position (0-based)
customer_balanceobjectНет
customer_balance.showbooleanДаWhether this field is shown in the message
customer_balance.positionintegerДаDisplay position (0-based)
transfer_created_atobjectНет
transfer_created_at.showbooleanДаWhether this field is shown in the message
transfer_created_at.positionintegerДаDisplay position (0-based)
production_created_atobjectНет
production_created_at.showbooleanДаWhether this field is shown in the message
production_created_at.positionintegerДаDisplay position (0-based)
changeobjectНет
change.showbooleanДаWhether this field is shown in the message
change.positionintegerДаDisplay position (0-based)
sign_amountobjectНет
sign_amount.showbooleanДаWhether this field is shown in the message
sign_amount.positionintegerДаDisplay position (0-based)
numberobjectНет
number.showbooleanДаWhether this field is shown in the message
number.positionintegerДаDisplay position (0-based)
transaction_created_byobjectНет
transaction_created_by.showbooleanДаWhether this field is shown in the message
transaction_created_by.positionintegerДаDisplay position (0-based)
device_nameobjectНет
device_name.showbooleanДаWhether this field is shown in the message
device_name.positionintegerДаDisplay position (0-based)
total_discountobjectНет
total_discount.showbooleanДаWhether this field is shown in the message
total_discount.positionintegerДаDisplay position (0-based)
task_typeobjectНет
task_type.showbooleanДаWhether this field is shown in the message
task_type.positionintegerДаDisplay position (0-based)
task_descriptionobjectНет
task_description.showbooleanДаWhether this field is shown in the message
task_description.positionintegerДаDisplay position (0-based)
resultobjectНет
result.showbooleanДаWhether this field is shown in the message
result.positionintegerДаDisplay position (0-based)
task_deadlineobjectНет
task_deadline.showbooleanДаWhether this field is shown in the message
task_deadline.positionintegerДаDisplay position (0-based)
task_created_atobjectНет
task_created_at.showbooleanДаWhether this field is shown in the message
task_created_at.positionintegerДаDisplay position (0-based)
phone_numberobjectНет
phone_number.showbooleanДаWhether this field is shown in the message
phone_number.positionintegerДаDisplay position (0-based)
currency_rateobjectНет
currency_rate.showbooleanДа
currency_rate.positionnumberДа
supplier_balanceobjectНет
supplier_balance.showbooleanДа
supplier_balance.positionnumberДа
json
{
  "bot_type": "CUSTOMER_BOT",
  "message_type": "TRADE",
  "is_task_created": false,
  "is_task_closed": false,
  "is_refund": {
    "show": false,
    "position": 0
  },
  "sold_at": {
    "show": false,
    "position": 0
  },
  "state": {
    "show": false,
    "position": 0
  },
  "organization": {
    "show": false,
    "position": 0
  },
  "seller": {
    "show": false,
    "position": 0
  },
  "customer": {
    "show": false,
    "position": 0
  },
  "note": {
    "show": false,
    "position": 0
  },
  "total_amount": {
    "show": false,
    "position": 0
  },
  "items": {
    "show": false,
    "position": 0
  },
  "discount": {
    "show": false,
    "position": 0
  },
  "included_tax": {
    "show": false,
    "position": 0
  },
  "added_tax": {
    "show": false,
    "position": 0
  },
  "total": {
    "show": false,
    "position": 0
  },
  "payments": {
    "show": false,
    "position": 0
  },
  "by_balance": {
    "show": false,
    "position": 0
  },
  "is_installment_plan": {
    "show": false,
    "position": 0
  },
  "debt": {
    "show": false,
    "position": 0
  },
  "applied_cashbacks": {
    "show": false,
    "position": 0
  },
  "initial_payment": {
    "show": false,
    "position": 0
  },
  "purchase": {
    "show": false,
    "position": 0
  },
  "balance": {
    "show": false,
    "position": 0
  },
  "earned_cashback": {
    "show": false,
    "position": 0
  },
  "marks": {
    "show": false,
    "position": 0
  },
  "date": {
    "show": false,
    "position": 0
  },
  "responsible": {
    "show": false,
    "position": 0
  },
  "supplier": {
    "show": false,
    "position": 0
  },
  "purchase_created_at": {
    "show": false,
    "position": 0
  },
  "orders": {
    "show": false,
    "position": 0
  },
  "transaction": {
    "show": false,
    "position": 0
  },
  "transaction_type": {
    "show": false,
    "position": 0
  },
  "cashbox": {
    "show": false,
    "position": 0
  },
  "cashier": {
    "show": false,
    "position": 0
  },
  "invoice": {
    "show": false,
    "position": 0
  },
  "trade": {
    "show": false,
    "position": 0
  },
  "employee": {
    "show": false,
    "position": 0
  },
  "person": {
    "show": false,
    "position": 0
  },
  "amount": {
    "show": false,
    "position": 0
  },
  "payment_method": {
    "show": false,
    "position": 0
  },
  "payment_type": {
    "show": false,
    "position": 0
  },
  "production_number": {
    "show": false,
    "position": 0
  },
  "used_warehouse": {
    "show": false,
    "position": 0
  },
  "produced_warehouse": {
    "show": false,
    "position": 0
  },
  "used_date": {
    "show": false,
    "position": 0
  },
  "produced_date": {
    "show": false,
    "position": 0
  },
  "currency": {
    "show": false,
    "position": 0
  },
  "route_sheet": {
    "show": false,
    "position": 0
  },
  "production_created_by": {
    "show": false,
    "position": 0
  },
  "production_code": {
    "show": false,
    "position": 0
  },
  "total_produced": {
    "show": false,
    "position": 0
  },
  "total_used": {
    "show": false,
    "position": 0
  },
  "total_cost": {
    "show": false,
    "position": 0
  },
  "total_expense": {
    "show": false,
    "position": 0
  },
  "link": {
    "show": false,
    "position": 0
  },
  "state_changes": {
    "show": false,
    "position": 0
  },
  "state_change": {
    "show": false,
    "position": 0
  },
  "transfer": {
    "show": false,
    "position": 0
  },
  "sender_organization": {
    "show": false,
    "position": 0
  },
  "receiver_organization": {
    "show": false,
    "position": 0
  },
  "sender_warehouse": {
    "show": false,
    "position": 0
  },
  "sender_employee": {
    "show": false,
    "position": 0
  },
  "reason": {
    "show": false,
    "position": 0
  },
  "products": {
    "show": false,
    "position": 0
  },
  "customer_balance": {
    "show": false,
    "position": 0
  },
  "transfer_created_at": {
    "show": false,
    "position": 0
  },
  "production_created_at": {
    "show": false,
    "position": 0
  },
  "change": {
    "show": false,
    "position": 0
  },
  "sign_amount": {
    "show": false,
    "position": 0
  },
  "number": {
    "show": false,
    "position": 0
  },
  "transaction_created_by": {
    "show": false,
    "position": 0
  },
  "device_name": {
    "show": false,
    "position": 0
  },
  "total_discount": {
    "show": false,
    "position": 0
  },
  "task_type": {
    "show": false,
    "position": 0
  },
  "task_description": {
    "show": false,
    "position": 0
  },
  "result": {
    "show": false,
    "position": 0
  },
  "task_deadline": {
    "show": false,
    "position": 0
  },
  "task_created_at": {
    "show": false,
    "position": 0
  },
  "phone_number": {
    "show": false,
    "position": 0
  },
  "currency_rate": {
    "show": false,
    "position": 0
  },
  "supplier_balance": {
    "show": false,
    "position": 0
  }
}

Ответ

Структура ответа совпадает с POST /message-settings/get.


Эта страница сгенерирована из спецификации OpenAPI.

Bito 2.0 Integration API