API Endpoint for Task Creation
under review
N
Nigel
I would like to request the implementation of an API endpoint in Morgen that allows tasks to be sent to the app.
Supporting every task management app natively I appreciate is an impossible task due to the vast number of applications available. This is the current struggle I find with the calendar apps flooding the market. One never covers all you want perfectly.
I love the UI of Morgen and I am sure other do too! By providing an endpoint to create tasks, users with technical know-how can create custom solutions to link their preferred task management tools, enhancing the app's usability and appeal.
Danny Hatcher
under review
E
Eka
There is an existing endpoint to create a task: https://github.com/morgen-so/morgen-cw-sdk/blob/67d339ce3bc34b9a789096df31f994b6b3fd1d38/openapi.v3.yaml#L384
But I wish there were another endpoint to _create calendar events_ from a task. Is that what you meant? Or perhaps I should create a separate ticket...
M
Mohammad
Eka I just read this after I asked the other question, could you provide an example of a curl command that would make me create a task.
I think it's not too bad that the task goes into the inbox, I go through my inbox periodically anyways.
Nick Alico
Eka I do see this, perhaps there could be better documentation for this as there really isn't a straightforward example of a curl command to do this in the docs currently.
Danny Hatcher
Nick Alico: This is not my area of expertise but I will raise this with the team 😁
Nick Alico
Danny Hatcher Thanks that would be very helpful! I raised it a while ago on Discord but didn't hear back. Should be a simple addition to the docs.
S
Shane
Mohammad here's an example of the curl that I use
curl --location 'https://api.morgen.so/v2/tasks/create' \
--header 'Authorization: ApiKey YWjR5UWJuNCt2Q1p4N253PQ=' \
--header 'Content-Type: application/json' \
--data '{"title":"This task goes to the inbox"}'
M
Mohammad
I would also love this, would open so many opportunities for developers, eg: create tasks from voice notes, create hooks from other tools like a cli command or something similar.
E
Eka
Mohammad Incidentally, "Create tasks from voice notes" was the first thing I wanted to do when I first discovered Morgen had a REST API. But unfortunately it does not work the way I thought it would.
M
Mohammad
Eka could you elaborate more on how "it does not work the way I thought it would" ?