Overview
Backend integrations read and write DALP files through domain routes that accept X-Api-Key: asset documents under / and the KYC document routes. Public branding assets are served unauthenticated from /dalp/*. The /dalp/private/* route serves stored private files to a platform administrator's signed-in Console session only and refuses API keys.
Choose public or private
Public assets require no credentials and carry a one-year immutable cache header. Private files require authentication and forbid caching. Store KYC evidence and confidential documents privately.
Deleting or moving a public asset cannot recall copies already downloaded or cached by intermediaries. Treat any exposed sensitive file as outside DALP control.
Tenancy in object storage
Object storage uses one bucket per deployment. Organisation-scoped files (including public branding) carry the org_{organizationId}/ prefix, such as org_. KYC documents (kyc/{participantId}/...) and platform-reserved keys (platform/...) sit outside that prefix, and their serving routes enforce access control.
One storage contract sits in front of S3, GCP Cloud Storage, Azure Blob Storage, S3-compatible stores, and self-hosted filesystem storage, so upload and download flows stay identical across deployments.
Public assets
GET /dalp/ and HEAD /dalp/ serve public branding assets without authentication under an optional org_{organizationId}/ prefix followed by logos/, auth/, backgrounds/, favicons/, or icons/. No other public prefixes exist.
curl "$DALP_API_URL/dalp/org_{organizationId}/logos/light/{id}-icon.svg"Keys outside those prefixes, paths with . or .. segments, images over 5 MB, files whose bytes do not match their declared image type, and SVGs containing scripts or event handlers return 404 Not Found. DALP deletes invalid objects on first request.
Responses set Cache- (plus ETag and Last-Modified when available), so avoid storing sensitive or mutable files under public keys.
Private files
GET /dalp/ and HEAD /dalp/ serve private keys (requiring at least two path segments, such as kyc/{participantId}/...) to platform administrators (admin platform role) only. Signed-in callers without admin receive 403 Forbidden regardless of whether the key exists. All other callers use resource routes:
admin is a platform-wide session role separate from organisation memberships and grants read access to every organisation's private files and KYC documents. Grant it deliberately.
curl "$DALP_API_URL/dalp/private/kyc/user_123/passport.pdf" \
-H "Cookie: {sessionCookie}"Private file responses always set Cache-, Pragma: no-, and Expires: 0. Never cache them in shared caches or CDNs.
Read a KYC document through its domain route
Do not build /dalp/private/kyc/... URLs in backend integrations. Call the KYC document download endpoint (POST) with X-Api-Key to mint a one-hour scoped link:
{
"data": {
"downloadUrl": "/api/v2/kyc-profile-versions/{versionId}/documents/{documentId}/download",
"fileName": "proof-of-address.pdf",
"mimeType": "application/pdf",
"expiresAt": "2027-01-05T15:05:00.000Z"
},
"links": { "self": "/api/v2/kyc-profile-versions/{versionId}/documents/{documentId}/downloads" }
}downloadUrl is always a relative /api/v2/... path requiring your session or API key on fetch. expiresAt bounds the link (one hour), not your credential. Unencrypted pre-3.2 v1 KYC documents are encrypted in place by a background job and served through the same authenticated /api/v2/... path meanwhile. Request a fresh link if one expires.
API keys are refused on private file routes
Sending only X-Api-Key to /dalp/private/* without a session cookie returns 401 Unauthorized (identical to sending no credential). Use the resource-specific domain routes for API-key integrations.
Upload with a presigned URL
Asset and token document uploads use a two-step presigned flow:
- Request an upload link. DALP returns a
PUTURL,objectKey,headers, and a 15-minuteexpiresAt. PUTthe raw bytes directly to that URL with every returned header verbatim (such asx-on Azure, plus a write-once precondition:ms- blob- type: Block Blob If-orNone- Match: * x-on GCP).goog- if- generation- match: 0 - Confirm the upload with the returned
objectKeyso DALP validates and attaches it.
Write-once preconditions prevent overwriting a confirmed object: storage rejects missing headers and second uploads to the same URL. Request a new upload URL for a different file or after expiry.
KYC document uploads
V2 KYC uploads do not use presigned URLs. Send documentType, fileName, fileSize, mimeType, and base64 fileData directly to POST /api/ so DALP validates and encrypts the file before writing to storage.
V2 KYC uploads support Idempotency-Key scoped to the organisation, version, calling user, and key for the lifetime of the stored document, with no 24-hour expiry and freed once the document is deleted. Replaying with the same file returns the stored document record. Replaying with a different file, name, size, or media type returns 400 naming Idempotency-Key in data.errors.
The v1 KYC presigned upload still accepts unencrypted uploads to a /upload key on draft versions, validates size (up to 25 MiB) and file bytes at confirm, encrypts the file, and deletes the unencrypted upload object (or deletes unconfirmed uploads after 30 minutes). Prefer v2 so unencrypted KYC files never touch object storage.
How a download is served
Downloads never execute as pages on the DALP origin. Files served through DALP (/dalp/* or filesystem storage) return X- and Content-, with Content- for PDF, JPEG, PNG, WebP, GIF, and AVIF and attachment for all other types (including HTML and SVG).
Signed URLs to S3, GCP, Azure, or S3-compatible stores always return Content-. Asset, sale, and governance proposal downloads also set the sanitised stored filename (filename in ASCII and filename* in UTF-8) and declared Content-Type across every backend.
Asset documents
Asset documents (prospectuses, term sheets, holder notices) use the presigned upload flow. See Asset documents and holder notices for the Console screens.
Upload links expire in 15 minutes and download links in one hour. Standard documents allow up to 50 MiB (52,428,800 bytes) in PDF, JPEG, PNG, WebP, DOCX, XLSX, or CSV. brand_logo documents allow up to 5 MiB (5,242,880 bytes) in PNG, JPEG, or WebP, up to 2048 pixels per side, and are always stored as public. Invalid types or sizes fail upload-link requests with 400 REQUEST_INVALID (DALP-14261).
Confirm requests specify objectKey, filename, size, media type, documentType (valid for the asset type), visibility (public, holders, or restricted), and optional title, description, or replaceGroupId (which must match documentType, otherwise 404 DALP-0322). DALP reads the stored bytes back, deletes mismatched files, records the SHA-256 digest, and emits token.document.published for holders documents.
Visibility scopes reads within the issuing organisation (or system-owning organisation): everyone reads public, asset holders, active primary-offering participants, and asset role holders read holders, and governance or admin role holders read restricted. Higher-visibility, superseded, deleted, and missing documents all return 404 DALP-9486.
Status codes
/dalp/* and /dalp/private/* return short plain-text error bodies with no DALP JSON envelope, so branch on HTTP status. Neither path has a per-key rate limit.
Tell a session problem from a scope problem
401 means no valid session cookie was found. 403 means the session is valid, but the user lacks the platform admin role or the key format is invalid (checked before reading storage).
Organisation owners without platform admin still receive 403 on /dalp/private/*, including for their own organisation's keys. Use the KYC, statement, or asset document domain routes instead.
Next steps
- Errors covers the Platform API JSON error envelope.
- Authentication and API keys covers API-key authentication and scopes.