π€©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-groupHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonResponse:
{ "data": [ ... ] }
Get All Contacts
Endpoint:
GET /api/telegram-contactHeaders:
Authorization: Bearer your_jwt_token_here apikey: your_api_key_here Content-Type: application/jsonResponse:
{ "data": [ ... ] }
Get All Campaigns
Endpoint:
GET /api/telegram-campaignHeaders:
Response:
Store Campaign
Endpoint:
POST /api/telegram-campaign-storeHeaders:
Request Body:
Response:
Update Campaign
Endpoint:
POST /api/telegram-campaign-update/{id}Headers:
Request Body:
Response:
Last updated