POST
/
visit
curl --request POST \
  --url https://analytics.usehall.com/visit \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "request_path": "/blog/becoming-an-ai-engineering-company",
  "request_method": "GET",
  "request_ip": "172.183.222.128",
  "request_timestamp": 1705315800,
  "request_headers": {
    "Host": "vercel.com",
    "User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko); compatible; ChatGPT-User/1.0; +https://openai.com/bot",
    "Referer": "https://chatgpt.com"
  }
}'
This response does not have an example.

Visits are logged to the Analytics API by making a POST request to the /visit endpoint.

The request body should forward the visitor’s request HTTP path, method, and headers as described below.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Visitor request to forward to the Analytics API.

The body is of type object.

Response

200

Success.