Generate schema from CSV

Generates Workato schema from a stringified CSV sample.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
samplestringRequired
Stringified CSV of the sample document to parse.
col_sepenumOptional

Column delimiter for the CSV sample. Must be one of the following: comma, semicolon, space, tab, colon, pipe.

custom_col_sepstringOptional

Custom column delimiter for the CSV sample. If both col_sep and custom_col_sep are provided, col_sep is considered.

Response

Success reply example.

NOTE: This is an example response. The response you receive will be based on the sample document you provide.

control_typestring or null

The type of control, such as text or drop-down.

labelstring or null
The display label for the field.
typestring or null
The data type of the field.
namestring or null
The internal name of the field.

Errors