Get WordPress.com OAuth connect URL
Changed onInitiates OAuth for a WordPress.com site or a Jetpack-connected site.
WordPress is a connect-only blog platform: the connected account powers the Blogs API (/v1/accounts/{accountId}/blogs). It does not support social posts, inbox, analytics, ads, or Shopify product operations.
Flow
- Redirect the user to authUrl.
- After authorization, WordPress returns the browser to Zernio's internal callback.
- Zernio redirects to redirect_url (or the dashboard when omitted).
Reconnecting the same site and profile updates the stored connection in place.
Scopes
The consent request omits scope to use WordPress.com's default single-site grant. Granular scopes cannot access the /wp/v2 article API.
Zernio checks that API before saving the connection and does not request explicit global authorization across all sites.
Request
- Base URLhttps://zernio.com/api
- Auth
- HTTP bearer
- or API key in header X-Connect-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Your Zernio profile ID (get from /v1/profiles).
Custom redirect after connection. Must be an absolute http(s) URL or custom app scheme such as myapp://callback; relative and unsafe URLs return 400.
Response
OAuth authorization URL and authenticated state
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status
- warning