# eSignatures via URI

**URL:** <https://community.hubspot.com/t/esignatures-via-uri/37694>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, forms\
**Created:** [May 20, 2021, 9:44pm UTC](https://community.hubspot.com/t/esignatures-via-uri/37694 "2021-05-20T21:44:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMcDonnell](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/smcdonnell/32/5125_2.png) [@SMcDonnell](https://community.hubspot.com/u/SMcDonnell)\
**Post date:** [May 20, 2021, 9:44pm UTC](https://community.hubspot.com/t/esignatures-via-uri/37694/1 "2021-05-20T21:44:20Z")

</div>

I am working on a form that is going to connect to HubSpot via API. This form is going to have an esignature functionality. I would like send it as an URI. Is there a way for HubSpot to display an image from an URI? Is there a better way to do this?

The signature image is going to be collected via a canvas element. I am trying to avoid having to save the signature as a file on my servers or on the client’s local machine.

Thank you

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [May 21, 2021, 3:41pm UTC](https://community.hubspot.com/t/esignatures-via-uri/37694/2 "2021-05-21T15:41:31Z")

</div>

@tjoyce , any nifty solutions up up your sleeve?

![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/2/827c1c2dbc2fb17255137e0061c39f156b1e600b.webp "will arnett magic GIF - Find & Share on GIPHY")

[via GIPHY](https://giphy.com/gifs/film-arrested-development-will-arnett-Sf0lxerEx2eNG)

---

<div class="post-metadata">

**Author:** ![tjoyce](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/tjoyce/32/88832_2.png) [@tjoyce](https://community.hubspot.com/u/tjoyce)\
**Post date:** [May 24, 2021, 9:39pm UTC](https://community.hubspot.com/t/esignatures-via-uri/37694/3 "2021-05-24T21:39:07Z")

</div>

@SMcDonnell - Does it have to be a URL parameter? or could you do localStorage instead?

`<canvas id="canvas" width="5" height="5"></canvas>`

```lia-code-sample
var canvas = document.getElementById('canvas');
var dataURL = canvas.toDataURL();
localStorage.setItem('esignature', dataURL);

```

Then on the subsequent page

`<img src="" id="signature" />`

```lia-code-sample
let signatureImage = localStorage.getItem('esignature');
$('#signature').attr('src', signature);

```

Something like that? haven’t tested, let me know if that works.
