---
description: Отправка события о запуске приложения или бота
---

# Start event

## Send "start" event

> You must send this event when your bot receives the \`/start\` command or when the web app is launched and loaded.

```json
{"openapi":"3.0.0","info":{"title":"Taddy API","version":"1.1.0"},"servers":[{"url":"https://api.taddy.pro/v1","description":"Production API Server"},{"url":"https://api.taddy.tech/v1","description":"Staging API Server"}],"paths":{"/events/start":{"post":{"tags":["Events"],"summary":"Send \"start\" event","description":"You must send this event when your bot receives the `/start` command or when the web app is launched and loaded.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","allOf":[{"type":"object","required":["pubId","user"],"properties":{"pubId":{"description":"Public Resource ID","type":"string"},"user":{"description":"Telegram User","type":"object","required":["id"],"properties":{"id":{"type":"integer","format":"int64"},"firstName":{"type":"string","maxLength":64},"lastName":{"type":"string","maxLength":64},"username":{"type":"string","maxLength":32},"premium":{"type":"boolean"},"language":{"type":"string","minLength":2,"maxLength":2},"country":{"type":"string","minLength":2,"maxLength":2},"gender":{"type":"string","enum":["male","female","unknown"],"nullable":true},"ip":{"type":"string"},"userAgent":{"type":"string"},"birthDate":{"type":"string","format":"date"}}},"origin":{"type":"string","enum":["web","server"],"default":"server","description":"Request origin (`server` for bots, `web` for apps)"}}},{"type":"object","properties":{"start":{"type":"string"}}}]}}}},"responses":{"204":{"description":"Event successfully submitted"},"400":{"description":"Invalid Request","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"string"},"code":{"type":"number"}}}}}}}}}}}
```
