> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFDataInitiateFileUploadsRequest

> PFDataInitiateFileUploadsRequest data model. Returns URLs that may be used to upload the files for a profile 5 minutes. After using the upload calls.

PFDataInitiateFileUploadsRequest data model. Returns URLs that may be used to upload the files for a profile 5 minutes. After using the upload calls FinalizeFileUploads must be called to move the file status from pending to live.

## Syntax

```cpp theme={null}
typedef struct PFDataInitiateFileUploadsRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFEntityKey const* entity;  
    const char* const* fileNames;  
    uint32_t fileNamesCount;  
    int32_t const* profileVersion;  
} PFDataInitiateFileUploadsRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*

The entity to perform this action on.

**`fileNames`**   const char\* const\*

Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '\_', '-' and '.'.

**`fileNamesCount`**   uint32\_t

Count of fileNames

**`profileVersion`**   int32\_t const\*<br />*may be nullptr*

(Optional) The expected version of the profile, if set and doesn't match the current version of the profile the operation will not be performed.

## Requirements

**Header:** PFDataTypes.h

## See also

[PFDataTypes members](/services/playfab/api-references/c/pfdatatypes/pfdatatypes_members)


## Related topics

- [PFDataInitiateFileUploadsAsync](/services/playfab/api-references/c/pfdata/functions/pfdatainitiatefileuploadsasync.md)
- [Services C API overview - PFDataTypes.h](/services/playfab/api-references/c/pfdatatypes/pfdatatypes_members.md)
- [PFDataInitiateFileUploadMetadata](/services/playfab/api-references/c/pfdatatypes/structs/pfdatainitiatefileuploadmetadata.md)
- [PFDataInitiateFileUploadsResponse](/services/playfab/api-references/c/pfdatatypes/structs/pfdatainitiatefileuploadsresponse.md)
- [PFDataInitiateFileUploadsGetResult](/services/playfab/api-references/c/pfdata/functions/pfdatainitiatefileuploadsgetresult.md)
