WebhookController :: receiveWebhook
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
Key | Value |
---|---|
_bar | App\Entity\Bar {#643 -bar_id: 2 -evento: Doctrine\ORM\PersistentCollection {#637 …} -bar_name: "aimee" -color: "DarkOrange" -bar_fullname: "Aimée" } |
_controller | "App\Controller\WebhookController::receiveWebhook" |
_firewall_context | "security.firewall.map.context.main" |
_route | "app_webhook_receive" |
_route_params | [] |
_security_firewall_run | "_security_main" |
_stopwatch_token | "bc99dc" |
Request Headers
Header | Value |
---|---|
accept | "application/json" |
accept-encoding | "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" |
content-length | "2454" |
content-type | "application/json" |
host | "aimee.sysbar.com.br" |
user-agent | "rest-client/2.1.0 (linux x86_64) ruby/3.3.3p89" |
x-php-ob-level | "0" |
Request Content
Pretty
{ "account": { "id": 3, "name": "Maandhoo" }, "additional_attributes": {}, "content_attributes": {}, "content_type": "text", "content": "Ol\u00e1, no momento n\u00e3o estou dispon\u00edvel. O atendimento whatsapp \u00e9 de ter\u00e7a a s\u00e1bado a partir das 13h.", "conversation": { "additional_attributes": {}, "can_reply": true, "channel": "Channel::Api", "contact_inbox": { "id": 1502, "contact_id": 842, "inbox_id": 25, "source_id": "f7f71556-c6a8-427b-a0a6-ac48c796ac2e", "created_at": "2025-05-05T18:25:34.100Z", "updated_at": "2025-05-05T18:25:34.100Z", "hmac_verified": false, "pubsub_token": "q4TdKTfiYrdhHVRKe3JzGBwk" }, "id": 672, "inbox_id": 25, "messages": [ { "id": 6484, "content": "Ol\u00e1, no momento n\u00e3o estou dispon\u00edvel. O atendimento whatsapp \u00e9 de ter\u00e7a a s\u00e1bado a partir das 13h.", "account_id": 3, "inbox_id": 25, "conversation_id": 672, "message_type": 1, "created_at": 1746469535, "updated_at": "2025-05-05T18:25:35.212Z", "private": false, "status": "sent", "source_id": "WAID:F172A05711C2B17397CDF5AC968D4182", "content_type": "text", "content_attributes": {}, "sender_type": "User", "sender_id": 7, "external_source_ids": {}, "additional_attributes": {}, "processed_message_content": "Ol\u00e1, no momento n\u00e3o estou dispon\u00edvel. O atendimento whatsapp \u00e9 de ter\u00e7a a s\u00e1bado a partir das 13h.", "sentiment": {}, "conversation": { "assignee_id": null, "unread_count": 1, "last_activity_at": 1746469535, "contact_inbox": { "source_id": "f7f71556-c6a8-427b-a0a6-ac48c796ac2e" } }, "sender": { "id": 7, "name": "Iago", "available_name": "Iago", "avatar_url": "", "type": "user", "availability_status": null, "thumbnail": "" } } ], "labels": [ "maandhoo" ], "meta": { "sender": { "additional_attributes": {}, "custom_attributes": {}, "email": null, "id": 842, "identifier": "555497067202@s.whatsapp.net", "name": "douglaspaz301", "phone_number": "+555497067202", "thumbnail": "", "blocked": false, "type": "contact" }, "assignee": null, "team": { "id": 6, "name": "maandhoo" }, "hmac_verified": false }, "status": "open", "custom_attributes": {}, "snoozed_until": null, "unread_count": 1, "first_reply_created_at": "2025-05-05T18:25:34.611Z", "priority": null, "waiting_since": 0, "agent_last_seen_at": 0, "contact_last_seen_at": 1746469534, "last_activity_at": 1746469535, "timestamp": 1746469535, "created_at": 1746469534, "updated_at": 1746469535.2307379245758056640625 }, "created_at": "2025-05-05T18:25:35.212Z", "id": 6484, "inbox": { "id": 25, "name": "97151002" }, "message_type": "outgoing", "private": false, "sender": { "id": 7, "name": "Iago", "email": "iagodalcin@gmail.com", "type": "user" }, "source_id": "WAID:F172A05711C2B17397CDF5AC968D4182", "event": "message_created" }
Raw
{"account":{"id":3,"name":"Maandhoo"},"additional_attributes":{},"content_attributes":{},"content_type":"text","content":"Olá, no momento não estou disponível. O atendimento whatsapp é de terça a sábado a partir das 13h.","conversation":{"additional_attributes":{},"can_reply":true,"channel":"Channel::Api","contact_inbox":{"id":1502,"contact_id":842,"inbox_id":25,"source_id":"f7f71556-c6a8-427b-a0a6-ac48c796ac2e","created_at":"2025-05-05T18:25:34.100Z","updated_at":"2025-05-05T18:25:34.100Z","hmac_verified":false,"pubsub_token":"q4TdKTfiYrdhHVRKe3JzGBwk"},"id":672,"inbox_id":25,"messages":[{"id":6484,"content":"Olá, no momento não estou disponível. O atendimento whatsapp é de terça a sábado a partir das 13h.","account_id":3,"inbox_id":25,"conversation_id":672,"message_type":1,"created_at":1746469535,"updated_at":"2025-05-05T18:25:35.212Z","private":false,"status":"sent","source_id":"WAID:F172A05711C2B17397CDF5AC968D4182","content_type":"text","content_attributes":{},"sender_type":"User","sender_id":7,"external_source_ids":{},"additional_attributes":{},"processed_message_content":"Olá, no momento não estou disponível. O atendimento whatsapp é de terça a sábado a partir das 13h.","sentiment":{},"conversation":{"assignee_id":null,"unread_count":1,"last_activity_at":1746469535,"contact_inbox":{"source_id":"f7f71556-c6a8-427b-a0a6-ac48c796ac2e"}},"sender":{"id":7,"name":"Iago","available_name":"Iago","avatar_url":"","type":"user","availability_status":null,"thumbnail":""}}],"labels":["maandhoo"],"meta":{"sender":{"additional_attributes":{},"custom_attributes":{},"email":null,"id":842,"identifier":"555497067202@s.whatsapp.net","name":"douglaspaz301","phone_number":"+555497067202","thumbnail":"","blocked":false,"type":"contact"},"assignee":null,"team":{"id":6,"name":"maandhoo"},"hmac_verified":false},"status":"open","custom_attributes":{},"snoozed_until":null,"unread_count":1,"first_reply_created_at":"2025-05-05T18:25:34.611Z","priority":null,"waiting_since":0,"agent_last_seen_at":0,"contact_last_seen_at":1746469534,"last_activity_at":1746469535,"timestamp":1746469535,"created_at":1746469534,"updated_at":1746469535.230738},"created_at":"2025-05-05T18:25:35.212Z","id":6484,"inbox":{"id":25,"name":"97151002"},"message_type":"outgoing","private":false,"sender":{"id":7,"name":"Iago","email":"iagodalcin@gmail.com","type":"user"},"source_id":"WAID:F172A05711C2B17397CDF5AC968D4182","event":"message_created"}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Mon, 05 May 2025 18:25:35 GMT" |
x-content-type-options | "nosniff" |
x-debug-token | "e36c6b" |
x-frame-options | "DENY" |
x-xss-protection | "1; mode=block" |
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" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php" "line" => 41 "function" => "getMetadataBag" "class" => "Symfony\Component\HttpFoundation\Session\Session" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Authenticator/RememberMeAuthenticator.php" "line" => 69 "function" => "getToken" "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Authentication/AuthenticatorManager.php" "line" => 111 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authenticator\RememberMeAuthenticator" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Firewall/AuthenticatorManagerListener.php" "line" => 34 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authentication\AuthenticatorManager" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Authenticator/Debug/TraceableAuthenticatorManagerListener.php" "line" => 40 "function" => "supports" "class" => "Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php" "line" => 38 "function" => "supports" "class" => "Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticatorManagerListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Firewall/AbstractListener.php" "line" => 25 "function" => "supports" "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-bundle/Security/LazyFirewallContext.php" "line" => 60 "function" => "__invoke" "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php" "line" => 77 "function" => "__invoke" "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/security-http/Firewall.php" "line" => 95 "function" => "callListeners" "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/event-dispatcher/Debug/WrappedListener.php" "line" => 116 "function" => "onKernelRequest" "class" => "Symfony\Component\Security\Http\Firewall" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 206 "function" => "__invoke" "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/event-dispatcher/EventDispatcher.php" "line" => 56 "function" => "callListeners" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php" "line" => 127 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\EventDispatcher" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/http-kernel/HttpKernel.php" "line" => 154 "function" => "dispatch" "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/http-kernel/HttpKernel.php" "line" => 76 "function" => "handleRaw" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/http-kernel/Kernel.php" "line" => 185 "function" => "handle" "class" => "Symfony\Component\HttpKernel\HttpKernel" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php" "line" => 35 "function" => "handle" "class" => "Symfony\Component\HttpKernel\Kernel" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/vendor/autoload_runtime.php" "line" => 29 "function" => "run" "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner" "type" => "->" ] [ "file" => "/home3/treine90/aimee.sysbar.com.br/public/index.php" "line" => 5 "args" => [ "/home3/treine90/aimee.sysbar.com.br/vendor/autoload_runtime.php" ] "function" => "require_once" ] ] |
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_ENV | "dev" |
APP_SECRET | "9e2a00714dd50b3d3ddc93b8ee951cf5" |
BAR_FULLNAME | "Aimée Plage et Musique" |
BAR_ID | "2" |
BAR_NAME | "aimee" |
CHATWOOT_ACCOUNT_ID | "3" |
CHATWOOT_API_TOKEN | "nZHLfgwbdBuBNQcmYQ46mw5G" |
CHATWOOT_API_URL | "https://chatwoot.sysfit.chat" |
DATABASE_URL | "mysql://treine90_sysbar_aimee:123sysbar123aimee@127.0.0.1:3306/treine90_sysbar_aimee?serverVersion=5.7.23-23&charset=utf8mb4" |
MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
BASE | "/public" |
CONTENT_LENGTH | "2454" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/home3/treine90/aimee.sysbar.com.br" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/home3/treine90/aimee.sysbar.com.br" |
HTTPS | "on" |
HTTP_ACCEPT | "application/json" |
HTTP_ACCEPT_ENCODING | "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" |
HTTP_HOST | "aimee.sysbar.com.br" |
HTTP_USER_AGENT | "rest-client/2.1.0 (linux x86_64) ruby/3.3.3p89" |
LSPHP_ENABLE_USER_INI | "on" |
PATH | "/usr/local/bin:/usr/bin:/bin" |
PHP_SELF | "/public/index.php" |
PWD | "/" |
QS_AllConn | "280" |
QS_ConnectionId | "174646953546067711548947" |
QS_SrvConn | "280" |
QUERY_STRING | "" |
REDIRECT_BASE | "/public" |
REDIRECT_HTTPS | "on" |
REDIRECT_QS_AllConn | "280" |
REDIRECT_QS_ConnectionId | "174646953546067711548947" |
REDIRECT_QS_SrvConn | "280" |
REDIRECT_REDIRECT_HTTPS | "on" |
REDIRECT_REDIRECT_QS_AllConn | "280" |
REDIRECT_REDIRECT_QS_ConnectionId | "174646953546067711548947" |
REDIRECT_REDIRECT_QS_SrvConn | "280" |
REDIRECT_REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_REDIRECT_STATUS | "200" |
REDIRECT_REDIRECT_UNIQUE_ID | "aBkCn7A2d257jE0pkjsT1QAAAf8" |
REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "aBkCn7A2d257jE0pkjsT1QAAAf8" |
REDIRECT_URL | "/public/service/webhook" |
REMOTE_ADDR | "159.65.246.159" |
REMOTE_PORT | "52594" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1746469535 |
REQUEST_TIME_FLOAT | 1746469535.4722 |
REQUEST_URI | "/service/webhook" |
SCRIPT_FILENAME | "/home3/treine90/aimee.sysbar.com.br/public/index.php" |
SCRIPT_NAME | "/public/index.php" |
SERVER_ADDR | "162.241.203.11" |
SERVER_ADMIN | "webmaster@aimee.sysbar.com.br" |
SERVER_NAME | "aimee.sysbar.com.br" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SSL_TLS_SNI | "aimee.sysbar.com.br" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,DATABASE_URL,MESSENGER_TRANSPORT_DSN,BAR_ID,BAR_NAME,BAR_FULLNAME,CHATWOOT_API_URL,CHATWOOT_API_TOKEN,CHATWOOT_ACCOUNT_ID" |
TEMP | "/tmp" |
TMP | "/tmp" |
TMPDIR | "/tmp" |
UNIQUE_ID | "aBkCn7A2d257jE0pkjsT1QAAAf8" |
argc | 0 |
argv | [] |