# Dev account has no API key

**URL:** <https://community.hubspot.com/t/dev-account-has-no-api-key/66042>\
**Category:** APIs & Integrations\
**Created:** [September 28, 2022, 9:50am UTC](https://community.hubspot.com/t/dev-account-has-no-api-key/66042 "2022-09-28T09:50:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xorik1](https://avatars.discourse-cdn.com/v4/letter/x/bbe5ce/32.png) [@xorik1](https://community.hubspot.com/u/xorik1)\
**Post date:** [September 28, 2022, 9:50am UTC](https://community.hubspot.com/t/dev-account-has-no-api-key/66042/1 "2022-09-28T09:50:59Z")

</div>

Hi. I’m trying to call API to create event template [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/timeline), but it requires developer’s API key, which I don’t have in my dev account.

I’ve created a developer account, and created an app. OAuth working perfectly, but I can’t create a template.

The documentation said:  
_\>For authentication, use the developer API key found in your app developer account._

But in my developer account I have no API key in settings.

I’ve tried to create a private app in my main account, and call API with private app token:

```lia-code-sample
curl --request POST \
 --url https://api.hubapi.com/crm/v3/timeline/1034635/event-templates \
 --header 'Authorization: Bearer MY-PRIVATE-APP-TOKEN' \
 --header 'Content-Type: application/json' \
 --data '
{ 
 "name": "Example Webinar Registration", 
 "objectType": "contacts"
}'

```

But it returns an error:

```lia-code-sample
{
	"status": "error",
	"message": "This oauth-token (pat-na1-8acb8) does not have proper permissions! (requires all of [developers-write])",
	"correlationId": "d6a7f130-c224-4a87-b66d-dc7d9debbaff"
}

```

Probably I need to connect app from dev account with private app in my main account, but I didn’t find how to do this, because those are 2 separate accounts

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [September 28, 2022, 10:47am UTC](https://community.hubspot.com/t/dev-account-has-no-api-key/66042/2 "2022-09-28T10:47:31Z")

</div>

Hi @xorik1,

From within the developer account click on “apps” in the menu bar. Towards the right hand side you will see the option to “Get HubSpot API Key”. When you click on it you will then be able to generate the API key required to create the event templates.

 ![Screenshot 2022-09-28 at 11.47.17.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/f/4ff2834e07abcd089ea8fd5761e8ac4b97738896.png)

---

<div class="post-metadata">

**Author:** ![xorik1](https://avatars.discourse-cdn.com/v4/letter/x/bbe5ce/32.png) [@xorik1](https://community.hubspot.com/u/xorik1)\
**Post date:** [September 28, 2022, 11:14am UTC](https://community.hubspot.com/t/dev-account-has-no-api-key/66042/3 "2022-09-28T11:14:08Z")

</div>

Thanks a lot, I was looking in the settings
