Use guest data in the API request for a triggered experience
You can copy attributes or paths from the guest data model and use them in the API request.
To include guest data in the API request:
-
In the API editor, click the API body tab.
-
Click the Data tab.
-
To insert guest data into the API response, enter a guest's email address or other identifier to search in the Data Selector search box. This enables you to access data model attributes and paths.
TipIf there is a guest whose data you often use when configuring or testing code, just click the star icon to bookmark the guest so you no longer have to search for them.
-
Under Guest data model, click the copy icon next to the attribute or path.
-
Paste into the API body tab.
-
Click Save.
-
Click
to close the API editor.