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 | "b9b6d7" |
Request Headers
Header | Value |
---|---|
accept | "application/json" |
accept-encoding | "gzip;q=1.0,deflate;q=0.6,identity;q=0.3" |
content-length | "4289" |
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": "E na sexta vai ter alguma coisa?", "conversation": { "additional_attributes": {}, "can_reply": true, "channel": "Channel::Api", "contact_inbox": { "id": 1311, "contact_id": 722, "inbox_id": 25, "source_id": "1fea2a61-1196-4812-8f0e-cd27491bac5e", "created_at": "2025-05-04T00:03:37.327Z", "updated_at": "2025-05-04T00:03:37.327Z", "hmac_verified": false, "pubsub_token": "ZKKhZJ52Z5478Rn6SFWrvLDa" }, "id": 570, "inbox_id": 25, "messages": [ { "id": 6474, "content": "E na sexta vai ter alguma coisa?", "account_id": 3, "inbox_id": 25, "conversation_id": 570, "message_type": 0, "created_at": 1746468607, "updated_at": "2025-05-05T18:10:07.052Z", "private": false, "status": "sent", "source_id": "WAID:3EB07B89B5E43A3E48DF73", "content_type": "text", "content_attributes": {}, "sender_type": "Contact", "sender_id": 722, "external_source_ids": {}, "additional_attributes": {}, "processed_message_content": "E na sexta vai ter alguma coisa?", "sentiment": {}, "conversation": { "assignee_id": null, "unread_count": 3, "last_activity_at": 1746468607, "contact_inbox": { "source_id": "1fea2a61-1196-4812-8f0e-cd27491bac5e" } }, "sender": { "additional_attributes": {}, "custom_attributes": {}, "email": null, "id": 722, "identifier": "554799780045@s.whatsapp.net", "name": "Manfro", "phone_number": "+554799780045", "thumbnail": "https:\/\/chatwoot.makeacademia.chat\/rails\/active_storage\/representations\/redirect\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113\/390346795_1491457124761265_4810348387191807358_n.jpg", "blocked": false, "type": "contact" } } ], "labels": [ "maandhoo" ], "meta": { "sender": { "additional_attributes": {}, "custom_attributes": {}, "email": null, "id": 722, "identifier": "554799780045@s.whatsapp.net", "name": "Manfro", "phone_number": "+554799780045", "thumbnail": "https:\/\/chatwoot.makeacademia.chat\/rails\/active_storage\/representations\/redirect\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113\/390346795_1491457124761265_4810348387191807358_n.jpg", "blocked": false, "type": "contact" }, "assignee": null, "team": { "id": 6, "name": "maandhoo" }, "hmac_verified": false }, "status": "open", "custom_attributes": {}, "snoozed_until": null, "unread_count": 3, "first_reply_created_at": "2025-05-04T00:21:04.222Z", "priority": null, "waiting_since": 0, "agent_last_seen_at": 1746321026, "contact_last_seen_at": 0, "last_activity_at": 1746468607, "timestamp": 1746468607, "created_at": 1746317017, "updated_at": 1746468607.0559680461883544921875 }, "created_at": "2025-05-05T18:10:07.052Z", "id": 6474, "inbox": { "id": 25, "name": "97151002" }, "message_type": "incoming", "private": false, "sender": { "account": { "id": 3, "name": "Maandhoo" }, "additional_attributes": {}, "avatar": "https:\/\/chatwoot.makeacademia.chat\/rails\/active_storage\/representations\/redirect\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113\/390346795_1491457124761265_4810348387191807358_n.jpg", "custom_attributes": {}, "email": null, "id": 722, "identifier": "554799780045@s.whatsapp.net", "name": "Manfro", "phone_number": "+554799780045", "thumbnail": "https:\/\/chatwoot.makeacademia.chat\/rails\/active_storage\/representations\/redirect\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a\/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113\/390346795_1491457124761265_4810348387191807358_n.jpg", "blocked": false }, "source_id": "WAID:3EB07B89B5E43A3E48DF73", "event": "message_created" }
Raw
{"account":{"id":3,"name":"Maandhoo"},"additional_attributes":{},"content_attributes":{},"content_type":"text","content":"E na sexta vai ter alguma coisa?","conversation":{"additional_attributes":{},"can_reply":true,"channel":"Channel::Api","contact_inbox":{"id":1311,"contact_id":722,"inbox_id":25,"source_id":"1fea2a61-1196-4812-8f0e-cd27491bac5e","created_at":"2025-05-04T00:03:37.327Z","updated_at":"2025-05-04T00:03:37.327Z","hmac_verified":false,"pubsub_token":"ZKKhZJ52Z5478Rn6SFWrvLDa"},"id":570,"inbox_id":25,"messages":[{"id":6474,"content":"E na sexta vai ter alguma coisa?","account_id":3,"inbox_id":25,"conversation_id":570,"message_type":0,"created_at":1746468607,"updated_at":"2025-05-05T18:10:07.052Z","private":false,"status":"sent","source_id":"WAID:3EB07B89B5E43A3E48DF73","content_type":"text","content_attributes":{},"sender_type":"Contact","sender_id":722,"external_source_ids":{},"additional_attributes":{},"processed_message_content":"E na sexta vai ter alguma coisa?","sentiment":{},"conversation":{"assignee_id":null,"unread_count":3,"last_activity_at":1746468607,"contact_inbox":{"source_id":"1fea2a61-1196-4812-8f0e-cd27491bac5e"}},"sender":{"additional_attributes":{},"custom_attributes":{},"email":null,"id":722,"identifier":"554799780045@s.whatsapp.net","name":"Manfro","phone_number":"+554799780045","thumbnail":"https://chatwoot.makeacademia.chat/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113/390346795_1491457124761265_4810348387191807358_n.jpg","blocked":false,"type":"contact"}}],"labels":["maandhoo"],"meta":{"sender":{"additional_attributes":{},"custom_attributes":{},"email":null,"id":722,"identifier":"554799780045@s.whatsapp.net","name":"Manfro","phone_number":"+554799780045","thumbnail":"https://chatwoot.makeacademia.chat/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113/390346795_1491457124761265_4810348387191807358_n.jpg","blocked":false,"type":"contact"},"assignee":null,"team":{"id":6,"name":"maandhoo"},"hmac_verified":false},"status":"open","custom_attributes":{},"snoozed_until":null,"unread_count":3,"first_reply_created_at":"2025-05-04T00:21:04.222Z","priority":null,"waiting_since":0,"agent_last_seen_at":1746321026,"contact_last_seen_at":0,"last_activity_at":1746468607,"timestamp":1746468607,"created_at":1746317017,"updated_at":1746468607.055968},"created_at":"2025-05-05T18:10:07.052Z","id":6474,"inbox":{"id":25,"name":"97151002"},"message_type":"incoming","private":false,"sender":{"account":{"id":3,"name":"Maandhoo"},"additional_attributes":{},"avatar":"https://chatwoot.makeacademia.chat/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113/390346795_1491457124761265_4810348387191807358_n.jpg","custom_attributes":{},"email":null,"id":722,"identifier":"554799780045@s.whatsapp.net","name":"Manfro","phone_number":"+554799780045","thumbnail":"https://chatwoot.makeacademia.chat/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBckVGIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--756cd7e9989235e37e987a8054640ae7a2ace58a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RTNKbGMybDZaVjkwYjE5bWFXeHNXd2RwQWZvdyIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--76ce3f568a0080121942f031e551f9eaf0e62113/390346795_1491457124761265_4810348387191807358_n.jpg","blocked":false},"source_id":"WAID:3EB07B89B5E43A3E48DF73","event":"message_created"}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Mon, 05 May 2025 18:10:07 GMT" |
x-content-type-options | "nosniff" |
x-debug-token | "a71e5a" |
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 | "4289" |
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 | "176" |
QS_ConnectionId | "174646860727006905152929" |
QS_SrvConn | "176" |
QUERY_STRING | "" |
REDIRECT_BASE | "/public" |
REDIRECT_HTTPS | "on" |
REDIRECT_QS_AllConn | "176" |
REDIRECT_QS_ConnectionId | "174646860727006905152929" |
REDIRECT_QS_SrvConn | "176" |
REDIRECT_REDIRECT_HTTPS | "on" |
REDIRECT_REDIRECT_QS_AllConn | "176" |
REDIRECT_REDIRECT_QS_ConnectionId | "174646860727006905152929" |
REDIRECT_REDIRECT_QS_SrvConn | "176" |
REDIRECT_REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_REDIRECT_STATUS | "200" |
REDIRECT_REDIRECT_UNIQUE_ID | "aBj-__WnWWFNG_Hx81GUEgAAAM0" |
REDIRECT_SSL_TLS_SNI | "aimee.sysbar.com.br" |
REDIRECT_STATUS | "200" |
REDIRECT_UNIQUE_ID | "aBj-__WnWWFNG_Hx81GUEgAAAM0" |
REDIRECT_URL | "/public/service/webhook" |
REMOTE_ADDR | "159.65.246.159" |
REMOTE_PORT | "48334" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1746468607 |
REQUEST_TIME_FLOAT | 1746468607.2809 |
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 | "aBj-__WnWWFNG_Hx81GUEgAAAM0" |
argc | 0 |
argv | [] |