# Using API to create goals with leeway

**URL:** <https://forum.beeminder.com/t/using-api-to-create-goals-with-leeway/11500>\
**Category:** Tech\
**Created:** [March 19, 2024, 9:10am UTC](https://forum.beeminder.com/t/using-api-to-create-goals-with-leeway/11500 "2024-03-19T09:10:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![zzq](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/zzq/32/6471_2.png) [@zzq](https://forum.beeminder.com/u/zzq)\
**Post date:** [March 19, 2024, 12:14pm UTC](https://forum.beeminder.com/t/using-api-to-create-goals-with-leeway/11500/2 "2024-03-19T12:14:20Z")

</div>

Searching the forum, I found that two years ago I wrote this in response to a similar question:

> [@API - Days Until Progress Parameter?](https://forum.beeminder.com/t/api-days-until-progress-parameter/10207/2):
>
> I believe that parameter is called buffer\_days, though I don’t see it documented in the API docs. Nevertheless, I’m pretty sure you can pass it as a parameter to the goal creation API (but perhaps it being undocumented is meant as a hint not to use it, for some reason, not just an accidental omission? Not sure.)

I don’t know if that information is still up to date, but it’s worth trying.

---

_[View the full topic](https://forum.beeminder.com/t/using-api-to-create-goals-with-leeway/11500)._
