Get Hotel Stay
Get Hotel Stay
Retrieve a specific hotel stay record by ID
GET
Get Hotel Stay
Get Hotel Stay
Retrieve detailed information about a specific hotel stay record by its unique identifier.Request
Headers
string
required
Your API key for authenticationExample:
sk_live_1234567890abcdefstring
required
Your organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
string
required
The unique identifier (UUID) of the hotel stay recordExample:
550e8400-e29b-41d4-a716-446655440000Response
string
Unique identifier (UUID)
string
Organization UUID this stay belongs to
string | null
Free-text description of the stay
date
Check-in date
date
Check-out date
string
ISO-3166 alpha-2 country code (e.g.
ES, GB, US)string | null
Plain-text address for geocoding
string | null
Hotel name
integer
Number of rooms booked
string
active, pending, or errorstring | null
How the record was created (
manual, bulk_upload, etc.)number | null
Calculated CO2e in kg (sourced from total_impacts, not stored on the record)
string | null
UUID of the source bulk-upload file, if any
string | null
Name of the source file, if any
datetime
Record creation timestamp
datetime | null
Last update timestamp
object | null
Geocoded location for the hotel stay
object | null
User who created the record
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: The hotel stay ID does not exist or belongs to a different organization.Related Endpoints
List Hotel Stays
Get all hotel stays with filtering
Impact Calculation
Step-by-step CO2e breakdown
Delete Hotel Stay
Remove this record