{"id":1753,"date":"2026-11-10T19:24:36","date_gmt":"2026-11-10T19:24:36","guid":{"rendered":"https:\/\/vectalk.com.br\/blog\/whatsapp-webhook-docker-vps\/"},"modified":"2026-11-10T19:24:40","modified_gmt":"2026-11-10T19:24:40","slug":"whatsapp-webhook-docker-vps","status":"publish","type":"post","link":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/","title":{"rendered":"Running the WhatsApp webhook in production with Docker on a VPS"},"content":{"rendered":"\n<p><em>Updated on November 10, 2026<\/em><\/p>\n\n\n\n<p>To run the WhatsApp webhook with Docker on a VPS you need four pieces: a reverse proxy that serves HTTPS with a valid certificate (Caddy, or Nginx with Certbot), an app that returns <code>200<\/code> fast and pushes the event onto a queue, a worker that processes the queue, and Redis to store the jobs. Add <code>restart: unless-stopped<\/code>, a <code>HEALTHCHECK<\/code> and log rotation, and the stack recovers from crashes on its own without filling the disk.<\/p>\n\n\n\n<p>This article includes the complete files (<code>docker-compose.yml<\/code>, <code>Dockerfile<\/code>, <code>Caddyfile<\/code> and a Node.js app) and explains each decision. If your webhook isn&#8217;t receiving anything yet, start with the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-not-working\/\">WhatsApp webhook not working checklist<\/a>. If you&#8217;d rather not maintain a server, compare with a <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-aws-lambda-serverless\/\">serverless webhook<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Meta requires from the endpoint<\/h2>\n\n\n\n<p>Requirements first, infrastructure second. According to <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/webhooks\/create-webhook-endpoint\" target=\"_blank\" rel=\"noreferrer noopener\">Create a webhook endpoint<\/a> and the <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/webhooks\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">webhooks overview<\/a>:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Requirement<\/th><th>What the docs say<\/th><th>Impact on Docker<\/th><\/tr><\/thead><tbody><tr><td>HTTPS<\/td><td>Valid TLS certificate; self-signed is not supported<\/td><td>The proxy must issue and renew a public certificate<\/td><\/tr><tr><td>Verification<\/td><td>GET with <code>hub.mode=subscribe<\/code>, <code>hub.challenge<\/code> and <code>hub.verify_token<\/code>; respond <code>200<\/code> with the <code>hub.challenge<\/code><\/td><td>GET route in the app, token in an environment variable<\/td><\/tr><tr><td>Signature<\/td><td>POST with <code>X-Hub-Signature-256<\/code>, HMAC-SHA256 of the body keyed with the app secret, <code>sha256=<\/code> prefix<\/td><td>The proxy must not alter the body; validate against the raw bytes<\/td><\/tr><tr><td>Response<\/td><td><code>200<\/code> for a valid request<\/td><td>Respond before processing<\/td><\/tr><tr><td>Redelivery<\/td><td>Failures are retried immediately, then with decreasing frequency for up to 7 days<\/td><td>Duplicates happen; the worker must be idempotent<\/td><\/tr><tr><td>Size<\/td><td>Payloads up to 3 MB<\/td><td>Raise the body limit in the proxy and the app<\/td><\/tr><tr><td>Batching<\/td><td>Up to 1,000 updates per POST, with no batching guarantee<\/td><td>Iterate over <code>entry[]<\/code> and <code>changes[]<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Meta doesn&#8217;t publish a maximum response time, but anything other than <code>200<\/code> triggers a redelivery. That&#8217;s why the design is always the same: validate, enqueue, respond. Signature validation is covered in depth in <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-signature-validation\/\">how to validate X-Hub-Signature-256<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The architecture on the VPS<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">Internet (Meta or Vectalk)\n  -&gt; :443 caddy  (HTTPS, automatic certificate)\n       -&gt; app:3000   (verifies, validates, enqueues, returns 200)\n            -&gt; redis:6379  (BullMQ queue, AOF persistence)\n                 -&gt; worker  (processes, deduplicates, runs your logic)<\/code><\/pre>\n\n\n\n<p>Only Caddy publishes ports. The app, the worker and Redis stay on the internal Compose network. This matters because, according to <a href=\"https:\/\/docs.docker.com\/engine\/network\/packet-filtering-firewalls\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker&#8217;s firewall documentation<\/a>, ports published with <code>ports:<\/code> go through Docker&#8217;s own rules and can bypass whatever you configured in ufw. If port 3000 isn&#8217;t published, there&#8217;s nothing to leak.<\/p>\n\n\n\n<p>Folder layout:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">webhook\/\n  docker-compose.yml\n  .env\n  conf\/\n    Caddyfile\n  app\/\n    Dockerfile\n    package.json\n    server.js\n    worker.js<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The app: verification, signature and queue<\/h2>\n\n\n\n<p>The receiver uses Express and <a href=\"https:\/\/docs.bullmq.io\/\" target=\"_blank\" rel=\"noreferrer noopener\">BullMQ<\/a>. The critical part is reading the body as a <code>Buffer<\/code> (<code>express.raw<\/code>) before any parsing, because the HMAC is computed over the exact bytes Meta sent.<\/p>\n\n\n\n<p><code>app\/package.json<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-json\">{\n  \"name\": \"whatsapp-webhook\",\n  \"type\": \"module\",\n  \"private\": true,\n  \"dependencies\": {\n    \"bullmq\": \"^5.0.0\",\n    \"express\": \"^4.21.0\",\n    \"ioredis\": \"^5.4.0\"\n  }\n}<\/code><\/pre>\n\n\n\n<p><code>app\/server.js<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-js\">import express from \"express\";\nimport crypto from \"node:crypto\";\nimport { Queue } from \"bullmq\";\n\nconst {\n  PORT = \"3000\",\n  VERIFY_TOKEN,\n  APP_SECRET,          \/\/ required if Meta calls you directly\n  PATH_SECRET,         \/\/ secret in the URL, useful when there is no signature\n  REDIS_HOST = \"redis\",\n} = process.env;\n\nconst connection = { host: REDIS_HOST, port: 6379 };\nconst queue = new Queue(\"whatsapp-webhook\", { connection });\nconst app = express();\nconst WEBHOOK_PATH = PATH_SECRET ? `\/webhook\/${PATH_SECRET}` : \"\/webhook\";\n\nfunction validSignature(raw, header = \"\") {\n  const expected = \"sha256=\" + crypto.createHmac(\"sha256\", APP_SECRET).update(raw).digest(\"hex\");\n  const a = Buffer.from(header);\n  const b = Buffer.from(expected);\n  return a.length === b.length &amp;&amp; crypto.timingSafeEqual(a, b);\n}\n\n\/\/ Verification (GET) sent by Meta when you save the URL\napp.get(WEBHOOK_PATH, (req, res) =&gt; {\n  if (req.query[\"hub.mode\"] === \"subscribe\" &amp;&amp; req.query[\"hub.verify_token\"] === VERIFY_TOKEN) {\n    return res.status(200).type(\"text\/plain\").send(req.query[\"hub.challenge\"]);\n  }\n  return res.sendStatus(403);\n});\n\n\/\/ Events (POST): validate, enqueue, respond\napp.post(WEBHOOK_PATH, express.raw({ type: \"*\/*\", limit: \"4mb\" }), async (req, res) =&gt; {\n  if (APP_SECRET &amp;&amp; !validSignature(req.body, req.get(\"x-hub-signature-256\"))) {\n    console.warn(JSON.stringify({ evt: \"invalid_signature\", ip: req.ip }));\n    return res.sendStatus(401);\n  }\n  const jobId = crypto.createHash(\"sha256\").update(req.body).digest(\"hex\");\n  try {\n    await queue.add(\"event\", { raw: req.body.toString(\"utf8\") }, {\n      jobId,                       \/\/ an identical POST redelivered won't duplicate the job\n      attempts: 5,\n      backoff: { type: \"exponential\", delay: 2000 },\n      removeOnComplete: 1000,\n      removeOnFail: 5000,\n    });\n  } catch (err) {\n    console.error(JSON.stringify({ evt: \"queue_unavailable\", error: err.message }));\n    return res.sendStatus(503);   \/\/ no queue: ask for redelivery instead of losing the event\n  }\n  console.log(JSON.stringify({ evt: \"enqueued\", jobId, bytes: req.body.length }));\n  return res.sendStatus(200);\n});\n\n\/\/ Healthcheck: the process is up and can reach Redis\napp.get(\"\/health\", async (_req, res) =&gt; {\n  try {\n    const redis = await queue.client;\n    await redis.ping();\n    res.status(200).json({ ok: true });\n  } catch {\n    res.status(503).json({ ok: false });\n  }\n});\n\nconst server = app.listen(Number(PORT), () =&gt; console.log(JSON.stringify({ evt: \"ready\", port: PORT })));\n\n\/\/ docker stop sends SIGTERM: finish in-flight requests and close the queue\nprocess.on(\"SIGTERM\", () =&gt; {\n  server.close(async () =&gt; {\n    await queue.close();\n    process.exit(0);\n  });\n});<\/code><\/pre>\n\n\n\n<p>Three details in this code:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Returning <code>503<\/code> when Redis is down<\/strong> is intentional. If you return <code>200<\/code> without having stored the event, it&#8217;s lost. With <code>503<\/code>, Meta redelivers.<\/li>\n\n\n<li><strong>The <code>jobId<\/code> is a hash of the body.<\/strong> BullMQ ignores a job whose ID already exists in the queue, so an identical redelivered POST doesn&#8217;t create duplicate work. That doesn&#8217;t replace deduplication in the worker: a redelivery can arrive after the old job has been removed.<\/li>\n\n\n<li><strong><code>limit: \"4mb\"<\/code><\/strong> covers the payloads of up to 3 MB that Meta documents. The <code>express.raw<\/code> default is much smaller.<\/li>\n\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">The worker: process and deduplicate<\/h2>\n\n\n\n<p>The worker runs from the same image with a different command. It walks the batch, skips events already processed and only marks an event as processed after it finishes.<\/p>\n\n\n\n<p><code>app\/worker.js<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-js\">import { Worker } from \"bullmq\";\nimport Redis from \"ioredis\";\n\nconst connection = { host: process.env.REDIS_HOST || \"redis\", port: 6379 };\nconst redis = new Redis(connection);\nconst TTL = 8 * 24 * 3600; \/\/ longer than the 7-day redelivery window\n\nasync function once(key, fn) {\n  if (await redis.exists(key)) return;\n  await fn();\n  await redis.set(key, \"1\", \"EX\", TTL);\n}\n\nasync function handleMessage(msg, metadata) {\n  \/\/ your logic: save to the database, call the CRM, reply through the API...\n  console.log(JSON.stringify({ evt: \"message\", wamid: msg.id, type: msg.type, phone_number_id: metadata?.phone_number_id }));\n}\n\nasync function handleStatus(st) {\n  console.log(JSON.stringify({ evt: \"status\", wamid: st.id, status: st.status }));\n}\n\nconst worker = new Worker(\"whatsapp-webhook\", async (job) =&gt; {\n  const payload = JSON.parse(job.data.raw);\n  for (const entry of payload.entry ?? []) {\n    for (const change of entry.changes ?? []) {\n      const v = change.value ?? {};\n      for (const msg of v.messages ?? []) {\n        await once(`seen:msg:${msg.id}`, () =&gt; handleMessage(msg, v.metadata));\n      }\n      for (const st of v.statuses ?? []) {\n        await once(`seen:st:${st.id}:${st.status}`, () =&gt; handleStatus(st));\n      }\n    }\n  }\n}, { connection, concurrency: 10 });\n\nworker.on(\"failed\", (job, err) =&gt; console.error(JSON.stringify({ evt: \"job_failed\", id: job?.id, error: err.message })));\n\nprocess.on(\"SIGTERM\", async () =&gt; {\n  await worker.close(); \/\/ waits for running jobs\n  await redis.quit();\n  process.exit(0);\n});<\/code><\/pre>\n\n\n\n<p>The status key includes the status itself (<code>sent<\/code>, <code>delivered<\/code>, <code>read<\/code>, <code>failed<\/code>) because each one is a separate event for the same <code>wamid<\/code>. For the full design of queues, retries and idempotency, see <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-api-integration-architecture\/\">WhatsApp API integration architecture<\/a>. If you&#8217;ll also send messages from the same infrastructure, the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-api-queue-redis-bullmq\/\">send queue with Redis and BullMQ<\/a> shows how to throttle by throughput.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dockerfile with HEALTHCHECK<\/h2>\n\n\n\n<p><code>app\/Dockerfile<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-dockerfile\">FROM node:22-alpine\nWORKDIR \/app\nCOPY package*.json .\/\nRUN npm install --omit=dev\nCOPY . .\nUSER node\nEXPOSE 3000\nHEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \\\n  CMD wget -qO- http:\/\/127.0.0.1:3000\/health || exit 1\nCMD [\"node\", \"server.js\"]<\/code><\/pre>\n\n\n\n<p>Per the <a href=\"https:\/\/docs.docker.com\/reference\/dockerfile\/#healthcheck\" target=\"_blank\" rel=\"noreferrer noopener\">Dockerfile reference<\/a>, the healthcheck command returns <code>0<\/code> for healthy and <code>1<\/code> for unhealthy, and the container only becomes <code>unhealthy<\/code> after <code>--retries<\/code> consecutive failures (default 3). The defaults for <code>--interval<\/code> and <code>--timeout<\/code> are 30 seconds; here the timeout drops to 5 seconds, because a <code>\/health<\/code> that takes 30 seconds is already a problem. <code>--start-period<\/code> gives the process time to boot without counting failures.<\/p>\n\n\n\n<p>The exec-form <code>CMD<\/code> (<code>[\"node\", \"server.js\"]<\/code>) lets Node receive <code>SIGTERM<\/code> directly, with no shell in between swallowing the signal. <code>wget<\/code> already ships with the Alpine image.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">docker-compose.yml: restarts, dependencies and logs<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-yaml\">x-logging: &amp;logging\n  driver: json-file\n  options:\n    max-size: \"10m\"\n    max-file: \"5\"\n\nservices:\n  caddy:\n    image: caddy:2\n    restart: unless-stopped\n    ports:\n      - \"80:80\"\n      - \"443:443\"\n      - \"443:443\/udp\"\n    volumes:\n      - .\/conf:\/etc\/caddy\n      - caddy_data:\/data\n      - caddy_config:\/config\n    depends_on:\n      app:\n        condition: service_healthy\n    logging: *logging\n\n  app:\n    build: .\/app\n    env_file: .env\n    restart: unless-stopped\n    init: true\n    depends_on:\n      redis:\n        condition: service_healthy\n    logging: *logging\n\n  worker:\n    build: .\/app\n    command: [\"node\", \"worker.js\"]\n    env_file: .env\n    restart: unless-stopped\n    init: true\n    healthcheck:\n      disable: true\n    depends_on:\n      redis:\n        condition: service_healthy\n    logging: *logging\n\n  redis:\n    image: redis:7-alpine\n    command: [\"redis-server\", \"--appendonly\", \"yes\"]\n    restart: unless-stopped\n    volumes:\n      - redis_data:\/data\n    healthcheck:\n      test: [\"CMD\", \"redis-cli\", \"ping\"]\n      interval: 10s\n      timeout: 3s\n      retries: 5\n    logging: *logging\n\nvolumes:\n  caddy_data:\n  caddy_config:\n  redis_data:<\/code><\/pre>\n\n\n\n<p>And the <code>.env<\/code> file (kept out of Git):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">VERIFY_TOKEN=a-long-random-token\nAPP_SECRET=your-meta-app-secret\nPATH_SECRET=\nREDIS_HOST=redis<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Restart policy<\/h3>\n\n\n\n<p>The <a href=\"https:\/\/docs.docker.com\/engine\/containers\/start-containers-automatically\/\" target=\"_blank\" rel=\"noreferrer noopener\">restart policies documentation<\/a> defines four options:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Policy<\/th><th>Behavior<\/th><th>When to use<\/th><\/tr><\/thead><tbody><tr><td><code>no<\/code><\/td><td>Never restarts (default)<\/td><td>Never in production<\/td><\/tr><tr><td><code>on-failure<\/code><\/td><td>Restarts if the process exits with a non-zero code; doesn&#8217;t come back after the daemon restarts<\/td><td>Jobs that can finish successfully<\/td><\/tr><tr><td><code>always<\/code><\/td><td>Always restarts; if you stopped it manually, it comes back when the daemon restarts<\/td><td>When the service must come up even after a manual <code>stop<\/code> and a reboot<\/td><\/tr><tr><td><code>unless-stopped<\/code><\/td><td>Like <code>always<\/code>, but a manually stopped container stays stopped after the daemon restarts<\/td><td>A sensible default for a webhook<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Two points in the docs catch people off guard. First, the policy only takes effect after the container has stayed up for at least 10 seconds; the rule exists so that a container that never really starts doesn&#8217;t fall into a restart loop. If the app crashes right at startup, check the logs instead of counting on the policy. Second, restart policies react to the container <strong>exiting<\/strong>: the docs don&#8217;t list the <code>unhealthy<\/code> status as a restart trigger. In Compose without Swarm, the healthcheck feeds <code>depends_on<\/code> and lets you see the problem in <code>docker compose ps<\/code>. If you want a restart when the app hangs, make the process exit with an error in that situation (for example, <code>process.exit(1)<\/code> on a fatal error) and let the policy bring it back.<\/p>\n\n\n\n<p>For containers to come back after a VPS reboot, the Docker daemon itself must start on boot (<code>sudo systemctl enable docker<\/code> on systemd distributions).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">depends_on with condition<\/h3>\n\n\n\n<p>With <code>condition: service_healthy<\/code>, Compose waits for the dependency&#8217;s healthcheck to pass before starting the service. In the order above, Redis becomes healthy, then the app, and only then does Caddy start forwarding traffic. The worker inherits the image&#8217;s <code>HEALTHCHECK<\/code>, which would probe an HTTP port it never opens, hence <code>disable: true<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Log rotation<\/h3>\n\n\n\n<p>The default <code>json-file<\/code> driver doesn&#8217;t rotate: per the <a href=\"https:\/\/docs.docker.com\/engine\/logging\/drivers\/json-file\/\" target=\"_blank\" rel=\"noreferrer noopener\">driver documentation<\/a>, <code>max-size<\/code> is unlimited by default and <code>max-file<\/code> only works when <code>max-size<\/code> is set. A busy webhook will quietly fill the disk of a small VPS. The <code>x-logging<\/code> block applies 10 MB per file and 5 files per container. If you&#8217;d rather set it for every container in <code>\/etc\/docker\/daemon.json<\/code>, remember the values are strings (<code>\"max-file\": \"5\"<\/code>) and the change only applies to containers created afterwards.<\/p>\n\n\n\n<p>To read them:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">docker compose logs -f --since 10m app worker\ndocker compose logs caddy | grep -i error<\/code><\/pre>\n\n\n\n<p>The app writes one JSON line per event with the <code>wamid<\/code>, status and size, not the whole payload. WhatsApp messages contain personal data (name, phone number, content), and keeping all of it in container logs with no access control or retention period makes compliance harder under privacy laws such as Brazil&#8217;s LGPD (Law 13,709\/2018) or the GDPR. Check with your legal team; this article is not legal advice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">HTTPS with Caddy<\/h2>\n\n\n\n<p><code>conf\/Caddyfile<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">webhook.yourcompany.com {\n    handle \/health {\n        respond 404\n    }\n    handle {\n        reverse_proxy app:3000\n    }\n}<\/code><\/pre>\n\n\n\n<p>That&#8217;s it. According to the <a href=\"https:\/\/caddyserver.com\/docs\/automatic-https\" target=\"_blank\" rel=\"noreferrer noopener\">automatic HTTPS docs<\/a>, Caddy issues and renews the certificate on its own through a public CA (Let&#8217;s Encrypt, with ZeroSSL as fallback) when three conditions hold: the domain&#8217;s A\/AAAA record points to the VPS, ports 80 and 443 are open to the internet, and the data directory is writable and persistent. It also redirects HTTP to HTTPS.<\/p>\n\n\n\n<p>The data directory is the reason for the <code>caddy_data:\/data<\/code> volume. The <a href=\"https:\/\/hub.docker.com\/_\/caddy\" target=\"_blank\" rel=\"noreferrer noopener\">official image page<\/a> warns that certificates and keys live there; without a volume, every container recreation requests a new certificate and you may hit the CA&#8217;s issuance limits. The same page recommends mounting the <code>\/etc\/caddy<\/code> folder rather than the <code>Caddyfile<\/code> alone, as in the Compose file above. To apply Caddyfile changes without taking the container down:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">docker compose exec -w \/etc\/caddy caddy caddy reload<\/code><\/pre>\n\n\n\n<p><a href=\"https:\/\/caddyserver.com\/docs\/caddyfile\/directives\/reverse_proxy\" target=\"_blank\" rel=\"noreferrer noopener\"><code>reverse_proxy<\/code><\/a> streams the body through unchanged and adds <code>X-Forwarded-For<\/code>, <code>X-Forwarded-Proto<\/code> and <code>X-Forwarded-Host<\/code>. That keeps the signature intact. The <code>handle \/health<\/code> block returns 404 to outside callers: the healthcheck runs inside the container, and there&#8217;s no reason to expose Redis status to the internet.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Alternative: Nginx with Certbot<\/h2>\n\n\n\n<p>If the VPS already runs Nginx, the model is the same, with the certificate issued by <a href=\"https:\/\/eff-certbot.readthedocs.io\/en\/stable\/using.html\" target=\"_blank\" rel=\"noreferrer noopener\">Certbot<\/a>. Publish the app on loopback only (<code>ports: [\"127.0.0.1:3000:3000\"]<\/code>) and use something like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">server {\n    listen 443 ssl;\n    server_name webhook.yourcompany.com;\n\n    ssl_certificate     \/etc\/letsencrypt\/live\/webhook.yourcompany.com\/fullchain.pem;\n    ssl_certificate_key \/etc\/letsencrypt\/live\/webhook.yourcompany.com\/privkey.pem;\n\n    client_max_body_size 4m;\n\n    location \/ {\n        proxy_pass http:\/\/127.0.0.1:3000;\n        proxy_set_header Host $host;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}<\/code><\/pre>\n\n\n\n<p>Two things to watch. Use <code>fullchain.pem<\/code>, not <code>cert.pem<\/code>: the Certbot docs explain that <code>fullchain.pem<\/code> includes the intermediate certificates, and an incomplete chain is a classic reason for Meta to reject the URL. And raise <code>client_max_body_size<\/code>, whose Nginx default (1 MB) is smaller than the 3 MB a payload can reach. Also confirm that automatic renewal is scheduled (<code>systemctl list-timers<\/code> or a cron entry with <code>certbot renew<\/code>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Deploy, test and update<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">docker compose up -d --build\ndocker compose ps    # app and redis should show as healthy<\/code><\/pre>\n\n\n\n<p>Test verification the way Meta does:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">curl \"https:\/\/webhook.yourcompany.com\/webhook?hub.mode=subscribe&amp;hub.verify_token=a-long-random-token&amp;hub.challenge=12345\"\n# expected response: 12345<\/code><\/pre>\n\n\n\n<p>Then a signed POST, to prove the signature survives the proxy:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"language-bash\">BODY='{\"object\":\"whatsapp_business_account\",\"entry\":[]}'\nSIG=$(printf '%s' \"$BODY\" | openssl dgst -sha256 -hmac \"$APP_SECRET\" | sed 's\/^.* \/\/')\ncurl -i -X POST \"https:\/\/webhook.yourcompany.com\/webhook\" \\\n  -H \"Content-Type: application\/json\" \\\n  -H \"X-Hub-Signature-256: sha256=$SIG\" \\\n  --data \"$BODY\"\n# expected: HTTP\/2 200<\/code><\/pre>\n\n\n\n<p>To ship new code, <code>docker compose up -d --build app worker<\/code> recreates only those two services. Requests that fail during the swap come back through redelivery, and the worker deduplicates them.<\/p>\n\n\n\n<p>Production checklist:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Domain with A\/AAAA pointing to the VPS and ports 80\/443 open in the provider&#8217;s firewall.<\/li>\n\n\n<li>Persistent volumes for Caddy&#8217;s <code>\/data<\/code> and for Redis.<\/li>\n\n\n<li><code>VERIFY_TOKEN<\/code>, <code>APP_SECRET<\/code> and <code>PATH_SECRET<\/code> only in <code>.env<\/code>, outside the repository.<\/li>\n\n\n<li>Logs with <code>max-size<\/code> and <code>max-file<\/code>.<\/li>\n\n\n<li><code>restart: unless-stopped<\/code> on every service and Docker enabled on boot.<\/li>\n\n\n<li>An external monitor hitting the public URL (a verification GET with the wrong token should return <code>403<\/code>, not time out).<\/li>\n\n<\/ul>\n\n\n\n<p>If you prefer Python, the same structure works with a <a href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-fastapi\/\">FastAPI webhook<\/a> in place of the Node app: the Dockerfile, Caddyfile and Compose file barely change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to do it with Vectalk<\/h2>\n\n\n\n<p>Vectalk is a proxy for the official Cloud API: it receives Meta&#8217;s webhooks and forwards them to the URLs you register, with the same payload Meta sends. The Meta side of the setup (app subscription on the account, fields, Live mode) is handled by the platform. On your side are exactly the pieces in this article.<\/p>\n\n\n\n<p>According to the <a href=\"https:\/\/docs.vectalk.com.br\/concepts\/webhooks\">Vectalk webhooks documentation<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You register URLs in the dashboard, under the instance, or via API with <code>POST https:\/\/apis.vectalk.com.br\/api\/webhooks<\/code>, sending <code>instance_id<\/code>, <code>url<\/code> and <code>name<\/code> with a Bearer token.<\/li>\n\n\n<li>You can register several URLs per instance, and all of them receive the same event. Handy for pointing production and staging at the same time.<\/li>\n\n\n<li>Your endpoint must return <code>200<\/code> in under 20 seconds; otherwise delivery is retried. The receiver in this article responds in milliseconds.<\/li>\n\n<\/ul>\n\n\n\n<p>The documentation doesn&#8217;t describe a signature header on forwarded events. In that case, leave <code>APP_SECRET<\/code> empty and set <code>PATH_SECRET<\/code> to a long random value: the registered URL becomes <code>https:\/\/webhook.yourcompany.com\/webhook\/&lt;secret&gt;<\/code>, and any request to another path gets a 404. A valid certificate is still required.<\/p>\n\n\n\n<p>To learn how the API works, see the <a href=\"https:\/\/vectalk.com.br\/blog\/en\/official-whatsapp-api\/\">official WhatsApp API guide<\/a>, the <a href=\"https:\/\/docs.vectalk.com.br\">documentation<\/a>, or create your account at <a href=\"https:\/\/apps.vectalk.com.br\/register\">apps.vectalk.com.br\/register<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently asked questions<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can I use a self-signed certificate for the WhatsApp webhook?<\/h3>\n\n\n\n<p>No. Meta&#8217;s documentation says the server needs a valid TLS certificate and that self-signed certificates are not supported. Caddy or Certbot issue free certificates that are accepted.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Does Docker restart a container when its healthcheck turns unhealthy?<\/h3>\n\n\n\n<p>Not through restart policies. They react when the container exits; the docs don&#8217;t treat the <code>unhealthy<\/code> status as a trigger. Use the healthcheck for <code>depends_on<\/code> and monitoring, and make the process exit with an error when it can&#8217;t recover.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">How long does Meta retry a failed webhook?<\/h3>\n\n\n\n<p>According to the documentation, delivery is retried immediately and then a few more times with decreasing frequency for up to 7 days. That&#8217;s why the worker&#8217;s deduplication uses an 8-day TTL.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do I need Redis just to receive webhooks?<\/h3>\n\n\n\n<p>It isn&#8217;t mandatory, but without a queue the processing happens inside the request, and any slowness in the database or an external API turns into redeliveries. With Redis persisted via AOF, the event is stored before the <code>200<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Official sources consulted on November 10, 2026:<\/strong> <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/webhooks\/create-webhook-endpoint\" target=\"_blank\" rel=\"noreferrer noopener\">Create a webhook endpoint (Meta)<\/a>, <a href=\"https:\/\/developers.facebook.com\/documentation\/business-messaging\/whatsapp\/webhooks\/overview\" target=\"_blank\" rel=\"noreferrer noopener\">Webhooks overview (Meta)<\/a>, <a href=\"https:\/\/docs.docker.com\/reference\/dockerfile\/#healthcheck\" target=\"_blank\" rel=\"noreferrer noopener\">Dockerfile HEALTHCHECK<\/a>, <a href=\"https:\/\/docs.docker.com\/engine\/containers\/start-containers-automatically\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker restart policies<\/a>, <a href=\"https:\/\/docs.docker.com\/engine\/logging\/drivers\/json-file\/\" target=\"_blank\" rel=\"noreferrer noopener\">json-file logging driver<\/a>, <a href=\"https:\/\/docs.docker.com\/reference\/compose-file\/services\/\" target=\"_blank\" rel=\"noreferrer noopener\">Compose services<\/a>, <a href=\"https:\/\/docs.docker.com\/engine\/network\/packet-filtering-firewalls\/\" target=\"_blank\" rel=\"noreferrer noopener\">Docker and firewalls<\/a>, <a href=\"https:\/\/caddyserver.com\/docs\/automatic-https\" target=\"_blank\" rel=\"noreferrer noopener\">Caddy: automatic HTTPS<\/a>, <a href=\"https:\/\/caddyserver.com\/docs\/caddyfile\/directives\/reverse_proxy\" target=\"_blank\" rel=\"noreferrer noopener\">Caddy: reverse_proxy<\/a>, <a href=\"https:\/\/hub.docker.com\/_\/caddy\" target=\"_blank\" rel=\"noreferrer noopener\">Official Caddy image<\/a>, <a href=\"https:\/\/eff-certbot.readthedocs.io\/en\/stable\/using.html\" target=\"_blank\" rel=\"noreferrer noopener\">Certbot<\/a>, <a href=\"https:\/\/docs.bullmq.io\/guide\/jobs\/job-ids\" target=\"_blank\" rel=\"noreferrer noopener\">BullMQ: Job IDs<\/a>, <a href=\"https:\/\/docs.vectalk.com.br\/concepts\/webhooks\">Vectalk docs: Webhooks<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A production-ready WhatsApp webhook on a VPS: Docker Compose, Caddy with HTTPS, a \/health route, a Redis queue, rotated logs and automatic restarts.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-1753","post","type-post","status-publish","format-standard","hentry","category-blog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WhatsApp Webhook with Docker on a VPS | Vectalk<\/title>\n<meta name=\"description\" content=\"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WhatsApp Webhook with Docker on a VPS | Vectalk\" \/>\n<meta property=\"og:description\" content=\"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog Vectalk\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-10T19:24:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-10T19:24:40+00:00\" \/>\n<meta name=\"author\" content=\"wanderleyfcunha\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wanderleyfcunha\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"15 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/\"},\"author\":{\"name\":\"wanderleyfcunha\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"headline\":\"Running the WhatsApp webhook in production with Docker on a VPS\",\"datePublished\":\"2026-11-10T19:24:36+00:00\",\"dateModified\":\"2026-11-10T19:24:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/\"},\"wordCount\":1893,\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/\",\"name\":\"WhatsApp Webhook with Docker on a VPS | Vectalk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-10T19:24:36+00:00\",\"dateModified\":\"2026-11-10T19:24:40+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\"},\"description\":\"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/en\\\/whatsapp-webhook-docker-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Running the WhatsApp webhook in production with Docker on a VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/\",\"name\":\"Blog Vectalk\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vectalk.com.br\\\/blog\\\/#\\\/schema\\\/person\\\/ff36ecd9d8257856f227f8e5d639db2b\",\"name\":\"wanderleyfcunha\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g\",\"caption\":\"wanderleyfcunha\"},\"sameAs\":[\"https:\\\/\\\/vectalk.com.br\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WhatsApp Webhook with Docker on a VPS | Vectalk","description":"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/","og_locale":"en_US","og_type":"article","og_title":"WhatsApp Webhook with Docker on a VPS | Vectalk","og_description":"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.","og_url":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/","og_site_name":"Blog Vectalk","article_published_time":"2026-11-10T19:24:36+00:00","article_modified_time":"2026-11-10T19:24:40+00:00","author":"wanderleyfcunha","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wanderleyfcunha","Est. reading time":"15 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/#article","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/"},"author":{"name":"wanderleyfcunha","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"headline":"Running the WhatsApp webhook in production with Docker on a VPS","datePublished":"2026-11-10T19:24:36+00:00","dateModified":"2026-11-10T19:24:40+00:00","mainEntityOfPage":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/"},"wordCount":1893,"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/","url":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/","name":"WhatsApp Webhook with Docker on a VPS | Vectalk","isPartOf":{"@id":"https:\/\/vectalk.com.br\/blog\/#website"},"datePublished":"2026-11-10T19:24:36+00:00","dateModified":"2026-11-10T19:24:40+00:00","author":{"@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b"},"description":"WhatsApp webhook with Docker on a VPS: automatic HTTPS with Caddy, healthcheck, Redis queue, rotated logs and automatic restarts. Full code included.","breadcrumb":{"@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vectalk.com.br\/blog\/en\/whatsapp-webhook-docker-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vectalk.com.br\/blog\/"},{"@type":"ListItem","position":2,"name":"Running the WhatsApp webhook in production with Docker on a VPS"}]},{"@type":"WebSite","@id":"https:\/\/vectalk.com.br\/blog\/#website","url":"https:\/\/vectalk.com.br\/blog\/","name":"Blog Vectalk","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vectalk.com.br\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/vectalk.com.br\/blog\/#\/schema\/person\/ff36ecd9d8257856f227f8e5d639db2b","name":"wanderleyfcunha","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21c37077f1731eb558973f27a7b647d55f72fde5200a843ac5f5345b247ea725?s=96&d=mm&r=g","caption":"wanderleyfcunha"},"sameAs":["https:\/\/vectalk.com.br\/blog"]}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/1753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/comments?post=1753"}],"version-history":[{"count":1,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/1753\/revisions"}],"predecessor-version":[{"id":1756,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/posts\/1753\/revisions\/1756"}],"wp:attachment":[{"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/media?parent=1753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/categories?post=1753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vectalk.com.br\/blog\/wp-json\/wp\/v2\/tags?post=1753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}