Calamari Public API (v1)
API for Calamari, your HR tool
Download OpenAPI description
Overview
URL
Calamari Team
Languages
Servers
https://{tenantName}.calamari.io/api/
https://awesome-company.calamari.io/api/clockin/shift/status/v1/get-current-for-all
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://{tenantname}.calamari.io/api/clockin/shift/status/v1/get-current-for-all'
Response
application/json
[ { "person": { … }, "status": "STARTED" } ]
https://awesome-company.calamari.io/api/clockin/shift/status/v1/get-current
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://{tenantname}.calamari.io/api/clockin/shift/status/v1/get-current' \
-H 'Content-Type: application/json' \
-d '{
"person": "john.white@mycompany.com"
}'
Response
application/json
{ "person": { "firstName": "John", "lastName": "Williams", "email": "john.williams@domain.com", "externalId": "A12Y" }, "status": "STARTED" }
Request
Get current presence report for all employees. Results are paged by employees number.
Expect error codes:
- INVALID_PAGE - when invalid page provided
- INVALID_LIMIT - when invalid limit provided
- INVALID_DATE_FROM - when invalid date provided
- INVALID_DATE_TO - when invalid date provided
Security
basicAuth
Start date of dates range to generate presence report in ISO format
Example: "2017-01-10"
End date of dates range to generate presence report in ISO format
Example: "2017-01-15"
https://awesome-company.calamari.io/api/clockin/shift/status/v1/presence/report
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
-u <username>:<password> \
'https://{tenantname}.calamari.io/api/clockin/shift/status/v1/presence/report' \
-H 'Content-Type: application/json' \
-d '{
"dateFrom": "2017-01-10",
"dateTo": "2017-01-15",
"page": 0,
"limit": 100
}'
Response
application/json
[ { "date": "2021-01-01", "dailyPresenceReport": [ … ] } ]