> For the complete documentation index, see [llms.txt](https://docs.iadvize.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.iadvize.dev/technologies/rest-api/visitor-deprecated.md).

# Visitor (deprecated)

{% hint style="danger" %} <mark style="color:red;">**This resource is deprecated.**</mark> <mark style="color:red;">You should consider using our GraphQL API with the</mark> <mark style="color:red;">`Visitor`</mark> <mark style="color:red;">or</mark> <mark style="color:red;">`Visitors`</mark> <mark style="color:red;">objects.</mark>
{% endhint %}

## **Get visitors**

`GET /visitor`

See below to discover used fields and see [reading section](/technologies/rest-api.md#read) to discover some output examples.

### **Filters**

| Filter       | Description         | Use                         |
| ------------ | ------------------- | --------------------------- |
| unique\_id   | Unique identifier   | `?filters[unique_id]=123`   |
| external\_id | External identifier | `?filters[external_id]=123` |
| website\_id  | Website identifier  | `?filters[website_id]=123`  |

## **Get a visitor details**

`GET /visitor/560`

See [reading section](/technologies/rest-api.md#read) to discover some output examples.

### **Fields**

| Field        | Description                 | Values                     |
| ------------ | --------------------------- | -------------------------- |
| id           | Visitor identifier          | Integer                    |
| unique\_id   | Visitor unique identifier   | String                     |
| external\_id | Your id if provided         | String                     |
| lastname     | Last name                   | String                     |
| firstname    | First name                  | String                     |
| address      | Address                     | String                     |
| city         | City                        | String                     |
| zip          | Zip code                    | String                     |
| country      | Country                     | String                     |
| phone        | Phone number                | String                     |
| email        | Email                       | String                     |
| browser      | Browser used by visitor     | String                     |
| website\_id  | List of website identifiers | List of integers           |
| created\_at  | Visitor creation date       | Date `YYYY-MM-DD HH:MM:SS` |
