Skip to main content

Create a Todo

ENDPOINT
POST https://api.codecoogs.com/v1/todos?discord_id=
REQUEST BODY
{
"title": "Finalize teams for our members",
"deadline": "2024-02-10",
"completed": false
}

URL Parameters


discord_id Required

A Discord ID to assign the todo to.

Body Parameters


title string

The todo's title.


deadline string

The todo's deadline.


completed boolean

The todo's completion status.

Returns

Returns a success status after successful todo creation. This call returns a success status and an error message if something goes wrong.