Guest Get
Get Guest by ID
Endpoint
GET /api/v1/client/guests/{guestId}Example curl
curlcurl "https://api.hostelmate.co/api/v1/client/guests/f1b2c3d4-5678-49ab-9cde-112233445566" \
-H "X-API-Key: <your_api_key>" \
-H "Content-Type: application/json"Response (200 OK)
{
"guestId": "f1b2c3d4-5678-49ab-9cde-112233445566",
"first_name": "John",
"last_name": "Doe",
"email": "[email protected]",
"phone": "+447712345678",
"country_code": "GB",
"address": {
"line1": "Westminster",
"city": "London",
"postal_code": "SW1A 1AA",
"country_code": "GB"
},
"date_of_birth": "1990-05-15",
"nationality": "GB",
"preferences": {
"language": "en",
"newsletter": false,
"marketing": false
},
"createdAt": "2025-10-02T11:05:13Z",
"updatedAt": "2025-10-02T11:05:13Z",
"bookings": {
"total": 1,
"lastBooking": "2025-10-02T11:05:13Z"
}
}Search Guests
Endpoint
Query Parameters
Parameter
Type
Description
Example curl
curlResponse (200 OK)
Validation Rules
Error Codes
HTTP
Code
Description
Last updated