Interactive quickstart
Walk through a complete integration: authenticate, read your templates, create a Digital Product Passport, publish it and read it back the way a consumer scanning its QR code would. Every step shows the exact request in cURL, Node.js, Python or Ruby.
-
1
Get API credentials
Integrations authenticate with an OAuth2 client ID and secret that belong to your organisation. An organisation owner creates them under Organisations → Integrations → Partner API Applications, picks the scopes the integration needs, and copies the secret, which is shown only once.
Sign in No account yet? Orobo is invitation-only: ask your Orobo contact for an invitation. You can try every step below with sample data meanwhile. -
2
Request an access token
POST /oauth/tokenExchange the credentials for a bearer token. Tokens are valid for 15 minutes: cache one and request a new one shortly before it expires. Always do this from your backend; never ship the secret to a browser or mobile app.
Sent only to this server's token endpoint and kept in this page until you leave it. Never shown in the code.
Response appears here.
-
3
List your product templates
GET /api/v2/product_templatesA template defines the sections and fields of a passport (for example a battery passport). Every DPP is created from one, so pick a template
idhere. The API lists only your organisation's own templates. Needstemplates:read.Response appears here.
-
4
Create a draft DPP
POST /api/v2/dppsSend the passport's basic data as top-level JSON. It is created as a private draft; fill in
field_valuesnow or later withPATCH. TheIdempotency-Keyheader makes retries safe. Needsdpps:write.In live mode this creates a real draft DPP in your organisation. Drafts are private and can be deleted.
Response appears here.
-
5
Publish it
POST /api/v2/dpps/:id/publicationPublishing makes the passport public and anchors it on the IOTA ledger. A fresh draft usually comes back
422listing exactly what is still missing (mandatory fields, a data carrier, identifiers…). Once nothing blocks it you get202and adpp.publishedwebhook when anchoring completes. Needsdpps:publish.Shown with sample responses only: publishing is a real business action, so run it from your backend.
Response appears here.
-
6
Read published passports, no account needed
GET /api/v2/public/dppsAnyone can read a published passport: consumers, recyclers and inspectors scanning the QR code. These calls need no token and return only the fields marked public. This step always runs live against this server.
Response appears here.
-
7
Get notified with webhooks
Register an HTTPS endpoint (scope
webhooks:manage) to receive events such asdpp.published. Every delivery is signed: verifyX-Orobo-Signaturebefore trusting the payload. See Webhooks for events and retries.
Where next
-
Getting started
The same flow, written out step by step
-
Authentication & scopes
Secret rotation, IP allowlist, scope catalogue
-
DPPs
Identifiers, field values, versions
-
Errors reference
Every status code and what to do about it