# Multiple workflow runs API

**URL:** https://forum.gitea.com/t/multiple-workflow-runs-api/12013
**Category:** Actions
**Created:** [March 19, 2026, 8:38pm UTC](https://forum.gitea.com/t/multiple-workflow-runs-api/12013 "2026-03-19T20:38:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sjiht](https://avatars.discourse-cdn.com/v4/letter/s/a698b9/32.png) [@Sjiht](https://forum.gitea.com/u/Sjiht)
#### Post date: [March 19, 2026, 8:38pm UTC](https://forum.gitea.com/t/multiple-workflow-runs-api/12013/1 "2026-03-19T20:38:34Z")

</div>

Hi,

I’m running into a problem that i can’t find the solution for.  
i got a workflow:

> ```auto
> name: NetBox - Add Device
> run-name: "NetBox Add: ${{ inputs.name }} (${{ inputs.ip }})"
> on:
> workflow_dispatch:
> inputs:
> name:
> description: 'Device Name'
> required: true
> ip:
> description: 'Device IP'
> required: true
> port:
> description: 'SSH Port'
> required: true
> jobs:
> add_to_netbox:
> runs-on: debian-latest
> container:
> image: urlfor/test/netbox-run/netbox-runner:latest
> steps:
> - name: Checkout
> uses: actions/checkout@v4
> - name: Run NetBox Add Device
> env:
> NETBOX_URL: ${{ secrets.NETBOX_URL }}
> NETBOX_TOKEN: ${{ secrets.NETBOX_TOKEN }}
> DEV_NAME: ${{ github.event.inputs.name }}
> DEV_IP: ${{ github.event.inputs.ip }}
> DEV_PORT: ${{ github.event.inputs.port }}
> run: |
> # pynetbox is already pre-installed in the image!
> python3 netbox_scripts/add_device.py
> 
> ```

when i run multiple posts to the api like this:

URL/api/v1/repos/test/netbox-automation/actions/workflows/netbox%2fadd\_device.yaml/dispatches

call 1

```auto
{
"ref": "master", 
"inputs": {
  "name": "FW01",
  "ip": "15.15.15.15",
  "port": "22"
  }
}

```

call 2

> `{`  
> `“ref”: “master”,`  
> `“inputs”: {`  
> `“name”: “FW02”,`  
> `“ip”: “16.15.15.15”,`  
> `“port”: “22”`  
> `}`  
> `}`

the first one gets canceled and the last one is finished.  
any idead how to fix this?
