# Generate JSON Web Token (JWT) from within Knack

**URL:** <https://forums.knack.com/t/generate-json-web-token-jwt-from-within-knack/6611>\
**Category:** API & Custom Code\
**Created:** [October 30, 2019, 5:31pm UTC](https://forums.knack.com/t/generate-json-web-token-jwt-from-within-knack/6611 "2019-10-30T17:31:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidVarga81192](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@DavidVarga81192](https://forums.knack.com/u/DavidVarga81192)\
**Post date:** [October 30, 2019, 5:31pm UTC](https://forums.knack.com/t/generate-json-web-token-jwt-from-within-knack/6611/1 "2019-10-30T17:31:36Z")

</div>

Hi!

I need to generate a JWT (JSON Web Token) with a payload from Knack fields, and send it in a GET request.

Could this be possible to do from within Knack via custom code?

Would I need to connect to an external library or API to do it?

Can I use something like [jwt.io](https://jwt.io/), or maybe like this: [https://codepen.io/jpetitcolas/pen/zxGxKN,](https://codepen.io/jpetitcolas/pen/zxGxKN) or could it be done all via inline JS?

Would Auth0 play any role here?

Could Zapier, Integromat or a similar service help me?

The payload would look something like this:

{  
"usrId": "12345",  
"usrName": "Name",  
“isPaid”: “true”  
}  
  
Being on the no-code space, I have no idea how to do this.

Any help or ideas will be greatly appreciated!

-David.
