# Authenticate API requests with a Console session

Describes the peer console cookie, CSRF protection, login state POST extraction, and service-side call boundaries.

Login state `POST /api/v1/proxy/extract` For console and controlled peer-to-peer calls. The browser maintains the session through the HttpOnly cookie, and the front-end code should not read or copy the content of the cookie.

## Scope of application

- The user has logged in to the console and has actively submitted the extract parameters.
- The server side still checks name authentication, rights, whitelisting, and parameters.

## Request requirements

- Use peer HTTPS requests.
- Preserve framework default credential policy and CSRF protection.
- No login cookies are forwarded to third-party services.

## Failure handling

- 401 - Not Found
- 403 with business code 10601 indicates that identity verification must be completed.
- Parameter errors should be corrected before submission.

## Service-side programs

- The unattended service uses a source IP allowlist GET link generated by the console.
- Do not crawl browser cookies as long-term integration credentials.
