1. Data integration
  2. Anaplan API
  3. Integration API v2.0
  4. Use the bulk APIs
  5. Perform an import action
  6. Upload a text or CSV file
  7. Load the import file chunks

Load your import file chunks on to the server in sequential order, starting with chunk 0.

For example:

  1. Chunk 1 - PUT /chunks/0
  2. Chunk 2 - PUT /chunks/1
  3. Chunk 3 - PUT /chunks/2

Iterate until you have uploaded all chunk files.

Method and endpoint




AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID
modelIDThe model ID
fileIDThe file ID
chunkIDThe file chunk ID.  The first chunk is 0.
content lengthThe size of the file chunk, in bytes.
Content typeSet to Content-Type:application/octet-stream
chunk fileThe name of the chunk file (for example, chunk-aa)

Curl example

In this sequence of PUT requests, each chunk file name is assigned a different chunk id.

curl -X PUT \
https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/files/113000000020/chunks/0 \
-H 'Authorization: AnaplanAuthToken {token}' \
-H 'Content-Type: application/octet-stream' \
--upload-file {chunk file}


This call generates a 204 response.  In a terminal, no response displays.


We may update our documentation occasionally, but will only do so in a way that does not negatively affect the features and functionality of the Anaplan service.