# GetNumberOfVisitors

## Description

Returns the number of visitors (based on sessions, not unique visitors) for a Flipbook in a given time period.

## Parameters

| Name    | Value                                                 |
| ------- | ----------------------------------------------------- |
| paperID | The ID of the Flipbook to retrieve data from          |
| from    | When should data be returned from? Format: YYYY-MM-DD |
| to      | When should data be returned to? Format: YYYY-MM-DD   |

## Sample Response

```xml
<?xml version="1.0" encoding="utf-8"?>
<result>
  <code><![CDATA[SUCCESS]]></code>
  <message><![CDATA[Visitor count returned.]]></message>
  <data>
    <visitors count="8" />
  </data>
</result>
```

## Return Codes

* SUCCESS
* ERROR
* STATISTICS\_TEMPORARILY\_UNAVAILABLE


---

# 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.ipaper.io/flipbook-backend-api/statistics/get-number-of-visitors.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.
