cURL
curl --request GET \ --url https://getbill.io/external-api/v1/company/users \ --header 'Authorization: <authorization>'
{ "error": false, "message": "Success", "data": [ { "id": "abc123def456ghi789", "email": "john.manager@company.com", "firstname": "John", "lastname": "Manager", "is_active": true, "created_at": "2023-01-15T10:30:00Z", "last_activity": "2024-01-22T14:22:00Z" }, { "id": "xyz789mno012pqr345", "email": "jane.agent@company.com", "firstname": "Jane", "lastname": "Agent", "is_active": true, "created_at": "2023-03-22T09:15:00Z", "last_activity": "2024-01-22T11:45:00Z" }, { "id": "stu678vwx901yzab234", "email": "bob.analyst@company.com", "firstname": "Bob", "lastname": "Analyst", "is_active": false, "created_at": "2023-06-10T16:20:00Z", "last_activity": "2023-12-15T13:30:00Z" } ] }
Retrieve a list of users in your company
users:read
curl -X GET "/external-api/v1/company/users" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"
false
Show user object
last_activity
{ "error": true, "message": "Authentication credentials are missing or invalid", "code": 401 }