# leadin/11.3.65/public/modules/api/class-healthcheck-api-controller.php

HubSpot All-In-One Marketing – Forms, Popups, Live Chat, version 11.3.65. 34 lines.

- Page: https://pluginprobe.com/plugins/leadin/11.3.65/code/public/modules/api/class-healthcheck-api-controller.php
- Raw: https://pluginprobe.com/plugins/leadin/11.3.65/raw/public/modules/api/class-healthcheck-api-controller.php
- Modified: 2026-07-10T16:14:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/leadin/11.3.65/code/public/modules/api/class-healthcheck-api-controller.php#L10-L20`.

```php
<?php

namespace Leadin\api;

use Leadin\api\Base_Api_Controller;

/**
 * Healthcheck deployment endpoint
 */
class Healthcheck_Api_Controller extends Base_Api_Controller {

	/**
	 * Class constructor, register route.
	 */
	public function __construct() {
		self::register_leadin_route(
			'/healthcheck',
			\WP_REST_Server::READABLE,
			array( $this, 'get_healthcheck_request' )
		);
	}

	/**
	 * Callback for healtcheck endpoint.
	 * leadin/v1/healthcheck Method:GET.
	 *
	 * @return string OK response message.
	 */
	public function get_healthcheck_request() {
		return new \WP_REST_Response( 'OK', 200 );
	}

}

```
