The spec is the single source of truth. Generated clients are a convenience,
not a supported artifact — pin the spec version and regenerate on each release
(see the changelog).
Postman
There is no separate Postman collection to download by design — the OpenAPI spec is the collection. Postman imports it natively and keeps it in sync, so it never drifts from the contract (a checked-in collection would).-
Postman → Import → Link → paste:
This generates a collection covering every endpoint.
-
Create an environment with two variables:
baseUrl=https://api.safarapi.com/api/partner/v1apiKey= yoursk_test_…sandbox key
-
Collection Authorization → type Bearer Token → value
{{apiKey}}. -
For production writes, add the
X-Timestamp/X-Signatureheaders per Authentication. Sandbox keys skip signing. - After each release, re-run the import (Postman updates the collection in place) so new endpoints and fields appear.
Generated clients
openapi-generator-cli produces a typed client in most languages:
Support
Bugs in the spec (wrong schema, missing field):support@safarapi.com with
a request_id. Issues in generated code are out of scope — report the spec
defect instead, and we fix the contract.