TenkaTenka
Sign in

Tenka Help Center › Developer area › List /movimentacoes

Finance

List /movimentacoes

GET/api/v1/movimentacoes

Lists 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

NameInTypeRequiredDescription
AuthorizationheaderstringyesBearer followed by the key. Alternative: X-API-Key header.
limitqueryinteger · default 50 · max. 200noMax items (up to 200). Default 50.
offsetqueryinteger · default 0noOffset for pagination. Default 0.
desdequerystringnoOnly 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.
depoisDequeryintegernoThe proximoId of the previous response, together with proximoDesde in desde. Breaks ties between records saved at the same instant.

Response fields

Response envelope

NameTypeDescription
dataarrayThe records of the page.
moedastringAccount functional currency (ISO 4217) of the amounts.
limitintegerThe limit applied.
offsetintegerThe offset applied.
countintegerHow many records came in this page.
desdestringIncremental mode only: the cut applied.
temMaisbooleanThere is another page.
proximoDesdestringIncremental mode only: send back as desde on the next call.
proximoIdintegerIncremental mode only: send back as depoisDe on the next call.

Each record in data[]

NameTypeDescription
idintegerRecord identifier. Use it in by-id calls.
codigointegerRecord code as shown on screen.
descricaostringDescription.
valornumberTotal amount, in the currency given in moeda.
vencimentostring (date and time)Due date.
statusstringRecord status, in the screen's vocabulary.
atualizadoEmstring (date and time)Incremental mode only: when the record was last created or changed.

Status codes

HTTPDescription
200OK
401Missing or invalid key

Error messages

HTTPMessage (erro field)When it happens
401chave de API ausente ou inválidaNo key header, revoked key or typo.
401chave sem empresa vinculadaThe key exists but is not linked to an account. Create another one in Settings › API.
403conta de demonstração: a API pública está desligada na vitrineThe call reached the demo account, where the public API is turned off.
403identidade da chave de API irregularThe account refuses keys with irregular identity (deactivated person or ownerless key). The body brings motivo and comoResolver.
429limite de requisições excedido (120/min)The key went over its per-minute limit. Wait for Retry-After.
200, with erro in the bodyparâmetro 'desde' inválido — use 2026-08-27 ou 2026-08-27T14:30:00desde is neither a date nor a date-time. Comes with status 200.
200, with erro in the bodyparâmetro 'depoisDe' inválido — use o proximoId da resposta anteriordepoisDe is not a number. Comes with status 200.
200, with erro in the bodyfalha ao consultarThe query failed on our side. Comes with status 200; retry later and, if it persists, check the status page.