Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Get all available response tokens by API

Avatar

Avatar
Validate 1
Level 1
meirotstein2
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
meirotstein2
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
meirotstein2
Level 1

05-04-2021

Hello,

 

We are designing a system that will use the response token on the page for integration with other systems.

 

The flow is configurable. for example, the user will be able to configure: if response.token1 = 'a' then do something.

 

On the configuration page, in order to improve the UX and reduce the chance for mistakes, we would like to allow the user to select the available response tokens from a list, instead of typing it.

 

My question is: is there a resource on Target API (or another API) to get this information?

 

Response Token Target API

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

197 likes

Total Posts

212 posts

Correct Reply

85 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile

Avatar
Give Back 25
Employee
ryanr701
Employee

Likes

197 likes

Total Posts

212 posts

Correct Reply

85 solutions
Top badges earned
Give Back 25
Give Back 10
Give Back 5
Give Back 3
Give Back
View profile
ryanr701
Employee

06-04-2021

Hi @meirotstein2,

I don't believe such an API exists. I think your best bet might be to load the Response Tokens page (Adobe Target > Administration > Response tokens) and increase the items per page to max and then copy the data from the page. As response tokens do not change frequently this might be a feasible solution for you. You can also see the status and just use the "activated" response tokens if you want.

I suppose you could try and manually call the graphql POST request the page makes to fetch that data, but when I looked at the response body I wasn't seeing the status information. You possibly would need to combine data from multiple requests to get what you need if you go that route.

Hope that helps,

Ryan

Answers (1)

Answers (1)

Avatar

Avatar
Boost 100
Level 7
rush_pawan
Level 7

Likes

120 likes

Total Posts

192 posts

Correct Reply

77 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Boost 100
Level 7
rush_pawan
Level 7

Likes

120 likes

Total Posts

192 posts

Correct Reply

77 solutions
Top badges earned
Boost 100
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
rush_pawan
Level 7

06-04-2021

hello, 

refer this, it will give you good understanding of response token from target

 

https://experienceleague.adobe.com/docs/target/using/administer/response-tokens.html?lang=en#section...

 

thanks!!