К содержанию
TelegaFirst

Для AI-агентов: markdown этой страницы — /docs/api-op-listquickreplies.mdиндекс документации — /llms.txt

listQuickReplies

Обновлено

GET /api/v1/tools/quick-replies

List the tenant’s operator quick replies

Авторизация и права

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["quick-replies:read"]

Параметры запроса

ПолеЗначение
Параметры[]

Тело запроса

ПолеЗначение
Тело запросаnull

Ответы

ПолеЗначение
200.content.application/json.schemaQuickReplyListResponse
200.description"Quick replies; seqNum is the tenant number, never a database primary key."
200.headers.X-Bot-Username.schema200.headers.X-Bot-Username.schema
200.headers.X-Client-Slug.schema200.headers.X-Client-Slug.schema
200.headers.X-RateLimit-Limit.schema200.headers.X-RateLimit-Limit.schema
200.headers.X-RateLimit-Remaining.schema200.headers.X-RateLimit-Remaining.schema
200.headers.X-RateLimit-Reset.schema200.headers.X-RateLimit-Reset.schema

Ошибки

ПолеЗначение
401.content.application/problem+json.schemaProblemDetails
401.description"Missing, invalid, revoked or expired API credential. A surface-session JWT is not accepted."
401.x-error-codes["INVALID_API_KEY"]
403.content.application/problem+json.schemaProblemDetails
403.description"Missing effective scope, forbidden publishable key, inaccessible resource or no active bot."
403.x-error-codes["INSUFFICIENT_SCOPE","PUBLISHABLE_KEY_NOT_ALLOWED","FORBIDDEN","NO_ACTIVE_BOT"]
413.content.application/problem+json.schemaProblemDetails
413.description"The per-tool payload size or item-count limit was exceeded before request validation."
413.x-error-codes["PAYLOAD_TOO_LARGE","ITEM_COUNT_EXCEEDED"]
429.content.application/problem+json.schemaProblemDetails
429.description"The per-tool rate limit was exceeded or its subsystem is unavailable (fail closed)."
429.headers.Retry-After.description"Seconds before retrying the per-tool resource policy."
429.headers.Retry-After.requiredfalse
429.headers.Retry-After.schema429.headers.Retry-After.schema
429.x-error-codes["RATE_LIMIT_EXCEEDED","RATE_LIMIT_UNAVAILABLE"]
500.content.application/problem+json.schemaProblemDetails
500.description"Unexpected internal failure."
500.x-error-codes["INTERNAL_ERROR"]

Дополнительные условия

ПолеЗначение
description"Returns active and archived replies ordered by sort, then tenant sequence. No cursor, limit or filters are supported."
operationId"listQuickReplies"
summary"List the tenant’s operator quick replies"
tags["quick-replies"]
x-idempotency.kind"none"
x-pagination.kind"none"