Export Employee Time Log Report Data (API Integration)
This article is a guide on how to create a timelog report API integration to export employee clock-in and clock-out data from brioHR.
Note: For a comprehensive overview of the BrioHR API integration flow, please refer to the article here.
IMPORTANT:
To enable this integration, you will need to contact our support team via email or live chat so we can provide the necessary access. Please contact us via:
- Email: support@briohr.com
- Live chat: Available 9 am - 6 pm (Kuala Lumpur working days)
Note: If you are still in the implementation stage, please reach out to your implementation manager for support.
The integration flow with BrioHR will consist of the steps below:
- Client request for the APIs/integration access together with the list of IPs (recommended for securing the line of integration).
- BrioHR will create the credentials for client. Consists of: Authentication credentials and client’s ID.
- Client can try to connect to BrioHR API using the link, authentication & ID.
NOTE:
If you would like to exclude payroll information from the API integration, this option can be enabled upon request.
Please contact our support team to let us know, and we will assist with configuring the settings for your account.
Report API URL:
| Header | Value |
| Authorization |
Basic base64_encode(<username:password>) |
| x-api-context-company | <company id> |
| x-resource-type | time-log-report |
| Query Parameters | Value |
| format | csv | json |
| query | periodRange|gte|2026-01-01T00:00:00.000Z AND periodRange|lte|2026-03-02T00:00:00.000Z |
Notes:
- periodRange should be adjusted based on the user’s need to grab the data, gte equals to greater than equals while lte equals to lower than equals.
-
periodRange should use ISO 8601 as time format.
For Power BI & other 3rd party that cannot inject the x-api-context-company in the header:
Example of CURL
curl -o time-log-report.csv --location
'https://static.api.briohr.com/v2/api/external/reports/time-log-report/download?
format=csv&query=periodRange|gte|2026-01-01T00:00:00.000Z%20AND%20periodRange|lte|2026-03-
02T00:00:00.000Z' \
--header 'Authorization: Basic aHotYXBwOmJyaW9ocg==' \
--header 'x-api-context-company: 5d6d7ee641f5fd003164d2c0' \
--header 'x-resource-type: time-log-report'
Example of CURL for PowerBI
curl -o time-log-report.csv --location
'https://static.api.briohr.com/v2/api/external/reports/time-log-report/download?
format=csv&company=412cc8a9d90158c489b83e83&resource=timelogs&query=periodRange|gte|2026-01-
01T00:00:00.000Z%20AND%20periodRange|lte|2026-03-02T00:00:00.000Z' \
--header 'Authorization: Basic aHotYXBwOmJyaW9ocg=='
NOTE:
Kindly be informed that BrioHR will need to whitelist the client's IP and then provide the client with the username, password and company ID.
Need Assistance?
If you have any questions regarding the API above or require assistance, please reach out to our support team via live chat or email us at support@briohr.com.