cURL

GET data

curl --location --request GET 'https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <you api key>' \
--header 'user: user@sample.com'

Transform a file

curl --location --request POST 'https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>/file' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: <your api key>' \
--header 'user: user@sample.com' \
--form 'file=@/path/to/demo-01.csv'

Transform a Google Sheet

curl --location --request POST 'https://api.getdatapipe.com/v1/data/<your account ID>/<your endpoint ID>/sheet' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'x-api-key: <your api key>' \
--header 'user: user@sample.com' \
--data-urlencode 'spreadsheetId=Google Sheet ID'