Tired of manually managing your local delivery tasks and execution? Onfleet API provides a way to automate and streamline your local delivery operations. With Onfleet API, you can build powerful applications that can dramatically increase the efficiency of your delivery business.
Here are some examples of what you can build with Onfleet API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onfleet: {
type: "app",
app: "onfleet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://onfleet.com/api/v2/organization`,
auth: {
username: `${this.onfleet.$auth.api_key}`,
password: ``,
},
})
},
})
Create a pickup task and dropoff task linked with each other. See the docs here
Creates a single task. Used for simple templates only. See the docs here
Onfleet uses API keys for authentication. When you connect your Onfleet account, Pipedream securely stores the keys so you can easily authenticate to Onfleet APIs in both code and no-code steps.
To retrieve your API key,