Getting user ID for tasks?

Comments

4 comments

  • Nate Bennett

    To elucidate further- how does one even get a user ID?

    0
    Comment actions Permalink
  • Andreas Garnæs

    Hi Nate,

    Maybe your use-case can be solved with Podio Workflows?

    Best,
    Andreas

    0
    Comment actions Permalink
  • Nate Bennett

    Hi Andreas,

    Unfortunately I can't solve this with workflows. That being said, I figured out that Create Task can take an email as a parameter for assigning the task, so I'm just going to get the user's email via Get Item.

    I'm just wondering what the point of having a user-id as a parameter in any request would be, if there is no way of finding it? Or maybe there is, and I haven't looked thoroughly enough?

    Thanks!

    0
    Comment actions Permalink
  • Andreas Garnæs

    Hi Nate,

    There should be plenty of ways to get a user id. When you get an item, you also get the user id. Here's an excerpt of a get item response:

    {
      "created_by": {
        "user_id": 1305341,
        "name": "Andreas Garnæs",
        "type": "user"
      }
    }
    

    1305341 is the user id you could use in a create task call.

    Best,
    Andreas

    1
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk