Skip to main content
POST
/
tasks
/
upload
Upload tasks in bulk
curl --request POST \
  --url https://api.rulebase.co/tasks/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form upload[file]='@example-file'
{
  "data": {
    "id": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer Token

Body

multipart/form-data
upload[file]
file
required

CSV file with task rows. See the Tasks upload guide for the column reference.

Response

201 - application/json

Task upload accepted

data
object
required