Sweden History Tours
Tours Blog
Home Tours Blog
🤝

Agent Portal

Sign in with your agent credentials

Not an agent? Customer portal →

Agent Dashboard

❓ Help
—
Commission Balance (SEK)
—
Total Earned (SEK)
—
Total Paid Out (SEK)
—
Total Bookings
—
Your Discount
—
Commission Rate

Recent Bookings

Loading...

All Bookings

Loading...

Book on Behalf of Customer

API Keys

Use API keys to integrate with the Partner API. Max 5 active keys.

Loading...

Partner API Documentation

Use these endpoints to integrate tour bookings into your own website or system.

Authentication

All Partner API requests require the X-Api-Key header:

X-Api-Key: sht_your_api_key_here

GET /api/partner/tours

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
  }
]

POST /api/partner/bookings

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"
}

GET /api/partner/bookings/{bookingId}

Check the status of a booking.

curl -H "X-Api-Key: YOUR_KEY" \
     https://sht.langhard.net/api/partner/bookings/{bookingId}

Rate Limits

Each API key is limited to 100 requests per hour. Contact us if you need a higher limit.

Need Help?

Email info@swedenhistorytours.se for API support.

Sweden History Tours — Agent Portal
Home · Tours · Customer Portal · Privacy
© 2025 Sweden History Tours. All rights reserved.
Made by LIT Langhard IT