cURL
curl --request GET \ --url https://getbill.io/external-api/v1/creditors \ --header 'Authorization: <authorization>'
{ "error": false, "data": [ { "id": "abc123def456", "name": "Acme Corporation", "email": "billing@acmecorp.com", "phone": "+33142123456", "address": "123 Business Street", "city": "Paris", "postalCode": "75001", "country": "France", "registrationNumber": "B123456789", "taxNumber": "FR12345678901", "contactPerson": "John Billing", "createdAt": "2024-01-15 10:30:00", "updatedAt": "2024-01-20 14:22:00" }, { "id": "xyz789ghi012", "name": "Services Plus SARL", "email": "contact@servicesplus.fr", "phone": "+33472987654", "address": "456 Avenue des Services", "city": "Lyon", "postalCode": "69001", "country": "France", "registrationNumber": "B987654321", "taxNumber": "FR98765432109", "contactPerson": "Marie Finance", "createdAt": "2024-01-10 09:15:00", "updatedAt": "2024-01-18 11:45:00" } ], "pagination": { "total": 128, "page": 1, "limit": 50, "pages": 3 } }
Retrieve a paginated list of creditors for the authenticated company
creditors:read
curl -X GET "/external-api/v1/creditors?page=1&limit=50" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"
false
Show creditor object
Show pagination
{ "error": true, "message": "Authentication credentials are missing or invalid", "code": 401 }