Public API

Connect a CRM, analytics, a bot or anything else to your project. Read conversations and contacts, reply to customers, receive events — without polling.

Your first call

Create a key in the app: Settings → API. The key is shown once.

curl -H "Authorization: Bearer $TYGY_API_KEY" https://api.tg-desk.com/v1/me

Base URL

Use the host of the brand your project is registered under.

Tygyhttps://api.tygy.ru
TG Deskhttps://api.tg-desk.com

Where to get a key. In the app: Settings → API → «Create key». A key belongs to the project, not to a person, and keeps working after they leave the company.

Guides

API reference

Every method with its parameters, request bodies and ready-to-run commands.

Open the reference