Bu makale İngilizce olarak mevcuttur.
On this pageThe specification URL
The OpenAPI 3.1 document is public and needs no key, so any API tool can import it straight from its URL.
The specification URL
OpenAPI 3.1
https://dppapi-production.up.railway.app/v1/openapi.jsonOpenAPI 3.1.0 specificationThe live
API statusReadiness check: openapi.json — import it anywhere, or generate a client.dppapi-production.up.railway.app/v1/openapi.jsonPostman collectionAll 48 requests in folders, bearer auth from {{dpp_api_key}}, example bodies included.Collection v2.1 · API v1.0.0200 with "status": "ready" when the API can serve passports from its database, 503 when it cannot. Point your uptime monitor here.GET dppapi-production.up.railway.app/health/readyPostman
- 1Choose Import, then Link, and paste the specification URL.
- 2Import it as a collection. Postman creates a request for every endpoint, grouped by tag.
- 3Open the collection’s Authorization tab, choose Bearer Token, and set the token to a variable such as
{{dpp_api_key}}. - 4Create an environment with
dpp_api_keyset to a test key (dpp_test_…) to explore safely; writes are dry runs.
Insomnia
- 1Choose Import, then From URL, and paste the specification URL.
- 2Insomnia creates a document with every request. Set Auth → Bearer Token on the folder, from an environment variable holding your key.
Bruno, Hoppscotch, Paw and others
Any tool that imports OpenAPI 3 works the same way: import from URL, then set a bearer token. The interactive API reference on this site is built the same way and lets you send requests from the browser.
Generate a client
Generators such as OpenAPI Generator can turn the document into a typed client for Java, C#, Go, Python, PHP, Kotlin, Swift and more:
Shell
# Requires Java or Docker; see openapi-generator.tech for installation.npx @openapitools/openapi-generator-cli generate \-i https://dppapi-production.up.railway.app/v1/openapi.json \-g python \-o ./dpp-client