User token in UI Builder

How do I pass the user token to an API through UI Builder?

Hello @Sanjay_Iyer,

user-token will be sent automatically in headers of each request if user was logged in.
Could you please describe why you need it to send manually?

Regards,
Stanislaw

The API is created shows up like this in UI builder. It asks for a user token.

image

Hello @Sanjay_Iyer

This is an optional input, by default it uses current user’s token,

or if you want to send request without the user-token you can connect here a “null” block from Logic category

Regards, Vlad

Thanks Vlad. That was helpful.

Is there a log where I can see the API calls by username and timestamp?

You can add your own logging to record the username. The log files can be found on the Manage > Log Management screen.

Regards,
Mark