Skip to main content
Start an OAuth authorization request (PKCE)
curl --request GET \
  --url https://formhug.ai/api/v1/oauth/authorize
{
  "error": "invalid_request",
  "error_description": "Unknown client_id"
}

Documentation Index

Fetch the complete documentation index at: https://formhug.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

client_id
string
required
redirect_uri
string
required

Must be on the client whitelist

code_challenge
string
required

PKCE code_challenge (S256)

code_challenge_method
enum<string>
required
Available options:
S256
scope
string

Space-separated; defaults to the client default scope

state
string

Response

Redirect to the login page or to the client redirect_uri (with error)

Last modified on May 14, 2026