Update a doc block with 3rd party data with Slite API

We'll showcase here how to sync a Slite block in a doc with external information.
The example block will display the revenue of the last month and latest customers.
    Create a doc in Slite and get its id via the three-dot menu in the top right: click Copy block id.
    Copy the id of the block by clicking the four-dot menu at the beginning of the block and choosing Copy block id.
    Push data via the Update Tile route to update the block:
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
quot;
,
"content": "- Latest customers: Acme (3k$ MRR), Fijo (5k$ MRR) - Goal for the month was: 332k$ - Growth: 8% MoM",
"url": "https://dashboard.revenu"
}
'
    Check your new enriched block with external data