Get asignee user info from card using SDK

  • 5 May 2022
  • 1 reply


Is there a way to get the user information from a card assignee using the web SDK?

When I select a card widget I get an object similar to this:

    type: ‘card’,
    assignee: {
        userId: ‘xxxxxxxxxxx’

How can I get that user name from the assignee?

I am trying to build a custom csv export, so I need that information.

1 reply

Userlevel 6
Badge +4

Hey @Omar Eduardo Hernandez ,

Good question! While the Web SDK supports a method to get currentUser, if you wish to retrieve details about the assignee for a given card widget, this can be accessed via the REST API — GET User endpoint, by passing the assignee’s ID like this:{id}

I don’t believe there’s a method in our Web SDK for getting details about this type of user, though it’s a great suggestion.

I hope this helps to clarify, but let me know if you have any additional questions about this.