Get a WordPress workspace's wp-admin URL + admin credentials (SENSITIVE: contains the real password) and site URL
Requires the workspaces:read permission.
An access token from this zone's POST /oauth/token, or a session token from POST /api/v1/auth/login. Send it as Authorization: Bearer <token>.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/workspaces/string/wordpress-credentials"{ "admin_url": "string", "db_service_id": "string", "password": "string", "site_url": "string", "username": "string"}Get a Medusa store's admin dashboard URL + admin credentials (SENSITIVE: contains the real password), storefront URL and publishable key GET
Previous Page
Run a wp-cli command inside a WordPress workspace's site (args WITHOUT the leading 'wp', e.g. ["plugin","activate","woocommerce"]). THE surface for content/config: activate plugins/themes, create pages/posts, set options, manage menus. NEVER 'wp plugin install' — plugin/theme CODE must be added to the workspace repo and pushed (the site's files are re-cloned from the repo on every deploy; installs outside the repo are LOST). POST
Next Page