{"id":18882,"date":"2026-11-19T00:15:55","date_gmt":"2026-11-18T18:45:55","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/"},"modified":"2026-11-19T00:15:55","modified_gmt":"2026-11-18T18:45:55","slug":"test-fast2sms-webhook-locally","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/","title":{"rendered":"How to test a Fast2SMS webhook locally (request inspector, ngrok-style tunnel, Test Webhook)"},"content":{"rendered":"<p>Fast2SMS sends webhooks only to public URLs, so you cannot paste <code>http:\/\/localhost:3000<\/code> while you build your receiver. This guide shows two simple ways to test a Fast2SMS webhook before you go live: a request inspector that shows you exactly what we send, and a tunnel that forwards our requests to the code running on your own computer. You will also use the <strong>Test Webhook<\/strong> button and Webhook Logs to check each step.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Test webhooks on a free account<\/strong><p>Create a Fast2SMS account, add a webhook and see real delivery reports arrive on your URL.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Why localhost does not work<\/h2>\n<p>When you save a webhook, the URL must be a public <code>http:\/\/<\/code> or <code>https:\/\/<\/code> address. Localhost, internal IP addresses, file links and other non-web addresses are refused with this message:<\/p>\n<p><em>&#8220;Webhook URL must be a public http(s) endpoint. Internal, localhost, file, and non-http URLs are not allowed.&#8221;<\/em><\/p>\n<p>Our server sends the request from the internet, so it could not reach a service that runs only on your computer anyway. You need an address that the internet can reach. The two options below give you one in a few minutes.<\/p>\n<h2>Option 1: see the raw request with a request inspector<\/h2>\n<p>A request inspector is a website that gives you a temporary public URL and shows every request sent to it: method, headers and body. webhook.site and RequestBin-style tools work this way. Use this when you only want to see what Fast2SMS sends before you write any code.<\/p>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Get a temporary URL<\/h3>\n<p>Open the request inspector of your choice and copy the unique URL it gives you.<\/p>\n<\/li>\n<li>\n<h3>Create a webhook with that URL<\/h3>\n<p>In Fast2SMS, open <strong>Webhook<\/strong>, pick the channel (SMS, WhatsApp, OTP, RCS or Voice) and click <strong>Add Webhook<\/strong>. Give it a name such as &#8220;Test inspector&#8221;, keep <strong>Standard Webhook<\/strong>, paste the URL into <strong>URL<\/strong> and click <strong>CREATE<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"CREATE WEBHOOK (SMS) window with Webhook Name, Select Service, Select Format, Select Event, Entity ID, Method, URL and Content-Type fields and a JSON body\"><figcaption>Paste the temporary URL into the URL field.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Click Test Webhook<\/h3>\n<p>Click the three dots on the new webhook and choose <strong>Test Webhook<\/strong>. Fast2SMS sends one real request straight away with your saved method, content type, headers and body. The fields are filled with sample values, for example &#8220;Test error message&#8221;. A message then tells you whether the test was sent successfully with HTTP 200, or failed, with the HTTP code and the error.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-row-menu-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Row menu on a webhook with Edit Webhook, Test Webhook and Delete Webhook\"><figcaption>Test Webhook sends one request right away.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Read the request<\/h3>\n<p>Go back to the inspector. You will see the headers and the body exactly as your server will receive them. Copy the body: it is a ready-made sample for your own code and tests.<\/p>\n<\/li>\n<\/ol>\n<div class=\"f2s-note f2s-note--warn\">A request inspector is a third-party service. Real delivery reports contain your customers&#8217; mobile numbers. Use an inspector only with the Test Webhook button or a few test messages to your own number, then delete or edit the webhook.<\/div>\n<h2>Option 2: send webhooks to your own computer with a tunnel<\/h2>\n<p>A tunnel gives your local server a temporary public https address. Tools such as ngrok and Cloudflare Tunnel do this. Use this option when you want to run and debug your real receiver code.<\/p>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Run a small receiver locally<\/h3>\n<p>Start your endpoint on your computer. If you do not have one yet, this Node.js file prints every request and answers 200:<\/p>\n<pre><code class=\"language-javascript\">\/\/ receiver.js  -  run with: node receiver.js\nconst http = require('http');\n\nhttp.createServer((req, res) =&gt; {\n  let body = '';\n  req.on('data', chunk =&gt; { body += chunk; });\n  req.on('end', () =&gt; {\n    console.log(req.method, req.url);\n    console.log(req.headers);\n    console.log(body);\n    res.writeHead(200, { 'Content-Type': 'text\/plain' });\n    res.end('OK');\n  });\n}).listen(3000, () =&gt; console.log('Listening on http:\/\/localhost:3000'));<\/code><\/pre>\n<\/li>\n<li>\n<h3>Start the tunnel<\/h3>\n<p>Follow your tunnel tool&#8217;s own setup steps, then point it at port 3000. For example:<\/p>\n<pre><code class=\"language-bash\"># ngrok\nngrok http 3000\n\n# Cloudflare quick tunnel\ncloudflared tunnel --url http:\/\/localhost:3000<\/code><\/pre>\n<p>The tool prints a public https address. Copy it.<\/p>\n<\/li>\n<li>\n<h3>Create or edit the webhook<\/h3>\n<p>Paste the tunnel address into the webhook&#8217;s <strong>URL<\/strong>, with your path at the end if your code uses one. Save the webhook.<\/p>\n<\/li>\n<li>\n<h3>Test, then check Webhook Logs<\/h3>\n<p>Click <strong>Test Webhook<\/strong>. The request should print in your terminal. In Fast2SMS, open <strong>Webhook Logs<\/strong> to see the same attempt with its HTTP code and time. Click the three dots and <strong>View Details<\/strong> to compare what we sent with what your code answered.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-log-detail-response-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Webhook Execution Details with POST and HTTP 200 success, response time, service channel SMS, trigger event delivered and the response body\"><figcaption>Request Data and Response Data show both sides of the call.<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Send your first API message<\/strong><p>Use the Fast2SMS API to send an SMS, OTP or WhatsApp message and watch the delivery report arrive.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Test with a real delivery report<\/h2>\n<p>The Test Webhook button proves your URL works, but its values are samples. To see a real report:<\/p>\n<ol>\n<li>Send one message to your own number <strong>through the API<\/strong>. Panel campaigns do not trigger webhooks. Pass something like <code>udf1=TEST-1<\/code> so you can spot it.<\/li>\n<li>Wait for the delivery report. The webhook fires after the report arrives, and only if it arrives within 24 hours.<\/li>\n<li>Check your receiver and Webhook Logs.<\/li>\n<\/ol>\n<p>A real message is charged at your normal rate, the same as any other send.<\/p>\n<h2>Test your parser without Fast2SMS<\/h2>\n<p>Once you have a sample body from Request Data in Webhook Logs, you can replay it against your local code as many times as you like:<\/p>\n<pre><code class=\"language-bash\">curl -X POST \"http:\/\/localhost:3000\/fast2sms\/webhook\" \\\n  -H \"Content-Type: application\/json\" \\\n  -H \"X-Webhook-Token: your-test-secret\" \\\n  -d '{\"request_id\":\"Sa1B2c3D4e5F6g7\",\"mobile\":\"9999999999\",\"status\":\"delivered\",\"udf1\":\"TEST-1\"}'<\/code><\/pre>\n<p>Try a failed report, an empty field and the same report twice, so you know your code handles each case.<\/p>\n<h2>Go live<\/h2>\n<ul>\n<li>Edit the webhook and replace the tunnel or inspector URL with your production URL, or create a new webhook and delete the test one. Each channel allows up to 10 webhooks.<\/li>\n<li>Click <strong>Test Webhook<\/strong> once more on the production URL.<\/li>\n<li>Add a secret header so your production endpoint accepts only real requests.<\/li>\n<\/ul>\n<h2>Common problems and fixes<\/h2>\n<h3>&#8220;Webhook URL must be a public http(s) endpoint&#8221;<\/h3>\n<p>You pasted a localhost or private address. Use the public address from your tunnel or inspector.<\/p>\n<h3>Test failed with HTTP 0 or a timeout<\/h3>\n<p>The tunnel is not running, or your local server took more than 10 seconds to answer. Restart the tunnel, check the port, and reply before doing slow work.<\/p>\n<h3>It worked yesterday and fails today<\/h3>\n<p>Many free tunnels give a new address each time they start. Copy the new address into the webhook.<\/p>\n<h3>The test works but no real report arrives<\/h3>\n<p>Check that you sent by API, that the webhook is Active, and that its event and identity match the message.<\/p>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>Can I use localhost as a Fast2SMS webhook URL?<\/h3>\n<p>No. The URL must be public. Use a tunnel such as ngrok or Cloudflare Tunnel to expose your local server while testing.<\/p>\n<h3>Does Test Webhook cost anything?<\/h3>\n<p>No message is sent to a phone. Test Webhook only sends one HTTP request from our server to your URL with sample values.<\/p>\n<h3>Does the test respect the event and identity I chose?<\/h3>\n<p>No. The test is sent straight away whatever the event and identity. Real reports follow those settings.<\/p>\n<h3>Where can I see the test request?<\/h3>\n<p>In Webhook Logs, like every other attempt. Logs are kept for 7 days.<\/p>\n<h3>Can I test webhooks for panel campaigns?<\/h3>\n<p>No. Webhooks fire only for API sends. Panel campaigns have their own delivery reports in the panel.<\/p>\n<h3>Is webhook.site safe for production?<\/h3>\n<p>No. Use request inspectors only for tests. Your production webhook should point to your own server.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Build on the Fast2SMS API<\/strong><p>Send SMS, Smart OTP, WhatsApp, RCS and voice calls from your app and track every message by webhook.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"\/help\/fast2sms-webhooks-setup-delivery-reports\/\">Webhooks in Fast2SMS: get delivery reports on your own URL<\/a><\/li>\n<li><a href=\"\/help\/webhook-payload-fields\/\">Webhook payload fields and sample JSON<\/a><\/li>\n<li><a href=\"\/help\/webhook-secret-header\/\">How to secure your Fast2SMS webhook<\/a><\/li>\n<li><a href=\"\/help\/webhook-not-firing\/\">Fast2SMS webhook not working: checks, retries and resend<\/a><\/li>\n<li><a href=\"https:\/\/docs.fast2sms.com\">Fast2SMS API documentation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Fast2SMS sends webhooks only to public URLs, so you cannot paste http:\/\/localhost:3000 while you build your receiver. This guide shows two simple ways to test a Fast2SMS webhook before you go live: a request inspector that shows you exactly what we send, and a tunnel that forwards our requests to the code running on your [&hellip;]<\/p>\n","protected":false},"featured_media":18876,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,31],"tags":[],"class_list":["post-18882","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-webhooks"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-18T18:45:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"How to test a Fast2SMS webhook locally (request inspector, ngrok-style tunnel, Test Webhook)\",\"datePublished\":\"2026-11-18T18:45:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/\"},\"wordCount\":1231,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-create-modal-hd-4-scaled.webp\",\"articleSection\":[\"API\",\"Webhooks\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/\",\"name\":\"Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-create-modal-hd-4-scaled.webp\",\"datePublished\":\"2026-11-18T18:45:55+00:00\",\"description\":\"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-create-modal-hd-4-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/webhook-create-modal-hd-4-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"CREATE WEBHOOK (SMS) window with Webhook Name, Select Service, Select Format, Select Event, Entity ID, Method, URL and Content-Type fields and a JSON body\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/test-fast2sms-webhook-locally\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/api\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to test a Fast2SMS webhook locally (request inspector, ngrok-style tunnel, Test Webhook)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS","description":"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.","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:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/","og_locale":"en_US","og_type":"article","og_title":"Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS","og_description":"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.","og_url":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-18T18:45:55+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"How to test a Fast2SMS webhook locally (request inspector, ngrok-style tunnel, Test Webhook)","datePublished":"2026-11-18T18:45:55+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/"},"wordCount":1231,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp","articleSection":["API","Webhooks"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/","url":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/","name":"Test Your Webhook Locally (Tunnel, Inspector) | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp","datePublished":"2026-11-18T18:45:55+00:00","description":"Test a Fast2SMS webhook before going live: use a request inspector or a tunnel like ngrok, click Test Webhook, read Webhook Logs and replay samples.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/webhook-create-modal-hd-4-scaled.webp","width":2560,"height":1600,"caption":"CREATE WEBHOOK (SMS) window with Webhook Name, Select Service, Select Format, Select Event, Entity ID, Method, URL and Content-Type fields and a JSON body"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/test-fast2sms-webhook-locally\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"API","item":"https:\/\/www.fast2sms.com\/help\/api\/"},{"@type":"ListItem","position":3,"name":"How to test a Fast2SMS webhook locally (request inspector, ngrok-style tunnel, Test Webhook)"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=18882"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/18882\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/18876"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=18882"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=18882"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=18882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}