Skip to main content

app_user_validate

Validates a mobile app security code. This is a simple code check used as an initial gate for app access.
In the current implementation, the function checks whether security_cod equals the hardcoded sentinel value "-". Any other value is rejected. This is intended to be updated with real security logic.

Endpoint

POST https://{region}-{project}.cloudfunctions.net/app_user_validate

Request

data.security_cod
string
required
The app security code to validate.
{
  "data": {
    "security_cod": "-"
  }
}

Response

Valid code:
{
  "message": "Codigo Valido",
  "status": 200,
  "data": { "valido": true }
}
Invalid code:
{
  "message": "Codigo No valido",
  "status": 400,
  "data": { "valido": false }
}

Build docs developers (and LLMs) love