• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

LeadConnector V2 Custom API 401 Scope Error

Hi,

I am trying to use the Custom API action with the LeadConnecter V2.

I am trying to create a conversation via the API as per the documentation here - https://highlevel.stoplight.io/docs/integrations/8d0b19e09176e-create-conversation

Error Received: 401 Error The token is not authorized for this scope.

Do we have the conversations.write scope enabled/passed in the auth request?

1722681911561.png


1722681988251.png
 
P

Pabblymember11

Guest
Can you please share the workflow URL once in which you have tried the same so that we can look into it?

Also please refer to the following short recorded video on how you can get the API token from your GHL(LeadConnector) account.

 
Can you please share the workflow URL once in which you have tried the same so that we can look into it?

Also please refer to the following short recorded video on how you can get the API token from your GHL(LeadConnector) account.

Thank you for your response.

The workflow link is below:

With regards to the API key - I don't know if that will work as the API has updated to work with the OAuth flow when connecting the action listed under Connections.

1722932045535.png

The token required would be from that connection and not the standard API key on the account.

When creating the OAuth connection to LeadConnector the URL generated to grant the access contains the scopes that will be enabled. So the url has a parameter called "&scope=" with a space separated list of scopes as below.

1722932646614.png


The current list of scopes in the Pabbly integration are:

&scope=conversations/message.readonly%20conversations/message.write%20campaigns.readonly%20locations/customFields.readonly%20locations/customFields.write%20contacts.readonly%20contacts.write%20opportunities.readonly%20opportunities.write%20users.readonly%20users.write%20locations.readonly%20locations.write%20locations/tasks.readonly%20workflows.readonly%20businesses.write%20businesses.readonly%20calendars.readonly%20calendars/events.write%20locations/templates.readonly%20locations/customValues.readonly%20locations/customValues.write%20funnels/redirect.write

We are missing "conversations.write%20conversations.readonly%20"

Thanks!
 
  • Like
Reactions: KLP
P

Pabblymember11

Guest
We recommend you run that API request correctly on Postman first and then try the same CURL on API using the Pabbly action step.
 

KLP

Member
Did this reach a resolution? The current list of scopes should also contain 'calendar/events.read' but it's missing.
Overriding the authorised scopes list when configuring the connection allows the token scope to change but the 'Custom API Request' is sending erroneous properties.
My guess is these scopes are intentionally left out by Pabbly as their integration is yet to support them.
1729254162485.png
 

Preeti Paryani

Well-known member
Staff member
Hello @KLP

Can you please provide us with the use case you are trying to achieve so we can better assist?

Also, if there are any changes required from our end we will surely figure it out.
 

KLP

Member
@Preeti Paryani, I've created this functionality in a new Pabbly action as part of a new Pabbly private App integration into the LeadConnector V2 API. Pabbly is free to add this action to the vanilla LeadConnector V2 App
 

ArshilAhmad

Moderator
Staff member
If you'd like this action event added to the LeadConnector V2 action application, you can submit your request on our dedicated platform:


Our integrations team will review your request and, if feasible, add the desired action event to Pabbly Connect.
 
Top