> For the complete documentation index, see [llms.txt](https://docs.lhv.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lhv.com/home/connect/services/heartbeat/heartbeat-get.md).

# Heartbeat - GET

## Service description

This service tests if the general API connection is active and if the connection certificate is correctly configured. It also returns the current system time.

When using Service Provider model you must also provide Client-Code and Client-Country headers - you can use this to validate if expected entity is valid.

## Request <a href="#virtual-iban-open" id="virtual-iban-open"></a>

<mark style="color:green;">`GET`</mark> <https://connect.lhv.com/heartbeat>

#### **Headers**

<table><thead><tr><th width="359">Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/xml</code></td></tr><tr><td>Client-Code</td><td><code>customer value</code></td></tr><tr><td>Client-Country</td><td><code>customer value</code></td></tr></tbody></table>

#### **Body**

**-**

### **Response**

**Headers**

<table><thead><tr><th width="274">Name</th><th>Value</th></tr></thead><tbody><tr><td>Content-Type</td><td><code>application/xml</code></td></tr><tr><td>X-Bank-Code</td><td><code>LHVUK, LHVEE</code></td></tr></tbody></table>

#### Body

{% tabs %}
{% tab title="200" %}
{% hint style="success" %}
OK
{% endhint %}

```
<HeartBeatResponse>
    <TimeStamp>2024-05-08T08:51:48.279+01:00</TimeStamp>
</HeartBeatResponse>
```

{% endtab %}

{% tab title="403" %}
{% hint style="danger" %}
Error code and description
{% endhint %}

<pre><code>&#x3C;Errors>
<strong>    &#x3C;Error>
</strong>        &#x3C;ErrorCode>FORBIDDEN&#x3C;/ErrorCode>
        &#x3C;Description>User doesn't exist&#x3C;/Description>
    &#x3C;/Error>
&#x3C;/Errors>
</code></pre>

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lhv.com/home/connect/services/heartbeat/heartbeat-get.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
