# \[solved\] Teamwork API Authentification

**URL:** <https://forum.bubble.io/t/solved-teamwork-api-authentification/4021>\
**Category:** Need help\
**Created:** [June 30, 2016, 7:37am UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021 "2016-06-30T07:37:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hv1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hv1/32/3444_2.png) [@hv1](https://forum.bubble.io/u/hv1)\
**Post date:** [June 30, 2016, 7:37am UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021/1 "2016-06-30T07:37:40Z")

</div>

Hi,

I’m a complete beginner with that API stuff.

I try to connect to Teamwork PM and tried e. g. this, for sure, with my correct API KEY:

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/08b12877fbda9bfdd58a40f31c5e1af76084efe7.png)

and got this:  
 ![](https://us1.discourse-cdn.com/bubble/original/2X/4/4aa15c999a6d811ad93ab3e3a93cebbe81560438.png)

**They have a documentation, but this is not clear for me:**

 ![](https://us1.discourse-cdn.com/bubble/original/2X/8/891b488b916c1b7a6237ccfda204b4fe638d89c7.png)

See also here:  
[http://developer.teamwork.com/introduction](http://developer.teamwork.com/introduction)

Can anybody help?

Thank you

---

<div class="post-metadata">

**Author:** ![pnodseth](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/pnodseth/32/2611_2.png) [@pnodseth](https://forum.bubble.io/u/pnodseth)\
**Post date:** [June 30, 2016, 8:58am UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021/2 "2016-06-30T08:58:15Z")

</div>

Hi!  
You need to put your API-token in the header, not parameters.  
Or, you could try this:  
In the url address, type: [https://YOURAPITOKEN:bogustext@pacepac.teamwork.com/projects.json](https://YOURAPITOKEN:bogustext@pacepac.teamwork.com/projects.json)

In the header you must also add the following:  
key: Content-Type:  
value: application/json

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [June 30, 2016, 9:20am UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021/3 "2016-06-30T09:20:05Z")

</div>

This post details how to send the Basic auth in the header.

> [@Twilio and API Connector](http://forum.bubble.io/t/twilio-and-api-connector/3280/24):
>
> So… Go here … enter … authid:authtoken (so a : between them)…and encode … In Bubble … APi = [https://api.plivo.com/v1/Account/MAZDJHMDUWYJCYYZNIND/Message/](https://api.plivo.com/v1/Account/MAZDJHMDUWYJCYYZNIND/Message/) (or whatever you api id is) Header … Authorization and the long string you got above… Content-Type application/json { “src”: “+447973253456”, “dst”: “+447973256543”, “text”: “Friday yay” } You can then insert dynamic data into the body in an action … [image]

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 30, 2016, 12:44pm UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021/4 "2016-06-30T12:44:39Z")

</div>

If you’re still seeing this message can you file a bug report?

---

<div class="post-metadata">

**Author:** ![hv1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hv1/32/3444_2.png) [@hv1](https://forum.bubble.io/u/hv1)\
**Post date:** [July 7, 2016, 7:04pm UTC](https://forum.bubble.io/t/solved-teamwork-api-authentification/4021/5 "2016-07-07T19:04:18Z")

</div>

Hi @pnodseth, hi @NigelG

sorry for my late response, but I just saw the feedback of Emmanuel in my mail inbox and thought I need to start a support ticket. What I wanted to do at this moment as I was looking in this thread again.

But pnodseth solved 7 days ago just 90 minutes after my question this issue. Thank you very much for helping me so fast an perfectly.

I’m looking forward to see the further results. Thank you all.

Best regards

Harald
