इसे छोड़कर कंटेंट पर जाएं
Not legal advice. OpenDPDP is a community draft. Nothing here is official guidance from MeitY or the Data Protection Board of India.

OpenDPDP API reference

यह कंटेंट अभी तक आपकी भाषा में उपलब्ध नहीं है।

Last reviewed 1 Dec 2026

The OpenDPDP API is defined as OpenAPI 3.1 contracts and published in opendpdp-openapi. An interactive rendering using Scalar will replace this page in Phase 2; until then the summary below mirrors the YAML.

Authentication

  • Transport: mTLS. Each party has a server certificate bound to its registered OpenDPDP identity.
  • Payload: every request body and every receipt is a JWS using the sender’s signing key. The JWS header carries the sender’s kid and the schema $id.
  • Key rotation: keys are published via a JWKS endpoint at /.well-known/jwks.json on the sender’s OpenDPDP base URL.

Endpoint groups

Fiduciary ↔ Processor

VerbPathPurpose
POST/v1/propagate/rights-requestForward a Data Principal rights request to a Processor
POST/v1/propagate/breach-noticeForward a breach intimation
GET/v1/evidence/{correlationId}Fetch the receipts bundle for one request

Processor ↔ Sub-processor

The same path shapes as above, with the Processor playing the Fiduciary role.

VerbPathPurpose
POST/v1/consent/recordCreate a consent record
POST/v1/consent/withdrawWithdraw a consent record
GET/v1/consent/manifestList active consents for a Data Principal

Idempotency

  • Every mutating request carries an Idempotency-Key header. Replays return the first response bit-for-bit for 72 hours.
  • Correlation IDs are propagated across every hop; receipts reference the original ID.

Rate limits

Default rate limits are per-sender and per-endpoint. Receivers return 429 Too Many Requests with a Retry-After header. The spec does not mandate specific numbers; it does mandate the headers.

Error and denial codes

Errors are returned as application/problem+json (RFC 7807). A denial is distinct from an error: the request was received and understood, but the Fiduciary has lawful grounds to refuse. Denial reasons are enumerated in the denial-reason schema.

{
"type": "https://www.dpdpfoundation.org/errors/invalid-signature",
"title": "Invalid JWS signature",
"status": 401,
"detail": "Signature did not verify against the sender's advertised JWKS."
}

Downloads