WebhookController :: receiveWebhook
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
Key | Value |
---|---|
_bar | App\Entity\Bar {#581 -bar_id: 2 -evento: Doctrine\ORM\PersistentCollection {#600 …} -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 | "57a9d9" |
Request Headers
Header | Value |
---|---|
accept | "application/json" |
accept-encoding | "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" |
content-length | "2550" |
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": "Tem algum desconto ?", "conversation": { "additional_attributes": {}, "can_reply": true, "channel": "Channel::Api", "contact_inbox": { "id": 1430, "contact_id": 799, "inbox_id": 26, "source_id": "32f18745-5dbb-4c29-857d-84957a612c66", "created_at": "2025-05-05T11:06:43.867Z", "updated_at": "2025-05-05T11:06:43.867Z", "hmac_verified": false, "pubsub_token": "RzKHm1LdbKWGkG58QWBVFpWp" }, "id": 650, "inbox_id": 26, "messages": [ { "id": 5867, "content": "Tem algum desconto ?", "account_id": 3, "inbox_id": 26, "conversation_id": 650, "message_type": 0, "created_at": 1746443210, "updated_at": "2025-05-05T11:06:50.124Z", "private": false, "status": "sent", "source_id": "WAID:8FD5ACC2A12D6B37261E2FD5E4F46A6D", "content_type": "text", "content_attributes": {}, "sender_type": "Contact", "sender_id": 799, "external_source_ids": {}, "additional_attributes": {}, "processed_message_content": "Tem algum desconto ?", "sentiment": {}, "conversation": { "assignee_id": 7, "unread_count": 2, "last_activity_at": 1746443210, "contact_inbox": { "source_id": "32f18745-5dbb-4c29-857d-84957a612c66" } }, "sender": { "additional_attributes": {}, "custom_attributes": {}, "email": null, "id": 799, "identifier": "554791711426@s.whatsapp.net", "name": "...", "phone_number": "+554791711426", "thumbnail": "", "blocked": false, "type": "contact" } } ], "labels": [ "maandhoo" ], "meta": { "sender": { "additional_attributes": {}, "custom_attributes": {}, "email": null, "id": 799, "identifier": "554791711426@s.whatsapp.net", "name": "...", "phone_number": "+554791711426", "thumbnail": "", "blocked": false, "type": "contact" }, "assignee": { "id": 7, "name": "Iago", "available_name": "Iago", "avatar_url": "", "type": "user", "availability_status": null, "thumbnail": "" }, "team": { "id": 6, "name": "maandhoo" }, "hmac_verified": false }, "status": "open", "custom_attributes": {}, "snoozed_until": null, "unread_count": 2, "first_reply_created_at": null, "priority": null, "waiting_since": 1746443203, "agent_last_seen_at": 0, "contact_last_seen_at": 0, "last_activity_at": 1746443210, "timestamp": 1746443210, "created_at": 1746443203, "updated_at": 1746443210.1265227794647216796875 }, "created_at": "2025-05-05T11:06:50.124Z", "id": 5867, "inbox": { "id": 26, "name": "99300283" }, "message_type": "incoming", "private": false, "sender": { "account": { "id": 3, "name": "Maandhoo" }, "additional_attributes": {}, "avatar": "", "custom_attributes": {}, "email": null, "id": 799, "identifier": "554791711426@s.whatsapp.net", "name": "...", "phone_number": "+554791711426", "thumbnail": "", "blocked": false }, "source_id": "WAID:8FD5ACC2A12D6B37261E2FD5E4F46A6D", "event": "message_created" }
Raw
{"account":{"id":3,"name":"Maandhoo"},"additional_attributes":{},"content_attributes":{},"content_type":"text","content":"Tem algum desconto ?","conversation":{"additional_attributes":{},"can_reply":true,"channel":"Channel::Api","contact_inbox":{"id":1430,"contact_id":799,"inbox_id":26,"source_id":"32f18745-5dbb-4c29-857d-84957a612c66","created_at":"2025-05-05T11:06:43.867Z","updated_at":"2025-05-05T11:06:43.867Z","hmac_verified":false,"pubsub_token":"RzKHm1LdbKWGkG58QWBVFpWp"},"id":650,"inbox_id":26,"messages":[{"id":5867,"content":"Tem algum desconto ?","account_id":3,"inbox_id":26,"conversation_id":650,"message_type":0,"created_at":1746443210,"updated_at":"2025-05-05T11:06:50.124Z","private":false,"status":"sent","source_id":"WAID:8FD5ACC2A12D6B37261E2FD5E4F46A6D","content_type":"text","content_attributes":{},"sender_type":"Contact","sender_id":799,"external_source_ids":{},"additional_attributes":{},"processed_message_content":"Tem algum desconto ?","sentiment":{},"conversation":{"assignee_id":7,"unread_count":2,"last_activity_at":1746443210,"contact_inbox":{"source_id":"32f18745-5dbb-4c29-857d-84957a612c66"}},"sender":{"additional_attributes":{},"custom_attributes":{},"email":null,"id":799,"identifier":"554791711426@s.whatsapp.net","name":"...","phone_number":"+554791711426","thumbnail":"","blocked":false,"type":"contact"}}],"labels":["maandhoo"],"meta":{"sender":{"additional_attributes":{},"custom_attributes":{},"email":null,"id":799,"identifier":"554791711426@s.whatsapp.net","name":"...","phone_number":"+554791711426","thumbnail":"","blocked":false,"type":"contact"},"assignee":{"id":7,"name":"Iago","available_name":"Iago","avatar_url":"","type":"user","availability_status":null,"thumbnail":""},"team":{"id":6,"name":"maandhoo"},"hmac_verified":false},"status":"open","custom_attributes":{},"snoozed_until":null,"unread_count":2,"first_reply_created_at":null,"priority":null,"waiting_since":1746443203,"agent_last_seen_at":0,"contact_last_seen_at":0,"last_activity_at":1746443210,"timestamp":1746443210,"created_at":1746443203,"updated_at":1746443210.1265228},"created_at":"2025-05-05T11:06:50.124Z","id":5867,"inbox":{"id":26,"name":"99300283"},"message_type":"incoming","private":false,"sender":{"account":{"id":3,"name":"Maandhoo"},"additional_attributes":{},"avatar":"","custom_attributes":{},"email":null,"id":799,"identifier":"554791711426@s.whatsapp.net","name":"...","phone_number":"+554791711426","thumbnail":"","blocked":false},"source_id":"WAID:8FD5ACC2A12D6B37261E2FD5E4F46A6D","event":"message_created"}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Mon, 05 May 2025 11:06:50 GMT" |
x-content-type-options | "nosniff" |
x-debug-token | "be3832" |
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 | "2550" |
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 | "94" |
QS_ConnectionId | "174644321031670011447154" |
QS_SrvConn | "94" |
QUERY_STRING | "" |
REDIRECT_BASE | "/public" |
REDIRECT_HTTPS | "on" |
REDIRECT_QS_AllConn | "94" |
REDIRECT_QS_ConnectionId | "174644321031670011447154" |
REDIRECT_QS_SrvConn | "94" |
REDIRECT_REDIRECT_HTTPS | "on" |
REDIRECT_REDIRECT_QS_AllConn | "94" |
REDIRECT_REDIRECT_QS_ConnectionId | "174644321031670011447154" |
REDIRECT_REDIRECT_QS_SrvConn | "94" |
REDIRECT_REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_REDIRECT_STATUS | "200" |
REDIRECT_REDIRECT_UNIQUE_ID | "aBibymU_R_QO70IeTqzn0wAAAAs" |
REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "aBibymU_R_QO70IeTqzn0wAAAAs" |
REDIRECT_URL | "/public/service/webhook" |
REMOTE_ADDR | "159.65.246.159" |
REMOTE_PORT | "40064" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1746443210 |
REQUEST_TIME_FLOAT | 1746443210.3252 |
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 | "aBibymU_R_QO70IeTqzn0wAAAAs" |
argc | 0 |
argv | [] |