Skip to main content
Solved

Creating Cards with Labels via API

  • September 11, 2022
  • 2 replies
  • 457 views

Keto-Faster
Forum|alt.badge.img+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/

Best answer by julia-pinheiro

Hi Keto,

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

 

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

 

 

2 replies

julia-pinheiro
Pipefy Staff
Forum|alt.badge.img+1
  • Pipefy Staff
  • Answer
  • September 12, 2022

Hi Keto,

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

 

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

 

 


Keto-Faster
Forum|alt.badge.img+1
  • Author
  • Inspiring
  • September 12, 2022

Excellent - thanks!