Skip to content
Integrations

Private Integrations: Everything you need to know

Learn how GHL Customer Care Private Integrations work, how to create secure API tokens, manage scopes, rotate tokens, and connect custom integrations.

6 min read1,456 words19 explained imagesUpdated Wed, 24 Jun at 10:39 PM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
On this page
  1. Private Integrations allow you to build secure, custom connections between your GHL Customer Care account and any third-party application. This feature is ideal for internal tools, automated workflows, and custom systems that need API access without building a full public app.IMPORTANT: For a full list of available endpoints and request/response details, visit our official API documentation: https://marketplace.https://ghlcustomercare.com/docs/
  2. What are Private Integrations?
  3. What's the difference between Private Integrations and API Keys?
  4. Why Private Integration Tokens Are Recommended for New Credentials
  5. What's the difference between Private Integrations and OAuth2 Access Tokens?
  6. How do I use Private Integrations?
  7. Testing a Private Integration with API Calls
  8. How do I manage Private Integrations?
  9. Who can create Private Integrations?
  10. Where can I find Private Integrations?
  11. How do I create a new Private Integration?
  12. What are some best practices to maintain the security of my private integration token?
  13. Token compromised?
  14. Can I edit the Private Integration permissions without updating the token?
  15. How do I delete the Private Integration once I no longer need it?

Private Integrations allow you to build secure, custom connections between your GHL Customer Care account and any third-party application. This feature is ideal for internal tools, automated workflows, and custom systems that need API access without building a full public app.

IMPORTANT: For a full list of available endpoints and request/response details, visit our official API documentation: https://marketplace.https://ghlcustomercare.com/docs/

Private Integrations allow you to build secure, custom connections between your GHL Customer Care account and any third-party application. This feature is ideal for internal tools, automated workflows, and custom systems that need API access without building a full public app. IMPORTANT : For a full list of available endpoints and request/response details, visit our official API documentation: https://marketplace.https://ghlcustomercare.com/docs/ (video 1) Open in a new tab


TABLE OF CONTENTS


What are Private Integrations?

Private Integrations allows you to build powerful custom integrations between your GHL Customer Care account and any other third-party app.

If you are looking to integrate your GHL Customer Care account with a third-party app, you have two options:

  • Find and install the relevant app from the App Marketplace
  • Build your own private integration by yourself or with the help of a developer using APIs.

Private Integrations helps you achieve #2 securely.

The key advantages of using Private Integrations are:

  • Simple: Generate Private Integration tokens from your account settings and manage them with ease.
  • Secure: You get to restrict the scopes/permissions that a developer can access on your account

Private Integrations are available for both Agencies and Sub-Accounts. To know more about the sub-accounts' Private Integrations feature, click here.


What's the difference between Private Integrations and API Keys?

Private Integrations, to put it simply, is more powerful yet secure alternative to API Keys.

Private Integrations
API Keys
More Secure: You get to restrict the scopes/permissions that a developer can access on your account Less Secure: A developer gets unrestricted access to all your account data 
State-of-the-art: Private Integrations allows you to access API v2.0, which is state of the art.Outdated: API Keys work on API v1.0, which has reached end-of-life and is no longer maintained.
More Features: API v2.0 has more powerful APIsFewer Features: API v1.0 has limited APIs

Private Integration Tokens (PIT) are the recommended replacement for legacy API keys because they provide more secure and flexible access management.

Legacy API keys that remain unused for more than 90 days may be marked as Expired in settings. Because new legacy v1 key creation is no longer supported, PIT should be used for any new credentials or when migrating older integrations to a more secure access model.

If you still rely on a legacy API key, GHL Customer Care recommends moving that integration to a Private Integration Token whenever possible.

Why Private Integration Tokens Are Recommended for New Credentials (image 1 of 19) What this shows If you still rely on a legacy API key, GHL Customer Care recommends moving that integration to a Private Integration Token whenever possible. What this shows Illustrates the "Why Private Integration Tokens Are Recommended for New Credentials" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Why Private Integration Tokens Are Recommended for New Credentials" section of "Private Integrations: Everything you need to know". The text alongside this image reads: If you still rely on a legacy API key, GHL Customer Care recommends moving that integration to a Private Integration Token whenever possible. Immediately after, the guide continues: Private Integrations, to put it simply, is static/fixed OAuth2 Access Tokens. Image 1 of 19 What this coversIf you still rely on a legacy API key, GHL Customer Care recommends moving that integration to a Private Integration Token whenever possible. Next stepPrivate Integrations, to put it simply, is static/fixed OAuth2 Access Tokens.

What's the difference between Private Integrations and OAuth2 Access Tokens?

Private Integrations, to put it simply, is static/fixed OAuth2 Access Tokens.

Private Integrations
Access Tokens
Generated from the UI: The Private Integration token can be generated easily from the UI.Programmatic Generation: API Tokens are generated by exchanging an OAuth access code for the tokens using Get Access Token API.
Static/Fixed: Private Integration Tokens are static/fixed and do not automatically refresh unless you rotate them from the UI.Refreshed Daily: Access Tokens expire daily and need to be refreshed.

How do I use Private Integrations?

Private Integration tokens are used in the Authorisation header, just like other Access Tokens.

For example, to get a location's details, you can use Get Sub-account API with the Agency's Private Integration Token in the Authorisation header.

curl --request GET \
  --url https://services.leadconnectorhq.com/locations/ve9EPM428h8vShlRW1KT \
  --header 'Accept: application/json' \
  --header 'Authorization: <YOUR PRIVATE INTEGRATION TOKEN>' \
  --header 'Version: 2021-07-28'

Testing a Private Integration with API Calls

Once your Private Integration is created, you may want to test it by pushing data to an API endpoint. you will need the correct API endpoint URL to do this.

Here’s an example of how to test the integration by adding a new contact:

curl --request POST \
  --url https://services.leadconnectorhq.com/contacts/ \
  --header 'Authorization: <YOUR PRIVATE INTEGRATION TOKEN>' \
  --header 'Content-Type: application/json' \
  --header 'Version: 2021-07-28' \
  --data '{
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "phone": "+1234567890",
    "locationId": "LOCATION_ID"
  }'

Make sure to:

  • Replace LOCATION_ID with the actual sub-account ID.
  • Replace Authorization value with your generated Private Integration token.

For a full list of available endpoints and testing capabilities, visit our official developer documentation: https://developers.https://ghlcustomercare.com


How do I manage Private Integrations?

Who can create Private Integrations?

By default, all agency admins can create and manage Private Integrations. 

However, you can restrict this permission at a user level. To do this, Navigate to Settings > Team > Edit the specific agency admin > Roles & Permissions, and enable/disable Private Integrations for the agency admin.

You may apply the restrictions at two levels:

  1. Allow the agency admin to view and manage the agency's private integrations
  2. Allow the agency admin to view and manage the sub-accounts' private integrations

Who can create Private Integrations? (image 2 of 19) What this shows Allow the agency admin to view and manage the agency's private integrations Allow the agency admin to view and manage the sub-accounts'… What this shows Illustrates the "Who can create Private Integrations?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Who can create Private Integrations?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Allow the agency admin to view and manage the agency's private integrations Allow the agency admin to view and manage the sub-accounts' private integrations. Immediately after, the guide continues: You can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs. Image 2 of 19 What this coversAllow the agency admin to view and manage the agency's private integrations Allow the agency admin to view and manage the sub-accounts' private integrations Next stepYou can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs.


Where can I find Private Integrations?

You can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs.

Where can I find Private Integrations? (image 3 of 19) What this shows You can find Private Integrations under agency settings. What this shows Illustrates the "Where can I find Private Integrations?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Where can I find Private Integrations?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: You can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs. Immediately after, the guide continues: Step 1: Click on "Create new Integration". Image 3 of 19 What this coversYou can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs. Next stepStep 1: Click on "Create new Integration"

How do I create a new Private Integration?

Step 1: Click on "Create new Integration"

How do I create a new Private Integration? (image 4 of 19) What this shows Step 1: Click on "Create new Integration" What this shows Illustrates the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 1: Click on "Create new Integration". Immediately after, the guide continues: Step 2: Give your Private Integration a name and description to help you and your team identify what it's for. Image 4 of 19 What to clickStep 1: Click on "Create new Integration" Next stepStep 2: Give your Private Integration a name and description to help you and your team identify what it's for.

Step 2: Give your Private Integration a name and description to help you and your team identify what it's for.

How do I create a new Private Integration? (image 5 of 19) What this shows Step 2: Give your Private Integration a name and description to help you and your team identify what it's for. What this shows Illustrates the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 2: Give your Private Integration a name and description to help you and your team identify what it's for. Immediately after, the guide continues: Step 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security. Image 5 of 19 What this coversStep 2: Give your Private Integration a name and description to help you and your team identify what it's for. Next stepStep 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security.

Step 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security.

How do I create a new Private Integration? (image 6 of 19) What this shows Step 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. What this shows Illustrates the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security. Immediately after, the guide continues: Step 4: Copy the token generated and share it with your third-party app developer. Image 6 of 19 What to chooseStep 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security. Next stepStep 4: Copy the token generated and share it with your third-party app developer.

Step 4: Copy the token generated and share it with your third-party app developer. 

Please ensure that you are sharing the token with trusted parties only. Do not share it publicly.

Note: Don't forget to copy the token generated as you won't be able to do it again later.
How do I create a new Private Integration? (image 7 of 19) What this shows Note: Don't forget to copy the token generated as you won't be able to do it again later. What this shows Illustrates the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "How do I create a new Private Integration?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Note: Don't forget to copy the token generated as you won't be able to do it again later. Immediately after, the guide continues: We recommend that you rotate your Private Integration tokens every 90 days. Image 7 of 19 What to copyNote: Don't forget to copy the token generated as you won't be able to do it again later. Next stepWe recommend that you rotate your Private Integration tokens every 90 days.

What are some best practices to maintain the security of my private integration token?

We recommend that you rotate your Private Integration tokens every 90 days.

Here's how you can do it.


Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created.

What are some best practices to maintain the security of my private integration token? (image 8 of 19) What this shows Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. What this shows Illustrates the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Immediately after, the guide continues: Step 2: Click on "Rotate and expire this token later". Image 8 of 19 What to clickStep 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Next stepStep 2: Click on "Rotate and expire this token later".
All 2 steps in this procedure
  1. "Cancel rotation" if, for example, your developer needs more time to update the token on the third-party app.
  2. "Expire Now", if, for example, the third-party app has been updated with the new token.

Step 2: Click on "Rotate and expire this token later".

What are some best practices to maintain the security of my private integration token? (image 9 of 19) What this shows Step 2: Click on "Rotate and expire this token later". What this shows Illustrates the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 2: Click on "Rotate and expire this token later". Immediately after, the guide continues: Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Image 9 of 19 What to clickStep 2: Click on "Rotate and expire this token later". Next stepStep 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation.
All 2 steps in this procedure
  1. "Cancel rotation" if, for example, your developer needs more time to update the token on the third-party app.
  2. "Expire Now", if, for example, the third-party app has been updated with the new token.

Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation.

What are some best practices to maintain the security of my private integration token? (image 10 of 19) What this shows Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. What this shows Illustrates the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Immediately after, the guide continues: Step 4: Copy the new token and update it on your third-party app. Image 10 of 19 What to clickStep 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Next stepStep 4: Copy the new token and update it on your third-party app.
All 2 steps in this procedure
  1. "Cancel rotation" if, for example, your developer needs more time to update the token on the third-party app.
  2. "Expire Now", if, for example, the third-party app has been updated with the new token.

Step 4: Copy the new token and update it on your third-party app. 

You will have a 7-day window where both the old and the new tokens will continue to work. After 7 days, the old token will expire. In this 7-day window, you will have the option to:

  • "Cancel rotation" if, for example, your developer needs more time to update the token on the third-party app.
  • "Expire Now", if, for example, the third-party app has been updated with the new token.
Note: Don't forget to copy the token generated as you won't be able to do it again later. 
What are some best practices to maintain the security of my private integration token? (image 11 of 19) What this shows Note: Don't forget to copy the token generated as you won't be able to do it again later. What this shows Illustrates the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "What are some best practices to maintain the security of my private integration token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Note: Don't forget to copy the token generated as you won't be able to do it again later. Immediately after, the guide continues: Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Image 11 of 19 What to copyNote: Don't forget to copy the token generated as you won't be able to do it again later. Next stepStep 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created.
All 2 steps in this procedure
  1. "Cancel rotation" if, for example, your developer needs more time to update the token on the third-party app.
  2. "Expire Now", if, for example, the third-party app has been updated with the new token.

Token compromised?

Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created.

Token compromised? (image 12 of 19) What this shows Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. What this shows Illustrates the "Token compromised?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Token compromised?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Immediately after, the guide continues: Step 2: Click on "Rotate and expire this token now". Image 12 of 19 What to clickStep 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Next stepStep 2: Click on "Rotate and expire this token now".

Step 2: Click on "Rotate and expire this token now".

Token compromised? (image 13 of 19) What this shows Step 2: Click on "Rotate and expire this token now". What this shows Illustrates the "Token compromised?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Token compromised?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 2: Click on "Rotate and expire this token now". Immediately after, the guide continues: Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Image 13 of 19 What to clickStep 2: Click on "Rotate and expire this token now". Next stepStep 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation.

Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. 

Token compromised? (image 14 of 19) What this shows Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. What this shows Illustrates the "Token compromised?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Token compromised?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Immediately after, the guide continues: Step 4: Copy the new token and update it on your third-party app. Image 14 of 19 What to clickStep 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Next stepStep 4: Copy the new token and update it on your third-party app.

Step 4: Copy the new token and update it on your third-party app.

Note: Don't forget to copy the token generated as you won't be able to do it again later.
Token compromised? (image 15 of 19) What this shows Note: Don't forget to copy the token generated as you won't be able to do it again later. What this shows Illustrates the "Token compromised?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Token compromised?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Note: Don't forget to copy the token generated as you won't be able to do it again later. Immediately after, the guide continues: Yes, you can edit the Private Integration name, description and scopes/permissions any time after you've created it. Image 15 of 19 What to copyNote: Don't forget to copy the token generated as you won't be able to do it again later. Next stepYes, you can edit the Private Integration name, description and scopes/permissions any time after you've created it.

Can I edit the Private Integration permissions without updating the token?

Yes, you can edit the Private Integration name, description and scopes/permissions any time after you've created it.

Here's how you can do it.

Step 1: Navigate to Private Integrations under settings, and select "Edit" from the three-dot menu.

Can I edit the Private Integration permissions without updating the token? (image 16 of 19) What this shows Step 1: Navigate to Private Integrations under settings, and select "Edit" from the three-dot menu. What this shows Illustrates the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 1: Navigate to Private Integrations under settings, and select "Edit" from the three-dot menu. Immediately after, the guide continues: Step 2: Update the Private Integration name and description if required. Click on "Next". Image 16 of 19 What to chooseStep 1: Navigate to Private Integrations under settings, and select "Edit" from the three-dot menu.
Buttons and menus referenced 5 Private Integration Tokens (PIT)Agency levelLocation levelNote
Next stepStep 2: Update the Private Integration name and description if required. Click on "Next".

Step 2: Update the Private Integration name and description if required. Click on "Next".

Can I edit the Private Integration permissions without updating the token? (image 17 of 19) What this shows Step 2: Update the Private Integration name and description if required. What this shows Illustrates the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Step 2: Update the Private Integration name and description if required. Click on "Next". Immediately after, the guide continues: Step 3: If required, update the scopes/permissions that you want the private integration to have access to on your account. Image 17 of 19 What to clickStep 2: Update the Private Integration name and description if required. Click on "Next".
Buttons and menus referenced 5 Private Integration Tokens (PIT)Agency levelLocation levelNote
Next stepStep 3: If required, update the scopes/permissions that you want the private integration to have access to on your account.

Step 3: If required, update the scopes/permissions that you want the private integration to have access to on your account. 

Ensure that you are selecting only the required scopes for better data security. Click on "Update" to save the updates made.

Can I edit the Private Integration permissions without updating the token? (image 18 of 19) What this shows Ensure that you are selecting only the required scopes for better data security. What this shows Illustrates the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "Can I edit the Private Integration permissions without updating the token?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: Ensure that you are selecting only the required scopes for better data security. Click on "Update" to save the updates made. Immediately after, the guide continues: Users can create up to 5 Private Integration Tokens (PIT) at both the Agency level and the Location level. Image 18 of 19 How to confirmEnsure that you are selecting only the required scopes for better data security. Click on "Update" to save the updates made.
Buttons and menus referenced 5 Private Integration Tokens (PIT)Agency levelLocation levelNote
Next stepUsers can create up to 5 Private Integration Tokens (PIT) at both the Agency level and the Location level.
Users can create up to 5 Private Integration Tokens (PIT) at both the Agency level and the Location level.
Note: Updating the Private Integration details does not generate a new token. The existing token will continue to work.

How do I delete the Private Integration once I no longer need it?

You can delete the Private Integration once you no longer use the third-party app. To do so, navigate to Private Integrations under settings, and select "Delete" from the three-dot menu.

How do I delete the Private Integration once I no longer need it? (image 19 of 19) What this shows You can delete the Private Integration once you no longer use the third-party app. What this shows Illustrates the "How do I delete the Private Integration once I no longer need it?" section of "Private Integrations: Everything you need to know". This screenshot appears in the "How do I delete the Private Integration once I no longer need it?" section of "Private Integrations: Everything you need to know". The text alongside this image reads: You can delete the Private Integration once you no longer use the third-party app. To do so, navigate to Private Integrations under settings, and select "Delete" from the three-dot menu. Image 19 of 19 What to chooseYou can delete the Private Integration once you no longer use the third-party app. To do so, navigate to Private Integrations under settings, and select "Delete" from the three-dot menu.

Frequently asked questions

What are Private Integrations?
Private Integrations allows you to build powerful custom integrations between your GHL Customer Care account and any other third-party app. If you are looking to integrate your GHL Customer Care account with a third-party app, you have two options: Find and install the relevant app from the App Marketplace Build your own private integration by yourself or with the help of a developer using APIs. Private Integrations helps you achieve #2 securely. The key advantages of using Private Integrations are: Simple: Generate Private Integration tokens from your account settings and manage them with ease. Secure: You get to restrict the scopes/permissions that a developer can access on your account Private Integrations are available for both Agencies and Sub-Accounts. To know more about the sub-accounts' Private Integrations feature, click here .
What's the difference between Private Integrations and API Keys?
Private Integrations, to put it simply, is more powerful yet secure alternative to API Keys. Private Integrations API Keys More Secure : You get to restrict the scopes/permissions that a developer can access on your account Less Secure : A developer gets unrestricted access to all your account data State-of-the-art : Private Integrations allows you to access API v2.0, which is state of the art. Outdated : API Keys work on API v1.0, which has reached end-of-life and is no longer maintained. More Features: API v2.0 has more powerful APIs Fewer Features : API v1.0 has limited APIs
What's the difference between Private Integrations and OAuth2 Access Tokens?
Private Integrations, to put it simply, is static/fixed OAuth2 Access Tokens. Private Integrations Access Tokens Generated from the UI : The Private Integration token can be generated easily from the UI. Programmatic Generation : API Tokens are generated by exchanging an OAuth access code for the tokens using Get Access Token API . Static/Fixed : Private Integration Tokens are static/fixed and do not automatically refresh unless you rotate them from the UI. Refreshed Daily : Access Tokens expire daily and need to be refreshed.
How do I use Private Integrations?
Private Integration tokens are used in the Authorisation header, just like other Access Tokens. For example, to get a location's details, you can use Get Sub-account API with the Agency's Private Integration Token in the Authorisation header. curl --request GET \ --url https://services.leadconnectorhq.com/locations/ve9EPM428h8vShlRW1KT \ --header 'Accept: application/json' \ --header 'Authorization: <YOUR PRIVATE INTEGRATION TOKEN>' \ --header 'Version: 2021-07-28' Testing a Private Integration with API Calls Once your Private Integration is created, you may want to test it by pushing data to an API endpoint. you will need the correct API endpoint URL to do this. Here’s an example of how to test the integration by adding a new contact: curl --request POST \ --url https://services.leadconnectorhq.com/contacts/ \ --header 'Authorization: <YOUR PRIVATE INTEGRATION TOKEN>' \ --header…
Who can create Private Integrations?
By default, all agency admins can create and manage Private Integrations. However, you can restrict this permission at a user level. To do this, Navigate to Settings > Team > Edit the specific agency admin > Roles & Permissions, and enable/disable Private Integrations for the agency admin. You may apply the restrictions at two levels: Allow the agency admin to view and manage the agency's private integrations Allow the agency admin to view and manage the sub-accounts' private integrations
Where can I find Private Integrations?
You can find Private Integrations under agency settings. If you don't find it under settings, please make sure that you have enabled the feature on Labs.
How do I create a new Private Integration?
Step 1: Click on "Create new Integration" Step 2: Give your Private Integration a name and description to help you and your team identify what it's for. Step 3: Select the scopes/permissions that you want the private integration to have access to on your agency account. Ensure that you are selecting only the required scopes for better data security. Step 4: Copy the token generated and share it with your third-party app developer. Please ensure that you are sharing the token with trusted parties only. Do not share it publicly. Note: Don't forget to copy the token generated as you won't be able to do it again later.
What are some best practices to maintain the security of my private integration token?
We recommend that you rotate your Private Integration tokens every 90 days. Here's how you can do it.
Token compromised?
Step 1: Navigate to Private Integrations under settings, and click on the Private Integration you have created. Step 2: Click on "Rotate and expire this token now". Step 3: Click "Continue" in response to the warning message if you are sure that you want to proceed with rotation. Step 4: Copy the new token and update it on your third-party app. Note: Don't forget to copy the token generated as you won't be able to do it again later.
Can I edit the Private Integration permissions without updating the token?
Yes, you can edit the Private Integration name, description and scopes/permissions any time after you've created it. Here's how you can do it. Step 1: Navigate to Private Integrations under settings, and select "Edit" from the three-dot menu. Step 2: Update the Private Integration name and description if required. Click on "Next". Step 3: If required, update the scopes/permissions that you want the private integration to have access to on your account. Ensure that you are selecting only the required scopes for better data security. Click on "Update" to save the updates made. Users can create up to 5 Private Integration Tokens (PIT) at both the Agency level and the Location level . Note : Updating the Private Integration details does not generate a new token. The existing token will continue to work.
How do I delete the Private Integration once I no longer need it?
You can delete the Private Integration once you no longer use the third-party app. To do so, navigate to Private Integrations under settings, and select "Delete" from the three-dot menu.

Was this guide helpful?

Related guides