> ## Documentation Index
> Fetch the complete documentation index at: https://docs.realtoraai.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate OAuth State

> Generate a secure OAuth state parameter.

Generate a secure state parameter for OAuth flows to prevent CSRF attacks.

## Endpoint

```
POST /functions/v1/generate-oauth-state
```

## Authentication

Requires valid JWT.
