cURL
curl --request GET \ --url https://api.verifica.ia.br/contracts \ --header 'Authorization: Bearer <token>'
200
Example
{ "contracts": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "url": "<string>", "fileSize": 123, "date": "2023-11-07T05:31:56Z", "status": "draft", "userId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } ], "total": 123, "page": 123, "limit": 123, "totalPages": 123}
Lista todos os contratos do usuário autenticado com paginação
Token JWT obtido através do endpoint /auth/login.
/auth/login
Inclua o token no header: Authorization: Bearer SEU_TOKEN_JWT
Authorization: Bearer SEU_TOKEN_JWT
Número da página
x >= 1
Itens por página
1 <= x <= 100
Lista de contratos
Show child attributes
Total de contratos
Página atual
Total de páginas