# signature JSON object structure

**URL:** <https://community.transloadit.com/t/signature-json-object-structure/18218>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [November 16, 2013, 9:52pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218 "2013-11-16T21:52:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![antonygraemecox](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/antonygraemecox/32/1640_2.png) [@antonygraemecox](https://community.transloadit.com/u/antonygraemecox)\
**Post date:** [November 16, 2013, 9:52pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/1 "2013-11-16T21:52:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on November 16, 2013; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20141231025957/http://support.transloadit.com/discussions/problems/11788-signature-json-object-structure)

Apparently no matter where I put my signature property, with the key of signature, the API doesn’t recognize that I’ve sent one. Can you give an an example of a json object that it will accept please?

Here is one of mine:

```auto
auth: Object
expires: "2013-11-16T21:51:53+0000"
key: "REDACTED"
template_id: "REDACTED"
__proto__ : Object
signature: "09a8a0ebb1570905f2191d111b5d0a8d056c98aca84fbf48545d5ae14458c37c" steps: Object
export: Object
path: "users/images/${fields.s3UserId}/${previous_step.name}_${file.url_name}"

```

Note: I have tried moving signature within params, outside of it, and outside of the whole thing.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [November 17, 2013, 7:10am UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/2 "2013-11-17T07:10:00Z")

</div>

It must be sent as a separate POST field named “signature”. Please your integration so that I can help further. 🙂

Kind regards,

Tim Koschuetzki  
Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![antonygraemecox](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/antonygraemecox/32/1640_2.png) [@antonygraemecox](https://community.transloadit.com/u/antonygraemecox)\
**Post date:** [November 17, 2013, 4:35pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/3 "2013-11-17T16:35:00Z")

</div>

It is finding the signature field. My mistake. It just doesn’t match the one I supply. my json object looks like this:

```auto
 $('#myid').transloadit({
wait: true,
fields: '*',
processZeroFiles: false,
params: {
"auth": {
"expires": 2013-11-17T16:20:44+0000,
"key": myapikey
},
"template_id": mytemplateid,
"steps": {
"export": {
"path": 'users/images/${fields.s3UserId}/${previous_step.name}_${file.url_name}'
}
},
},
signature: '3dd208e3e801a4bdf8bf9adf838f5d93f208f9e3a8b4d5635966a0ab4264763d', autoSubmit: false,
onResult: function(step, result) {
},
onSuccess: function(assembly) {
}
});
};

```

and I am deriving the signature from this string:

“{“auth”:{“expires”:“2013-11-17T16:39:27+0000”,“key”:“REDACTED”},“template\_id”:“mytemplateid”,“steps”: {“export”: {“path”: “users/images/${fields.s3UserId}/${previous\_step.name}\_${file.url\_name}”}}}”

Does this string need to be encoded in any particular way? I didn’t find that information in your documentation.

---

<div class="post-metadata">

**Author:** ![antonygraemecox](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/antonygraemecox/32/1640_2.png) [@antonygraemecox](https://community.transloadit.com/u/antonygraemecox)\
**Post date:** [November 17, 2013, 4:37pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/4 "2013-11-17T16:37:00Z")

</div>

Should it be sha1 or sha256? Does it make a difference?

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [November 17, 2013, 4:46pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/5 "2013-11-17T16:46:00Z")

</div>

Well you are sending a different value for “expires” compared to the one you use for the signature.

Have you seen our signature authentication examples for various languages here:  
[https://transloadit.com/docs/api-docs#authentication-implementations](https://transloadit.com/docs/api-docs#authentication-implementations)

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![antonygraemecox](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/antonygraemecox/32/1640_2.png) [@antonygraemecox](https://community.transloadit.com/u/antonygraemecox)\
**Post date:** [November 17, 2013, 4:48pm UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/6 "2013-11-17T16:48:00Z")

</div>

Yes that’s because I copied and pasted the different values at different times. They are normally the same.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [November 18, 2013, 9:03am UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/7 "2013-11-18T09:03:00Z")

</div>

Can you please paste the code that calculates the signature?

Also please take a look at this code: [https://transloadit.com/example\_apps/video-thumbnail-chooser/index.php](https://transloadit.com/example%5Fapps/video-thumbnail-chooser/index.php) It is useful to generate both the params and the signature in the backend with the same language.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [December 10, 2013, 6:49am UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/8 "2013-12-10T06:49:00Z")

</div>

I am going to close this ticket for now. Please feel free to reopen it again if you have further questions.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 10:36am UTC](https://community.transloadit.com/t/signature-json-object-structure/18218/9 "2026-10-07T10:36:17Z")

</div>


