Skip to main content

GET Buscar Movimentações por Paciente

Retorna a lista de movimentações de um paciente específico com paginação opcional.

Autenticação necessária

Envie o header Authorization: Bearer {accessToken} (token de usuário) ou x-api-key: {apiKey} (integrações). Veja Autenticação.

Permissão necessária

Exige a permissão read_movements.


Endpoint​

GET https://api-dev.imagemais.com.br/api/movements/patient/:patientId

Parâmetros​

Path​

NomeTipoObrigatórioDescrição
patientIdnumber✅ID do paciente

Query​

NomeTipoObrigatórioDescrição
limitstring❌Itens por página
cursorstring❌Cursor para paginação

Requisição​

curl -X 'GET' \
'https://api-dev.imagemais.com.br/api/movements/patient/14243?limit=50&cursor=0' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {accessToken}'

Respostas​

200 Sucesso​

{
"data": [
{
"id": 9762,
"value": "170",
"createdAt": "2026-05-11T17:51:25.609Z",
"paymentMethod": {
"name": "PIX_PAGAMENTO_INSTANTANEO"
},
"status": {
"name": "CANCELLED"
},
"movementsOptions": null,
"budgets": [
{
"id": 25266,
"budgetsProcedures": [
{
"procedure": {
"name": "PARECER CARDIOLOGICO + RISCO CIRURGICO"
}
}
]
}
],
"appointments": []
},
{
"id": 9189,
"value": "54",
"createdAt": "2026-05-05T14:29:10.864Z",
"paymentMethod": {
"name": "DINHEIRO"
},
"status": {
"name": "CANCELLED"
},
"movementsOptions": null,
"budgets": [
{
"id": 24572,
"budgetsProcedures": [
{
"procedure": {
"name": "LIPAT"
}
}
]
}
],
"appointments": []
}
],
"pagination": {
"nextCursor": null
}
}

200 Paciente não encontrado​

{
"data": [],
"pagination": {
"nextCursor": null
}
}