API Integration

Last updated: July 3, 2025

The Takt API is the best and most predictable way to integrate your data into Takt. The Takt API provides two methods for sending data to Takt, via a CSV file upload or sending simple JSON data.

Before getting started, ensure you have a set of API keys with Feed Upload permissions.

📄 Creating an API Key

Uploading CSV Files

After creating a feed within Takt, you can start uploading CSV files using any language your organization uses. The following examples are written using cURL.

curl --request POST \
     --url https://api.takt.io/v1/organizations/{organization id}/feeds/{feed id}/imports \
     --compressed \
     --header 'Accept: application/json' \
     --header 'Accept-Encoding: gzip' \
     --header 'X-Takt-API-Key: {api key}' \
     --header 'X-Takt-API-Secret: {api secret}' \
     --header 'content-type: multipart/form-data' \
     --form file='@my_file.csv'

Sending JSON

After creating a feed within Takt, you can send simple JSON data to the Takt API. The JSON must be an array of key/value objects. Nesting of values is no supported.

curl --request POST \
     --url https://api.takt.io/v1/organizations/{organization id}/feeds/{feed id}/data \
     --compressed \
     --header 'Accept: application/json' \
     --header 'Accept-Encoding: gzip' \
     --header 'X-Takt-API-Key: {api key}' \
     --header 'X-Takt-API-Secret: {api secret}' \
     --header 'content-type: application/json' \
     --data '[{"key":"value"}]'