Respond to an access request (file stream upload)
If you need to upload a file (e.g. photos, movies, audio, PDFs, etc.), use this endpoint to send a binary stream to the Datapoint within the integration. Unlike /v1/data-silo, this uploads to one datapoint only, rather than several at once.
Transcend_API_Key API Key must be associated to this integrationAuthorizationBearer <token>authorization: Bearer <>
Scope: API Key must be associated to this integration
x-transcend-nonce*stringA reusable token sent in Transcend's webhook for this job, and returned by you when uploading the result of this job back to Transcend. Called a 'nonce' for legacy reasons, but is actually reusable.
x-transcend-datapoint-name*stringThe Datapoint to upload this file to (e.g. profile_picture). The keys should match a datapoint key you defined for this integration.
content-length*stringThe size of the file in bytes. Required when uploading via the default pre-signed upload path.
x-transcend-sombra-content-type?stringThe MIME type of the file being uploaded (e.g. image/png). Used as the primary hint when detecting the file type. If omitted, Transcend falls back to the request content-type header and then to content-based detection.
x-transcend-profile-id?string[DEPRECATED] The profile identifier that is being reported. You should not use this header if you are using multi tenant Sombra or have a Sombra version at or above 7.182.0. For recent versions of Sombra, the profile identifier is encoded within the nonce.
x-transcend-remote-id?stringOptional: a unique key for this file within the datapoint. Uploading again with the same key overwrites the earlier file. This key does not set the downloaded file name. Use x-transcend-file-name for that. If not provided, defaults to the encryption IV of the file.
x-transcend-file-name?stringOptional: the exact name the file has when the data subject downloads it, for example "Conversations.html" or "conversations/2024/index.html". Percent-encode the value as UTF-8. The name is used as sent, with no extension added, and is placed under the data collection folder. Use "/" for nested folders. It must not be empty, must not include empty path segments, and each segment must not be "." or "..". It must not contain "" or control characters. Each path segment must be at most 255 bytes once decoded, and the full path must be at most 1024 bytes. An invalid name results in an HTTP 400 error. If not provided, the name is built from the datapoint title. Files uploaded before this header existed keep their old names.
x-transcend-skip-status-update?booleanIf true, the status of the Datapoint will not automatically update to "resolved" after you upload a file. This is useful when uploading multiple files to a Datapoint. Set this to false on your final upload to update the status of the Datapoint to "resolved".
falsex-transcend-overwrite-file?booleanWhen supplying x-transcend-remote-id in an upload, Transcend will by default overwrite a previously-uploaded file with the same x-transcend-remote-id (when this header is omitted, it defaults to true). To disable this behavior, set x-transcend-overwrite-file to false. If disabled, a remote-id conflict will result in an HTTP 400 error.
trueYou can also upload a file to a specific Datapoint for a given profile.
This is an octet stream of a file you want to upload.
Note the Datapoint name and Profile ID should be included as headers. You may remember these values from /v1/data-silo, but they were included in the JSON body. Because we're streaming a file, these values are in an HTTP header for this request.
body?fileapplication/octet-streambinaryYour request was received without an issue.
application/json- response
curl -X POST 'https://multi-tenant.sombra.transcend.io/v1/datapoint' \ -H 'authorization: string' \ -H 'x-transcend-nonce: string' \ -H 'x-transcend-datapoint-name: string' \ -H 'content-length: string' \ -H 'Content-Type: application/octet-stream' \ -d 'string'{}