Skip to Content
NowToPrint — Print marketplaceСправка
Developer & APIPartner api

Getting Started

Request access, create a key, import the published contract, and send your first Partner API request.

Разработчикdocs3 мин чтенияПроверено 21 окт. 2026 г.

The current RFQ create and organization-owned RFQ/quote read contract is generated at /api/v1/marketplace/openapi.json. The older /docs/api/openapi.yaml publication is a separate reference; do not assume the documents are identical. Confirm the environment origin and approved capabilities during onboarding.

Use this path to validate access and the published fail-closed Partner API contract. RFQ creation and owned reads are implemented; order capabilities remain unavailable.


1. Request approved access

Contact info@nowtoprint.com with:

  • company name and website
  • integration use case
  • expected volume or rollout stage
  • whether you need webhook, XJDF, or private-beta partner onboarding

2. Issue an agent key

A member with team management permission issues the key under Organization settings → Agent keys: choose the partner commands it may call, a resource bound and an expiry (default 30 days, at most 90). The token is shown once.

EnvironmentPrefixBase URL
Approved environmentntp_agent_*Onboarding-confirmed origin

Confirm the approved test environment first. Live credentials are registry/private-beta controls for approved workflows; they do not turn on public GA traffic, RFQ creation, quote automation, order automation, webhooks, or Master Data data-product access by themselves.


3. Import the contract

Start the RFQ client from the current generated contract:

Import the generated RFQ contract into Postman, Bruno or Insomnia and reconcile differences with the static reference. Order capabilities remain disabled.


4. Send a first request

Use a disabled order read to validate auth and environment wiring:

curl -i https://api.nowtoprint.com/api/v1/orders \
  -H "Authorization: Bearer ntp_agent_<secret>"

With valid auth and order read permission, expect RFC 9457 503 with PARTNER_ORDER_CAPABILITY_UNAVAILABLE. No order is read or produced. RFQ create can return 201 after schema, organization capability, catalog and daily quota checks; GET requires ?id= and there is no RFQ list.


5. Prepare for an approved rollout

Before any approved live workflow:

  • rotate away any shared onboarding keys
  • store the live key in managed secrets
  • implement webhook verification only for webhook-enabled pilots
  • log request IDs and honor returned reset metadata; use Retry-After when present
  • test idempotent retry handling on any enabled write operation
  • confirm required RFQ routes in /api/v1/marketplace/openapi.json

Next steps

Была ли эта статья полезной?

Похожие статьи

Ask AI Assistant