# Save a verified sign-in

> Save a verified website sign-in as an organization connection.

Source: https://docs.fous.com/api-reference/confirmConnection

`POST /v1/connections/attempts/{attempt_id}/confirm`

Authentication: `Authorization: Bearer $FOUS_API_KEY`.

## Path parameters

- `attempt_id` (string, required)

## Response 200

Success

- `success` (true, required)
- `data` (ConnectionAttempt, required): One sign-in, step by step. challenge: the website asks for something, described in form; submit the answers. working: wait. verified: confirm it. ready: the account is connected. failed: notice says why, can_retry whether another method can be tried.

## Errors

Every error uses the Error schema: branch on `error.code`. Codes are listed at https://docs.fous.com/guides/errors.

- 400
- 401 (headers: WWW-Authenticate)
- 402
- 403
- 404
- 408
- 409
- 410
- 413
- 422
- 429 (headers: Retry-After)
- 500
- 502
- 503 (headers: Retry-After)
- 504

## Example request

```bash
curl 'https://api.fous.com/v1/connections/attempts/{attempt_id}/confirm' \
  -X POST \
  -H "Authorization: Bearer $FOUS_API_KEY"
```
