We don't have an official API, but you're welcome to use the same API that our front-end uses.

The base URL for the API is https://app.seedleaf.co/api.

Use cookies for authentication.


Create a Session

POST https://app.seedleaf.co/api/session


Request Body:

{

  "email": "email",

  "password": "password"

}


Returns:

A secure, http-only session cookie.


Get Tasks

GET https://app.seedleaf.co/api/tasks


Request parameters:

date: "2022-08-02"

period: "week" or "day"


Returns:


{

  "data" : [

    {

      ... tasks

    }

  }

}


Get deliveries


GET https://app.seedleaf.co/api/

Request parameters:date: "2022-08-02"

Returns:
{ "data" : [ { ... deliveries
}
}
}


We hope this helps gets you started. If you need more details about the API, we suggest using the Chrome or FireFox developer tools to inspect the network requests to the API. Just keep in mind that the API will change from time to time in ways that might break your integrations.