BeeBridge AIBeeBridge AI
API Reference
Management APIOAuth
⚠️Compliance notice: Use this project only for lawfully authorized API gateway, internal management, and private deployment scenarios. Follow upstream terms of service, platform rules, regulatory requirements, and content safety requirements.

Create an OAuth sign-in or verification flow

intent is login, bind or verify. Only login may include aff; only verify may include scope/context. bind and verify require the current sign-in session; bind also requires an account.binding.bind proof. Continue through the provider-specific flow with flow_token.

POST
/api/oauth/state

Header Parameters

X-Security-Proof?string

Short-lived, single-use security proof bound to the current identity and exact operation. It is neither a PAT nor a model API key.

providerstring
intentstring
Value in"login" | "bind" | "verify"
aff?string
Lengthlength <= 32
scope?string
context?object

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.beeaicloud.com/api/oauth/state" \  -H "Content-Type: application/json" \  -d '{    "provider": "string",    "intent": "login"  }'
{
  "success": true,
  "message": "string",
  "data": {
    "flow_token": "string",
    "expires_at": 0,
    "authorization_url": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}
{
  "success": false,
  "message": "string",
  "code": "string",
  "data": {
    "code": "string"
  }
}

How is this guide?

Create an OAuth sign-in or verification flow | BeeBridge AI