Skip to content

Calamari Public API (v1)

API for Calamari, your HR tool

Languages
Servers

https://{tenantName}.calamari.io/api/

Absence type

Absence Types API

Operations

Absence requests

Absence Requests API

Operations

Current shift status

Current Shift Status API

Operations

Projects

Projects API

Operations

Shifts and breaks

Shifts and Breaks API

Operations

Timesheet entries

Timesheet entries API

Operations

Working Week

Working Week API

Operations

Contract types

Contract Types API

Operations

Employees

Employees API

Operations

Holidays

Holidays API

Operations

Positions

Positions API

Operations

Create a position.

Request

Create a position.

Security
basicAuth
Bodyapplication/json
positionNamestring[ 1 .. 2147483647 ] charactersrequired

Position name.

Example: "Manager"
membersArray of integers(int64)required

Ids of employees in the position.

curl -i -X POST \
  -u <username>:<password> \
  'https://{tenantname}.calamari.io/api/positions/v1/create' \
  -H 'Content-Type: application/json' \
  -d '{
    "positionName": "Manager",
    "members": [
      0
    ]
  }'

Responses

successful operation

Bodyapplication/json
idinteger(int64)required

Id of the created position.

Example: 1
Response
application/json
{ "id": 1 }

Get all positions.

Request

Get all positions.

Security
basicAuth
curl -i -X POST \
  -u <username>:<password> \
  'https://{tenantname}.calamari.io/api/positions/v1/all'

Responses

successful operation

Bodyapplication/jsonArray [
idinteger(int64)required

Position id

namestringrequired

Position name

Example: "Manager"
]
Response
application/json
[ { "id": 0, "name": "Manager" } ]

Teams

Teams API

Operations

People

Endpoints related to managing people records.

Operations