POST https://aimee.sysbar.com.br/service/webhook

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
"ae465b"

Request Headers

Header Value
accept
"application/json"
accept-encoding
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3"
content-length
"2425"
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": 1515,
            "contact_id": 850,
            "inbox_id": 25,
            "source_id": "bc6982e7-1cf1-4be1-9e2a-c59b68a54093",
            "created_at": "2025-05-05T19:29:28.624Z",
            "updated_at": "2025-05-05T19:29:28.624Z",
            "hmac_verified": false,
            "pubsub_token": "f15muar2dVzVzdvrCE2r9iy4"
        },
        "id": 676,
        "inbox_id": 25,
        "messages": [
            {
                "id": 6557,
                "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": 676,
                "message_type": 1,
                "created_at": 1746473747,
                "updated_at": "2025-05-05T19:35:47.265Z",
                "private": false,
                "status": "sent",
                "source_id": "WAID:A90BCE9BFBBA1072D6F50319021101F7",
                "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": 4,
                    "last_activity_at": 1746473747,
                    "contact_inbox": {
                        "source_id": "bc6982e7-1cf1-4be1-9e2a-c59b68a54093"
                    }
                },
                "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": 850,
                "identifier": "554799413560@s.whatsapp.net",
                "name": "Raquel",
                "phone_number": "+554799413560",
                "thumbnail": "",
                "blocked": false,
                "type": "contact"
            },
            "assignee": null,
            "team": {
                "id": 6,
                "name": "maandhoo"
            },
            "hmac_verified": false
        },
        "status": "open",
        "custom_attributes": {},
        "snoozed_until": null,
        "unread_count": 4,
        "first_reply_created_at": null,
        "priority": null,
        "waiting_since": 1746473368,
        "agent_last_seen_at": 0,
        "contact_last_seen_at": 0,
        "last_activity_at": 1746473747,
        "timestamp": 1746473747,
        "created_at": 1746473368,
        "updated_at": 1746473747.2691020965576171875
    },
    "created_at": "2025-05-05T19:35:47.265Z",
    "id": 6557,
    "inbox": {
        "id": 25,
        "name": "97151002"
    },
    "message_type": "outgoing",
    "private": false,
    "sender": {
        "id": 7,
        "name": "Iago",
        "email": "iagodalcin@gmail.com",
        "type": "user"
    },
    "source_id": "WAID:A90BCE9BFBBA1072D6F50319021101F7",
    "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":1515,"contact_id":850,"inbox_id":25,"source_id":"bc6982e7-1cf1-4be1-9e2a-c59b68a54093","created_at":"2025-05-05T19:29:28.624Z","updated_at":"2025-05-05T19:29:28.624Z","hmac_verified":false,"pubsub_token":"f15muar2dVzVzdvrCE2r9iy4"},"id":676,"inbox_id":25,"messages":[{"id":6557,"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":676,"message_type":1,"created_at":1746473747,"updated_at":"2025-05-05T19:35:47.265Z","private":false,"status":"sent","source_id":"WAID:A90BCE9BFBBA1072D6F50319021101F7","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":4,"last_activity_at":1746473747,"contact_inbox":{"source_id":"bc6982e7-1cf1-4be1-9e2a-c59b68a54093"}},"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":850,"identifier":"554799413560@s.whatsapp.net","name":"Raquel","phone_number":"+554799413560","thumbnail":"","blocked":false,"type":"contact"},"assignee":null,"team":{"id":6,"name":"maandhoo"},"hmac_verified":false},"status":"open","custom_attributes":{},"snoozed_until":null,"unread_count":4,"first_reply_created_at":null,"priority":null,"waiting_since":1746473368,"agent_last_seen_at":0,"contact_last_seen_at":0,"last_activity_at":1746473747,"timestamp":1746473747,"created_at":1746473368,"updated_at":1746473747.269102},"created_at":"2025-05-05T19:35:47.265Z","id":6557,"inbox":{"id":25,"name":"97151002"},"message_type":"outgoing","private":false,"sender":{"id":7,"name":"Iago","email":"iagodalcin@gmail.com","type":"user"},"source_id":"WAID:A90BCE9BFBBA1072D6F50319021101F7","event":"message_created"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Mon, 05 May 2025 19:35:47 GMT"
x-content-type-options
"nosniff"
x-debug-token
"6e0bfe"
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
"2425"
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
"197"
QS_ConnectionId
"1746473747516256901039317"
QS_SrvConn
"197"
QUERY_STRING
""
REDIRECT_BASE
"/public"
REDIRECT_HTTPS
"on"
REDIRECT_QS_AllConn
"197"
REDIRECT_QS_ConnectionId
"1746473747516256901039317"
REDIRECT_QS_SrvConn
"197"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_QS_AllConn
"197"
REDIRECT_REDIRECT_QS_ConnectionId
"1746473747516256901039317"
REDIRECT_REDIRECT_QS_SrvConn
"197"
REDIRECT_REDIRECT_SSL_TLS_SNI
"aimee.sysbar.com.br"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_UNIQUE_ID
"aBkTE35lJ5dbN9YyOJTjfQAAASI"
REDIRECT_SSL_TLS_SNI
"aimee.sysbar.com.br"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aBkTE35lJ5dbN9YyOJTjfQAAASI"
REDIRECT_URL
"/public/service/webhook"
REMOTE_ADDR
"159.65.246.159"
REMOTE_PORT
"35130"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1746473747
REQUEST_TIME_FLOAT
1746473747.5254
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
"aBkTE35lJ5dbN9YyOJTjfQAAASI"
argc
0
argv
[]