API Docs

Create a Record

How to create a record in Blue using the API.

To create a record in Blue, you can use the following mutation:

mutation CreateRecord {
  createTodo(
    input: {
      todoListId:"TODOLISTID",
      title: "Test",
      position: 65535
    }
  ) {
    id
    title
    position
  }
}

Here's a table explaining the input fields for creating a record:

FieldTypeDescription
todoListIdStringThe ID of the todo list where the record will be created
titleStringThe title of the record
positionIntegerThe position of the record in the list (default is 65535 for end of list)

Note: The position field can be optionally included to specify the record's placement in the list.