Check Only Login API Documentation

    Introduction

    The terminate-sessions API allows clients to terminate sessions using a batch processing mechanism.

    Endpoint

    Method: POST
    URL: /terminate-sessions

    Request Body

    • folder (String, required): The folder containing the accounts.
    • phones (List, required): The list of phones to be checked
    • batch_size (Optional, required): The size of each batch for processing.

    Example Request Body

    {
      "folder": "active",
      "phones": ["123456789", "123456780"]
    }
    

    Example Response

    • Stream Text
    { 
        "message": "Success",
         "status": "200 OK" 
    }