# Safra Partner API

Machine-to-machine REST API for verified Safra bus companies in Syria.

- Base URL: https://safraway.com/api/partner/v1
- Version: 2026-08-21
- OpenAPI: https://safraway.com/api/partner/v1/openapi.json (also https://docs.safraway.com/openapi.json)
- Keys: https://safraway.com/company/developers

Authenticate with `Authorization: Bearer sk_live_…` over HTTPS. The company is implied by the key.

## In scope

- Company profile, members, fleet, trips, and schedules
- Bookings by passenger phone, tickets, boarding, no-show
- Read-only payments, payouts, reports, and reviews
- Webhook endpoints, test pings, and delivery logs

## Out of scope

- Passenger OTP, chat, FCM, favorites, and price alerts
- Creating Ziina charges or acting as another company
- Account deletion and mobile-only passenger flows
