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: [email protected]'

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: [email protected]' \
--form '[email protected]/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: [email protected]' \
--data-urlencode 'spreadsheetId=Google Sheet ID'