Write

move_card

Move a card to an absolute index, optionally across stacks.


Relative vs Absolute Moves

Unlike reorder_cards which moves a card relatively inside a single stack,move_card is absolute and allows moving cards across different stacks.

Parameters

NameTypeRequiredDescription
outlineIdstring—Outline ID. Defaults to your own outline.
stackIdstringYesID of the stack currently containing the card.
cardIdstringYesID of the card to move.
toIndexnumberYesTarget index in the destination stack.
toStackIdstring—ID of the destination stack. Defaults to the same stack.
ifUpdatedAtstring—Optional optimistic-concurrency guard: the outline updatedAt you last read (from get_profile or a previous write's response). If the outline changed since, the call fails with CONFLICT and nothing is written.

Response

FieldTypeWhat it means
outlineIdstringResolved outline ID.
stackIdstringThe stack the card now belongs to.
cardIdstringThe card that was moved.
toIndexnumberThe index the card was moved to.
updatedAtstring | nullThe new updatedAt timestamp.

Example

Request

json
{ "stackId": "stack_abc", "cardId": "card_xyz789", "toIndex": 0, "toStackId": "stack_def" }

Response

json
{ "outlineId": "42", "stackId": "stack_def", "cardId": "card_xyz789", "toIndex": 0, "updatedAt": "2026-09-13T00:00:00.000Z" }