Account UPload API Documentation
Introduction
Upload Accounts (session + json) or zip to the application
Endpoint
Method: POST
URL: /upload-accounts
Request Body FORM
files
(List, required): all files(.session + .json) in a listseller_name
(String, Optional): The name of the seller from whom you purchased the accountspurchase_date
(Integer, Optional): Date of purchase, leave blank if autoset to current datefolder
(String, Optional): if u want to upload in a specific folderdata
: on clicking additional settings we get an extended interface to add in the JSON files of .session.dms
(int, optional): Add DMS.invite
(int, optional): Add invites.
data and create_json Example Request Body
{
"files": ["file1.session", "file2.json"],
"seller_name": "Seller1",
"purchase_date": 20240528,
"folder": "active",
"dms": 0,
"invite": 0,
"data": {
"app_id": 2040,
"app_hash": "b18441a1ff607e10a989891a5462e627",
"sdk": "Windows 11|Windows 10|Windows 8",
"app_version": "4.11.3 x64|4.16.2 x64|4.16.7 x64",
"device": "X76_BD4|X99_BD2",
"lang_pack": "en",
"system_lang_pack": "en-US",
"twoFA": null,
}
}
response json
{
"text": "Accounts uploaded successfully",
"phones": ["9876543210", "986541230"]
}