# REST: events

Source: <https://telegafirst.com/docs/api-events>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: cbaa935437197c1cd85fbc39910143e0789bafda2979802b8149014216835c87
Version: 9

# REST: events

Выберите операцию: полный контракт доступен по ссылке. Scopes: ALL; auth alternatives: OR.

## listEvents

`GET /api/v1/tools/events` — listEvents

Scopes (ALL): \["events:read"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-listevents)

## updateEvent

`PATCH /api/v1/tools/events` — updateEvent

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-updateevent)

## createEvent

`POST /api/v1/tools/events` — createEvent

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-createevent)

## cancelEvent

`POST /api/v1/tools/events/cancel` — cancelEvent

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-cancelevent)

## completeEvent

`POST /api/v1/tools/events/complete` — completeEvent

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-completeevent)

## deleteEvent

`POST /api/v1/tools/events/delete` — deleteEvent

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-deleteevent)

## getEvent

`GET /api/v1/tools/events/get` — getEvent

Scopes (ALL): \["events:read"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-getevent)

## setEventPhase

`POST /api/v1/tools/events/phase` — setEventPhase

Scopes (ALL): \["events:write"]. Auth (OR): \[{"hubApiKey":\[]},{"hubBearer":\[]}].

[Параметры, ответы и права](https://telegafirst.com/docs/api-op-seteventphase)
