---
title: "Create an Associate routine for the authenticated user (web setup wizard)."
method: POST
path: "/api/associate/create-routine"
tags: ["associate"]
---

# Create an Associate routine for the authenticated user (web setup wizard).

`POST /api/associate/create-routine`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/associate/create-routine`
- Auth: `bearer` (a scheme the document does not define)

## Response `201`

Created; returns the new routine id and name.

## Other responses

- `400`: Invalid params, duplicate name, or routine limit reached.
- `401`: Unauthenticated: missing/invalid session token.

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/c66ef2d8dc00?raw)
