How do i find out who creator of a task is through the API

hi ,
I’m having a problem using the API
when i want to know who the user is that created the task , i go from ‘get /tasks/{task_gid}’ and ‘get /tasks/{taskid}/stories’
could not find to create this field
pls let me know, thinks.

你好,
我从Api中发现一个问题,当我想知道某一个任务的创建人是谁的时候,我找不到相关的字段。我试了通过任务id找任务详情,通过任务id找评论详情,都没有找到。请告知如何找到任务创建人信息。谢谢。
再次感谢!

Hi @aluka,

You don’t need to use the stories object, you can get it from the task itself. It’s missing from the documentation (cc: @Ross_Grambo) but there is a created_by field on the task object. You’ll need to use the opt_fields=created_by parameter to retrieve it.

3 Likes

Thankyou for very much for your help😁

Thank you very much for your help