Forums

Discuss all things Remember The Milk.

menu

Setting Due Date on Add Task in RTM API

ndmaxwell says:
Hello,

I've composed an Alexa skill that enables adding tasks via RTM's API. It's working fine, but I've discovered that the API's rtm.tasks.add method ignores the parameter, e.g.

{
due: '2025-01-01'
}

And as a result tasks were being added without any due date (which, in my utilzation of RTM, makes the tasks effectively hidden from view).

As a workaround, I'm setting the tasks to be parsed using natural language to set a due date:

{
parse: 1,
name: task + ' today'
}

Because the yet-to-be-created tasks don't have a , I don't see a way to use the rtm.tasks.setDueDate method.

Questions:
1. Is there a way to use setDueDate() "on the fly" so to speak during task creation?

2. What would be my next steps to suggest a modification to the V2 API to parse ISO date strings as arguments on a parameter for the rtm.tasks.add method?
Posted at 6:57pm on July 10, 2025
ndmaxwell says:
Hmm... I think the forum post filtered anything I put inside brackets (sorry). Let me try again:


I've composed an Alexa skill that enables adding tasks via RTM's API. It's working fine, but I've discovered that the API's rtm.tasks.add method ignores the "due" parameter, e.g.

{
due: '2025-01-01'
}

And as a result tasks were being added without any due date (which, in my utilzation of RTM, makes the tasks effectively hidden from view).

As a workaround, I'm setting the tasks to be parsed using natural language to set a due date:

{
parse: 1,
name: task + ' today'
}

Because the yet-to-be-created tasks don't have a "task_id" I don't see a way to use the rtm.tasks.setDueDate method.

Questions:
1. Is there a way to use setDueDate() "on the fly" so to speak during task creation?

2. What would be my next steps to suggest a modification to the V2 API to parse ISO date strings as arguments on a parameter for the rtm.tasks.add method?
Posted 31 hours ago
Log in to post a reply.