Skip to main content

DPP API Usage and Examples

Use the service-account API at /api/dpp/v1/companies/{companyId}. Configure roles, key scope, company restriction, and access under Service Accounts. The base scope is core.dpp.exchange. Authority requires core.dpp.access.authority, and internal exports require core.dpp.manage. Keep real keys out of documentation and version control.

Send Authorization: ApiKey YOUR_KEY or X-Api-Key: YOUR_KEY. Send Content-Type: application/json on JSON writes. Lists default to 100 and allow up to 500. Use a UTC updatedSince and store your synchronization boundary. Lists have no numbered catalog paging.

Method and relative pathUse
GET /passports?updatedSince=...&take=100List updated passports
GET /passports/DPP-000123?level=publicExport current publication
GET /passports/DPP-000123?level=internal&revision=draftExport the open draft with additional permission
GET /passports/DPP-000123?revision=1Export a specific revision
POST /imports?target=fields&mode=previewPreview a JSON import
POST /imports?target=components&mode=applyPreview and apply valid component rows
GET /imports/{jobId}Read job status and row results
POST /external-recordsImport external records in bulk

Lists use arvo.dpp.passport-list/1. Exports use arvo.dpp.export/1. These endpoints do not create or publish passports.

For a field import, send a JSON rows array containing an object with passport set to an existing code and, for example, brand set to the desired value. Use a stable unique Idempotency-Key per logical command. A retry can return the same job. Use a new key for different data. Reusing the preview key with mode=apply can apply the open preview. Verify replay, status, counts, mapping, errors, and rows.

For external records, send a system identifier such as plm and a records array. An item can specify kind as material, externalId as MAT-01, a name, and data with values such as origin and recycled content. Check created, changed, unchanged, and failed counts and each item's version or error.

For 401 check credentials, for 403 check scope and company access, for 404 check record or company, for 400 check format, and for 409 check business rules. Respect rate limits. Prepare an authorized draft revision before writing to a locked passport.