# Extract token from JSON

**URL:** <https://community.thunkable.com/t/extract-token-from-json/2777288>\
**Category:** Questions about Thunkable X\
**Created:** [January 11, 2024, 10:08am UTC](https://community.thunkable.com/t/extract-token-from-json/2777288 "2024-01-11T10:08:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [January 11, 2024, 3:58pm UTC](https://community.thunkable.com/t/extract-token-from-json/2777288/2 "2024-01-11T15:58:01Z")

</div>

When you post JSON text on the forums, be sure to format it using the \</\> button in the toolbar above the message area. That allows you to copy & paste it into [Best JSON Viewer and JSON Beautifier Online](https://codebeautify.org/jsonviewer) without the smart quotes invaliding the JSON. I reformatted yours already.

You can get the property “response.token” from the object (the object is the green `response` block).

I have a tutorial that explains all of this in a video: [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575)

---

_[View the full topic](https://community.thunkable.com/t/extract-token-from-json/2777288)._
