# sopops documentation > Set up sopops, connect voice agents, and check calls against their procedures. ## First request Send one session with a workspace token that has the `ingest` scope. Make the token in Settings → Access → Tokens, in the [hosted app](https://sopops.dev/app) or your own sopops ([quickstart](https://sopops.dev/docs/quickstart.md)). The page shows it once, with `SOPOPS_URL` and `SOPOPS_TOKEN` to export. ```sh curl -s -X POST -H "Content-Type: application/json" \ -H "Authorization: Bearer $SOPOPS_TOKEN" \ "$SOPOPS_URL/sessions" \ -d '{"platform": "api", "external_id": "first-request-1", "turns": [{"role": "agent", "text": "Thanks for calling. Pickup or delivery?"}, {"role": "user", "text": "Delivery, please."}]}' ``` `201` returns the new session's `id`. `401` means a missing or wrong token; `403`, a token without the `ingest` scope. The format is in [Sessions](https://sopops.dev/docs/api/sessions.md). These Markdown files are generated from the same sources as the HTML documentation. Code blocks include both Python and TypeScript examples. No JavaScript or authentication is needed to read them. ## Start here - [Run the local demo](https://sopops.dev/docs/first-agent.md) - [Self-hosting quickstart](https://sopops.dev/docs/quickstart.md) - [Connect your agent](https://sopops.dev/docs/connect.md) - [SDK reference](https://sopops.dev/docs/sdk.md) - [API reference](https://sopops.dev/docs/api/index.md) - [All documentation in one file](https://sopops.dev/docs/llms-full.txt) ## All pages - [A/B tests](https://sopops.dev/docs/ab-tests.md) - [Agents and config](https://sopops.dev/docs/api/agents-and-config.md) - [Checks and review](https://sopops.dev/docs/api/checks-and-review.md) - [GitHub](https://sopops.dev/docs/api/github.md) - [Import](https://sopops.dev/docs/api/import.md) - [API reference](https://sopops.dev/docs/api/index.md) - [Insights](https://sopops.dev/docs/api/insights.md) - [Releases](https://sopops.dev/docs/api/releases.md) - [Sessions](https://sopops.dev/docs/api/sessions.md) - [Teams and access](https://sopops.dev/docs/api/teams-and-access.md) - [Configuration](https://sopops.dev/docs/configuration.md) - [Connect your agent](https://sopops.dev/docs/connect.md) - [Run a self-hosted demo that ships a fix](https://sopops.dev/docs/first-agent.md) - [Git or database](https://sopops.dev/docs/git.md) - [Import your agents](https://sopops.dev/docs/import.md) - [sopops docs](https://sopops.dev/docs/index.md) - [How agent instructions are built](https://sopops.dev/docs/instructions-model.md) - [Set up sopops with Docker](https://sopops.dev/docs/quickstart.md) - [SDK reference](https://sopops.dev/docs/sdk.md) - [Sessions, review and models](https://sopops.dev/docs/sessions-and-review.md) - [Sign in](https://sopops.dev/docs/sign-in.md) - [Understand how sopops improves an agent](https://sopops.dev/docs/what-is-sopops.md) ## Other content - [Product and blog index](https://sopops.dev/llms.txt) - [Source code](https://github.com/sopops-dev/sopops)