https://discord.gg/botpress logo
#🌎general
Title
# 🌎general
b

bored-australia-39539

07/04/2023, 4:26 PM
How can I call a variable I created in Botpress with an API call ?
e

early-train-33247

07/06/2023, 6:53 PM
Hey @bored-australia-39539, what do you mean by calling a variable?
Displaying its content?
b

bored-australia-39539

07/07/2023, 1:13 PM
Correct, indexing the JSON. ie: variable.key[0]
e

early-train-33247

07/09/2023, 12:43 PM
Hey @bored-australia-39539 try using
{{variable.key[0]}}