Skip to main content

Hi,
I am trying to make an API call to createCard referring to this link.

The documentation here seems to be a bit tricky. What are the fields passed inside the "fields_attributes"? 

How do I get the IDs of the fields in my instance?

Hello @dev63! I sent you the wrong query, I am sorry for the confusion. You need to check the fields on the start form to be able to create cards. 


So you can use this one:

{pipe (id:xxxxx){
    start_form_fields{
    id
    }
}
}

And to check the documentation I sent you and use our API, you can access here https://app.pipefy.com/graphiql 

I am also correcting the answer so it wont be confusing for other users. Let me know if you need any other help! 


Hi,
Thanks for your response.

I’m not sure about the solution suggested above. 

The field IDs in the response of the phase query relate to the phase entities. These do not match any fields of a card in the pipe.

I am more concerned about the card field IDs in a pipe.

Also, can you link me to the site where you are trying out these APIs (API playground)?

Thank you,

 


Hello @dev63, how are you doing today? :) 

To get your fields IDs you can use this query using the pipe ID:

{pipe (id:xxxxx){
    start_form_fields{
    id
    }
}
}

And then you can check the fields attributes using our documentation on the side:

Let me know if it helps! :) 


Reply