Partner API

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

    Request an access token

    POST /oauth/token

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

    Scopes
    
      
    Response appears here.
  3. 3

    List your product templates

    GET /api/v2/product_templates

    A template defines the sections and fields of a passport (for example a battery passport). Every DPP is created from one, so pick a template id here. The API lists only your organisation's own templates. Needs templates:read.

    
      
    Response appears here.
  4. 4

    Create a draft DPP

    POST /api/v2/dpps

    Send the passport's basic data as top-level JSON. It is created as a private draft; fill in field_values now or later with PATCH. The Idempotency-Key header makes retries safe. Needs dpps:write.

    In live mode this creates a real draft DPP in your organisation. Drafts are private and can be deleted.

    
      
    Response appears here.
  5. 5

    Publish it

    POST /api/v2/dpps/:id/publication

    Publishing makes the passport public and anchors it on the IOTA ledger. A fresh draft usually comes back 422 listing exactly what is still missing (mandatory fields, a data carrier, identifiers…). Once nothing blocks it you get 202 and a dpp.published webhook when anchoring completes. Needs dpps:publish.

    Shown with sample responses only: publishing is a real business action, so run it from your backend.

    
      
    Response appears here.
  6. 6

    Read published passports, no account needed

    GET /api/v2/public/dpps

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

    Get notified with webhooks

    Register an HTTPS endpoint (scope webhooks:manage) to receive events such as dpp.published. Every delivery is signed: verify X-Orobo-Signature before trusting the payload. See Webhooks for events and retries.

    
          

Where next