Skip to main content
POST
Get WP admin login link by email

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

env_id
string
required

Environment ID (UUID), the id of an environment in site.environments returned by getSiteEnvironments (GET /sites/{site_id}/environments), or by getSites with include_environments=true.

Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json
email
string<email>
required

Email address of the WordPress user to sign in as.

Response

The wp-admin login link of the WordPress user, in login_link.

URL that signs in to wp-admin as the WordPress user without a password. It contains a login token.

Example:

"https://mysite.kinsta.cloud?wp-login.php?kinsta-wp-autologin=<token>"