About this endpoint
What it does
Converts JSON fetched from a public URL into a downloadable CSV file. You provide the source JSON file URL in the request body, and the endpoint returns the converted CSV as binary content.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output file name prefix. Default: sample-output. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | Public URL pointing to a JSON file. The response must have content-type application/json, text/plain; charset=UTF-8, or a content-disposition header referencing a .json file. |
Response
Returns a downloadable CSV file as binary content. The response schema is a single binary string representing the converted data.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | String | Yes | Binary CSV file containing the converted data. |
Notes
The source URL must point to a JSON file that is publicly accessible. The endpoint only accepts responses whose content type is application/json, text/plain; charset=UTF-8, or that include a content-disposition header referencing a .json file.