# API - Add custom headers to a API CALL in IOS

**URL:** <https://community.thunkable.com/t/api-add-custom-headers-to-a-api-call-in-ios/25393>\
**Category:** Questions about Thunkable X\
**Tags:** webapi\
**Created:** [May 6, 2018, 4:42am UTC](https://community.thunkable.com/t/api-add-custom-headers-to-a-api-call-in-ios/25393 "2018-05-06T04:42:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnkilonzi](https://avatars.discourse-cdn.com/v4/letter/j/9fc348/32.png) [@johnkilonzi](https://community.thunkable.com/u/johnkilonzi)\
**Post date:** [May 6, 2018, 4:42am UTC](https://community.thunkable.com/t/api-add-custom-headers-to-a-api-call-in-ios/25393/1 "2018-05-06T04:42:52Z")

</div>

Can someone help me figure out how to make API calls in IOS with custom headers? Same feature is present in Android for SET Web …Headers to {} but I can’t see a similar on in IOS apart from setting the headers in the configuration, which makes them static!

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [November 8, 2019, 12:48pm UTC](https://community.thunkable.com/t/api-add-custom-headers-to-a-api-call-in-ios/25393/2 "2019-11-08T12:48:56Z")

</div>

Hi @johnkilonzi,

Just found your question when looking up an answer for another user. You can now dynamically set params / headers via your blocks:

[https://docs.thunkable.com/web-api#setting-query-parameters-and-headers](https://docs.thunkable.com/web-api#setting-query-parameters-and-headers)

Thanks!

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:03pm UTC](https://community.thunkable.com/t/api-add-custom-headers-to-a-api-call-in-ios/25393/3 "2024-11-08T12:03:55Z")

</div>


