• 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 we built Sendpulse/Axosoft/Clientjoy (Basic auth with Access Response Token based Integrations)

Pabbly Connect Supports following types of authentications under 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.)



1. OAuth 2.0 - Grant Type: Client Credential

App Name - Sendpulse
API Docs

App Details and Auth Configuration.
You can follow these steps to build the app integration with a similar auth type.


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).

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


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.

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.


Configure Action

Action - Add Subscriber
Type - Post

1665126539743.png



Action Frontend View:

1665126822863.png




2. OAuth 2.0 - Grant Type: Password

App Name - Axosoft
API Docs

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).

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


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.

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.


Configure Action

Action - Create Contact
Type - Post


1665136598327.png



Action Frontend View:

1665137927668.png



3. Custom Access Token Generation via API

App Name - Clientjoy
API Docs -

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, request body type is JSON and origin is passed in header.


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

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

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": "*****"
  }
}

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


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

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.


Configure Action

Action - Find Lead
Type - Get

1665215318951.png



Action Frontend View:

1665215702797.png


1665215587858.png


👉 For more details follow this guide for creating new actions and triggers in your apps - https://forum.pabbly.com/forums/pabbly-connect-app-integration-guide/

👉 Refer to the below video for creating your app with a similar auth type:


 

Attachments

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