Developers · Getting started

Postman, Insomnia and other tools

Import the public OpenAPI 3.1 specification into Postman, Insomnia, Bruno or a client generator and start calling the API in a minute.

Version
v1.0.0
Base URL
https://dppapi-production.up.railway.app/v1
Format
JSON · OpenAPI 3.1
FeedbackLast updated

Cet article n'est pas encore disponible en français ; il est affiché ci-dessous en anglais.

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.json

Postman

  1. 1Choose Import, then Link, and paste the specification URL.
  2. 2Import it as a collection. Postman creates a request for every endpoint, grouped by tag.
  3. 3Open the collection’s Authorization tab, choose Bearer Token, and set the token to a variable such as {{dpp_api_key}}.
  4. 4Create an environment with dpp_api_key set to a test key (dpp_test_…) to explore safely; writes are dry runs.

Insomnia

  1. 1Choose Import, then From URL, and paste the specification URL.
  2. 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

Préférences en matière de cookies

Vous choisissez les cookies utilisés. Vous pouvez modifier votre choix à tout moment via « Paramètres des cookies » en bas de page. Politique de confidentialité

Nécessaires

Toujours actifs

Indispensables au fonctionnement du site : votre thème clair/sombre et ce choix de cookies sont enregistrés dans votre navigateur. Ils ne servent pas à vous suivre.

Analyse

Google Analytics 4 mesure l’utilisation des pages au moyen de statistiques, ce qui nous aide à améliorer le site. Si vous acceptez, il dépose des cookies et mesure votre visite en détail. Si vous refusez, il ne dépose aucun cookie, mais Google peut tout de même recevoir des données techniques, comme la page consultée, le type de navigateur et l’adresse IP.

_ga, _ga_* · jusqu’à 2 ans · Google