cURL
curl --request GET \ --url https://getbill.io/external-api/v1/company/profile \ --header 'Authorization: <authorization>'
{ "error": false, "message": "Success", "data": { "id": "hTBN7n6lkmkhMb6LYqEBZw", "name": "Example Collections LLC", "email": "contact@example-collections.com", "phone": "+33123456789", "created_at": "2023-01-15T10:30:00+00:00" } }
Retrieve the authenticated company’s profile information
company:read
curl -X GET "/external-api/v1/company/profile" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \ -H "Content-Type: application/json"
false
Show data
{ "error": true, "message": "Authentication credentials are missing or invalid", "code": 401 }