# Private app access token - PHP

**URL:** <https://community.hubspot.com/t/private-app-access-token-php/68293>\
**Category:** APIs & Integrations\
**Created:** [November 1, 2022, 10:44am UTC](https://community.hubspot.com/t/private-app-access-token-php/68293 "2022-11-01T10:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hmarketting](https://avatars.discourse-cdn.com/v4/letter/h/8edcca/32.png) [@Hmarketting](https://community.hubspot.com/u/Hmarketting)\
**Post date:** [November 1, 2022, 10:44am UTC](https://community.hubspot.com/t/private-app-access-token-php/68293/1 "2022-11-01T10:44:20Z")

</div>

Hi,

Please advice if there is any PHP example doc available to create and rotate private app access token.

Thanks

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 2, 2022, 4:41pm UTC](https://community.hubspot.com/t/private-app-access-token-php/68293/2 "2022-11-02T16:41:41Z")

</div>

Hi, @Hmarketting 👋 Thanks for reaching out. Private Apps are created in-app. This also applies to rotating your Private App keys. There is not a language-specific method or guide for creating Private Apps. I’ll add the documentation for both of your requests:

- [Create a private app](https://developers.hubspot.com/docs/api/private-apps#create-a-private-app)
- [Rotate your access token](https://developers.hubspot.com/docs/api/private-apps#rotate-your-access-token)
- [Migrate an API key integration to a private app](https://developers.hubspot.com/docs/api/migrate-an-api-key-integration-to-a-private-app)

Have fun building! — Jaycee
