Skip to main content

Get Check API Status

This endpoint retrieves the current status of the Telegram service. It is useful for checking whether the service is operational before initiating message sending.

Configure the API Endpoint

https://api.betatel.com/api/v1/connect-hub/telegram/status
  • Method: GET

Set Up the Headers

ParamValueDescription
Content-typeapplication/jsonSpecifies the payload format.

Example Response

Status Code: 200 OK Content-Type: application/json

Example Response
{
"status": "Running",
"version": "2.1.0",
"uptime": "2d 0h 0m 5s"
}
FieldTypeDescription
statusstringThe current status of the service (Running, Stopped, Maintenance).
versionstringThe version of the service.
uptimestringHow long the service has been running (e.g., "2d 3h 45m 12s").

Code Snippets

Example - cURL
curl --location 'https://api.betatel.com/api/v1/connect-hub/telegram/status' \
--header 'Content-Type: application/json'