Skip to content

Rate limiter#

Beta version

The functionality is in beta. Features may change and may also work unstably.

The system is aimed to prevent incorrect use of the API. Requests made with frequency higher than indicated in the table will be rejected with error 429. The values apply to each instance.

Example

You can execute 500 requests in total without getting error 429 for 10 instances, each of which executes 50 SendMessage method requests.

If you execute 51 SendMessage method requests on one of the instances, the 51st request will be rejected with error 429. At the same time, all the rest instances will continue to execute requests without getting the error.

Allowed number of requests#

For navigation convenience, the methods in the table are structured in groups:

Method Requests per second
Account
Login 1
SendAuthorizationCode 1
Logout 1
GetStateInstance 1
GetStateInstanceHistory 1
Reboot 1
GetSettings 1
SetSettings 1
SetProfilePicture 1
GetAccountSettings 1
Sending
SendMessage 50
SendFileByUrl 50
SendFileByUpload 50
ForwardMessages 50
Receiving notifications via HTTP API
ReceiveNotification 100
DeleteNotification 100
Get files
DownloadFile 1
Journals
GetChatHistory 1
GetMessage 1
LastIncomingMessages 1
LastOutgoingMessages 1
Queues
GetMessagesCount 1
ShowMessagesQueue 1
ClearMessagesQueue 1
GetWebhooksCount 1
ClearWebhooksQueue 1
Groups
CreateGroup 1
UpdateGroupName 1
GetGroupData 10
UpdateGroupSettings 1
AddGroupParticipant 1
RemoveGroupParticipant 1
SetGroupAdmin 1
RemoveAdmin 1
LeaveGroup 1
Posts
SendPostByUrl 1
SendReelByUrl 1
SendAlbumPostByUrl 1
EditPost 1
EditReel 1
DeletePost 1
DeleteReel 1
GetPostInfo 10
GetUserPosts 10
Comments
GetComments 10
SendComment 1
EditComment 1
SendLikeToComment 1
DeleteComment 1
Read mark
ReadChat 1
Service methods
CheckAccount 10
GetAvatar 10
GetContacts 1
GetContactInfo 10
GetChats 1
DeleteMessage 1
EditMessage 50
SendTyping 1
GetAllowedReactions 10
SendReaction 50