🀩Telegram APIs

The Telegram APIs section provides endpoints for managing Telegram groups, contacts, and campaigns. These endpoints enable users to retrieve and manage groups and contacts, and to create and update campaigns for sending messages via Telegram. The section ensures that users can effectively handle their messaging operations within Telegram. The JWT token and API key must be included in the headers of these requests to ensure proper authorization.

Get All Groups

  • Endpoint: GET /api/telegram-group

  • Headers:

    Authorization: Bearer your_jwt_token_here
    apikey: your_api_key_here
    Content-Type: application/json
  • Response:

    {
      "data": [ ... ]
    }

Get All Contacts

  • Endpoint: GET /api/telegram-contact

  • Headers:

    Authorization: Bearer your_jwt_token_here
    apikey: your_api_key_here
    Content-Type: application/json
  • Response:

    {
      "data": [ ... ]
    }

Get All Campaigns

  • Endpoint: GET /api/telegram-campaign

  • Headers:

  • Response:

Store Campaign

  • Endpoint: POST /api/telegram-campaign-store

  • Headers:

  • Request Body:

  • Response:

Update Campaign

  • Endpoint: POST /api/telegram-campaign-update/{id}

  • Headers:

  • Request Body:

  • Response:

Last updated