WhatsappController :: gestion_whatsapp_webhook
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "App\Controller\WhatsappController::gestion_whatsapp_webhook" |
| _firewall_context | "security.firewall.map.context.main" |
| _locale | 1 |
| _route | "gestion_whatsapp_webhook" |
| _route_params | [ "_locale" => 1 "idEmpresa" => "1" ] |
| _security_firewall_run | "_security_main" |
| _stopwatch_token | "ced9d6" |
| idEmpresa | "1" |
Request Headers
| Header | Value |
|---|---|
| accept | "application/json, text/plain, */*" |
| accept-encoding | "gzip, compress, deflate, br" |
| connection | "close" |
| content-length | "467" |
| content-type | "application/json" |
| host | "central-ia.lansimplex.es" |
| user-agent | "axios/1.13.2" |
| x-accel-internal | "/internal-nginx-static-location" |
| x-php-ob-level | "1" |
| x-real-ip | "65.21.236.249" |
Request Content
Pretty
{
"event_type": "message_received",
"instanceId": "65468",
"id": "",
"referenceId": "",
"hash": "65ab9d44cd8764e546d8d7a8ee23ab16",
"data": {
"id": "false_34639211665@c.us_3EB04F6DA4008C9C67E247",
"sid": "3EB04F6DA4008C9C67E247",
"from": "34639211665@c.us",
"to": "34621074330@c.us",
"author": "",
"pushname": "Lansimplex",
"ack": "",
"type": "chat",
"body": "hola",
"media": "",
"fromMe": false,
"self": false,
"isForwarded": false,
"isMentioned": false,
"quotedMsg": {},
"mentionedIds": [],
"time": 1776433992
}
}
Raw
{"event_type":"message_received","instanceId":"65468","id":"","referenceId":"","hash":"65ab9d44cd8764e546d8d7a8ee23ab16","data":{"id":"false_34639211665@c.us_3EB04F6DA4008C9C67E247","sid":"3EB04F6DA4008C9C67E247","from":"34639211665@c.us","to":"34621074330@c.us","author":"","pushname":"Lansimplex","ack":"","type":"chat","body":"hola","media":"","fromMe":false,"self":false,"isForwarded":false,"isMentioned":false,"quotedMsg":{},"mentionedIds":[],"time":1776433992}}
Response
Response Headers
| Header | Value |
|---|---|
| cache-control | "private, must-revalidate" |
| content-type | "application/json" |
| date | "Fri, 17 Apr 2026 13:53:16 GMT" |
| expires | "-1" |
| pragma | "no-cache" |
| x-debug-token | "a5ba68" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session 1
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
1
Usages
Stateless check enabled
| Usage |
|---|
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:41
[
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
"line" => 41
"function" => "getMetadataBag"
"class" => "Symfony\Component\HttpFoundation\Session\Session"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/src/EventListener/TextosLegalesListener.php"
"line" => 41
"function" => "getToken"
"class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
"line" => 116
"function" => "onKernelController"
"class" => "App\EventListener\TextosLegalesListener"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 220
"function" => "__invoke"
"class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/event-dispatcher/EventDispatcher.php"
"line" => 56
"function" => "callListeners"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
"line" => 139
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\EventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 169
"function" => "dispatch"
"class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/http-kernel/HttpKernel.php"
"line" => 76
"function" => "handleRaw"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/http-kernel/Kernel.php"
"line" => 197
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\HttpKernel"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
"line" => 35
"function" => "handle"
"class" => "Symfony\Component\HttpKernel\Kernel"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/autoload_runtime.php"
"line" => 29
"function" => "run"
"class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
"type" => "->"
]
[
"file" => "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/public/index.php"
"line" => 5
"args" => [
"/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/vendor/autoload_runtime.php"
]
"function" => "require_once"
]
]
|
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APIGADMIN_ENABLED | "true" |
| APIGADMIN_KEY | "86a7575752fa59c8108231ed30f22fec" |
| APIGADMIN_SORTEO_ACTIVO | "2023102" |
| APIGADMIN_URLBASE | "https://www.lamagica.es" |
| APISMS_ID | "2036" |
| APISMS_PASS | "yXN8xbDa3yt3heu" |
| APISMS_ROUTE | "5" |
| APISMS_URLBASE | "https://ws1.premiumnumbers.es/sms/push" |
| APIWHATSAPP_INSTANCE | "instance64209" |
| APIWHATSAPP_TOKEN | "ah2py62ysifzoz4q" |
| APP_ENV | "dev" |
| APP_SECRET | "1a8b4f9e437e2a386c155041d6f0be30" |
| CONFIG_MODO_INICIO | "1" |
| CONFIG_NOMBRE | "Administración de prueba Lansimplex" |
| CONFIG_OCULTA_BBDD | "1" |
| DATABASE_URL | "mysql://central-ia:13s2aTEj34234.BT@localhost:3306/central-ia" |
| MAILER_DSN | "smtp://user:pass@localhost:port" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| MODO_DEV | "1" |
| OPENAI_API_KEY | "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" |
| PHP_CLI_BINARY | "/opt/plesk/php/8.2/bin/php" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTENT_LENGTH | "467" |
| CONTENT_TYPE | "application/json" |
| CONTEXT_DOCUMENT_ROOT | "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/public" |
| CONTEXT_PREFIX | "" |
| DOCUMENT_ROOT | "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/var/www/vhosts/lansimplex.es" |
| HTTPS | "on" |
| HTTP_ACCEPT | "application/json, text/plain, */*" |
| HTTP_ACCEPT_ENCODING | "gzip, compress, deflate, br" |
| HTTP_CONNECTION | "close" |
| HTTP_HOST | "central-ia.lansimplex.es" |
| HTTP_USER_AGENT | "axios/1.13.2" |
| HTTP_X_ACCEL_INTERNAL | "/internal-nginx-static-location" |
| HTTP_X_REAL_IP | "65.21.236.249" |
| PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
| PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" |
| PERL5LIB | "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
| PHP_SELF | "/index.php" |
| QS_AllConn | "1" |
| QS_ConnectionId | "17764339922004484921667" |
| QS_SrvConn | "1" |
| QUERY_STRING | "" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY | "0" |
| REDIRECT_PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY | "0" |
| REDIRECT_PERL5LIB | "/usr/share/awstats/lib:/usr/share/awstats/plugins" |
| REDIRECT_QS_AllConn | "1" |
| REDIRECT_QS_ConnectionId | "17764339922004484921667" |
| REDIRECT_QS_SrvConn | "1" |
| REDIRECT_SSL_TLS_SNI | "central-ia.lansimplex.es" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aeI7SBDqhymW3TRXUViDkwAAAJU" |
| REDIRECT_URL | "/gestion/whatsapp/webhook/1" |
| REMOTE_ADDR | "65.21.236.249" |
| REMOTE_PORT | "47838" |
| REQUEST_METHOD | "POST" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1776433992 |
| REQUEST_TIME_FLOAT | 1776433992.211 |
| REQUEST_URI | "/gestion/whatsapp/webhook/1" |
| SCRIPT_FILENAME | "/var/www/vhosts/lansimplex.es/central-ia.lansimplex.es/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "89.248.107.148" |
| SERVER_ADMIN | "root@localhost" |
| SERVER_NAME | "central-ia.lansimplex.es" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "central-ia.lansimplex.es" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,APIGADMIN_URLBASE,APIGADMIN_KEY,APIGADMIN_SORTEO_ACTIVO,APIGADMIN_ENABLED,APISMS_URLBASE,APISMS_ID,APISMS_PASS,APISMS_ROUTE,APIWHATSAPP_TOKEN,APIWHATSAPP_INSTANCE,CONFIG_MODO_INICIO,CONFIG_OCULTA_BBDD,CONFIG_NOMBRE,MODO_DEV,PHP_CLI_BINARY,OPENAI_API_KEY" |
| UNIQUE_ID | "aeI7SBDqhymW3TRXUViDkwAAAJU" |
| USER | "lansimplex.es_sg5nm40z8o" |
| proxy-nokeepalive | "1" |