Add "Card Checklists" to the API


The API is missing access to some of the objects in the card.

Specifically, I’d like the Card Checklists to be added. 

Card checklists are very useful - but we haven’t considered using them due to this limitation.

See the conversation here: 

 

Thanks for you suggestion! I will submit it!


Updated idea statusNewSubmitted

@genietim have you found an alternative to the above feature, to having checklists auto-created in pipefy?


Hi @Keto-Faster 

I personally am not using the checklists at all. But I guess one way would be to look into the API that Pipefy itself uses, often, that’s usable from outside as well.

For the checklist, the queries would be:

fetch("https://app.pipefy.com/graphql/core", {
"headers": {
"accept": "*/*",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7",
"content-type": "application/json, application/json"
},
"referrer": "https://app.pipefy.com/",
"referrerPolicy": "origin",
"body": "{\"operationName\":\"CreateChecklist\",\"variables\":{\"cardUuid\":\"5b96ae53-e3aa-4e26-9b58-e1fa05f19c0d\",\"title\":\"Checklist\"},\"query\":\"mutation CreateChecklist($cardUuid: ID!, $title: String!) {\\n createChecklist(input: {cardUuid: $cardUuid, title: $title}) {\\n id\\n title\\n hasItems\\n __typename\\n }\\n}\\n\"}",
"method": "POST",
"mode": "cors",
"credentials": "include"
});

to create the checklist and

fetch("https://app.pipefy.com/graphql/core", {
"headers": {
"accept": "*/*",
"accept-language": "en-GB,en;q=0.9,en-US;q=0.8,de;q=0.7",
"content-type": "application/json, application/json"
},
"referrer": "https://app.pipefy.com/",
"referrerPolicy": "origin",
"body": "{\"operationName\":\"CreateChecklistItem\",\"variables\":{\"checklistId\":\"300699749\",\"description\":\"Test Item 1\",\"checked\":false},\"query\":\"mutation CreateChecklistItem($checklistId: ID!, $description: String!, $checked: Boolean!) {\\n createChecklistItem(\\n input: {checklistId: $checklistId, description: $description, checked: $checked}\\n ) {\\n id\\n index\\n __typename\\n }\\n}\\n\"}",
"method": "POST",
"mode": "cors",
"credentials": "include"
});

to add an item to it.

No idea if that actually works though ;)


(you might need to add the Authorization header, and correct the checklistId and the cardUuid etc.)


@genietim awesome - thanks for posting this. We’ll try to implement and I’ll post back here how it goes.