API EngageBot.PRO

EngageBot.PRO API System

The EngageBot.PRO API System was created by AlexDev, who as a complete web development company, also deals with the development of advanced REST APIs for systems equipped with relational databases.

This kind of API can be applied to any pre-existing system, allowing the interaction between systems that previously could not be connected (try to imagine a calendar and an administrative portal, or an automatic payment system and a telegram bot, or a sales portal and an automatic supplier, a SMM panel connected to EngageBot.PRO, or many more integrations)

A custom API takes care of transforming the messages sent by one of the two systems, and converting it into a “readable” format for the other system, so that they can communicate without interruptions, making automatic processes that previously could not be.

In this article we will talk about the EngageBot.PRO API System, but it is possible to create APIs for any type of system.


How an API System works

How an API system works (and the API System for EngageBot.PRO)
How an API system works (and the API System for EngageBot.PRO)

As mentioned above, an API system is capable of transforming information contained in a system into something readable by other systems.

In a future article we will look at the details together, but for now here’s an idea of ​​what they can do:

  • CREATE new items, by writing data (for example, adding a new photo to a database)
  • READ the items, for example an orders list
  • DELETE some items, for example canceling a post
  • EDIT existing items

They can be used for example to create new orders within a supplier’s panel every time an order is created on their site,

or add a photo to EngageBot.PRO from an external site, and much more.


The EngageBot.PRO API System

The API system created for EngageBot.PRO is not yet in its final phase, but in version 0.5, but it is already able to allow any external system to automate many of the features.

Its documentation was produced and released with POSTMAN
Its documentation was produced and released with POSTMAN

The system now allows you to:

  • Read the groups list
  • Gather informations regarding a specific group
  • Read the list of users
  • Read the list of photos
  • Delete a photo
  • Read the list of pending photos
  • Add a photo in pending list
  • Delete a photo from the pending list
  • Read the autodrop list
  • Add an autodrop
  • Delete an autodrop
  • Read the Autodrop LOG
  • Read the Whitelist users
  • Add a whitelist user
  • Delete a whitelist user
  • Read the LOG of deleted whitelist users
  • Read the Blacklist
  • Add a user in blacklist
  • Delete a user from blacklist
  • Read the blacklist log
  • Read the must follow list
  • Add a must follow user
  • Delete a must follow user
  • Read the list of must follow users deleted

All this can be filtered according to various filters, and 100% customizable, as if the operation were carried out from the EngageBot.PRO portal.

The documentation is simple and intuitive, and already comes with code examples and answers of various kinds


How to use the EngageBot.PRO API System

The EngageBot.PRO is used by exploiting the Token of the Telegram Bot as an API token, thus protecting access from malicious people:

Only users in possession of the token can then make requests to the API.

The API allows for 30 requests per minute, and requires an active EngageBot.PRO subscription.

EXAMPLE: Add a photo to the waiting list

The system will have to send a POST request to the engagebot.pro API, containing the link of the photo, and the group in which you want to publish it

curl --location --request POST 'https://api.engagebot.pro/pending_photos' \
--form 'url="https://www.instagram.com/p/CPTpIu6tMay/"' \
--form 'priority="10"' \
--form 'silent_repost="0"' \
--form 'silent_post="0"' \
--form 'reposts="0"' \
--form 'group_id="-1001135535210"'

The system will then respond in one of the following ways:

SUCCESS of the API System for EngageBot.PRO

{
  "success": true,
  "data": {
    "id": "4953374",
    "group_id": "-1001135535210",
    "telegram_user_id": null,
    "reposts": "0",
    "author_username": "alessandrovisintainer",
    "media_id": "2581587931453245106",
    "url": "https://www.instagram.com/p/CPTpIu6tMay",
    "created_timestamp": 1624096759,
    "is_repost": false,
    "priority": "10",
    "silent_repost": "0",
    "silent_post": "0"
  }
}

ERROR: You do not have access to this group

In case you are trying to add a photo in a group where the bot is not admin, the error received will be as follows:

{
  "success": false,
  "error": "Unable to access this resource"
}

ERROR: WRONG REQUEST

In case a field is missing, or a wrong value is specified, the answer will be the following:

{
  "success": false,
  "error": "Missing Priority property"
}

Conclusions

As you may have guessed from this explanation, although very technical, using the API system for a developer is extremely simple, and allows you to perform any operation.

Having an API system in your system will allow integrations with any external system, improving the use and quality of your services.


Have you understood our potential and are we in line with your needs?

The one described in this article is a product custom made for a customer and is not resold, but if it has made you understand what we can do and you are interested in making YOUR CUSTOMIZED PRODUCT, contact us now!

You will receive the utmost professionalism and the best service, at a very low price!


⭐️CONTACT US RIGHT NOW ⭐️

📞 Telegram:@TheDevAle

👥 Group:@AlexDevGroup

🇮🇹 Canale AlexDev:@AlexDev_IT

🇬🇧 AlexDev Channel:@AlexDev_EN

Total
0
Shares
Leave a Reply

Your email address will not be published.Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts
Sistemi di Scraping Personalizzati

Custom Scraping Systems

Learn what Scraping means and how AlexDev can help your company create customised scraping systems to extract the data you need. Our team of experienced developers can create scraping systems for e-commerce, social media, search, tracking and analysis, customised to your company's specific needs. Read the article to learn more about how scraping systems can help your business and contact us for more information on our customised scraping services
Read More
Discord Product Scraping Bot

Discord Offers Bot with Channel and Subscription Management

AlexDev has produced on commission an advanced scraping offer tool, able to obtain and track the prices (and details) of products from various websites, and publish the best offers within a discord channel. This bot also manages a subscription system with renewal via external shop, the sending of private access tokens, and the automatic assignment and removal of roles and permissions to users depending on the subscription. It also accepts admin commands for generating tokens, reformatting products with advanced HTML, and much more!
Read More