Skip to main content
POST
Create office
Version:v4

Authorizations

Authorization
string
header
required

Sesame Public API consumer token (Authorization: Bearer )

Body

application/json
name
string
required

Unique among the company offices.

Maximum string length: 255
address
string | null
Maximum string length: 255
description
string | null
Maximum string length: 255
coordinates
object | null

Geofence center. Without it the office has no geofence.

radius
integer | null

Geofence radius in meters. Only used with coordinates; 100 when omitted.

Required range: 1 <= x <= 2147483647
defaultEmployeesDateTimeZone
string | null

PHP time zone identifier. Europe/Madrid when omitted.

Example:

"Europe/Madrid"

Response

The identifier of the created office.

data
object