Convert CSV to JSON
Initiates conversion of CSV to JSON
POST
/
csv
Endpoints
- POST /csv: Upload a CSV file to initiate the conversion. The API responds with a job ID.
- GET CSV: Poll this endpoint using the job ID to retrieve the JSON data once conversion is complete.
Process
-
Initiate Conversion (POST /csv):
- Upload the CSV file.
- Receive a job ID in the response to poll for the result.
-
Poll for Completion:
- Poll the
/csv/{id}
endpoint every few seconds. - Once the conversion is finished, the API will return the JSON data.
- Poll the
Example Usage
Authorizations
Body
multipart/form-data
The CSV file to process
Response
200 - application/json
The id of the task
The status of the task
Available options:
QUEUED
, STARTED
, PENDING
, SUCCESS
, FAILURE
The type of the task
The date and time this object was created
The name of the PDF
The date and time this object was last updated
The output of the task