# FileReceived

Output payload carried by the file-received platform event.

> Kind: Apex type · Updated: 2026-07-01

Custom Apex type representing the output that Platform Events and the Platform Events Apex Handler return for the file-received platform event type. It is surfaced on the Event payload returned by Client.getEventDetails(). It exposes the following fields.

## Fields

### Output fields
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | String | optional | Identifier of the received file resource. |
| name | String | optional | Name of the received file. |
| fileRequestId | String | optional | Identifier of the file request that produced this upload. |
| fileRequestName | String | optional | Name of the file request that produced this upload. |
| destinationResourceId | String | optional | Resource ID at the destination. |
| destinationDriveId | String | optional | Drive ID of the destination. |
| destinationLibrary | String | optional | Storage library of the destination. |
| linkId | String | optional | Identifier of the link used for the upload. |
| linkHash | String | optional | Hash of the link used for the upload. |
| linkUrl | String | optional | URL of the link used for the upload. (The Archbee source lists this field as linkUr, an apparent typo; the Apex class defines it as linkUrl.) |
| uploaderEmail | String | optional | Email address of the person who uploaded the file. |
| uploadedAt | Datetime | optional | Timestamp of when the file was uploaded. |
