Exchange one-time token for desktop connection
POST/wp-json/wp2/studio-sync/v1/desktop/connect
Public exchange of a one-time admin token for a permanent WP2Studio connection: access_token, connection_id, site mode. Rate limit 20 requests per minute per IP. Returns 201.
Request
Responses
- 201
- 400
- 401
- 409
- 410
- 429
- 500
Connection and access token
studio_sync_missing_token
studio_sync_token_invalid
studio_sync_token_used
studio_sync_token_expired
studio_sync_rate_limited
studio_sync_user_not_found