Process: read
Download process file content
Retrieves the raw binary content of a file that belongs to the specified process.
Unlike the parent resource, which returns the file as Base64 within a JSON document, this endpoint streams the file content directly as binary data.
Possible file types:
- Attached original documents (PDF)
- Signed or partially signed documents (PDF, available as soon as at least one signer has signed)
- Verification documents (ZIP, if online verification was performed)
The Content-Type of the response reflects the actual file type.
Files are only available until the process has been archived (archivedOn is set).
get/api/process/{processId}/file/{fileId}/content
Request
- Base URLhttps://sign.swisscom.ch/system
- AuthOAuth 2Client credentialsToken URLhttps://sign.swisscom.ch/realms/swisscom-public/protocol/openid-connect/tokenScopessswp:process:read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
processIdstring uuid required
System-assigned process identifier (UUID).
fileIdstring required
Identifier of the file within the process.
Can be either:
- The internal UUID assigned by the system
- The externalIdentifier provided during upload
Response
Returns the raw binary content of the file.
Changes
No recorded changes to this operation across all 1 revision of this API.