Sign in with your agent credentials
Not an agent? Customer portal →
Loading...
Loading...
Use API keys to integrate with the Partner API. Max 5 active keys.
Loading...
Use these endpoints to integrate tour bookings into your own website or system.
All Partner API requests require the X-Api-Key header:
X-Api-Key: sht_your_api_key_here
List all available tours you can book.
curl -H "X-Api-Key: YOUR_KEY" \
https://sht.langhard.net/api/partner/tours
Response:
[
{
"slug": "gamla-stan-walking-tour",
"name": "Gamla Stan Walking Tour",
"priceSEK": 450,
"durationMinutes": 90,
"minGroupSize": 1,
"maxGroupSize": 20,
"durationDays": 0
}
]
Create a booking on behalf of a customer.
curl -X POST \
-H "X-Api-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"tourSlug": "gamla-stan-walking-tour",
"customerName": "Jane Doe",
"customerEmail": "jane@example.com",
"customerPhone": "+46701234567",
"groupSize": 4,
"preferredDate": "2025-08-15T10:00:00Z",
"preferredTime": "10:00",
"preferredLanguage": "en",
"customerNotes": "Wheelchair accessible needed"
}' \
https://sht.langhard.net/api/partner/bookings
Response:
{
"bookingId": "abc123...",
"status": "Pending",
"totalPriceSEK": 1800,
"partner": "Your Company"
}
Check the status of a booking.
curl -H "X-Api-Key: YOUR_KEY" \
https://sht.langhard.net/api/partner/bookings/{bookingId}
Each API key is limited to 100 requests per hour. Contact us if you need a higher limit.
Email info@swedenhistorytours.se for API support.