# Trello REST API - CheckItem due dates

**URL:** <https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169>\
**Category:** Trello\
**Tags:** rest-api\
**Created:** [June 16, 2020, 1:54pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169 "2020-06-16T13:54:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![fiatjaf](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/fiatjaf/32/39089_2.png) [@fiatjaf](https://community.developer.atlassian.com/u/fiatjaf)\
**Post date:** [June 16, 2020, 1:54pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/1 "2020-06-16T13:54:52Z")

</div>

Hello!  
How can we access these values and change them from the API?

---

<div class="post-metadata">

**Author:** ![BryanLiao](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BryanLiao](https://community.developer.atlassian.com/u/BryanLiao)\
**Post date:** [June 17, 2020, 7:45pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/2 "2020-06-17T19:45:39Z")

</div>

You can see the duedates of your checklist items by calling the  
`GET /1/cards/{id}/checkItem/{idCheckItem}`. The due dates should be a datetime value under the `due` field.  
You can update a duedate of a checkitem using the following API call:  
`PUT /1/cards/{idCard}/checklist/{idChecklist}/checkItem/{idCheckItem}`  
and have the due field with an appropriate datetime in the body of the request.  
Here is a link to the documentation:  
[https://developer.atlassian.com/cloud/trello/rest/#api-cards-idCard-checklist-idChecklist-checkItem-idCheckItem-put](https://developer.atlassian.com/cloud/trello/rest/#api-cards-idCard-checklist-idChecklist-checkItem-idCheckItem-put)

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [February 10, 2021, 9:32am UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/3 "2021-02-10T09:32:01Z")

</div>

Can the Member be added to a CheckItem via the REST API?  
I’ve just tried using the same method [as adding a member for a Card using the POST method](https://developer.atlassian.com/cloud/trello/rest/api-group-cards/#api-cards-id-idmembers-post), but I get an error message back ‘Cannot Post’.  
I tried doing a PUT, but I get a similar error ‘Cannot Put’

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [February 10, 2021, 9:40am UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/4 "2021-02-10T09:40:48Z")

</div>

I just tried doing a Put request with the value of idMember defined in the body of the request and there was no error message and it seemed to work, but when I look at the checklist item, it has no member.  
Can you please describe the proper method of using a Put request to add a member to a checkItem. Thanks.

---

<div class="post-metadata">

**Author:** ![BryanLiao](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@BryanLiao](https://community.developer.atlassian.com/u/BryanLiao)\
**Post date:** [February 10, 2021, 4:27pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/5 "2021-02-10T16:27:21Z")

</div>

Yes, a member can be added and removed from a checklist item through the REST API.  
The API call should be the same as the one as the one I previously provided:  
`PUT /1/cards/{idCard}/checklist/{idChecklist}/checkItem/{idCheckItem}`  
with the body of the request having the member information:

```auto
{
"idMember" : "id"
}

```

---

<div class="post-metadata">

**Author:** ![anon96974232](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@anon96974232](https://community.developer.atlassian.com/u/anon96974232)\
**Post date:** [February 11, 2021, 10:05pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/6 "2021-02-11T22:05:56Z")

</div>

Thanks Bryan. In the meanwhile, I solved the problem.

Yes that method works. You can also add a member by doing a Put request to the endpoint for the checkItem in the card, like this:

> PUT /1/cards/{idCard}/checkItem/{idCheckItem}?idMember={idMember}&key={key}&token={token}

This worked fine when I tested with Postman, but not my PowerShell code. I found my PS code had an obscure problem and, when I fixed that, it all worked perfectly and I was able to add the member.

Thanks, and it would be good if the Trello REST API documentation was updated to say that the values for due and idMember can now be updated for checkitems, as this is currently not documented.

---

<div class="post-metadata">

**Author:** ![GraceVestuto](https://avatars.discourse-cdn.com/v4/letter/g/e5b9ba/32.png) [@GraceVestuto](https://community.developer.atlassian.com/u/GraceVestuto)\
**Post date:** [September 12, 2022, 6:39pm UTC](https://community.developer.atlassian.com/t/trello-rest-api-checkitem-due-dates/39169/7 "2022-09-12T18:39:44Z")

</div>

Hi there! I’m trying to do something similar and backdate checklist items from the card duedate (When a due date is set on a card with X checklist, set item 1 to be due 10 workdays before card due date, set item 2 to be due 5 workdays before card due date, etc.). I am minimally familiar with the format for GET/PUT commands in Trello automation. Would you (or anyone) be able to provide a template where I could copy/paste my key, token, checklist name, item names, etc? Much appreciated!
