POST multiple person's fields with a single call?

Hello Community,

Trying to set up a Zapier webhook to create multiple person’s fields (with different types of fields) with a single call/request. Everything is OK with a one field creation. But when I try to create multiple fields, I get such an error response: "The app returned “Name and field type must be given.”. Please help to find out is it possible? JSON example:

{
“data”:[
{
“name”:“Job Title”,
“field_type”:“varchar”,
},
{
“name”:“Connected On LinkedIn?”,
“field_type”:“enum”,
“options”:[
{
“label”:“Invited”
},
{
“label”:“Accepted”
},
{
“label”:“Withdrawn”
},
{
“label”:“Not Possible”
},
{
“label”:“Error”
}
],
}
]
}

Thank you!

Hi Basil,

Could you clarify for me, are you making a POST or PUT request? (adding or updating fields).

Hi David,

I’m making a POST resuest - adding the fields.

:man_facepalming: It’s right there in your title. Sorry about that.
Yes, for POST you can only create 1 Field per request.
We hope to add bulk updates in the future, but currently no ETA

Ok, thank you for a quick response, David!

1 Like