{"id":1744,"date":"2025-05-16T09:43:02","date_gmt":"2025-05-16T04:13:02","guid":{"rendered":"https:\/\/www.smsgatewaycenter.com\/blog\/?post_type=docs&#038;p=1744"},"modified":"2025-05-16T09:43:03","modified_gmt":"2025-05-16T04:13:03","password":"","slug":"add-custom-parameters-headers-webhook","status":"publish","type":"docs","link":"https:\/\/www.smsgatewaycenter.com\/blog\/kb\/add-custom-parameters-headers-webhook\/","title":{"rendered":"What steps should I follow to add custom parameters and headers to a webhook on SMSGatewayCenter, and why are they useful?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>SMSGatewayCenter<\/strong> allows you to add custom parameters and headers to <strong>webhooks<\/strong>, giving you flexibility to include additional data or authentication details. Here\u2019s how to do it:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Steps to Add Custom Parameters<\/strong>:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>While setting up a webhook (e.g., for DLR or WhatsApp MO), check the <em>Add Custom Parameters<\/em> checkbox.<\/li>\n\n\n\n<li>Enter the parameter name and value (e.g., campaign_id=123).<\/li>\n\n\n\n<li>Click <em>Add More<\/em> to include additional parameters (e.g., user_id=456).<\/li>\n\n\n\n<li>These parameters will be sent along with the default parameters (e.g., Transaction ID, Mobile Number).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Steps to Add Custom Headers<\/strong>:<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check the <em>Add Custom Headers<\/em> checkbox during webhook setup.<\/li>\n\n\n\n<li>Enter the header name and value (e.g., Authorization: Bearer your_token).<\/li>\n\n\n\n<li>Click <em>Add More<\/em> to add multiple headers (e.g., Content-Type: application\/json).<\/li>\n\n\n\n<li>These headers will be included with the default headers in the HTTP request.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Why Are They Useful?<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Custom Parameters<\/strong>: Pass additional data to your system (e.g., campaign tracking IDs) for better analytics or processing.<\/li>\n\n\n\n<li><strong>Custom Headers<\/strong>: Add authentication tokens or specify content types to secure and customize webhook requests.<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Best Practices<\/strong>:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Use meaningful parameter names to easily identify their purpose in your system.<\/li>\n\n\n\n<li>Test the webhook after adding custom parameters\/headers to ensure your endpoint processes them correctly.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Custom parameters and headers<\/strong> enhance the functionality of <strong>webhooks<\/strong> on <strong>SMSGatewayCenter<\/strong>, making integrations more robust. For assistance, contact our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SMSGatewayCenter allows you to add custom parameters and headers to webhooks, giving you flexibility to include additional data or authentication details. Here\u2019s how to do it: Steps to Add Custom Parameters: Steps to Add Custom Headers: Why Are They Useful? Best Practices: Custom parameters and headers enhance the functionality of webhooks on SMSGatewayCenter, making integrations [&hellip;]<\/p>\n","protected":false},"author":118,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[1385],"doc_tag":[],"class_list":["post-1744","docs","type-docs","status-publish","hentry","doc_category-webhook"],"year_month":"2026-07","word_count":225,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.smsgatewaycenter.com\/blog\/author\/admin\/"},"doc_category_info":[{"term_name":"Webhook","term_url":"https:\/\/www.smsgatewaycenter.com\/blog\/kb-cat\/webhook\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1744","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/users\/118"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/comments?post=1744"}],"version-history":[{"count":0,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/docs\/1744\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/media?parent=1744"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_category?post=1744"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.smsgatewaycenter.com\/blog\/wp-json\/wp\/v2\/doc_tag?post=1744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}