Skip to main content

GET Listar Tickets Pendentes

Retorna os tickets pendentes — gerados, mas ainda não chamados.

Autenticação necessária

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


Endpoint​

GET https://api-dev.imagemais.com.br/api/password-types/tickets/pending

Requisição​

curl -X 'GET' \
'https://api-dev.imagemais.com.br/api/password-types/tickets/pending' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {accessToken}'

Respostas​

200 Sucesso​

{
"data": [
{
"password": "ATG-2",
"number": 2,
"passwordTypeId": 1,
"passwordTypeName": "Atendimento Geral",
"color": "#6366f1",
"createdAt": "2026-01-08T09:25:00.000Z",
"isPreferential": false
}
]
}