Online Time Tracking and Invoicing Software
Creates a new time entry object. Create a time entry via duration documentation, Create a time entry via start and end time documentation
The Harvest API allows developers to programmatically access data and objects
in Harvest, a web-based time tracking application. With the API, developers can
create applications that submit and retrieve time tracking data, as well as
automate various aspects of the Harvest user experience.
Some examples of what you can build using the Harvest API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
harvest: {
type: "app",
app: "harvest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.harvestapp.com/v2/users/me`,
headers: {
Authorization: `Bearer ${this.harvest.$auth.oauth_access_token}`,
"Harvest-Account-Id": `${this.harvest.$auth.account_id}`,
"User-Agent": `Pipedream.com`,
},
params: {
account_id: `${this.harvest.$auth.account_id}`,
},
})
},
})
With Schedule - A trigger provided by Pipedream - You can easily build
automated workflows that run on regular times or intervals. Some examples of
things that you can build using the Schedule API include: