# Could we have multiple CoProcessors in Router config?

**URL:** https://community.apollographql.com/t/could-we-have-multiple-coprocessors-in-router-config/7841
**Category:** Router
**Tags:** router, federation
**Created:** [September 20, 2024, 7:58pm UTC](https://community.apollographql.com/t/could-we-have-multiple-coprocessors-in-router-config/7841 "2024-09-20T19:58:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nsalehvaziri\_paypal](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/nsalehvaziri_paypal/32/5278_2.png) [@nsalehvaziri\_paypal](https://community.apollographql.com/u/nsalehvaziri_paypal)
#### Post date: [September 20, 2024, 7:58pm UTC](https://community.apollographql.com/t/could-we-have-multiple-coprocessors-in-router-config/7841/1 "2024-09-20T19:58:24Z")

</div>

something like the below:

coprocessor:

timeout: 3s  
url: [http://localhost:5000/v2/authenticate](http://localhost:5000/v2/authenticate)  
router:  
request:  
headers: true  
context: true  
body: true  
condition:  
exists:  
request\_header: authorization

- timeout: 3s  
url: [http://localhost:5000/account/flag](http://localhost:5000/account/flag)  
subgraph:  
notification:  
request:  
headers: true  
context: true  
body: true  
condition:  
exists:  
request\_header: authorization

---

<div class="post-metadata">

### Author: ![shanemyrick](https://sea1.discourse-cdn.com/flex019/user_avatar/community.apollographql.com/shanemyrick/32/5474_2.png) [@shanemyrick](https://community.apollographql.com/u/shanemyrick)
#### Post date: [January 28, 2025, 5:36pm UTC](https://community.apollographql.com/t/could-we-have-multiple-coprocessors-in-router-config/7841/2 "2025-01-28T17:36:22Z")

</div>

Today the coprocessor configuration can only have 1 `url` value. You could supply that value via an environment variable but it would the same value for for both hooks.

This sounds like a great feature request that you can raise with our support team though: [https://support.apollographql.com/](https://support.apollographql.com/)
