Automate project setup when a new job starts in your back office. Requires a service account that is an administrator of the contract (a contract manager is not enough), and your contractId (provided when your API access was set up).
1

Create the project

The response is { "database": "…", "id": "…" } — keep the database identifier for all subsequent calls. name, location.location and the accountable’s e-mail address are required. referenceName is the natural place for your own job/order number, so you can match projects back to your system later.
2

Create map groups and file groups

A name is all you send; the server fills in the author and the dates. Group names take at most 50 characters. A map group whose name already exists is not created again; the answer is then 200 with an empty body. To rename a group later, PUT /fileGroup/{database}/{id} with {"name": "…"}: the map group with the same name and its maps are renamed too.
3

Upload initial content

Push the drawings and documents using the upload recipe — uploadMap can create map groups on the fly via groupName, so step 2 is optional for maps.
4

Add participants

Additional participants (support, consulted, informed) are managed on the project document: fetch it, extend participants, and PUT it back. dates.startDate must be in it: a start date that has passed must be sent unchanged.
Project updates are full-document PUTs, applied onto the current stored project: the server does not check _rev, so there is no 409 and the last writer wins. Fetch right before you put.