Retrieving current business details

To retrieve detailed business information, such as its active status or plan purchases, partners can use the API by including the auth token and partner token in the API header.

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?  

If you're unsure how to generate a token, click here

The API responds with all relevant business details associated with the tokens. Based on this information, partners may choose to send warning messages or notifications independently if needed.

GET

https://api.easysocial.in/partners//business/current-status

Example request 

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

 

Example response

{
  "status": 200,
  "success": true,
  "message": "success",
  "payload": {
    "status": "ACTIVE",
    "eligibility": false,
    "plan": "Launch-pad",
    "amount": 0,
    "conversation_markup": 1,
    "currency": "INR",
    "started_at": "2024-04-16T13:30:03.618+05:30",
    "ending_at": "2024-05-16T05:30:00.618+05:30",
    "free_conversations": 200,
    "consumed_free_conversations": 0,
    "team_members": 1,
    "wallet_amount": 0
  }
}