> ## Documentation Index
> Fetch the complete documentation index at: https://docs.docs2work.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Build your first process in nine API calls.

## Overview

The Build API follows a session-based protocol. You open a session, define your process, validate it, and activate it atomically. Nothing is live until you activate.

```
POST   /sessions                      → session_id
POST   /sessions/:id/trigger          → set trigger
POST   /sessions/:id/nodes            → add nodes
POST   /sessions/:id/edges            → connect nodes
POST   /sessions/:id/forms            → create form drafts
PATCH  /sessions/:id/nodes/:node_id   → wire form_id into nodes
POST   /sessions/:id/portals          → create portal drafts
POST   /sessions/:id/validate         → validate. Fix errors. Repeat.
POST   /sessions/:id/activate         → commit to production
```

See the [complete warranty claims example](/api-reference/activate#example) for a full walkthrough.
