Get WordPress Site Info
Read a Managed WordPress app's site info — its URLs, the generated administrator credentials, provisioning state, and current SMTP configuration. A Managed WordPress app is a platform-managed app type: Ngris provisions a managed database, runs the official WordPress image on a persistent content volume, and auto-installs it with a generated admin. Create one from the dashboard (New Application → WordPress); this endpoint reads the result.
Response (200 OK)
wp-admin login URL.wp-admin after first login.provisioning, pending, ready, or failed.state is failed.Retry a Failed Setup
Re-run a WordPress install/rollout that ended in failed, without recreating the app. Ngris re-runs the install and rollout from where it stopped; the state returns to provisioning/pending and, on success, reaches ready.
Response (200 OK)
Returns the updated site info (same shape as GET /wordpress).
Configure SMTP (Bring Your Own)
Point WordPress at your own email provider (SendGrid, Amazon SES, Mailgun, or any SMTP host) so password resets, notifications, and form mail are delivered from a domain you control. The platform never relays tenant mail through its own servers. Send an empty host to clear the configuration and revert WordPress to its default mail behavior.
Request body (application/json)
587 for TLS, 465 for SSL).tls, ssl, or none.Response (200 OK)
Returns the updated site info with the new SMTP fields (same shape as GET /wordpress).