v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-03269339953.6 KB
WordPress: Login

Create login links

Create temporary auto-login links for the specified WordPress installation.

Provide the WordPress installation (software) identifier in the path. It can be obtained from GET /api/hosting/v1/wordpress/installations (the id field).

post/api/hosting/v1/accounts/{username}/wordpress/{software}/login/links

Path parameters

usernamestring required
Example:u123456789
softwarestring required
Example:1232456789

WordPress installation (software) identifier

Response

Success response

loginstring nullable

Primary auto-login URL for the WordPress installation

fallbackstring nullable

Fallback auto-login URL using the temporary Hostinger domain

defaultstring nullable

Default WordPress admin URL used when auto-login is unavailable

Example response

{
  "login": "https://example.com/create_autologin_qs1s121s.php",
  "fallback": "https://xyz.hostingersite.com/create_autologin_qs1s121s.php",
  "default": "https://example.com/wp-admin/"
}