Для AI-агентов: markdown этой страницы — /docs/api-op-submitformsubmission.md · индекс документации — /llms.txt
submitFormSubmission
Обновлено
POST /api/v1/form-submissions
submitFormSubmission
#Авторизация и права
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 | ["push:form_submissions"] |
#Параметры запроса
| Поле | Значение |
|---|
| 0.description | "Required for a nonempty POST body by the canonical24-hour HTTP response receipt." |
| 0.in | "header" |
| 0.name | "Idempotency-Key" |
| 0.required | true |
| 0.schema | 0.schema |
#Тело запроса
#Ответы
#Ошибки
| Поле | Значение |
|---|
| 400.content.application/problem+json.schema | ProblemDetails |
| 400.description | "Malformed or unknown request field, or missing Idempotency-Key on a nonempty POST body" |
| 401.content.application/problem+json.schema | ProblemDetails |
| 401.description | "Missing or invalid API key" |
| 403.content.application/problem+json.schema | ProblemDetails |
| 403.description | "Scope or resource policy refused the request" |
| 404.content.application/problem+json.schema | ProblemDetails |
| 404.description | "Form does not exist for the authenticated tenant" |
| 409.content.application/problem+json.schema | ProblemDetails |
| 409.description | "CONFLICT: command with this Idempotency-Key is already processing" |
| 413.content.application/problem+json.schema | ProblemDetails |
| 413.description | "PAYLOAD_TOO_LARGE or ITEM_COUNT_EXCEEDED: resource policy cap exceeded" |
| 422.content.application/problem+json.schema | ProblemDetails |
| 422.description | "VALIDATION_ERROR: submission violates form declaration; changed idempotent body emits IDEMPOTENCY_KEY_MISMATCH" |
| 429.content.application/problem+json.schema | ProblemDetails |
| 429.description | "RATE_LIMIT_EXCEEDED or RATE_LIMIT_UNAVAILABLE: resource limiter refuses or fails closed" |
| 429.headers.Retry-After.description | "Seconds supplied by 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: unexpected storage or service failure" |
#Дополнительные условия
| Поле | Значение |
|---|
| operationId | "submitFormSubmission" |
| tags | ["form-submissions"] |
| x-idempotency | "http-cache" |