Read
List /remessas
GET
/api/v1/remessashttps://tenka.app.br/api/v1/remessasLists the account's records in two modes: page by page (limit and offset) or incremental (desde and depoisDe). Records in the recycle bin are not listed.
Key scope
Any key of the account (read is enough).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
Authorization | header | string | yes | Bearer followed by the key. Alternative: X-API-Key header. |
limit | query | integer · default 50 · max. 200 | no | Max items (up to 200). Default 50. |
offset | query | integer · default 0 | no | Offset for pagination. Default 0. |
desde | query | string | no | Only what changed from this instant (ISO-8601: 2026-08-27 or 2026-08-27T14:30:00). Turns on incremental mode: the response carries proximoDesde/proximoId/temMais to send back on the next call. |
depoisDe | query | integer | no | The proximoId of the previous response, together with proximoDesde in desde. Breaks ties between records saved at the same instant. |
Response fields
Response envelope
| Name | Type | Description |
|---|---|---|
data | array | The records of the page. |
moeda | string | Account functional currency (ISO 4217) of the amounts. |
limit | integer | The limit applied. |
offset | integer | The offset applied. |
count | integer | How many records came in this page. |
desde | string | Incremental mode only: the cut applied. |
temMais | boolean | There is another page. |
proximoDesde | string | Incremental mode only: send back as desde on the next call. |
proximoId | integer | Incremental mode only: send back as depoisDe on the next call. |
Each record in data[]
| Name | Type | Description |
|---|---|---|
id | integer | Record identifier. Use it in by-id calls. |
idFornecedor | string | id of the supplier (the subcontractor providing the service). |
tipoServico | string | Subcontracted service type (dyeing, printing, knitting, finishing...). |
situacao | string | Record status, in the screen's vocabulary. |
dtSaida | string | Date the shipment left (YYYY-MM-DD). |
dtPrevisaoRetorno | string | Expected return date (YYYY-MM-DD). |
atualizadoEm | string (date and time) | Incremental mode only: when the record was last created or changed. |
Status codes
| HTTP | Description |
|---|---|
| 200 | OK |
| 401 | Missing or invalid key |
| 429 | Rate limit (120/min) exceeded |
Error messages
| HTTP | Message (erro field) | When it happens |
|---|---|---|
| 401 | chave de API ausente ou inválida | No key header, revoked key or typo. |
| 401 | chave sem empresa vinculada | The key exists but is not linked to an account. Create another one in Settings › API. |
| 403 | conta de demonstração: a API pública está desligada na vitrine | The call reached the demo account, where the public API is turned off. |
| 403 | identidade da chave de API irregular | The account refuses keys with irregular identity (deactivated person or ownerless key). The body brings motivo and comoResolver. |
| 429 | limite de requisições excedido (120/min) | The key went over its per-minute limit. Wait for Retry-After. |
| 200, with erro in the body | parâmetro 'desde' inválido — use 2026-08-27 ou 2026-08-27T14:30:00 | desde is neither a date nor a date-time. Comes with status 200. |
| 200, with erro in the body | parâmetro 'depoisDe' inválido — use o proximoId da resposta anterior | depoisDe is not a number. Comes with status 200. |
| 200, with erro in the body | falha ao consultar | The query failed on our side. Comes with status 200; retry later and, if it persists, check the status page. |