API reference
cloudflare.connect
Connect Cloudflare
POST/api/v1/cloudflare/connect
Details
Start connecting a Cloudflare login: returns the Cloudflare URL where the person reviews what WoFlare may do and picks the Cloudflare accounts to allow. When they approve, Cloudflare returns to WoFlare, which stores the Connection (sealed) and checks the accounts, then sends the person back to the Projects screen or, with returnTo: onboarding, to the onboarding step. Connecting the same Cloudflare login again refreshes its Connection. Needs the person's own browser.
Input
| Field | Type | Notes |
|---|---|---|
returnTo | "projects" | "onboarding" |
Output
| Field | Type | Notes |
|---|---|---|
authorizeUrlrequired | string (uri) |