Skip to main content
POST
Create a new Site

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Body

application/json
name
string
required
lat
string | null
required

Latitude of the site. If not provided, the latitude from the address will be used.

lon
string | null
required

Longitude of the site. If not provided, the longitude from the address will be used.

address
Address-Create · object
notes
string
site_type
enum<string>
Available options:
Plant,
Quarry,
JobSite,
Depot,
Other,
Daily,
EquipmentHomeBase
Example:

"Plant"

company_id
string<uuid>
next_billion_geofence
Geofence-Data · object
external_id
string | null
full_address
string
moving_site
MovingSite-Create · object
department_id
string<uuid> | null
contacts
Contact-Create · object[]

Response

Created

data
Site-Read · object
required