• 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

  • Important: Any reported problems and issues with your integration will be reported to you and we will encourage the app developers help to resolve those integration issues.

How to Set-Up the Integration Based on Basic auth with Access Response Token

This documentation provides a comprehensive, step-by-step guide to understanding the setup process for Basic auth with Access Response Token. For example purposes, we have chosen "Sendpulse/Axosoft/Clientjoy" as our focus application.

Before moving ahead need to know that Pabbly Connect Supports the following types of authentications under the Basic Auth with Access Token authentication method.

1. OAuth 2.0 - Grant Type: Client Credential. (E.g. Sendpulse)
2. OAuth 2.0 - Grant Type: Password. (E.g. Axosoft)
3. Custom Access Token Generation via API. (E.g. Clientjoy)
(Some applications generate an access token using an API endpoint.)


  • OAuth 2.0 - Grant Type: Client Credential:
App Name - Sendpulse
App Details and Auth Configuration:


1665122851101.png


In the above image, you can check that we have selected the auth type as Basic Auth (Access Response Token). As per the Sendpulse API docs, the grant type is Client credentials so we have set the parameter by passing the default value.

👉 We followed the Sendpulse API docs for selecting the Auth type as Basic auth (Access Response Token).
Learn more

1665123529201.png


You can find the Access Token path from the Access Token API response, you have to send a POST request to the Sendpulse access token URL.
i.e.
Access Token Response:
{
"access_token": "eyJ0eXAiOiJKXBfaWQiOgDBBdsgnUudGCvsDcgEog",
"token_type": "Bearer",
"expires_in": 3600
}

1665124681396.png


  1. Token Key Name (Received): Enter a token key name that you want to receive from the access token JSON for further use in API request e.g. access_token.
  2. Token Key Name (Send): Enter a token key name that you want to send for further use in an API request e.g. access_token.
  • How to Configure Action Events:
Action - Add Subscriber
Type - Post


1665126539743.png


Action Frontend View:

1665126822863.png



  • OAuth 2.0 - Grant Type: Password:
App Name - Axosoft
App Details and Auth Configuration.

You can follow these steps to build the app integration with a similar auth type.


1665129396350.png

In the above image, you can check that we have selected the auth type as Basic Auth (Access Response Token). As per the Axosoft API docs, the grant type is Password, so we have set the parameter by passing the default value.

👉 We followed the Axosoft API docs for selecting the Auth type as Basic auth (Access Response Token).
Learn more

1665130229726.png

You can find the Access Token path from the Access Token API response, you have to send a POST request to the Axosoft access token URL.
i.e. subdomain.axosoft.com/api/oauth2/token

Access Token Response:

{
"access_token" : "10101010-1010-1010-1010-101010101010",
"token_type" : "bearer",
"data" : {
"id" : 7,
"first_name" : "Cathy",
"last_name" : "O'Reilly (Dev)",
"email" : "[email protected]"
}
}



1665124681396.png


  1. Token Key Name (Received): Enter a token key name that you want to receive from the access token JSON for further use in API request e.g. access_token.
  2. Token Key Name (Send): Enter a token key name that you want to send for further use in an API request e.g. access_token.
Now, this access token will be passed in the header in each action and trigger automatically.

  • How to Configure Action Event:
Action - Create Contact
Type - Post


1665136598327.png


Action Frontend View:

1665137927668.png


  • Custom Access Token Generation via API:

    App Name - Clientjoy

1665214023916.png


In the above image, you can check that we have selected the auth type as Basic Auth (Access Response Token). As per the CLientjoy API docs, the request body type is JSON and the origin is passed in the header.


👉We followed the Clientjoy API docs for selecting the Auth type as Basic auth (Access Response Token). Learn more


1665214217302.png


You can find the Access Token path from the Access Token API response, you have to send a POST request to the Clientjoy access token URL.
i.e. https://api.clientjoy.io/v1/auth/login

JSON:
Access Token Response:

[CODE]{

  "success": "register.user",

  "success_message": "Great going! Your account is created.",

  "status": "register.user",

  "message": "Great going! Your account is created.",

  "data": {

    "user": {

      "id": 5155,

      "first_name": "Jigar",

      "last_name": "Sompura",

      "name": "Jigar Sompura",

      "email": "[email protected]"

    },

    "token": "*****"

  }

}
[/CODE]

In the above Access token response "token" is at the nested JSON. So we need to input the path of the token as
data==>token

1665214988353.png


  1. Token Key Name (Received): Enter a token key name that you want to receive from the access token JSON for further use in API request e.g. access_token. In this case, Token Key Name (Received) is data==>token
  2. Token Key Name (Send): Enter a token key name that you want to send for further use in an API request e.g. access_token.
Now, this access token will be passed in the header in each action and trigger automatically.

  • How to Configure Action Event:
Action - Find Lead
Type - Get


1665215318951.png


Action Frontend View:

1665215702797.png


1665215587858.png


👉 For further details, refer to this guide for creating new actions and triggers in your application. Learn more

👉 Refer to the video below for instructions on creating your app with a similar authentication type:
Learn more
 

Attachments

  • 1665124552385.png
    1665124552385.png
    17.6 KB · Views: 168
Last edited by a moderator:
Top