API Reference

Step 1 : Request Upload File

This is the first step of the multi-part JSONL import procedure.

The codebox below shows the JSON that should be used in the body of this API call:

{
    "type": "task_create"
}
Response (Output) Params
ParameterDescription
url
string
This is the API endpoint that you should target when invoking the Upload File API call in step 2.
resource_id
string
This is the unique identifier of the process which should be used in steps 3 and 4.

Key points to note about this HTTP response example are as follows:

  • The HTTP status code for this response is 200 (success) - denoted in the JSON response itself by the "success": true key-value pair
  • The value of the url key is the API endpoint that you should target when invoking the upload file API call in step 2
  • The value of the resource_id key is the unique identifier of the process which should be used in steps 3 and 4 below
Language