API REFERENCE
...
Task
Create a Task
1 min
{ "name" "create a task", "method" "post", "url" "https //api sandbox klavi ai/data/v1/tasks", "description" "create a task to obtain the open data institution data", "tab" "examples", "examples" { "languages" \[ { "id" "vd2c6wxvo3v2jn8axidpj", "language" "curl", "code" "curl location 'https //api sandbox klavi ai/data/v1/tasks' \\\\\n header 'accept application/json' \\\\\n header 'content type application/json' \\\\\n data '{\\"account\\" \\"string\\",\\"username\\" \\"string\\",\\"password\\" \\"string\\",\\"cpf\\" \\"string\\",\\"email\\" \\"string\\",\\"insititutioncode\\" \\"string\\"}'", "customlabel" "" } ], "selectedlanguageid" "vd2c6wxvo3v2jn8axidpj" }, "results" { "languages" \[ { "id" "ovt vqcz y lbvel58kna", "language" "200", "customlabel" "", "code" "{\n \\"taskid\\" \\"96olr905aojs0qad5b0ashgwefkiiotz\\"\n}" } ], "selectedlanguageid" "ovt vqcz y lbvel58kna" }, "request" { "pathparameters" \[], "queryparameters" \[], "headerparameters" \[ { "name" "authorization", "kind" "required", "type" "string", "description" "bearer link token, it returned by the /links", "children" \[] } ], "bodydataparameters" \[ { "name" "account", "kind" "optional", "type" "string", "description" "user account number, if this institution need it" }, { "name" "username", "kind" "optional", "type" "string", "description" "user name, if this institution need it", "children" \[] }, { "name" "password", "kind" "optional", "type" "string", "description" "password", "children" \[] }, { "name" "cpf", "kind" "optional", "type" "string", "description" "cpf", "children" \[] }, { "name" "email", "kind" "optional", "type" "string", "description" "email", "children" \[] }, { "name" "insititutioncode", "kind" "required", "type" "string", "description" "institution code", "children" \[] } ], "formdataparameters" \[] }, "currentnewparameter" { "label" "body parameter", "value" "bodydataparameters" } } parameter different institutions have different parameter, detail can be found institution credentials format docid\ bmaipwhpv1y9emllbhog4