Skip to main content

GET Check API Status

This endpoint retrieves the status of the eSIM service. It is useful for checking whether the service or application is operational.

Configure the API Endpoint

https://esim.betatel.com/api/v1/esim/status
  • Method: GET

Set Up the Headers

ParamValueDescription
Content-Typeapplication/jsonSpecifies the payload format.
x-api-key{{x-api-key}}Your unique API key for secure access.
x-user-id{{x-user-id}}Your user identifier for added security and tracking.

Example Response

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

Example Response
{
"status": "Running",
"version": "1.0.0",
"uptime": "2d 0h 0m 5s"
}

The response will include the status, version, and uptime of the service. The body of the response will contain the following parameters:

FieldTypeDescription
statusstringThe current status of the service
versionstringThe version of the service
uptimestringThe uptime of the service

Code Snippets

Example - cURL
    curl --location 'https://esim.betatel.com/api/v1/esim/status' \
--header 'Accept: application/json' \
--header 'x-api-key: `{{x-api-key}}`' \
--header 'x-user-id: {{x-user-id}}'

Error Handling

  • 400 - Bad Request - Invalid parameters
  • 401 - Unauthorized - Invalid or missing API key