# Forward form including upload files to a 3rd party via Gravity Form Webhooks plugin

**URL:** <https://community.gravityforms.com/t/forward-form-including-upload-files-to-a-3rd-party-via-gravity-form-webhooks-plugin/14293>\
**Category:** Get Help\
**Tags:** webhooks, file-uploads, gform\_webhooks\_request\_data, post-to-3rd-party, base64\_encode\
**Created:** [January 24, 2023, 1:16pm UTC](https://community.gravityforms.com/t/forward-form-including-upload-files-to-a-3rd-party-via-gravity-form-webhooks-plugin/14293 "2023-01-24T13:16:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [January 24, 2023, 6:19pm UTC](https://community.gravityforms.com/t/forward-form-including-upload-files-to-a-3rd-party-via-gravity-form-webhooks-plugin/14293/2 "2023-01-24T18:19:28Z")

</div>

See if the following helps:

> [@Connecting Webhooks to accelo API for attachments](https://community.gravityforms.com/t/connecting-webhooks-to-accelo-api-for-attachments/8379/2):
>
> Hello. To send files via the Webhooks Add-On, you can use the gform\_webhooks\_request\_data filter in the theme functions.php file or a custom functionality plugin to modify the data before the request is sent. The file needs to be base64\_encoded You can use a line like this with the above filter to get the file contents, encode it, and add it to the request. $request\_data['filedata'] = base64\_encode( file\_get\_contents( $file\_path ) ); If the file is uploaded via a file upload field you can u…

---

_[View the full topic](https://community.gravityforms.com/t/forward-form-including-upload-files-to-a-3rd-party-via-gravity-form-webhooks-plugin/14293)._
