Connect

Connect self-hosted WordPress with an application password

Changed on

Connects one self-hosted WordPress site using a WordPress username and application password.

  • siteUrl must use HTTPS and may include the path where WordPress is installed.
  • Create an application password in the WordPress user's profile; do not send the user's login password.

Zernio discovers the REST API, verifies the credentials and required post/media/taxonomy capabilities, then stores the password encrypted.

Reconnecting the same site and profile updates the connection in place.

post/v1/connect/wordpress/token

Request

Request body

profileIdstring required

Your Zernio profile ID (get from /v1/profiles).

siteUrlstring uri required

HTTPS base URL of the WordPress installation, including a subdirectory path when applicable.

usernamestring required

WordPress login name. A colon is not allowed.

applicationPasswordstring required

Application password created for the WordPress user. Spaces in WordPress display formatting are accepted.

Response

WordPress site connected as a platform account

Changes

    • warning

      added the new card_verification_required enum value to the response property for the response status

    • info

      added the optional property / to the response with the status

    • info

      endpoint added