# Phone Validation demo

### Prerequisites

Before you begin you will need a Loqate Harmony Account.&#x20;

If you do not have Harmony API account you register a free trial.

{% embed url="<https://www.loqate.com/anz/register/>" %}

### Phone Validation Demo

We recommend opening in Codepen (click top right 'Edit on Codepen') for the best experience.

<https://codepen.io/loqateanz/full/MWQBXav>

See our guide on [how to use our demo's](/loqate-harmony-api/demos.md#how-to-use-our-demos). Further guides are below the Codepen.

### Demo Guide

Once you enter your credentials and click start. The demo will appear below.

Enter full phone address string and click 'Validate'. The full response package of the match is within the response.

### Related API Specification

{% content-ref url="/pages/HhGDGUFD3213kXUmce24" %}
[Phone Validation](/loqate-harmony-api/api-specification/phone-validation.md)
{% endcontent-ref %}


---

# Agent Instructions: 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:

```
GET https://docs.mastersoftgroup.com/loqate-harmony-api/demos/phone-validation-demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
