T
Twenty2mo ago
Jake

Rest API format for relational fields

How do I set relational fields (Person and Assignee) when creating a Task via the REST API? What's the correct JSON format? Currently trying to send calendly bookings to tasks via zapier tied to person --> company. Everything else populates except for the relational fields.
5 Replies
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
You have to create a task first, then create a taskTarget in which you can link task to specific record, in your case person
Jake
JakeOP2mo ago
would this be dont through a workflow or can i do this all in zapier? I did see task target as an option, but was not sure what this would be used for.
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
I think you should be able to do it in Zapier, not entirely sure about it as I'm not really familiar with it but I think if you're able to get a response from task create node, you'll be fine
Jake
JakeOP2mo ago
great! and would the person id just be the email? similar to when youre uploading people and assigning them?
ɃØĦɆᵾS
ɃØĦɆᵾS2mo ago
No, person ID is ID of record like the name suggest

Did you find this page helpful?