In this guide, this tutorial, we will walk through the process of getting the remaining number of messages from the ChatFly API.
https://backend.chatfly.co/api/chat/num-message-left/{bot_id}
{bot_id}
{ "bot_id": "xxxx-xxxx-xxxx-xxxx", }
token
curl --location 'https://backend.chatfly.co/api/chat/num-message-left?bot_id=xxxx-xxxx-xxxx-xxxx' \ --header 'Content-Type: application/json' \ --header 'Bearer: token'
{ "bot_id": "xxxx-xxxx-xxxx-xxxx", "num_message_left": 99 }
Was this page helpful?