Visual Editor
Create visual edit session
Creates a browser-based edit session for image management on a page. Returns an edit URL for the user. Use data-wpe-slot placeholder images when building pages, then create a session for real image uploads.
post/wpe/project/{projectId}/sessions
Request
- Base URL: https://api.websitepublisher.ai
- URL: https://api.websitepublisher.ai/wpe/project/{projectId}/sessions
- Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)
Path parameters
projectIdinteger required
Request body
Response
Edit session created — returns session_id, edit_url, expires_in
Changes
No recorded changes to this operation across all 1 revision of this API.