---
updatedAt: 2026-09-07T11:05:08.000Z
agentTools:
  projectIndex: https://developers.slite.com/llms.txt
---

# Update - Push data to a block

> We'll showcase how to sync a block in a doc with external information. The example block will display revenue of the last month and latest customers.

1. Create a doc and get his id

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/3704fff-screenshot_2023-09-21_at_11.16.22.png",
        "",
        ""
      ],
      "align": "center",
      "sizing": "280px"
    }
  ]
}
[/block]

2. Copy a block id

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/1c4c7b4-image.png",
        "",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]

3. Push data via the Update Tile route to update the block

```javascript
curl --request PUT \
     --url https://api.slite.com/v1/notes/<Doc id>/tiles/<Block id> \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-slite-api-key: <API key>' \
     --data '
{
  "status": {
    "label": "104%",
    "colorHex": "#7FFF00"
  },
  "title": "Revenue for September 2023 - 340k$",
  "content": "- Latest customers: Acme (3k$ MrRR), Fijo (5k$ MRR) - Goal for the month was: 332k$ - Growth: 8% MoM",
  "url": "https://dashboard.revenu"
}
'
```

Last step: Check your new enriched block with external data

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/6513212-7cd0604d-d368-434b-97a7-55fb13674b76_image.png",
        "",
        ""
      ],
      "align": "center"
    }
  ]
}
[/block]