GET
/
api
/
chat
/
num-message-left
curl --request GET \
  --url https://backend.chatfly.co/api/chat/num-message-left
{
  "bot_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "num_message_left": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Query Parameters

bot_id
string
required

Response

200
application/json
Successful Response

Schema for response containing the number of messages left.

bot_id
string
required

Unique identifier for the associated bot.

num_message_left
integer
required

Number of messages left.