Docs Passport API Create

Create Product Passport

This endpoint allows you to programmatically create a new Digital Product Passport (DPP). Upon success, it returns a unique passport_id and a public URL.

POST/v1/passports

This endpoint requires an API Key with write permissions.

Request Example

bash
curl -X POST https://api.etmita.com/v1/passports \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "sku": "PROD-12345",
    "name": "Eco T-Shirt",
    "materials": [
      {"type": "Cotton", "percentage": 100, "origin": "TR"}
    ]
  }'

Data Flow

Client App
JSON Payload
E
Etmita API
201 Created
DB & Blockchain