{"info":{"_postman_id":"f24bcc05-f7ef-4b05-932e-7c4e0c5b40ee","name":"REM Custom Webhook For Leads","description":"<html><head></head><body><h3 id=\"🔧-how-to-set-up-your-custom-webhook-url-for-leads\">🔧 How to Set Up Your Custom Webhook URL for Leads</h3>\n<p><strong>Important:</strong>  </p>\n<p>🚨 <em>Please replace the placeholder URL with your own REM Custom Webhook URL.</em></p>\n<h4 id=\"heres-how-you-can-get-your-url\">Here's how you can get your URL:</h4>\n<ol>\n<li><p><strong>Log in</strong> to your <strong>REM account</strong>.</p>\n</li>\n<li><p>In the left sidebar, go to the <strong>Integrations</strong> tab.</p>\n</li>\n<li><p>On the Integrations page, scroll down to find the <strong>Custom Webhook</strong> section.</p>\n</li>\n<li><p>Click the <strong>Configure</strong> button.</p>\n</li>\n<li><p>Select the <strong>campaign</strong> you want to assign leads to.</p>\n</li>\n<li><p>Wait a moment for the webhook URL to refresh.</p>\n</li>\n<li><p><strong>Copy</strong> the generated webhook URL.</p>\n</li>\n<li><p>In your integration or code, <strong>replace the current POST request URL</strong> with the one you just copied.</p>\n</li>\n</ol>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27878080","collectionId":"f24bcc05-f7ef-4b05-932e-7c4e0c5b40ee","publishedId":"2sB2qXkNe7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-05-19T07:43:24.000Z"},"item":[{"name":"https://my.remapp.ae/leads/webhook/custom_webhook/secure_token1/secure_token2","id":"3ea7955b-f0ef-48d3-a2b4-7026a8f01a5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"contact_name\": \"John Doe\", // Full name of the lead or contact person\n  \"email\": \"johndoe@example.com\", // Primary email address\n  \"phone\": \"+9711234567\", // Landline or business phone number\n  \"mobile\": \"+9717654321\", // Mobile number, usually used for faster communication\n  \"address\": \"123 Main Street, Sample City\", // Physical address of the contact\n  \"notes\": {\n    \"company_name\": \"Example Corp\", // Name of the company the lead is associated with\n    \"position\": \"Marketing Manager\", // Job title of the lead\n    \"interested_in\": \"Commercial Property\" // Additional lead notes or interests\n  },\n  \"agent_name\": \"Jane Smith\", // Name of the sales or support agent\n  \"agent_email\": \"janesmith@example.com\" // If this email matches a registered agent, the lead is auto-assigned\n}\n","options":{"raw":{"language":"json"}}},"url":"https://my.remapp.ae/leads/webhook/custom_webhook/secure_token1/secure_token2","description":"<p><strong>Overview</strong><br />With the REM Custom Lead Webhook, you can push lead data from any external source—your website forms, landing-page providers, call-tracking platforms, chatbots, or other CRMs—directly into your REM account. Simply configure your source to POST JSON payloads to our secure endpoint, and REM will handle the rest (logging, validation, and delivery into your campaigns).</p>\n<p><strong>Required JSON Payload</strong></p>\n<p>Your POST request must include at least one of the following fields. If none are provided, you’ll receive a 400 Invalid webhook request error.</p>\n<p>• contact_name (string): Full name of the lead contact</p>\n<p>• mobile (string): Mobile number (e.g. with international prefix)</p>\n<p>• email (string): Email address</p>\n<p>• phone (string): Secondary phone number</p>\n<p>• address (string): Postal or street address</p>\n<p>• notes (string or JSON): Any additional metadata or notes (will be stringified)</p>\n<p>• agent_name (string): Name of the agent who sourced the lead</p>\n<p>• agent_email (string): Email of the agent who sourced the lead</p>\n<p><strong>Response Codes</strong></p>\n<p>• 200 OK{ \"status\": true, \"message\": \"Lead has been created successfully\" }</p>\n<p>• 400 Bad Request{ \"status\": false, \"message\": \"Invalid webhook request\" }</p>\n<p>• 500 Internal Server Error{ \"status\": false, \"message\": \"Internal server error\" }</p>\n","urlObject":{"protocol":"https","path":["leads","webhook","custom_webhook","secure_token1","secure_token2"],"host":["my","remapp","ae"],"query":[],"variable":[]}},"response":[],"_postman_id":"3ea7955b-f0ef-48d3-a2b4-7026a8f01a5d"}]}