Get started

This document provides information on the APIs available for SaaS partners to integrate with our platform. These APIs enable seamless validation and integration of businesses with partner.

Validate Business

The Validate Business API  is designed to ensure that a business is properly connected to its respective Business(EasySocial user). If the business is not yet linked, this API will automatically associate the business with the partner, facilitating a seamless onboarding process. This process helps validate the relationship between the business and the partner, ensuring smooth integration.

Why this is important?

This API acts as a bridge between EasySocial and the Partner . The business provides a token, which grants Account access to manage various operations like reviewing account status, account details, creating template messages, syncing contacts, getting notified for any changes made or any updates on EasySocial account, allowing for secure and efficient business-partner connections.

GET

/validate-business


 EXAMPLE REQUEST 

curl --location '/validate-business' \
--header 'partner-token;' \
--header 'auth-token;'


EXAMPLE RESPONSE

{
  "status": 200,
  "success": true,
  "message": "success",
  "payload": {
    "is_authenticated": false
  }
}


How to get the Partner Access Token?   

In order to get partner access token you can write an email to partners@easysocial.io and we will be happy to share a partner access token with you.

How can a Business generate a Token?      
 Follow these simple steps to create an access token tailored to your partner's needs:

Step 1: Navigate to Settings

  • Click on the profile icon in the top-right corner.
  • From the dropdown menu, select the "Settings" option.

pt1.png

Step 2: Locate the Authentication Section

  • Under the General Settings tab, find the "Authentication" section.
  • Look for the "Generate Access Token" button.

pt2.png

 

Step 3: Customize and Generate the Token

  • Click the "Generate Access Token" button.
  • Add a specific name for the token, including your partner's name for easy identification.
  • Set the token's validity period; for partner-specific tokens, you can choose to set the validity to "infinity."

pt3.png

 

Step 4: Copy and Share the Token

  • Once the token is generated, copy it using the provided option.
  • Share it securely with the designated partner.

pt4.png

With these steps, you can efficiently create and manage tokens to streamline authentication for your partners.