RapidAPI logo

Sign Up

Log In

OnFleet

FREE
By stefan.skliarov
Updated 2 months ago
Logistics
-/10
Popularity Score
-
Latency
-
Success Rate

OnFleet API Documentation

Real-time delivery management and analytics functionality.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
POSTcloneTask
POSTcompleteTask
POSTcreateAdministrator
POSTcreateDestination
POSTcreateDestinationFromRaw
POSTcreateRecipient
POSTcreateTask
POSTcreateTeam
POSTcreateWebhook
POSTcreateWorker
POSTdeleteAdministrator
POSTdeleteTask
POSTdeleteTeam
POSTdeleteWebhook
POSTdeleteWorker
POSTfindRecipientByName
POSTfindRecipientByPhone
POSTgetDelegateeDetails
POSTgetOrganizationDetails
POSTgetSingleDestination
POSTgetSingleRecipient
POSTgetSingleTask
POSTgetSingleTaskByShortId
POSTgetSingleTeam
POSTgetSingleWorker
POSTgetWorkersByLocation
POSTinsertTasksAtIndex
POSTlistAdministrators
POSTlistHubs
POSTlistTasks
POSTlistTeams
POSTlistWebhooks
POSTlistWorkers
POSTtestAuth
POSTupdateAdministrator
POSTupdateRecipient
POSTupdateTask
POSTupdateTasks
POSTupdateTeam
POSTupdateWorker
POSTwebhookEvent
POSTcloneTask

The property sourceTaskId can be used to keep track of the source task from which the task was cloned.

Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDApi key obtained from OnFleet
taskIdSTRING
REQUIREDId of the task
Request Snippet
unirest.post("https://OnFleetstefan-skliarovV1.p.rapidapi.com/cloneTask")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://OnFleetstefan-skliarovV1.p.rapidapi.com/cloneTask")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication