cURL
curl --request GET \ --url https://api.salvy.com.br/api/v1/assets \ --header 'Authorization: Bearer <token>'
{ "assets": [ { "id": "123e4567-e89b-12d3-a456-426614174000", "enrollmentId": "SLY-12345", "status": "in-use", "createdAt": "2025-01-01T00:00:00.000Z", "source": "desktop-client", "customFields": [ { "label": "teste", "type": "text", "value": "teste" } ], "category": "notebook", "brand": "Dell", "model": "XPS 13", "vendorName": "Tech Supplier Inc.", "serialNumber": "SN1234567890", "deviceId": "8A1D30F4-8C87-44CD-A663-2229DE6F64BD", "acquisitionDate": "2025-12-10T03:00:00.000Z", "acquisitionType": "bought", "priceCents": 250000, "nfeNumber": "000123456789", "contractId": "CT-2024-0001", "warrantyExpirationDate": "2025-12-24T03:00:00.000Z", "allocatedLocation": "Sala do RH", "employeeId": "123e4567-e89b-12d3-a456-426614174000", "employeeAttachedAt": "2025-01-01T00:00:00.000Z" } ] }
Lista todos os equipamentos da empresa
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Incluir equipamentos arquivados na resposta (padrão: false)
Show child attributes