curl --request GET \
--url https://api.rntor.com/v1/visitors/visits/{id} \
--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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visit_date": "2024-01-15",
"check_in_time": "2023-11-07T05:31:56Z",
"check_out_time": "2023-11-07T05:31:56Z",
"status": "scheduled",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "req_abc123def456",
"timestamp": "2024-01-15T10:30:00Z"
}
}Retrieve a single visit by ID
curl --request GET \
--url https://api.rntor.com/v1/visitors/visits/{id} \
--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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visit_date": "2024-01-15",
"check_in_time": "2023-11-07T05:31:56Z",
"check_out_time": "2023-11-07T05:31:56Z",
"status": "scheduled",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"meta": {
"request_id": "req_abc123def456",
"timestamp": "2024-01-15T10:30:00Z"
}
}