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/projects/v1/archive
- 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/projects/v1/archive' \
-H 'Content-Type: application/json' \
-d '{
"projectId": 13
}'
Response
application/json
{ "id": 0, "name": "Primary project" }
Bodyapplication/json
List of employees e-mails or logins. Example: ["john.smith@domain.com", "mark.small@domain.com"]
https://awesome-company.calamari.io/api/clockin/projects/v1/create
- 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/projects/v1/create' \
-H 'Content-Type: application/json' \
-d '{
"name": "PROJECT-123",
"restrictedToPersons": [
"string"
],
"restrictedToTeams": [
"string"
]
}'
Response
application/json
{ "id": 0, "name": "Primary project", "employees": [ { … } ], "teams": [ { … } ] }
https://awesome-company.calamari.io/api/clockin/projects/v1/get-projects-for-person
- 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/projects/v1/get-projects-for-person' \
-H 'Content-Type: application/json' \
-d '{
"person": "john.white@mycompany.com"
}'
Response
application/json
[ { "id": 0, "name": "Primary project" } ]
https://awesome-company.calamari.io/api/clockin/projects/v1/get-projects
- 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/projects/v1/get-projects'
Response
application/json
[ { "id": 0, "name": "Primary project", "employees": [ … ], "teams": [ … ] } ]
https://awesome-company.calamari.io/api/clockin/projects/v1/update
- 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/projects/v1/update' \
-H 'Content-Type: application/json' \
-d '{
"projectId": 13,
"name": "PROJECT-123",
"restrictedToPersons": [
"john.smith@domain.com"
],
"restrictedToTeams": [
"Developers Team"
]
}'
Response
application/json
{ "id": 0, "name": "Primary project", "employees": [ { … } ], "teams": [ { … } ] }