This setup allows a creative to display data received from an external API when triggered by a remote event.
Dynamic values are inserted into widgets using variable expressions.
You can add these expressions directly inside widget fields such as:
-
Text
-
Label
-
Webpage
-
Web Image
-
Web Video
These expressions act as placeholders. During playback, the player reads the JSON data received from the API, extracts the requested value, and displays it in the widget in real time.
Expression Format
${@customapi.PROPERTY_KEY.JSON_PATH}
| Element |
Meaning |
| @customapi |
Required prefix for API references |
| PROPERTY_KEY |
The identifier defined in your API settings |
| JSON_PATH |
The path inside the JSON response that contains the value you want to display |
Example JSON Response
{
“InProcess”: {
“0”: {
“orderApprovedTime”: “2023-01-01T00:00:00”,
“orderIDShort”: “1031”,
“orderID”: “83301031”
},
“1”: {
“orderApprovedTime”: “2023-01-01T00:00:00”,
“orderIDShort”: “1119”,
“orderID”: “83301119”
}
}
}
If your Property Key is: myrestaurant
Then this expression: ${@customapi.myrestaurant.InProcess.0.orderIDShort}
Will display:
1031