Solved

Creating Cards with Labels via API

  • 11 September 2022
  • 2 replies
  • 274 views

Userlevel 6
Badge +1

I’m having trouble creating a card via the API where the card has a label.

Have received a variety of errors, looking like this:

Error 30000 Invalid input: priority_1 (["Urgent"])

It doesn’t accept the Label Name that you see in Pipefy.

Am I missing something about the format that should be used for a label?

This is the documentation:

https://api-docs.pipefy.com/reference/objects/LabelField/

icon

Best answer by julia-pinheiro 12 September 2022, 21:23

View original

2 replies

Userlevel 6
Badge +1

Hi Keto,

For labels, it’s necessary to use the ID , you can find it using the query:

 

{
pipe(id:XXXXXXXX)
{
labels{
name
id
}
}
}

 

 

Userlevel 6
Badge +1

Excellent - thanks!

Reply