---
title: "Create a hosted connected-account attempt"
method: POST
path: "/api/v1/accounts/connect"
tags: ["account-lifecycle"]
---

# Create a hosted connected-account attempt

`POST /api/v1/accounts/connect`

## Request

- Base URL: `https://crispy.sh`
- URL: `https://crispy.sh/api/v1/accounts/connect`
- Auth: HTTP bearer

Requires delegated consent with the account owner present. Returns a hosted auth URL and attempt id.

## Request body

- object
  - `workspace_id` string
  - `redirect_path` string

## Response `200`

Success

## Other responses

- `201`: Hosted auth attempt created
- `401`: Missing or expired API key
- `403`: Insufficient key scope or permission denied
- `409`: Pending account limit reached
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/crispy/apis/crispy-rest-api.md) · [All operations](https://skmtc.dev/crispy/apis/crispy-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crispy/apis/crispy-rest-api/revisions/6bed0974d9ce?raw)
