> For the complete documentation index, see [llms.txt](https://docs.zaui.com/zapi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zaui.com/zapi/zapi-calls/start-here/ping-test.md).

# Ping Test

## zapiPing

<mark style="color:green;">`POST`</mark> `https://{yourdomainname}.zaui.net/zapi/`

#### Request Body

| Name                                            | Type    | Description                                                                                      |
| ----------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------ |
| zapiToken<mark style="color:red;">\*</mark>     | integer | <p></p><p>Token that must be used for a partner to communicate with your Zaui system.</p><p></p> |
| zapiAccountId<mark style="color:red;">\*</mark> | integer | Generated by your Zaui system.                                                                   |
| zapiUserId<mark style="color:red;">\*</mark>    | integer | Generated by your Zaui system when you create a new contact in your system.                      |
| methodName<mark style="color:red;">\*</mark>    | string  | The method being called                                                                          |

{% tabs %}
{% tab title="Request " %}

```xml
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiPing</methodName>
	</zapiMethod>
</request>
```

{% endtab %}

{% tab title="Response " %}

```xml
<?xml version="1.0" encoding="utf-8"?>
<response>
	<zapiVersion>2.0</zapiVersion>
	<error>0</error>
	<message>ZAPI Ok</message>
	<methodResponse>
		<methodName>zapiPing</methodName>
		<methodErrorMessage>Pong</methodErrorMessage>
	</methodResponse>
</response>
```

{% endtab %}
{% endtabs %}
