Skip to main content
Create a new User
curl --request POST \
  --url https://fc9fe14b-43ed-4a3b-99a7-ee4d0ba13224.app.withsutro.com/api/v1.0.1/users \
  --header 'Content-Type: application/json' \
  --data '
{
  "todos": [
    "<string>"
  ],
  "name": "<string>",
  "email": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "todos": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "user": "<unknown>",
      "title": "<string>",
      "description": "<string>",
      "deadline": "2023-11-07T05:31:56Z",
      "status": "<string>"
    }
  ],
  "name": "<string>",
  "email": "<string>"
}

Body

application/json

Request body for createUser

Request body for User

todos
string[]
required

ID of To Do

name
string
email
string

Response

200 - application/json

createEntity successful

User

id
string<uuid>
required
todos
ToDo · object[]
required
name
string
email
string