API reference
sites.connect
Connect a Site
POST/api/v1/sites/{siteId}/connect
Details
Start the EmDash Site Connection: registers WoFlare with the Site, creates a short-lived sealed PKCE state, and returns the URL the person opens to approve it. Needs the dashboard session; the callback stores the tokens. Never returns a token.
Input
| Field | Type | Notes |
|---|---|---|
siteIdrequired | string | 1 to 64 characters |
Output
| Field | Type | Notes |
|---|---|---|
authorizeUrlrequired | string (uri) |