Skip to content

health.php

Health check module to verify the availability of external services like Bytehand.

API Methods

Method Action Description
bytehand check bytehand service status Checks if the Bytehand SMS service is reachable and responding correctly.

health/bytehand

Checks if the Bytehand SMS service is reachable and responding correctly.

HTTP method: POST

Parameters:

Parameter Required Type Description
action ✅ string Method identifier: bytehand

Request example

curl -s "https://invapi.hostkey.com/health?action=bytehand" -X POST \
--data "action=bytehand"
Success response example
{
"result": "OK",
"action": "bytehand"
}
Error examples
{
"code": -1,
"message": "BYTEHAND_KEY is not configured"
}
question_mark
Is there anything I can help you with?
question_mark
AI Assistant ×