site.admin; DAM upload and approval use their normal permissions.
1. Prepare the export
Use a non-empty.json or .jsonl file matching the provider’s format and mapping. The profiles.json example in the shared guide can be used with customer-cdp. Convert CSV exports to the configured JSON shape before uploading.
For a segmentIdsPath mapping, upload the complete provider snapshot, because each accepted import replaces that provider’s memberships. With objectNamePattern, the filename determines which segment is replaced. The importer preserves the uploaded version’s original filename, so give the file the correct name before uploading.
2. Upload and approve the DAM asset
Upload the file through your DAM workflow and record its asset ID and version ID. The version must be approved and eligible for download; completing an upload alone does not make it importable. For an API integration, the DAM upload sequence is:POST /v1/dam/uploadswithfilename,byteSize, andexpectedSha256(the file’s 64-character lowercase SHA-256 hex digest). You may also supplymimeandfolderPath.- Upload the file bytes to the returned
uploadUrlusing the presigned upload contract. POST /v1/dam/uploads/{uploadId}/completeto create the asset/version.- Approve the version with
POST /v1/dam/assets/{assetId}/lifecycle, supplyingaction: "approve",versionId, and the asset’s currentexpectedHead.
3. Trigger the provider import
Send an asset reference to the provider’s import endpoint:versionId when you want the import to use a specific approved version. The request accepts an asset reference, rather than raw file bytes or a caller-selected object key.
A successful trigger returns 202 Accepted with assetId, versionId, objectKey, and triggeredAt. This confirms the copy was submitted to the import pipeline; it does not mean the memberships have been accepted. Retain those response values to find the corresponding report.
Use the same idempotency key when retrying the same request. Use a new key for a different upload or import action.
4. Wait for the import report
objectKey and createdAt at or after triggeredAt. This avoids mistaking a previous import of the same filename for the new one. Confirm outcome: "accepted" and review counts, skipped records, discovered IDs, and diagnostics before testing personalization.
The same validation, deduplication, replacement, and expiry rules apply to uploaded files and S3 exports. Re-triggering identical accepted content does not create a second membership set.