Dispatch is your partner in on-demand delivery. Focus on growing your business and let us help you Deliver More*
Go to siteWith the Dispatch API you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dispatch: {
type: "app",
app: "dispatch",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.dispatchit.com/api/external/v1/organizations`,
headers: {
"Accept": `*/*`,
"Content-Type": `application/json`,
},
auth: {
username: `${this.dispatch.$auth.api_key}`,
password: `${this.dispatch.$auth.api_token}`,
},
})
},
})
Dispatch uses API keys for authentication. When you connect your Dispatch account, Pipedream securely stores the keys so you can easily authenticate to Dispatch APIs in both code and no-code steps.
To retrieve your API Keys,