# listOrders

Source: <https://telegafirst.com/docs/api-op-listorders>
Locale: ru
releaseGitSha: ea133cd4ad87fe549ef000b139be145be9bd1717
sourceContentDigest: cb872a74650c1562805cc6ea78ab8c97a2612940c38597ef9883c0b525aa8d12
Version: 2

# listOrders

`GET /api/v1/orders`

listOrders

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

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 | \["pull:orders"] |

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

| Поле | Значение |
| - | - |
| 0.description | "Scalar or comma-separated IN list of at most 100 positive int4 User sequences. Each value is checked against 1..2147483647 and resolved through the authenticated tenant User relation. Legacy user\_id is rejected." |
| 0.in | "query" |
| 0.name | "user\_seq\_num" |
| 0.required | false |
| 0.schema | [0.schema](https://telegafirst.com/docs/schema-1b47329eaa2c18d00cbe9132daf29e7dd72711bcbc8c87707118470cd6339983) |
| 1.in | "query" |
| 1.name | "cursor" |
| 1.required | false |
| 1.schema | [1.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 2.in | "query" |
| 2.name | "limit" |
| 2.required | false |
| 2.schema | [2.schema](https://telegafirst.com/docs/schema-dfbe8dfe1b8e5376c20829a23164315d079eeda63d4aa5cb00df645601a457b0) |
| 3.in | "query" |
| 3.name | "sort" |
| 3.required | false |
| 3.schema | [3.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |
| 4.in | "query" |
| 4.name | "include" |
| 4.required | false |
| 4.schema | [4.schema](https://telegafirst.com/docs/schema-00404e686415370f1711c4d7acfa2905444d3cf23cef2e10c47d445ebe690f96) |

## Тело запроса

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

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [OrderPullList](https://telegafirst.com/docs/schema-df8d6aed1d2b88bd7da19cde76d7fea254d8946e964b0bc59e3aee1c06f285c3) |
| 200.description | "List external orders" |

## Ошибки

| Поле | Значение |
| - | - |
| 400.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 400.description | "INVALID\_FILTER rejects unknown/legacy fields or invalid sequence bounds; INVALID\_CURSOR rejects format, expiry, filter or tenant mismatch" |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 401.description | "Missing, invalid, expired or revoked authentication" |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 403.description | "Required scope, plan or resource policy refused the caller" |

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

| Поле | Значение |
| - | - |
| operationId | "listOrders" |
| tags | \["orders"] |
| x-idempotency | "none" |
