Create Record

Create a new record (task/item) in a workspace.


POST /v1/create-record

Create a new record (task/item) in a workspace. Requires a workspaceId from list-workspaces. Optionally place it in a specific list (use list-lists to get list IDs), assign users, and apply tags.

Request body

FieldTypeRequiredDescription
workspaceIdstringYesThe workspace ID to create the record in
titlestringYesRecord title
listIdstringNoList ID to place the record in. If omitted, uses the first list.
descriptionstringNoRecord description (plain text)
descriptionHtmlstringNoRecord description as HTML. Sanitized server-side. Do not send with description.
startedAtstringNoStart date. Send a bare YYYY-MM-DD for an all-day date, or ISO 8601 for a timed one.
duedAtstringNoDue date. Send a bare YYYY-MM-DD for an all-day date, or ISO 8601 for a timed one.
allDaybooleanNoForce the dates to be all-day (a floating calendar date shown identically in every timezone) or timed. Usually unnecessary: bare YYYY-MM-DD dates are all-day automatically.
assigneeIdsstring[]NoUser IDs to assign
tagIdsstring[]NoTag IDs to apply
{
  "workspaceId": "string",
  "title": "string",
  "listId": "string",
  "description": "string",
  "descriptionHtml": "string",
  "startedAt": "string",
  "duedAt": "string",
  "allDay": true,
  "assigneeIds": [
    "string"
  ],
  "tagIds": [
    "string"
  ]
}

Response

{
  "id": "string",
  "uid": "string",
  "title": "string",
  "rank": "string",
  "list": {
    "id": "string",
    "title": "string"
  }
}

Example

curl -X POST https://rest.blue.app/v1/create-record \
  -H "Authorization: Bearer $BLUE_TOKEN" \
  -H "blue-org-id: $BLUE_ORG_ID" \
  -H "Content-Type: application/json" \
  -d '{"workspaceId":"string","title":"string","listId":"string","description":"string","descriptionHtml":"string","startedAt":"string","duedAt":"string","allDay":true,"assigneeIds":["string"],"tagIds":["string"]}'