Skip to main content
GET
Get Hotel Stay Totals

Get Hotel Stay Totals

Returns aggregated statistics for all hotel stays in your organization: total number of stays, total room-nights booked, and total CO2e emitted.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Response

integer
Total number of hotel stay records for the organization
integer
Total room-nights booked (sum of rooms × nights across all stays)
number
Total CO2e in kg across all stays

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key

403 Forbidden

Cause: The authenticated user is not a member of the organization

List Hotel Stays

Browse individual stay records

Impact Calculation

See the step-by-step breakdown for a specific stay