cURL
curl --request GET \ --url https://api.rntor.com/v1/visitors/visits \ --header 'Authorization: Bearer <token>' \ --header 'X-Client-ID: <api-key>'
{ "data": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "visitor_first_name": "Jane", "visitor_last_name": "Smith", "visitor_email": "[email protected]", "host_id": "4d91d4dd-1e55-5c61-9999-9ee36847163b", "location_id": "5e02e5ee-2f66-6d72-0000-0ff47958274c", "visit_date": "2024-01-15", "status": "scheduled", "created_at": "2024-01-14T10:00:00Z", "updated_at": "2024-01-14T10:00:00Z" } ], "pagination": { "page": 1, "per_page": 20, "total": 75, "total_pages": 4, "has_more": true }, "meta": { "request_id": "req_abc123def456", "timestamp": "2024-01-15T10:30:00Z" } }
Retrieve a list of visits
Your API client secret
Your API client ID
Page number
x >= 1
Items per page
1 <= x <= 100
Successful response
Show child attributes