# Getting API working with API Connector

**URL:** <https://forum.bubble.io/t/getting-api-working-with-api-connector/93470>\
**Category:** APIs\
**Created:** [May 24, 2020, 2:19am UTC](https://forum.bubble.io/t/getting-api-working-with-api-connector/93470 "2020-05-24T02:19:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![szada](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/szada/32/61983_2.png) [@szada](https://forum.bubble.io/u/szada)\
**Post date:** [May 24, 2020, 2:19am UTC](https://forum.bubble.io/t/getting-api-working-with-api-connector/93470/1 "2020-05-24T02:19:30Z")

</div>

Looking to use API Connector to connect to the COD API.

Any thoughts on how I might be able to get this to work in Bubble? [https://documenter.getpostman.com/view/7896975/SW7aXSo5?version=latest](https://documenter.getpostman.com/view/7896975/SW7aXSo5?version=latest)

---

<div class="post-metadata">

**Author:** ![JordanD](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jordand/32/61997_2.png) [@JordanD](https://forum.bubble.io/u/JordanD)\
**Post date:** [May 24, 2020, 4:36am UTC](https://forum.bubble.io/t/getting-api-working-with-api-connector/93470/2 "2020-05-24T04:36:13Z")

</div>

It should be possible, but I tried using the GET Player Info request and I’m getting an error back saying “Not permitted: not authenticated”.

Does it work for you in postman? Making sure the API itself is working should probably be the first step.

---

<div class="post-metadata">

**Author:** ![szada](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/szada/32/61983_2.png) [@szada](https://forum.bubble.io/u/szada)\
**Post date:** [May 24, 2020, 6:04pm UTC](https://forum.bubble.io/t/getting-api-working-with-api-connector/93470/4 "2020-05-24T18:04:10Z")

</div>

I get the same error

---

<div class="post-metadata">

**Author:** ![szada](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/szada/32/61983_2.png) [@szada](https://forum.bubble.io/u/szada)\
**Post date:** [May 24, 2020, 6:35pm UTC](https://forum.bubble.io/t/getting-api-working-with-api-connector/93470/5 "2020-05-24T18:35:24Z")

</div>

I can tell you what might lead to a solution - I need to get a CSRF token to start. The rest of the calls return a 403 which indicates that my first call to get the token didn’t go through.

> **[Call of Duty: Modern Warfare (2019) - API](https://documenter.getpostman.com/view/7896975/SW7aXSo5?version=latest#45160863-76eb-4347-87f1-2473f6477a0e)**
>
> \*\*Author:\*\* Andries 'iShot' Verbanck
> 
> \*\*Contact:\*\* \[Discord\](https://discord.gg/HtJFcjH)
> 
> 
> \---
> This API is being consumed by my free \[Modern Warfare Discord Bot\](https://modernwarfarediscordbot.com/)
> \---
