Skip to main content

Hello!

I´m new on the community and I want to know if I can search cards via API using my customized field.

I added a “Document Number” field, so I need to get the lead information based on the document number the person is going to inform.

 

Is that possible?

 

Thanks,

 

Keyla

Hi Keyla

 

How are you doing today?

 

Unfortunately, filtering data inside API is not possible. You’ll need to get all card’s data and then filter it using your application code.

 

You can get all card’s data using the following API syntax:

{

  card(id: <CARD ID HERE>) {

    title

    assignees {

      id

    }

    comments {

      text

    }

    comments_count

    current_phase {

      name

    }

    done

    due_date

    fields {

      name

      value

    }

    labels {

      name

    }

    phases_history {

      phase {

      name

    }

      firstTimeIn

      lastTimeOut

    }

    url

  }

}

 

If there’s any additional question, don’t hesitate to contact us :grinning:  


Reply