Updates a chart's external data source.

POST
https://api.datawrapper.de/v3/charts/{id}/data/refresh

If a chart has an external data source configured, this endpoint fetches the data and saves it to the chart. Requires scope chart:read.

Example Request

curl --request POST \
  --url https://api.datawrapper.de/v3/charts/example-id/data/refresh \
  --header 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Path Parameters

NameTypeAllowed valuesRequiredDescription
idstring
5 characters
Yes