# API to update Fixture

**URL:** <https://forum.dimagi.com/t/api-to-update-fixture/1102>\
**Category:** Users\
**Created:** [October 29, 2012, 1:07pm UTC](https://forum.dimagi.com/t/api-to-update-fixture/1102 "2012-10-29T13:07:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yash\_Seth](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/y/9f8e36/32.png) [@Yash\_Seth](https://forum.dimagi.com/u/Yash_Seth)\
**Post date:** [October 29, 2012, 1:07pm UTC](https://forum.dimagi.com/t/api-to-update-fixture/1102/1 "2012-10-29T13:07:39Z")

</div>

Hi  
Is there an API to update the Fixtures via a script ?  
I'm trying to curl into the url and make changes but it seems to be  
Forbidden.  
Any ideas ?

---

<div class="post-metadata">

**Author:** ![czue](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/czue/32/493_2.png) [@czue](https://forum.dimagi.com/u/czue)\
**Post date:** [October 29, 2012, 1:52pm UTC](https://forum.dimagi.com/t/api-to-update-fixture/1102/2 "2012-10-29T13:52:36Z")

</div>

Hi there,

Currently there's no programmatic API, though you can edit fixtures in bulk  
via excel upload. The basic technique was recently described[1] on the  
users list.

Cory

[1] [https://groups.google.com/d/msg/commcare-users/5TROEZSLrio/as5XqbPoP90J](https://groups.google.com/d/msg/commcare-users/5TROEZSLrio/as5XqbPoP90J)

> **···**
>
> On Mon, Oct 29, 2012 at 9:07 AM, yashseth wrote:
> 
> > Hi  
> > Is there an API to update the Fixtures via a script ?  
> > I'm trying to curl into the url and make changes but it seems to be  
> > Forbidden.  
> > Any ideas ?

---

<div class="post-metadata">

**Author:** ![Yash\_Seth](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/y/9f8e36/32.png) [@Yash\_Seth](https://forum.dimagi.com/u/Yash_Seth)\
**Post date:** [October 30, 2012, 5:57am UTC](https://forum.dimagi.com/t/api-to-update-fixture/1102/3 "2012-10-30T05:57:39Z")

</div>

Hi Cory  
Thanks. i already knew that approach. Just wanted to know if there was an  
alternate. We need it for auto updates.

> **···**
>
> On Monday, October 29, 2012 7:22:58 PM UTC+5:30, Cory Zue wrote: \> \> Hi there, \> \> Currently there's no programmatic API, though you can edit fixtures in \> bulk via excel upload. The basic technique was recently described[1] on the \> users list. \> \> Cory \> \> [1] \> https://groups.google.com/d/msg/commcare-users/5TROEZSLrio/as5XqbPoP90J \> \> On Mon, Oct 29, 2012 at 9:07 AM, yashseth \<ya...@digitalgreen.org wrote: \> \>\> Hi \>\> Is there an API to update the Fixtures via a script ? \>\> I'm trying to curl into the url and make changes but it seems to be \>\> Forbidden. \>\> Any ideas ? \>\> \> \>
