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

Este artículo aún no está disponible en español; se muestra a continuación en inglés.

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

Preferencias de cookies

Tú decides qué cookies se usan. Puedes cambiar tu elección en cualquier momento desde «Configuración de cookies» en el pie de página. Política de privacidad

Necesarias

Siempre activas

Imprescindibles para que el sitio funcione: tu tema claro/oscuro y esta elección de cookies se guardan en tu navegador. No sirven para rastrearte.

Analítica

Google Analytics 4 mide cómo se usan las páginas mediante estadísticas, lo que nos ayuda a mejorar el sitio. Si aceptas, instala cookies y mide tu visita por completo. Si rechazas, no instala cookies, pero Google aún puede recibir datos técnicos como la página vista, el tipo de navegador y la dirección IP.

_ga, _ga_* · hasta 2 años · Google