Partner API

v1 vs v2

Integrate against /api/v2. It is the only partner API: OAuth2
client_credentials, with applications you create yourself under
Organisations → Integrations.

/api/v1 is switched off

v1 was never a partner API. It accepted only a signed-in browser session, and
the old X-API-Key / OrganizationKey schemes were retired before it was
switched off. Every /api/v1/* request now answers 410 Gone as an RFC 7807
problem document (type ending in /errors/gone) with a
Link: <…/documents/external-api>; rel="successor-version" header. Do not
start new work against v1 documentation or the old v1 Swagger files.

v2 is not "v1 minus features". Authentication, errors (RFC 7807
problem-details), pagination and DPP payloads all differ, so build against
the v2 chapters rather than translating v1 calls one-to-one.

What is available today

Generally available, no flag:

Built but not yet released (they answer 404 until switched on after UAT):
journey steps, compliance, contacts, organization, and imports.

Publishing and the blockchain

POST /api/v2/dpps/:id/publication starts the blockchain write and answers
202 Accepted with status: "publication_pending". The DPP becomes public
(is_public / published_at) only once the IOTA write succeeds; the
dpp.published or dpp.publication_failed webhook tells you the outcome. The
publish response does not carry a transaction hash. To read a DPP's blockchain
record, call GET /api/v2/dpps/:id/blockchain_verification, which compares the
hash on chain with the hash Orobo recorded; it answers 422 when the DPP has
no successful blockchain record yet.

Migrating

  • New integrations: v2 only.
  • Existing v1 callers: port to the v2 equivalents. For example POST /api/v1/dpps becomes POST /api/v2/dpps, and PATCH /api/v1/dpps/:id/toggle_visibility becomes POST / DELETE /api/v2/dpps/:id/publication.