Документация / Как начать / Работа с MCP / Идентификаторы и страницы результатов / REST: events / createEvent Для AI-агентов: markdown этой страницы — /docs/api-op-createevent.md · индекс документации — /llms.txt
createEvent Обновлено 10 октября 2026 г.
POST /api/v1/tools/events
createEvent
# Авторизация и праваScopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.
Поле Значение security.0.hubApiKey [] security.1.hubBearer [] securitySchemes.hubApiKey.in "header" securitySchemes.hubApiKey.name "X-Api-Key" securitySchemes.hubApiKey.type "apiKey" securitySchemes.hubBearer.scheme "bearer" securitySchemes.hubBearer.type "http" x-required-scopes ["events:write"]
# Параметры запросаПоле Значение 0.description "Required for POST with a body. Same-key replay; changed body returns 422." 0.in "header" 0.name "Idempotency-Key" 0.required true 0.schema 0.schema
# Тело запроса# ОтветыПоле Значение 201.content.application/json.schema EventView 201.description "createEvent"
# ОшибкиПоле Значение 400.content.application/problem+json.schema ProblemDetails 400.description "VALIDATION_ERROR or IDEMPOTENCY_KEY_REQUIRED" 401.content.application/problem+json.schema ProblemDetails 401.description "INVALID_API_KEY: X-Api-Key OR Bearer tgf_*; surface JWT is not accepted." 403.content.application/problem+json.schema ProblemDetails 403.description "INSUFFICIENT_SCOPE or PUBLISHABLE_KEY_NOT_ALLOWED" 409.content.application/problem+json.schema ProblemDetails 409.description "CONFLICT: idempotency request still processing" 413.content.application/problem+json.schema ProblemDetails 413.description "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED" 422.content.application/problem+json.schema ProblemDetails 422.description "INVALID_INPUT: a time, time zone, address or stream link breaks an event rule (unparseable, start in the past, end before start, unknown zone, locked times); IDEMPOTENCY_KEY_MISMATCH" 429.content.application/problem+json.schema ProblemDetails 429.description "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE" 429.headers.Retry-After.description "Seconds supplied by the resource guard when available." 429.headers.Retry-After.schema 429.headers.Retry-After.schema 500.content.application/problem+json.schema ProblemDetails 500.description "INTERNAL_ERROR"
# Дополнительные условияПоле Значение operationId "createEvent" summary "createEvent" tags ["events"] x-idempotency "generic-cache" x-pagination null