Skip to main content
POST
/
auth
/
start
Start authentication
curl --request POST \
  --url https://api.agg.market/auth/start \
  --header 'Content-Type: application/json' \
  --header 'x-app-id: <api-key>' \
  --data '
{
  "provider": "google",
  "redirectUrl": "<string>",
  "email": "jsmith@example.com",
  "turnstileToken": "<string>",
  "earlyAccessCode": "<string>"
}
'
{
  "type": "redirect",
  "url": "<string>",
  "success": true,
  "nonce": "<string>",
  "statement": "<string>",
  "siteKey": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.agg.market/llms.txt

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

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Body

application/json
provider
enum<string>
required
Available options:
google,
twitter,
apple,
email,
siwe,
siws
redirectUrl
string<uri>
email
string<email>
Maximum string length: 254
turnstileToken
string
earlyAccessCode
string

Response

200

type
enum<string>
required
Available options:
redirect,
magic_link,
nonce,
challenge_required
url
string
success
enum<boolean>
Available options:
true
nonce
string
statement
string
siteKey
string