Skip to main content
Solved

Creating Cards with Labels via API

  • September 11, 2022
  • 2 replies
  • 367 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
    }
  }
}

 

 

View original
Did this topic help you find an answer to your question?

2 replies

julia-pinheiro
Pipefy Staff
Forum|alt.badge.img+1
  • Pipefy Staff
  • 39 replies
  • 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
  • New Member
  • 54 replies
  • September 12, 2022

Excellent - thanks!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings