{"info":{"_postman_id":"5d89ce9f-858c-442f-ab62-435204d47a12","name":"La Growth Machine","description":"<html><head></head><body><h2 id=\"👋-welcome-to-the-la-growth-machine-api-documentation\">👋 Welcome to the La Growth Machine API Documentation</h2>\n<p>Here you'll find all our external APIs, designed to help you build custom use cases and access your data in an ultra-personalized way.</p>\n<p>Our goal: give you maximum flexibility to integrate LGM into your tools, automate your workflows, or enrich your dashboards.</p>\n<p>🚀 <strong>Got ideas or feedback?</strong> We’d love to hear from you!</p>\n<hr>\n<h1 id=\"authentication\">Authentication</h1>\n<p>All API requests to La Growth Machine must be authenticated using an <strong>API key</strong>.</p>\n<p><strong>Base URL:</strong> <code>https://apiv2.lagrowthmachine.com/flow</code> — this is the main endpoint for all API requests.</p>\n<h2 id=\"get-your-api-key\">Get Your API Key</h2>\n<p>You can retrieve your API key from your account settings:<br><a href=\"https://app.lagrowthmachine.com/settings/api\">https://app.lagrowthmachine.com/settings/api</a></p>\n<blockquote>\n<p>⚠️ You must be logged in to access this page. </p>\n</blockquote>\n<h2 id=\"how-to-authenticate\">How to authenticate</h2>\n<p>To authenticate, include your API key in the query parameters of your request under the key <code>apikey</code>.</p>\n<p><strong>Example request:</strong></p>\n<p><code>GET https://apiv2.lagrowthmachine.com/flow/members?apikey=YOUR_API_KEY</code></p>\n<blockquote>\n<p>⚠️ Never share your API key publicly. It provides full access to your account’s data. </p>\n</blockquote>\n<h2 id=\"test-your-key\">Test your key</h2>\n<p>You can test your authentication by sending a request to the /members endpoint.</p>\n<p>Request:</p>\n<p><code>GET https://apiv2.lagrowthmachine.com/flow/members?apikey=YOUR_API_KEY</code></p>\n<p>Expected response:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"id\": \"lgm-member-id\",\n    \"name\": \"Boris T.\",\n    \"label\": \"Boris T.\"\n  }\n]\n\n</code></pre>\n<h2 id=\"how-to-debug--api-logs-history\">How to Debug – API Logs History</h2>\n<p>You can monitor and debug your API usage directly from the LGM app.</p>\n<p>Go to <a href=\"https://app.lagrowthmachine.com/settings/api\">https://app.lagrowthmachine.com/settings/api</a> <em>(login required)</em></p>\n<p>There, you’ll find a <strong>complete history of your API calls</strong>, including:</p>\n<ul>\n<li><p>The endpoint used (e.g., <code>Create Lead</code>, <code>List Audiences</code>)</p>\n</li>\n<li><p>The execution status (✅ success or ❌ error)</p>\n</li>\n<li><p>A summary of the result (e.g., “139 audiences returned”)</p>\n</li>\n<li><p>Timestamp of the call</p>\n</li>\n<li><p>A toggle to filter only failed requests</p>\n</li>\n</ul>\n<p>This helps you quickly verify what happened, debug issues, or confirm data updates.</p>\n<blockquote>\n<p>🧠 Tip: Always check this log if your integration doesn’t behave as expected — it’s your first line of debugging! </p>\n</blockquote>\n<h1 id=\"rate-limiting\">Rate Limiting</h1>\n<p>To ensure fair and stable usage, API access is limited to:</p>\n<ul>\n<li><strong>50 calls per 10 seconds per API key</strong></li>\n</ul>\n<p>If you exceed this limit, requests will be temporarily rejected with a <code>429 Too Many Requests</code> error.</p>\n<hr>\n<h3 id=\"best-practices\">Best Practices</h3>\n<ul>\n<li><p>Add retry logic with exponential backoff.</p>\n</li>\n<li><p>Avoid unnecessary polling or tight loops.</p>\n</li>\n<li><p>Cache data when possible to reduce redundant calls.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Authentication","slug":"authentication"},{"content":"Rate Limiting","slug":"rate-limiting"}],"owner":"2071164","collectionId":"5d89ce9f-858c-442f-ab62-435204d47a12","publishedId":"TVCmSkH2","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-09-10T13:42:19.000Z"},"item":[{"name":"Campaigns","item":[{"name":"Get Campaigns","id":"5f3911fc-804e-4f57-ac0e-51aa0189ac48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/campaigns?apikey={{demoApikey}}&skip=0&limit=25","description":"<h3 id=\"get-all-campaigns\">Get All Campaigns</h3>\n<p>Use this endpoint to retrieve <strong>all your campaigns</strong>.</p>\n<hr />\n<h3 id=\"pagination\">Pagination</h3>\n<p>This endpoint supports pagination using the <code>skip</code> and <code>limit</code> query parameters:</p>\n<ul>\n<li><code>limit</code> → number of items to return (default: 25)</li>\n<li><code>skip</code> → number of items to skip (used to navigate pages)</li>\n</ul>\n<p><strong>Examples:</strong></p>\n<ul>\n<li>Page 1 → <code>?skip=0&amp;limit=25</code></li>\n<li>Page 2 → <code>?skip=25&amp;limit=25</code></li>\n<li>Page 3 → <code>?skip=50&amp;limit=25</code></li>\n</ul>\n<p>You can adjust these values depending on your pagination logic.</p>\n","urlObject":{"protocol":"https","path":["flow","campaigns"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your apikey</p>\n","type":"text/plain"},"key":"apikey","value":"{{demoApikey}}"},{"description":{"content":"<p>Skip results per queries (0 minimum)</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>Limit of result per queries (25 max)</p>\n","type":"text/plain"},"key":"limit","value":"25"}],"variable":[]}},"response":[{"id":"de126fa5-49ad-4044-b2b0-e89a549fcf72","name":"Get Campaigns Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns?apikey=Your-external-apikey&skip=0&limit=25","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"skip","value":"0"},{"key":"limit","value":"25"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"campaigns\": [\n        {\n            \"id\": \"64b66c65495202b18a05edfe\",\n            \"name\": \"My Campaign\",\n            \"description\": \"\",\n            \"language\": \"french\",\n            \"createdAt\": 1689676901831,\n            \"modifiedAt\": 1699950925466,\n            \"userId\": \"621dc8cdgc32136ebee8c0f4\",\n            \"status\": \"PAUSED\",\n            \"audience\": {\n                \"id\": \"62a9256b816d77543a2043ef\",\n                \"name\": \"Tests #1\",\n                \"size\": 0,\n                \"description\": \"\"\n            },\n            \"identity\": {\n                \"id\": \"63bc0ada94af5e7aa95c4df6\",\n                \"firstname\": \"John\",\n                \"lastname\": null,\n                \"gender\": null,\n                \"jobTitle\": \"Freelance\",\n                \"profilePicture\": null\n            },\n            \"launchedAt\": null,\n            \"stats\": null,\n            \"channels\": [\n                \"LGM\",\n                \"TWITTER\"\n            ],\n            \"hubspot\": false,\n            \"pipedrive\": false,\n            \"enrich\": false,\n            \"autoRescheduleOutOfOffice\": false,\n            \"leadsCount\": 1\n        },\n        ...24 others\n    ],\n    \"total\": 78\n}"}],"_postman_id":"5f3911fc-804e-4f57-ac0e-51aa0189ac48"},{"name":"Get Campaign","id":"5ba5d688-6caa-428c-bb16-66d1247c04bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId?apikey=Your-external-apikey","description":"<h2 id=\"use-this-endpoint-to-get-one-campaign\">Use this endpoint to get one campaign</h2>\n","urlObject":{"protocol":"https","path":["flow","campaigns",":campaignId"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[{"description":{"content":"<p>Campaign ID</p>\n","type":"text/plain"},"type":"any","value":"(Required) string","key":"campaignId"}]}},"response":[{"id":"e6af884c-6aa8-40e9-9eb6-e025f621cf6b","name":"Get Campaign","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId?apikey=Your-external-apikey","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[{"key":"campaignId","value":"34b5349b5490f3dec0b32043","description":"Campaign ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"campaign\": {\n        \"id\": \"34b5349b5490f3dec0b32043\",\n        \"name\": \"My Campaign\",\n        \"description\": \"\",\n        \"language\": \"french\",\n        \"createdAt\": 1689597083378,\n        \"modifiedAt\": 1700461831358,\n        \"launchedAt\": 1689597085594,\n        \"userId\": \"621dc8c3fc32136ebee8c0f2\",\n        \"status\": \"PAUSED\",\n        \"audienceName\": \"Tests #1\",\n        \"audienceSize\": 0,\n        \"channels\": [\n            \"LGM\",\n            \"GOOGLE\"\n        ],\n        \"identityId\": \"63bc0ada94af5e7aa95c4df2\",\n        \"identityFirstname\": \"John\",\n        \"identityLastname\": \"Doe\",\n        \"converted\": 0,\n        \"activated\": 0,\n        \"hubspot\": false,\n        \"pipedrive\": false,\n        \"enrich\": false,\n        \"autoRescheduleOutOfOffice\": true\n    }\n}"}],"_postman_id":"5ba5d688-6caa-428c-bb16-66d1247c04bb"},{"name":"Get Campaign Stats","id":"3ffae269-e7c6-4182-a493-1ed30c500da6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/stats?apikey=Your-external-apikey","description":"<h2 id=\"use-this-endpoint-to-get-stats-from-your-campaign\">Use this endpoint to get stats from your campaign</h2>\n","urlObject":{"protocol":"https","path":["flow","campaigns",":campaignId","stats"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[{"description":{"content":"<p>Campaign ID</p>\n","type":"text/plain"},"type":"any","value":"(Required) string","key":"campaignId"}]}},"response":[{"id":"f4cc996f-5982-4a97-b164-600e7dfd38e9","name":"Get Campaign stats","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/stats?apikey=Your-external-apikey","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId","stats"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[{"key":"campaignId","value":"64b2249b5490f3dec0b320f3","description":"Campaign ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"engagementStats\": {\n        \"campaignId\": \"64b2249b5490f3dec0b320f3\",\n        \"audienceSize\": 1,\n        \"converted\": 1,\n        \"completed\": 0,\n        \"started\": 1,\n        \"replies\": {\n            \"contacted\": 1,\n            \"replied\": 1,\n            \"linkedinContacted\": 0,\n            \"emailContacted\": 1,\n            \"linkedinReplied\": 0,\n            \"emailReplied\": 1,\n            \"contactedPercent\": 100,\n            \"totalReplyPercent\": 100,\n            \"contactedReplyPercent\": 100,\n            \"linkedinContactedReplyPercent\": 0,\n            \"emailContactedReplyPercent\": 100\n        },\n        \"relations\": {\n            \"activated\": false,\n            \"requestSent\": 0,\n            \"relations\": 0,\n            \"newRelations\": 0,\n            \"alreadyConnected\": 0,\n            \"requestSentPercent\": 0,\n            \"relationsPercent\": 0,\n            \"totalRelationsPercent\": 0,\n            \"newRelationsPercent\": 0,\n            \"alreadyConnectedPercent\": 0\n        },\n        \"channel\": {\n            \"email\": {\n                \"activated\": true,\n                \"sent\": 1,\n                \"received\": 1,\n                \"opened\": 1,\n                \"replied\": 1,\n                \"clicked\": 0,\n                \"bounced\": 0,\n                \"sentPercent\": 100,\n                \"receivedPercent\": 100,\n                \"openedPercent\": 100,\n                \"repliedPercent\": 100,\n                \"clickedPercent\": 0,\n                \"bouncedPercent\": 0\n            },\n            \"linkedin\": {\n                \"activated\": false,\n                \"contactRequest\": {\n                    \"activated\": false,\n                    \"sent\": 0,\n                    \"newRelations\": 0,\n                    \"alreadyContact\": 0,\n                    \"sentPercent\": 0,\n                    \"newRelationsPercent\": 0,\n                    \"alreadyContactPercent\": 0\n                },\n                \"message\": {\n                    \"sent\": 0,\n                    \"replied\": 0,\n                    \"sentPercent\": 0,\n                    \"repliedPercent\": 0\n                }\n            },\n            \"twitter\": {\n                \"activated\": false,\n                \"sent\": 0,\n                \"retweet\": 0,\n                \"favorited\": 0,\n                \"followed\": 0,\n                \"followBack\": 0,\n                \"followedPercent\": 0,\n                \"followBackPercent\": 0\n            },\n            \"enrich\": {\n                \"activated\": false,\n                \"proUpgrade\": false,\n                \"businessUpgrade\": false,\n                \"enriched\": 0,\n                \"found\": {\n                    \"profile\": 0,\n                    \"profileSearch\": 0,\n                    \"website\": 0,\n                    \"proEmail\": 0,\n                    \"persoEmail\": 0,\n                    \"phone\": 0,\n                    \"twitter\": 0,\n                    \"profilePercent\": 0,\n                    \"profileSearchPercent\": 0,\n                    \"profileOnProfileSearchPercent\": 0,\n                    \"websitePercent\": 0,\n                    \"proEmailPercent\": 0,\n                    \"persoEmailPercent\": 0,\n                    \"phonePercent\": 0,\n                    \"twitterPercent\": 0\n                },\n                \"enrichedPercent\": 0\n            }\n        },\n        \"status\": {\n            \"activated\": {\n                \"total\": 1,\n                \"activated\": 1,\n                \"enriched\": 0,\n                \"contacted\": 1,\n                \"completed\": 0,\n                \"outOfOffice\": 0,\n                \"activatedPercent\": 100,\n                \"enrichedPercent\": 0,\n                \"contactedPercent\": 100,\n                \"completedPercent\": 0,\n                \"audiencePercent\": 100,\n                \"contactedAudiencePercent\": 100,\n                \"outOfOfficePercent\": 0\n            },\n            \"replied\": {\n                \"total\": 1,\n                \"toQualify\": 0,\n                \"wrongTiming\": 0,\n                \"toQualifyPercent\": 0,\n                \"wrongTimingPercent\": 0,\n                \"audiencePercent\": 100,\n                \"activatedPercent\": 100,\n                \"contactedPercent\": 100\n            },\n            \"won\": {\n                \"total\": 0,\n                \"interested\": 0,\n                \"callBooked\": 0,\n                \"negotiating\": 0,\n                \"readyToBuy\": 0,\n                \"converted\": 0,\n                \"interestedPercent\": 0,\n                \"callBookedPercent\": 0,\n                \"negotiatingPercent\": 0,\n                \"readyToBuyPercent\": 0,\n                \"convertedPercent\": 0,\n                \"audiencePercent\": 0,\n                \"repliedPercent\": 0\n            },\n            \"lost\": {\n                \"total\": 0,\n                \"wrongTarget\": 0,\n                \"notInterested\": 0,\n                \"alreadyEquipped\": 0,\n                \"unsubscribed\": 0,\n                \"wrongTargetPercent\": 0,\n                \"notInterestedPercent\": 0,\n                \"alreadyEquippedPercent\": 0,\n                \"unsubscribedPercent\": 0,\n                \"audiencePercent\": 0,\n                \"repliedPercent\": 0\n            }\n        },\n        \"templates\": [\n            {\n                \"sent\": 1,\n                \"opened\": 1,\n                \"clicked\": 0,\n                \"replied\": 1,\n                \"bounced\": 0,\n                \"openedPercent\": 100,\n                \"clickedPercent\": 0,\n                \"repliedPercent\": 100,\n                \"bouncedPercent\": 0,\n                \"channel\": \"GOOGLE\",\n                \"createdAt\": 1689597083345,\n                \"description\": \"<span>Description</span><br>\",\n                \"name\": \"Email Intro #1\",\n                \"subjectHtml\": \"Hi, this is my template\\n\",\n                \"type\": \"TEXT\",\n                \"position\": 0\n            }\n        ]\n    }\n}"}],"_postman_id":"3ffae269-e7c6-4182-a493-1ed30c500da6"},{"name":"Get Campaign Leads Stats","id":"47f8eb02-49e6-4935-8664-8c9e71bd1809","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/statsleads?apikey=Your-external-apikey&getLeadsAfter=(Optional) string&getLeadsBefore=(Optional) string","description":"<h2 id=\"use-this-endpoint-to-get-all-your-leads-stats-from-one-campaign\">Use this endpoint to get all your leads stats from one campaign</h2>\n<h1 id=\"-pagination\"># Pagination</h1>\n<p>Inside the query, use 1 parameter if you want to navigate over the results:</p>\n<p><code>getLeadsAfter: string</code> or <code>getLeadsBefore: string</code></p>\n<p>By using the <code>id</code> located in the <code>leads</code> array from the response, you will be able to get the list of leads before or ahead of this <code>id</code></p>\n<h1 id=\"each-request-will-return-25-leads-maximum\">Each request will return 25 leads maximum.</h1>\n<p>To get the first 25 leads, do not specify any query parameters</p>\n<p>To get the 25 next leads, use this <code>getLeadsAfter: lastLead.id</code></p>\n","urlObject":{"protocol":"https","path":["flow","campaigns",":campaignId","statsleads"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"key":"getLeadsAfter","value":"(Optional) string"},{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"key":"getLeadsBefore","value":"(Optional) string"}],"variable":[{"description":{"content":"<p>Campaign ID</p>\n","type":"text/plain"},"type":"any","value":"(Required) string","key":"campaignId"}]}},"response":[{"id":"a8794682-aa7f-41a1-8e20-086bff4cacb6","name":"First page","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/statsleads?apikey=Your-external-apikey","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId","statsleads"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[{"key":"campaignId","value":"<campaign-id>","description":"Campaign ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"leads\": [\n        {\n            \"firstname\": \"William\",\n            \"lastname\": \"\",\n            \"companyName\": null,\n            \"companyUrl\": null,\n            \"phone\": null,\n            \"jobTitle\": null,\n            \"profilePicture\": null,\n            \"note\": null,\n            \"status\": \"STARTED\",\n            \"id\": \"649b11a8d0d1ac9c33ca2fb2\",\n            \"email\": \"exemple@exemple.com\",\n            \"linkedinUrl\": \"https://linkedin.com/in/exemple\",\n            \"gender\": null,\n            \"industry\": null,\n            \"relationStatus\": \"NOT_SENT\",\n            \"acceptationDate\": null,\n            \"action_todo\": \"TO_REVIEW | TO_CALL | TO_QUALIFY\",\n            \"replied\": 0,\n            \"email_sent\": 0,\n            \"email_opened\": 0,\n            \"email_clicked\": 0,\n            \"email_replied\": 0,\n            \"linkedin_visit\": 0,\n            \"linkedin_dm_sent\": 0,\n            \"linkedin_audio_sent\": 0,\n            \"linkedin_replied\": 0,\n            \"linkedin_relation_status\": \"NOT_SENT\",\n            \"twitter_tweeted\": 0,\n            \"twitter_retweeted\": 0,\n            \"twitter_favourited\": 0,\n            \"twitter_followed\": 0,\n            \"twitter_unfollowed\": 0,\n            \"twitter_dm_sent\": 0,\n            \"tweet_sent\": 0,\n            \"tag\": \"COMPLETED_WITHOUT_REPLY\",\n            \"outOfOfficeReturnDate\": null,\n            \"outOfOfficeNextActionDate\": null\n        },\n       ...24 others\n    ],\n    \"count\": 457,\n    \"hasMore\": true,\n    \"hasLess\": false\n}"},{"id":"73254936-fce4-40fd-afd8-20807cfb8f36","name":"Using getLeadsAfter","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/statsleads?apikey=Your-external-apikey&getLeadsAfter=649b11a8d0d1ac9c33ca2fb2","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId","statsleads"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"getLeadsAfter","value":"649b11a8d0d1ac9c33ca2fb2"}],"variable":[{"key":"campaignId","value":"<campaign-id>","description":"Campaign ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"leads\": [\n        {\n            \"firstname\": \"John\",\n            \"lastname\": \"\",\n            \"companyName\": null,\n            \"companyUrl\": null,\n            \"phone\": null,\n            \"jobTitle\": null,\n            \"profilePicture\": null,\n            \"note\": null,\n            \"status\": \"STARTED\",\n            \"id\": \"649b11a8d0d1ac9c33ca2fb3\",\n            \"email\": \"exemple@exemple.com\",\n            \"linkedinUrl\": \"https://linkedin.com/in/exemple\",\n            \"gender\": null,\n            \"industry\": null,\n            \"relationStatus\": \"NOT_SENT\",\n            \"acceptationDate\": null,\n            \"replied\": 0,\n            \"action_todo\": \"TO_REVIEW | TO_CALL | TO_QUALIFY\",\n            \"email_sent\": 0,\n            \"email_opened\": 0,\n            \"email_clicked\": 0,\n            \"email_replied\": 0,\n            \"linkedin_visit\": 0,\n            \"linkedin_dm_sent\": 0,\n            \"linkedin_audio_sent\": 0,\n            \"linkedin_replied\": 0,\n            \"linkedin_relation_status\": \"NOT_SENT\",\n            \"twitter_tweeted\": 0,\n            \"twitter_retweeted\": 0,\n            \"twitter_favourited\": 0,\n            \"twitter_followed\": 0,\n            \"twitter_unfollowed\": 0,\n            \"twitter_dm_sent\": 0,\n            \"tweet_sent\": 0,\n            \"tag\": \"COMPLETED_WITHOUT_REPLY\",\n            \"outOfOfficeReturnDate\": null,\n            \"outOfOfficeNextActionDate\": null\n        },\n       ...24 others\n    ],\n    \"count\": 457,\n    \"hasMore\": true,\n    \"hasLess\": true\n}"},{"id":"0946a8af-574b-4227-bfef-87206853d8ac","name":"Using getLeadsBefore","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/statsleads?apikey=Your-external-apikey&getLeadsBefore=649b11a8d0d1ac9c33ca2fb3","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId","statsleads"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"getLeadsBefore","value":"649b11a8d0d1ac9c33ca2fb3"}],"variable":[{"key":"campaignId","value":"<campaign-id>","description":"Campaign ID"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"leads\": [\n        {\n            \"firstname\": \"William\",\n            \"lastname\": \"\",\n            \"companyName\": null,\n            \"companyUrl\": null,\n            \"phone\": null,\n            \"jobTitle\": null,\n            \"profilePicture\": null,\n            \"note\": null,\n            \"status\": \"STARTED\",\n            \"id\": \"649b11a8d0d1ac9c33ca2fb2\",\n            \"email\": \"exemple@exemple.com\",\n            \"linkedinUrl\": \"https://linkedin.com/in/exemple\",\n            \"gender\": null,\n            \"industry\": null,\n            \"relationStatus\": \"NOT_SENT\",\n            \"acceptationDate\": null,\n            \"replied\": 0,\n            \"action_todo\": \"TO_REVIEW | TO_CALL | TO_QUALIFY\",\n            \"email_sent\": 0,\n            \"email_opened\": 0,\n            \"email_clicked\": 0,\n            \"email_replied\": 0,\n            \"linkedin_visit\": 0,\n            \"linkedin_dm_sent\": 0,\n            \"linkedin_audio_sent\": 0,\n            \"linkedin_replied\": 0,\n            \"linkedin_relation_status\": \"NOT_SENT\",\n            \"twitter_tweeted\": 0,\n            \"twitter_retweeted\": 0,\n            \"twitter_favourited\": 0,\n            \"twitter_followed\": 0,\n            \"twitter_unfollowed\": 0,\n            \"twitter_dm_sent\": 0,\n            \"tweet_sent\": 0,\n            \"tag\": \"COMPLETED_WITHOUT_REPLY\",\n            \"outOfOfficeReturnDate\": null,\n            \"outOfOfficeNextActionDate\": null\n        }\n    ],\n    \"count\": 457,\n    \"hasMore\": true,\n    \"hasLess\": false\n}"},{"id":"4558ed7a-9848-4e0c-9922-7095feae3f07","name":"Get Campaign Leads Stats","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/statsleads?apikey=Your-external-apikey&getLeadsAfter=(Optional) string&getLeadsBefore=(Optional) string","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns",":campaignId","statsleads"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"getLeadsAfter","value":"(Optional) string","description":"Lead ID"},{"key":"getLeadsBefore","value":"(Optional) string","description":"Lead ID"}],"variable":[{"key":"campaignId","value":"(Required) string","description":"Campaign ID"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"47f8eb02-49e6-4935-8664-8c9e71bd1809"},{"name":"Get Campaign Messages","id":"1d744c14-d4ee-42ea-8f9d-cfd4c7b62ce3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/campaigns/:campaignId/messages?apikey={{apikey}}","description":"<p>Returns all message templates configured in a campaign's sequence.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>campaignId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Response fields (per message template):</strong></p>\n<ul>\n<li><code>id</code> — Template ID</li>\n<li><code>type</code> — Template type</li>\n<li><code>channel</code> — Channel (EMAIL, LINKEDIN, TWITTER, etc.)</li>\n<li><code>contentHtml</code> — HTML content of the message</li>\n<li><code>subjectHtml</code> — HTML subject (for emails)</li>\n<li><code>order</code> — Position in the sequence</li>\n<li><code>active</code> — Whether the template is active</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","campaigns",":campaignId","messages"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"}],"variable":[{"id":"f3d89e99-dac4-49da-b42f-d3598ad547cb","description":{"content":"<p>(Required) The campaign ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"campaignId"}]}},"response":[{"id":"00fde574-e51c-46dc-9e2b-e949ebc2caa9","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/campaigns/60d5ec49f1a2c80015a1b2c3/messages?apikey={{apikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","campaigns","60d5ec49f1a2c80015a1b2c3","messages"],"query":[{"key":"apikey","value":"{{apikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": [\n    {\n      \"id\": \"62f1a2b3c4d5e60078901234\",\n      \"type\": \"INITIAL\",\n      \"channel\": \"EMAIL\",\n      \"contentHtml\": \"<p>Hi {{firstname}}, I noticed you work at {{companyName}}...</p>\",\n      \"subjectHtml\": \"Quick question about {{companyName}}\",\n      \"order\": 0,\n      \"active\": true\n    },\n    {\n      \"id\": \"62f1a2b3c4d5e60078901235\",\n      \"type\": \"FOLLOW_UP\",\n      \"channel\": \"LINKEDIN\",\n      \"contentHtml\": \"Hi {{firstname}}, just following up on my previous message...\",\n      \"subjectHtml\": \"\",\n      \"order\": 1,\n      \"active\": true\n    }\n  ],\n  \"total\": 2\n}"}],"_postman_id":"1d744c14-d4ee-42ea-8f9d-cfd4c7b62ce3"}],"id":"70896939-bd82-4869-9abc-efc2432f271c","description":"<p>Use these endpoints to list all your campaigns, get detailed information about a specific one, and analyze their performance.</p>\n","_postman_id":"70896939-bd82-4869-9abc-efc2432f271c"},{"name":"Audiences","item":[{"name":"List audiences","id":"f4742529-21ce-4c63-a585-a908e8dbcb2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/audiences?apikey=Your-external-apikey","description":"<p>Use this endpoint for listing audiences</p>\n","urlObject":{"protocol":"https","path":["flow","audiences"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"Your-external-apikey"}],"variable":[]}},"response":[{"id":"fc68842a-b8af-4870-ada6-f0e0cc7e9219","name":"List audiences Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/audiences?apikey=Your-external-apikey","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","audiences"],"query":[{"key":"apikey","value":"Your-external-apikey"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 02 May 2023 08:52:49 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c0f07c0cd3e6ff2-IAD"},{"key":"ETag","value":"W/\"7129-BYWNCobPqEiJw2zNcdKEXss197Q\""},{"key":"Strict-Transport-Security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"lgm-csrf-token"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fna232B8MoO53x7GbxPuylt5mBupUpyLfUKdZ3FcYJz3vbq6MRKHLqzGioGP30aaoK%2FV%2FHRlePrQ1gSSXgF3ccVtRWkdJSsSwAZvV3nyzn8KSQXvoTJO407IgqPpT%2BlQt3n1t6jZV5yT09A%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"audiences\": [\n        {\n            \"id\": \"audienceId #1\",\n            \"name\": \"audience #1 name\",\n            \"description\": \"audience #1 description\",\n            \"userId\": \"userId\",\n            \"modifiedAt\": null,\n            \"createdAt\": 1643985204689,\n            \"size\": 976,\n            \"sourceUrl\": \"https://www.linkedin.com/sales/lists/people/6803316706275012608?sortCriteria=CREATED_TIME&sortOrder=DESCENDING\",\n            \"type\": \"SALES_NAV\",\n            \"importationPending\": false\n        }\n    ]\n}"}],"_postman_id":"f4742529-21ce-4c63-a585-a908e8dbcb2d"},{"name":"Create audience from linkedin url","event":[{"listen":"test","script":{"id":"f78198f7-55e7-4206-9922-9abcd2ba17d7","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"6d8f49e9-69fc-4556-984b-9c286dedf9df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"audience","value":"(Required) string","description":"<p>Name of your existing audience or new audience</p>\n","type":"text"},{"key":"linkedinUrl","value":"(Required) string","description":"<p>Url from linkedin search</p>\n","type":"text"},{"key":"identityId","value":"(Required) string","description":"<p>Id of your identity. You must connect linkedin and open your widget</p>\n","type":"text"},{"key":"linkedinPostCategory","value":"(Optional) \"like\" or \"comment\"","type":"text","description":"<p>Leads by LinkedIn post engagement type (like or comment).</p>\n"},{"key":"excludeContactedLeads","value":"(Optional) boolean","description":"<p>Excludes leads who have already been contacted</p>\n","type":"text","uuid":"3f11d0cf-e7b8-40b9-8995-163edccd47d6"},{"key":"autoImport","value":"(Optional) boolean","description":"<p>Auto import new matching leads</p>\n","type":"text","uuid":"f4d180f4-ad70-4069-a96b-800c37f05129"}]},"url":"https://apiv2.lagrowthmachine.com/flow/audiences?apikey=Your-external-apikey","description":"<p>Import leads into your LGM audiences by providing a LinkedIn Regular search URL, a Sales Navigator search URL, or a LinkedIn post URL. You must also provide the identity to impersonate for the search query and specify the name of the audience to populate.</p>\n<p>More information: <a href=\"https://www.youtube.com/watch?v=nt54qlEbZJM\">https://www.youtube.com/watch?v=nt54qlEbZJM</a></p>\n","urlObject":{"protocol":"https","path":["flow","audiences"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>APIKEY Generated from your settings</p>\n","type":"text/plain"},"key":"apikey","value":"Your-external-apikey"}],"variable":[]}},"response":[{"id":"302a47b7-7da1-47dc-8de4-53bc9c21a46e","name":"When Identity is not connected or widget is not open","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"audience\": \"New audience\",\n    \"identityId\": \"ID\",\n    \"linkedinUrl\": \"https://www.linkedin.com/search/results/people/?facetCurrentCompany=%5B%2210923137%22%5D&facetGeoRegion=%5B%22fr%3A5227%22%2C%22fr%3A5216%22%5D&facetNetwork=%5B%22S%22%5D&keywords=lunchr&origin=FACETED_SEARCH\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/audience?apikey=your-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","audience"],"query":[{"key":"apikey","value":"your-key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Please verify your identity. Linkedin must be connected and widget need to be open.\"\n}"},{"id":"8ce63ebe-12ea-407a-a4c4-80587ba1ff28","name":"From linkedin search url","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"audience\": \"New audience\",\n    \"identityId\": \"ID\",\n    \"linkedinUrl\": \"https://www.linkedin.com/search/results/people/?facetCurrentCompany=%5B%2210923137%22%5D&facetGeoRegion=%5B%22fr%3A5227%22%2C%22fr%3A5216%22%5D&facetNetwork=%5B%22S%22%5D&keywords=lunchr&origin=FACETED_SEARCH\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/audience?apikey=your-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","audience"],"query":[{"key":"apikey","value":"your-key"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200\n}"},{"id":"140bedf8-ee0f-4e02-9d01-ed7c5ac2e5a7","name":"From linkedin post url","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"audience\": \"New audience\",\n    \"identityId\": \"ID\",\n    \"linkedinUrl\": \"https://www.linkedin.com/posts/bricemaur_this-5-stage-system-turns-strangers-into-activity-7364634970599866368-Vka7?utm_source=share&utm_medium=member_desktop&rcm=ACoAACjfgQgBWLLRagMtzmsgNM7c7bIHuqmcr2k\",\n    \"linkedinPostCategory\": \"like\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/audiences?apikey=Your-external-apikey","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","audiences"],"query":[{"key":"apikey","value":"Your-external-apikey","description":"APIKEY Generated from your settings"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6d8f49e9-69fc-4556-984b-9c286dedf9df"},{"name":"Get Audience Detail","id":"171df0fd-3416-46a7-8e3d-88855e1512dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/audiences/:audienceId/detail?apikey={{apikey}}","description":"<p>Returns detailed information about a specific audience.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>audienceId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Response fields:</strong></p>\n<ul>\n<li><code>id</code> — Audience ID</li>\n<li><code>name</code> — Audience name</li>\n<li><code>description</code> — Audience description</li>\n<li><code>size</code> — Number of leads in the audience</li>\n<li><code>type</code> — Audience type</li>\n<li><code>createdAt</code> — ISO 8601 creation date</li>\n<li><code>modifiedAt</code> — ISO 8601 last modification date</li>\n<li><code>importStatus</code> — Current import status</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","audiences",":audienceId","detail"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"}],"variable":[{"id":"2ef89616-ef41-4135-9410-a77533376715","description":{"content":"<p>(Required) The audience ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"audienceId"}]}},"response":[{"id":"fd8ea21e-55e0-4af9-81d6-0a0600f39bc0","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/audiences/60d5ec49f1a2c80015a1b2c3/detail?apikey={{apikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","audiences","60d5ec49f1a2c80015a1b2c3","detail"],"query":[{"key":"apikey","value":"{{apikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": {\n    \"id\": \"60d5ec49f1a2c80015a1b2c3\",\n    \"name\": \"Tech CTOs France\",\n    \"description\": \"CTOs from French tech companies\",\n    \"size\": 450,\n    \"type\": \"CUSTOM\",\n    \"createdAt\": \"2026-01-15T10:30:00.000Z\",\n    \"modifiedAt\": \"2026-03-20T14:22:00.000Z\",\n    \"importStatus\": \"DONE\"\n  }\n}"}],"_postman_id":"171df0fd-3416-46a7-8e3d-88855e1512dc"},{"name":"Get Audience Leads","id":"784cef38-1d78-472e-9329-1c17c32ecbea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/audiences/:audienceId/leads?apikey={{apikey}}&skip=0&limit=25","description":"<p>Returns a paginated list of leads belonging to a specific audience.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>audienceId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><code>skip</code> (optional) — Pagination offset. Default: <code>0</code></li>\n<li><code>limit</code> (optional) — Number of results per page. Min: <code>1</code>, Max: <code>100</code>, Default: <code>25</code></li>\n</ul>\n<p><strong>Response fields (per lead):</strong></p>\n<ul>\n<li><code>id</code> — Lead ID</li>\n<li><code>firstname</code> / <code>lastname</code> — Lead name</li>\n<li><code>companyName</code> — Company name</li>\n<li><code>jobTitle</code> — Job title</li>\n<li><code>linkedinUrl</code> — LinkedIn profile URL</li>\n<li><code>proEmail</code> — Professional email</li>\n<li><code>phone</code> — Phone number</li>\n<li><code>status</code> — Current lead status</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","audiences",":audienceId","leads"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"},{"description":{"content":"<p>(Optional) Number of leads to skip. Default: 0</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>(Optional) Max leads to return. Min: 1, Max: 100, Default: 25</p>\n","type":"text/plain"},"key":"limit","value":"25"}],"variable":[{"id":"e648a0da-b04d-44ee-bba0-56ce3575db25","description":{"content":"<p>(Required) The audience ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"audienceId"}]}},"response":[{"id":"bab342cb-6035-4376-b47a-25b64fca84af","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/audiences/60d5ec49f1a2c80015a1b2c3/leads?apikey={{apikey}}&skip=0&limit=2","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","audiences","60d5ec49f1a2c80015a1b2c3","leads"],"query":[{"key":"apikey","value":"{{apikey}}"},{"key":"skip","value":"0"},{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": [\n    {\n      \"id\": \"61a2b3c4d5e6f70089abcdef\",\n      \"firstname\": \"Jean\",\n      \"lastname\": \"Dupont\",\n      \"companyName\": \"Acme Corp\",\n      \"jobTitle\": \"CTO\",\n      \"linkedinUrl\": \"https://www.linkedin.com/in/jeandupont\",\n      \"proEmail\": \"jean.dupont@acme.com\",\n      \"phone\": \"+33612345678\",\n      \"status\": \"CONTACTED\"\n    },\n    {\n      \"id\": \"61a2b3c4d5e6f70089abcdf0\",\n      \"firstname\": \"Marie\",\n      \"lastname\": \"Martin\",\n      \"companyName\": \"TechStart\",\n      \"jobTitle\": \"VP Engineering\",\n      \"linkedinUrl\": \"https://www.linkedin.com/in/mariemartin\",\n      \"proEmail\": \"marie@techstart.io\",\n      \"phone\": \"\",\n      \"status\": \"REPLIED\"\n    }\n  ],\n  \"total\": 450\n}"}],"_postman_id":"784cef38-1d78-472e-9329-1c17c32ecbea"}],"id":"a3fd8f25-feca-47f8-ae73-f1bb116f7fdc","_postman_id":"a3fd8f25-feca-47f8-ae73-f1bb116f7fdc","description":""},{"name":"Identities","item":[{"name":"List identities","id":"82f33ef2-5a2c-4cf3-9143-b4ce7a39dc47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/identities?apikey={{demoApikey}}","urlObject":{"protocol":"https","path":["flow","identities"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[],"_postman_id":"82f33ef2-5a2c-4cf3-9143-b4ce7a39dc47"}],"id":"6430fc55-cfcc-4ebb-a992-b3342d45afcd","description":"<p>We currently provide an endpoint to <strong>list all your connected identities</strong>, as the <code>identity.id</code> is required in several APIs such as sending a LinkedIn or Email message.</p>\n","_postman_id":"6430fc55-cfcc-4ebb-a992-b3342d45afcd"},{"name":"Leads","item":[{"name":"Search Lead","id":"c964c953-5cd3-4fb7-9406-3a1a18bf36e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/leads/search?apikey=Your-external-apikey&firstname=&lastname=&companyName=&companyUrl&email=&linkedinUrl&leadId","description":"<p>Use this endpoint for searching lead</p>\n<p>You need to specify at least:</p>\n<ul>\n<li><p>email</p>\n</li>\n<li><p>firstname, lastname, companyName</p>\n</li>\n<li><p>firstname, lastname, companyUrl</p>\n</li>\n<li><p>linkedinUrl</p>\n</li>\n<li><p>lead ID</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","leads","search"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"description":{"content":"<p>Lead firstname</p>\n","type":"text/plain"},"key":"firstname","value":""},{"description":{"content":"<p>Lead lastname</p>\n","type":"text/plain"},"key":"lastname","value":""},{"description":{"content":"<p>Lead company name</p>\n","type":"text/plain"},"key":"companyName","value":""},{"description":{"content":"<p>Lead company Url</p>\n","type":"text/plain"},"key":"companyUrl","value":null},{"description":{"content":"<p>Will search in proEmail and persoEmail</p>\n","type":"text/plain"},"key":"email","value":""},{"description":{"content":"<p>Lead linkedin url</p>\n","type":"text/plain"},"key":"linkedinUrl","value":null},{"description":{"content":"<p>Lead ID</p>\n","type":"text/plain"},"key":"leadId","value":null}],"variable":[]}},"response":[{"id":"1557a9eb-47f4-4d3b-9cc9-1d4b07a1e5ca","name":"Lead found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/search?apikey=Your-external-apikey&firstname=lead-firstname&lastname=lead-lastname&companyName=lead-companyname&companyUrl&email&linkedinUrl","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","search"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"firstname","value":"lead-firstname","description":"Lead firstname"},{"key":"lastname","value":"lead-lastname","description":"Lead lastname"},{"key":"companyName","value":"lead-companyname","description":"Lead company name"},{"key":"companyUrl","value":null,"description":"Lead company Url"},{"key":"email","value":null,"description":"Will search in proEmail and persoEmail"},{"key":"linkedinUrl","value":null,"description":"Lead linkedin url"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 02 May 2023 07:49:32 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c0eab09fa2281f7-IAD"},{"key":"ETag","value":"W/\"624-l9DL7w42fEsR+7ncLP3An2LeRyc\""},{"key":"Strict-Transport-Security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"lgm-csrf-token"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fcYk7TWhsSWihc2F%2FpnRGQZoM1LhnuRk5g4WOVKxiuwaTGSxaigaxKa%2B%2F%2BErZP7Ty43AzR3%2BVBodlLUErLV0KIuzsU7ur6mdFMspMbBxrPcc0Kddf7lIzSc94HBDCYbe9IF1GKWwUr1HA8I%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"lead\": {\n        \"firstname\": \"Lead-firstname\",\n        \"lastname\": \"Lead-lastname\",\n        \"id\": \"leadId\",\n        \"linkedinId\": 123456789,\n        \"gender\": null, // man or woman or null\n        \"shortBio\": \"Lead bio on linkedin\",\n        \"lastActions\": {\n            \"lastStatus\": [\n                {\n                    \"campaignId\": \"campaignId 1\",\n                    \"status\": \"STARTED\",\n                    \"date\": 1665658852691\n                },\n                {\n                    \"campaignId\": \"campaignId 2\",\n                    \"status\": \"CONVERTED\",\n                    \"date\": 1664376668248\n                }\n            ]\n        },\n        \"companyName\": \"Lead-companyname\",\n        \"companyUrl\": \"Lad company Url\",\n        \"createdAt\": 1604328095719, // creation date\n        \"modifiedAt\": 1604328095719,\n        \"jobTitle\": \"Founder & CEO\",\n        \"profilePicture\": \"https://cdn.lagrowthmachine.com/profile/lead-profilepicture.jpeg\", // lead profile picture\n        \"linkedinUrl\": \"https://www.linkedin.com/in/lead_linkedinurk\", // Lead linkedin url\n        \"relationsCount\": 123, // size of the lead Linkedin network\n        \"twitter\": \"twitter_handle\", // lead twitter\n        \"proEmail\": \"lead-firstname@lagrowthmachine.com\", // lead proEmail\n        \"persoEmail\": \"lead-firstname@gmail.com\", // lead persoEmail\n        \"audiences\": [ // audiences id\n            \"5fa01a5bcfe544000965391a\",\n            \"5ffc782600f89d28bca78646\",\n            \"60afb4c5169e947a25a072bf\",\n            \"618e25f749a0dd12c3f439b5\"\n        ],\n        \"industry\": null, // lead industry\n        \"phone\": null,\n        \"customAttribute1\": null, // lead customAttribute #1\n        \"customAttribute2\": null, // lead customAttribute #2\n        \"customAttribute3\": null, // lead customAttribute #3\n        \"customAttribute4\": null, // lead customAttribute #4\n        \"customAttribute5\": null,\n        \"customAttribute6\": null,\n        \"customAttribute7\": null,\n        \"customAttribute8\": null,\n        \"customAttribute9\": null,\n        \"customAttribute10\": null,\n        \"note\": null, \n        \"location\": null, // lead location\n        \"involvedCampaigns\": [\n            {\n                \"_id\": \"CampaignId 1\",\n                \"name\": \"Campaign 1\",\n                \"status\": \"CANCELED\",\n                \"launchedAt\": 1600778222058, // date lancement campagne\n                \"tag\": \"TO_QUALIFY\"\n            },\n            {\n                \"_id\": \"CampaignId 2\",\n                \"name\": \"Campaign 2\",\n                \"status\": \"CANCELED\",\n                \"launchedAt\": 1608031794924,\n                \"tag\": \"CONTACTED\"\n            }\n        ],\n        \"involvedCampaignsLogs\": [],\n        \"hubspot\": {\n            \"firstname\": \"hubspot-firstname\", // lead hubspot firstname if hubspot activated\n            \"lastname\": \"hubspot-lastname\", // lead hubspot lastname if hubspot activated\n            \"jobTitle\": \"hubspot-jobtitle\", // lead hubspot jobTitle if hubspot activated\n            \"company\": \"hubspot company\" // lead hubspot company if hubspot activated\n        },\n        \"pipedrive\": {\n            \"firstname\": \"pipedrive firstame\", // lead pipedrive firstname if pipedrive activated\n            \"lastname\": \"pipedrive lastname\", // lead pipedrive lastname if pipedrive activated\n            \"jobTitle\": \"pipedrive jobtitle\", // lead pipedrive jobTitle if pipedrive activated\n            \"company\": \"pipedrive company\" // lead pipedrive company if pipedrive activated\n        },\n        \"lifecycle\": null,\n        \"tags\": [\n            {\n                \"campaignId\": \"campaignId 1\",\n                \"tag\": \"TO_QUALIFY\",\n                \"status\": \"REPLIED\"\n            },\n            {\n                \"campaignId\": \"campaignId 2\",\n                \"tag\": \"COMPLETED_WITHOUT_REPLY\",\n                \"status\": \"ACTIVATED\"\n            }\n        ]\n    }\n}"},{"id":"92cf76b0-e2d4-421e-a676-10ae25fed562","name":"Lead not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/search?apikey=Your-external-apikey&firstname=&lastname=&companyName=&companyUrl&email=&linkedinUrl","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","search"],"query":[{"key":"apikey","value":"Your-external-apikey"},{"key":"firstname","value":"","description":"Lead firstname"},{"key":"lastname","value":"","description":"Lead lastname"},{"key":"companyName","value":"","description":"Lead company name"},{"key":"companyUrl","value":null,"description":"Lead company Url"},{"key":"email","value":"","description":"Will search in proEmail and persoEmail"},{"key":"linkedinUrl","value":null,"description":"Lead linkedin url"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 02 May 2023 08:49:40 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"30"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"7c0f03252a72209a-IAD"},{"key":"ETag","value":"W/\"1e-5DMdKApV0MdU2ySXgB+xsmgewDo\""},{"key":"Strict-Transport-Security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Access-Control-Expose-Headers","value":"lgm-csrf-token"},{"key":"cf-apo-via","value":"origin,host"},{"key":"Content-Security-Policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"Cross-Origin-Embedder-Policy","value":"require-corp"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Cross-Origin-Resource-Policy","value":"same-origin"},{"key":"Origin-Agent-Cluster","value":"?1"},{"key":"Referrer-Policy","value":"no-referrer"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-DNS-Prefetch-Control","value":"off"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"X-XSS-Protection","value":"0"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=z%2FnyQQsARdjMajJoxEWFeNyPxAA20TeFuBmRvbBJv29QcTXNsggfBdcVg%2Fo%2BF30CpZ1c11GXkhzAlcFK6YEgTmDc5CBc2IAbRm%2FBneW79ow%2F1quzzGAZHXassj4GO68yN5T7g6gf3PpW6xI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"lead\": null\n}"}],"_postman_id":"c964c953-5cd3-4fb7-9406-3a1a18bf36e7"},{"name":"Create or Update a Lead","id":"88f49616-3f6e-4739-a612-b367aead67f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"audience","value":"(Required) string","description":"<p>Audience name</p>\n","type":"text"},{"key":"firstname","value":"(Optional) string","description":"<p>Lead firstname</p>\n","type":"text"},{"key":"lastname","value":"(Optional) string","description":"<p>Lead lastname</p>\n","type":"text"},{"key":"gender","value":"(Optional) \"man\" or \"woman\"","description":"<p>Lead gender</p>\n","type":"text"},{"key":"bio","value":"(Optional) string","description":"<p>Lead bio</p>\n","type":"text"},{"key":"companyName","value":"(Optional) string","description":"<p>Lead company name</p>\n","type":"text"},{"key":"companyUrl","value":"(Optional) string","description":"<p>Lead company url</p>\n","type":"text"},{"key":"jobTitle","value":"(Optional) string","description":"<p>Lead jobTitle</p>\n","type":"text"},{"key":"profilePicture","value":"(Optional) string","description":"<p>Lead profile picture</p>\n","type":"text"},{"key":"linkedinUrl","value":"(Optional) string","description":"<p>Lead Linkedin URL</p>\n","type":"text"},{"key":"twitter","value":"(Optional) string","description":"<p>Lead twitter</p>\n","type":"text"},{"key":"proEmail","value":"(Optional) string","description":"<p>Lead pro-email</p>\n","type":"text"},{"key":"industry","value":"(Optional) string","description":"<p>Lead industry</p>\n","type":"text"},{"key":"phone","value":"(Optional) string","description":"<p>Lead phone</p>\n","type":"text"},{"key":"customAttribute1","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute2","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute3","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute4","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute5","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute6","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute7","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute8","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute9","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"customAttribute10","value":"(Optional) string","description":"<p>Lead custom attribute</p>\n","type":"text"},{"key":"location","value":"(Optional) string","description":"<p>Lead location</p>\n","type":"text"},{"key":"persoEmail","value":"(Optional) string","description":"<p>Lead email personal</p>\n","type":"text"},{"key":"crm_id","value":"(Optional) string","description":"<p>Crm ID</p>\n","type":"text"},{"key":"leadId","value":"(Optional) string","description":"<p>Lead Id</p>\n","type":"text","uuid":"da5a9dc6-eaca-4091-b842-b432e7df432d"},{"key":"excludeContactedLeads","value":"(Optional) boolean","description":"<p>Excludes leads who have already been contacted</p>\n","type":"text","uuid":"a02bc221-97f1-4c50-b37c-747b64630286"}]},"url":"https://apiv2.lagrowthmachine.com/flow/leads?apikey=Your-external-apikey","description":"<p>Use this endpoint for creating lead</p>\n<p>You need to specify at least: audience + proEmail or persoEmail or linkedinUrl or twitter or Firstname + Lastname + (CompanyUrl or CompanyName) or you can specify its ID in the body with the param leadId</p>\n<p>More information: <a href=\"https://www.youtube.com/watch?v=nGnXtF7UfgI\">https://www.youtube.com/watch?v=nGnXtF7UfgI</a></p>\n","urlObject":{"protocol":"https","path":["flow","leads"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>APIKEY Generated from your settings</p>\n","type":"text/plain"},"key":"apikey","value":"Your-external-apikey"}],"variable":[]}},"response":[],"_postman_id":"88f49616-3f6e-4739-a612-b367aead67f8"},{"name":"Update lead Status","event":[{"listen":"test","script":{"id":"cf5b6113-a5e2-4b94-b66b-c2bdb01418c5","exec":[""],"type":"text/javascript","packages":{}}},{"listen":"prerequest","script":{"id":"433a43f8-8921-484f-85a8-0646644678a3","exec":[""],"type":"text/javascript","packages":{}}}],"id":"9837f962-fc5c-447f-a1b7-adfaa7ba97ed","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"accept":true,"accept-encoding":true,"connection":true,"host":true,"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"status","value":"(Required) string","description":"<p>Available status: PAUSED RESUME STOPPED CONVERTED  SUBSCRIBED UNSUBSCRIBED NOT_ACTIVATED ALREADY_EQUIPPED ENRICHED CONTACTED COMPLETED_WITHOUT_REPLY TO_QUALIFY UNSUBSCRIBED OUT_OF_OFFICE WRONG_TIMING CALL_BOOKED INTERESTED NOT_INTERESTED  ALREADY_EQUIPPED WRONG_TARGET NEGOTIATING NEGOTIATING READY_TO_BUY CONVERTED</p>\n","type":"text"},{"key":"campaign","type":"text","value":"(Required) Array of string OR string `all` OR string campaign name"},{"description":"<p>Lead CRM ID</p>\n","key":"crm_id","type":"text","value":"(Optional) string"},{"description":"<p>Lead Firstname</p>\n","key":"firstname","type":"text","value":"(Optional) string"},{"description":"<p>Lead Lastname</p>\n","key":"lastname","type":"text","value":"(Optional) string"},{"description":"<p>Lead Perso Email</p>\n","key":"persoEmail","type":"text","value":"(Optional) string"},{"description":"<p>Lead Pro Email</p>\n","key":"proEmail","type":"text","value":"(Optional) string"},{"description":"<p>Lead Linkedin URL</p>\n","key":"linkedinUrl","type":"text","value":"(Optional) string"},{"description":"<p>Lead Twitter</p>\n","key":"twitter","type":"text","value":"(Optional) string"},{"description":"<p>Lead Company Name</p>\n","key":"companyName","type":"text","value":"(Optional) string"},{"description":"<p>Lead Company URL</p>\n","key":"companyUrl","type":"text","value":"(Optional) string"},{"key":"memberEmail","value":"(Optional) string","description":"<p>Member email</p>\n","type":"text"},{"key":"from","value":"(Optional) string \"lead\" or \"member\"","type":"text"},{"key":"leadId","value":"(Optional) string","description":"<p>Lead Id</p>\n","type":"text","uuid":"2c82fca6-8b60-4b58-9964-7dfed3499f07"}]},"url":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=Your-external-apikey","description":"<p>Use this endpoint for updating lead status in campaign.</p>\n<p>You need to specify at least one Lead field (persoEmail, proEmail, linkedin url, crm id) or Firstname + Lastname + (CompanyUrl or CompanyName) or you can specify its ID in the body with the param leadId</p>\n<p>More information: <a href=\"https://www.youtube.com/watch?v=s4jevOQR4aY\">https://www.youtube.com/watch?v=s4jevOQR4aY</a></p>\n","urlObject":{"protocol":"https","path":["flow","leads","status"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>APIKEY Generated from your settings</p>\n","type":"text/plain"},"key":"apikey","value":"Your-external-apikey"}],"variable":[]}},"response":[{"id":"1a87d8b9-26ea-41fb-8cf7-4f8c77d865a9","name":"Success update lead status","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n{    \n    \"campaign\": [\"myCampaign\"],\n    \"status\": \"PAUSED\",\n    \"proEmail\": \"myLead@company.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Aug 2020 12:37:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"23"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ce0493f8-0243-4d44-80ed-6bf1726f6415"},{"key":"x-amzn-ErrorType","value":"ForbiddenException"},{"key":"x-amz-apigw-id","value":"Rdy7SFDGCGYFf6g="},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 6503a4af08a1126fe0f20f95c7ca4d6a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL52-C1"},{"key":"X-Amz-Cf-Id","value":"GzGWbMT3Px5VFxGS6ShEYs-WadLPvQtCOVn8PVDUQvFaLTys5yzE0w=="},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"04a32bee730000ee131b0a0200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5c4baf5d8b12ee13-CDG"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"logs\": [{\n        \"campaign\": \"myCampaign\",\n        \"leadUpdated\": true,\n        \"leadStatus\": \"PAUSED\"\n    }]\n}"},{"id":"8c2748d3-533c-46f8-983f-99244cbe498d","name":"Unsubscribe a lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n{    \n    \"campaign\": [\"myCampaign\"],\n    \"status\": \"UNSUBSCRIBED\",\n    \"proEmail\": \"myLead@company.com\",\n    \"from\": \"member\",\n    \"memberEmail\": \"member@myOrganization.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Aug 2020 12:37:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"23"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ce0493f8-0243-4d44-80ed-6bf1726f6415"},{"key":"x-amzn-ErrorType","value":"ForbiddenException"},{"key":"x-amz-apigw-id","value":"Rdy7SFDGCGYFf6g="},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 6503a4af08a1126fe0f20f95c7ca4d6a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL52-C1"},{"key":"X-Amz-Cf-Id","value":"GzGWbMT3Px5VFxGS6ShEYs-WadLPvQtCOVn8PVDUQvFaLTys5yzE0w=="},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"04a32bee730000ee131b0a0200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5c4baf5d8b12ee13-CDG"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"logs\": [{\n        \"campaign\": \"myCampaign\",\n        \"leadUpdated\": true,\n        \"leadStatus\": \"UNSUBSCRIBED\"\n    }]\n}"},{"id":"3c7560f0-660a-4fa8-9b8a-d924d32410a2","name":"Resubscribe a lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\n{    \n    \"campaign\": [\"myCampaign\"],\n    \"status\": \"SUBSCRIBED\",\n    \"proEmail\": \"myLead@company.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Aug 2020 12:37:15 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"23"},{"key":"Connection","value":"keep-alive"},{"key":"x-amzn-RequestId","value":"ce0493f8-0243-4d44-80ed-6bf1726f6415"},{"key":"x-amzn-ErrorType","value":"ForbiddenException"},{"key":"x-amz-apigw-id","value":"Rdy7SFDGCGYFf6g="},{"key":"X-Cache","value":"Error from cloudfront"},{"key":"Via","value":"1.1 6503a4af08a1126fe0f20f95c7ca4d6a.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"ATL52-C1"},{"key":"X-Amz-Cf-Id","value":"GzGWbMT3Px5VFxGS6ShEYs-WadLPvQtCOVn8PVDUQvFaLTys5yzE0w=="},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"cf-request-id","value":"04a32bee730000ee131b0a0200000001"},{"key":"Expect-CT","value":"max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\""},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"5c4baf5d8b12ee13-CDG"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"logs\": [{\n        \"campaign\": \"myCampaign\",\n        \"leadUpdated\": true,\n        \"leadStatus\": \"SUBSCRIBED\"\n    }]\n}"},{"id":"43f6d4ad-f89b-4c27-a6c9-41a3a7bf0747","name":"Lead not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"RESUME\",\n    \"campaign\": [\"myCampaign\"],\n    \"proEmail\": \"not@found.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Lead not found\"\n}"},{"id":"a0d3e8da-29f2-47d9-8865-f32eb3f26f92","name":"Campaign not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"CONVERTED\",\n    \"campaign\": [\"myCampaign\"],\n    \"persoEmail\": \"my@lead.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Campaign myCampaign not found\"\n}"},{"id":"fb86e9be-f337-4ba2-8956-6d1960b15ce6","name":"Lead already updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"status\": \"CONVERTED\",\n    \"campaign\": [\"myCampaign\"],\n    \"proEmail\": \"my@lead.com\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/status?apikey=my-private-key","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","status"],"query":[{"key":"apikey","value":"my-private-key"}]}},"status":"Success","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"logs\": [{\n      \"campaign\": \"myCampaign\",\n      \"leadUpdated\": false,\n      \"reason\": \"Lead is already CONVERTED\"\n    }]\n}"}],"_postman_id":"9837f962-fc5c-447f-a1b7-adfaa7ba97ed"},{"name":"Remove lead from audiences","id":"8c9d579b-8ff2-472d-9815-9edf936d5b1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"audience","value":"(Required) Array of string or string \"all\"","description":"<p>Name of all yours audiences. </p>\n","type":"text"},{"key":"crm_id","value":"(Optional) string","description":"<p>Lead CRM ID</p>\n","type":"text"},{"key":"firstname","value":"(Optional) string","description":"<p>Lead Firstname</p>\n","type":"text"},{"key":"lastname","value":"(Optional) string","description":"<p>Lead Lastname</p>\n","type":"text"},{"key":"persoEmail","value":"(Optional) string","description":"<p>Lead Perso Email</p>\n","type":"text"},{"key":"proEmail","value":"(Optional) string","description":"<p>Lead Pro Email</p>\n","type":"text"},{"key":"linkedinUrl","value":"(Optional) string","description":"<p>Lead Linkedin URL</p>\n","type":"text"},{"key":"twitter","value":"(Optional) string","description":"<p>Lead Twitter</p>\n","type":"text"},{"key":"companyName","value":"(Optional) string","description":"<p>Lead Company Name</p>\n","type":"text"},{"key":"companyUrl","value":"(Optional) string","description":"<p>Lead Company URL</p>\n","type":"text"}]},"url":"https://apiv2.lagrowthmachine.com/flow/leads/removefromaudience?apikey=Your-external-apikey","description":"<p>Use this endpoint for removing audiences from a lead.</p>\n<p>You need to specify at least one field or Firstname + Lastname + (CompanyUrl or CompanyName)</p>\n<p>More information: <a href=\"https://www.youtube.com/watch?v=Gj1FK9Sm57M\">https://www.youtube.com/watch?v=Gj1FK9Sm57M</a></p>\n","urlObject":{"protocol":"https","path":["flow","leads","removefromaudience"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>APIKEY Generated from your settings</p>\n","type":"text/plain"},"key":"apikey","value":"Your-external-apikey"}],"variable":[]}},"response":[],"_postman_id":"8c9d579b-8ff2-472d-9815-9edf936d5b1d"},{"name":"Get Lead Logs","id":"19c04da3-c797-49ae-997d-e58d93e9fe83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/leads/:leadId/logs?apikey={{apikey}}&skip=0&limit=25","description":"<p>Returns a paginated list of activity logs for a specific lead.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>leadId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><code>identityId</code> (optional) — Filter by identity. MongoDB ObjectId</li>\n<li><code>skip</code> (optional) — Pagination offset. Default: <code>0</code></li>\n<li><code>limit</code> (optional) — Number of results per page. Min: <code>1</code>, Max: <code>100</code>, Default: <code>25</code></li>\n</ul>\n<p><strong>Response fields (per log):</strong></p>\n<ul>\n<li><code>id</code> — Log ID</li>\n<li><code>type</code> — Log type</li>\n<li><code>status</code> — Log status (SUCCESS, FAILED, etc.)</li>\n<li><code>channel</code> — Channel (EMAIL, LINKEDIN, etc.)</li>\n<li><code>message</code> — Log message content</li>\n<li><code>createdAt</code> — ISO 8601 timestamp</li>\n<li><code>campaignId</code> — Associated campaign ID</li>\n<li><code>stepId</code> — Associated step ID</li>\n<li><code>templateId</code> — Associated template ID</li>\n<li><code>reply</code> — Whether this log is a reply</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","leads",":leadId","logs"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter logs by identity ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"key":"identityId","value":""},{"description":{"content":"<p>(Optional) Number of logs to skip. Default: 0</p>\n","type":"text/plain"},"key":"skip","value":"0"},{"description":{"content":"<p>(Optional) Max logs to return. Min: 1, Max: 100, Default: 25</p>\n","type":"text/plain"},"key":"limit","value":"25"}],"variable":[{"id":"a0430641-0c9d-46e4-ba77-f35e05e559ce","description":{"content":"<p>(Required) The lead ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"leadId"}]}},"response":[{"id":"a7e48496-2755-479c-bd5f-b050d83d2f9a","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/61a2b3c4d5e6f70089abcdef/logs?apikey={{apikey}}&skip=0&limit=2","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","61a2b3c4d5e6f70089abcdef","logs"],"query":[{"key":"apikey","value":"{{apikey}}"},{"key":"skip","value":"0"},{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": [\n    {\n      \"id\": \"63a1b2c3d4e5f60012345678\",\n      \"type\": \"MESSAGE_SENT\",\n      \"status\": \"SUCCESS\",\n      \"channel\": \"EMAIL\",\n      \"message\": \"Email sent successfully\",\n      \"createdAt\": \"2026-03-18T09:15:00.000Z\",\n      \"campaignId\": \"60d5ec49f1a2c80015a1b2c3\",\n      \"stepId\": \"60d5ec49f1a2c80015a1b2c4\",\n      \"templateId\": \"62f1a2b3c4d5e60078901234\",\n      \"reply\": false\n    },\n    {\n      \"id\": \"63a1b2c3d4e5f60012345679\",\n      \"type\": \"MESSAGE_RECEIVED\",\n      \"status\": \"SUCCESS\",\n      \"channel\": \"LINKEDIN\",\n      \"message\": \"Lead replied on LinkedIn\",\n      \"createdAt\": \"2026-03-19T14:30:00.000Z\",\n      \"campaignId\": \"60d5ec49f1a2c80015a1b2c3\",\n      \"stepId\": \"60d5ec49f1a2c80015a1b2c5\",\n      \"templateId\": \"62f1a2b3c4d5e60078901235\",\n      \"reply\": true\n    }\n  ],\n  \"total\": 12\n}"}],"_postman_id":"19c04da3-c797-49ae-997d-e58d93e9fe83"},{"name":"Get Lead Conversations","id":"5b249f9b-aef7-4c62-876e-0cf4a51baadc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/leads/:leadId/conversations?apikey={{apikey}}","description":"<p>Returns all conversations associated with a specific lead.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>leadId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><code>identityId</code> (optional) — Filter by identity. MongoDB ObjectId</li>\n</ul>\n<p><strong>Response fields (per conversation):</strong></p>\n<ul>\n<li><code>id</code> — Conversation ID</li>\n<li><code>identityId</code> — Identity ID that owns the conversation</li>\n<li><code>status</code> — Conversation status</li>\n<li><code>lastMessageAt</code> — ISO 8601 timestamp of last message</li>\n<li><code>lastMessagePreview</code> — Preview of the last message</li>\n<li><code>leadReplied</code> — Whether the lead has replied</li>\n<li><code>channel</code> — Conversation channel (EMAIL, LINKEDIN, etc.)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","leads",":leadId","conversations"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"},{"disabled":true,"description":{"content":"<p>(Optional) Filter conversations by identity ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"key":"identityId","value":""}],"variable":[{"id":"41917a26-c78c-4d61-8793-d2c841691634","description":{"content":"<p>(Required) The lead ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"leadId"}]}},"response":[{"id":"c6e113ba-2ed2-4f76-8f18-a92142247c3b","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/leads/61a2b3c4d5e6f70089abcdef/conversations?apikey={{apikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","leads","61a2b3c4d5e6f70089abcdef","conversations"],"query":[{"key":"apikey","value":"{{apikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": [\n    {\n      \"id\": \"64b1c2d3e4f5a60098765432\",\n      \"identityId\": \"60a1b2c3d4e5f60012345678\",\n      \"status\": \"ACTIVE\",\n      \"lastMessageAt\": \"2026-03-20T16:45:00.000Z\",\n      \"lastMessagePreview\": \"Thanks for reaching out, I'd love to discuss...\",\n      \"leadReplied\": true,\n      \"channel\": \"LINKEDIN\"\n    },\n    {\n      \"id\": \"64b1c2d3e4f5a60098765433\",\n      \"identityId\": \"60a1b2c3d4e5f60012345678\",\n      \"status\": \"ACTIVE\",\n      \"lastMessageAt\": \"2026-03-18T11:20:00.000Z\",\n      \"lastMessagePreview\": \"Hi Jean, I noticed your work at Acme Corp...\",\n      \"leadReplied\": false,\n      \"channel\": \"EMAIL\"\n    }\n  ],\n  \"total\": 2\n}"}],"_postman_id":"5b249f9b-aef7-4c62-876e-0cf4a51baadc"}],"id":"45f9a866-2afe-4e3d-9e0f-4a63c1b32612","_postman_id":"45f9a866-2afe-4e3d-9e0f-4a63c1b32612","description":""},{"name":"Members","item":[{"name":"List members","id":"95acb7e9-f7c4-4f2a-909c-49f51f9dbc69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/members?apikey={{demoApikey}}","urlObject":{"protocol":"https","path":["flow","members"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"4c19d14b-6593-4303-99b8-859618066be4","name":"List members","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/members?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","members"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Jun 2025 06:10:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Ray","value":"9562c79a5912c930-IAD"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"ETag","value":"W/\"1ed-ff907vD3Ex4KJ2so+eOOwJlDRiE\""},{"key":"Strict-Transport-Security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"Vary","value":"Origin, Accept-Encoding"},{"key":"access-control-allow-credentials","value":"true"},{"key":"access-control-allow-headers","value":"Content-Type"},{"key":"access-control-allow-methods","value":"GET,POST,PATCH,DELETE,OPTIONS"},{"key":"access-control-expose-headers","value":"lgm-csrf-token"},{"key":"cf-apo-via","value":"origin,host"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"Server","value":"cloudflare"},{"key":"Content-Encoding","value":"br"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"members\": [\n        {\n            \"id\": \"61e4bc2bfee5a67c674ca091\",\n            \"name\": \"boris tchangang\",\n            \"label\": \"boris tchangang\"\n        },\n        {\n            \"id\": \"5f2855f32dc68a0008632e46\",\n            \"name\": \"Cynthia Cazeres\",\n            \"label\": \"Cynthia Tchangang\"\n        }\n    ]\n}"}],"_postman_id":"95acb7e9-f7c4-4f2a-909c-49f51f9dbc69"}],"id":"366da672-bd0a-4093-98af-bc0ac9330277","description":"<p>Use this endpoint to retrieve the list of <strong>members (users)</strong> associated with your workspace.</p>\n<h3 id=\"why-is-this-useful\">Why is this useful?</h3>\n<p>For some advanced features — especially around <strong>Inbox messages and webhooks</strong> — you need to identify <strong>which member performed an action</strong>.</p>\n<p>Some action-based endpoints (like sending a LinkedIn or Email message) require you to specify the <strong><code>memberId</code></strong> who will perform the action.</p>\n<p>This ID represents the teammate inside your workspace, and ensures the action is executed in their name.</p>\n<p>This ID is important for correctly attributing actions, handling replies, or applying custom rules based on the sender.</p>\n","_postman_id":"366da672-bd0a-4093-98af-bc0ac9330277"},{"name":"Inbox","item":[{"name":"Create Inbox Event Webhook","id":"c668f93a-461b-403a-bc09-ee343d5e4fea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"{{customWebhookUrl}}\",\n    \"name\": \"Demo webhook\",\n    \"description\": \"My demo webhook\",\n    \"campaigns\": [\"all\"]\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks?apikey={{demoApikey}}","description":"<h3 id=\"📬-create-an-inbox-webhook\">📬 Create an Inbox Webhook</h3>\n<p>Use this endpoint to register a new webhook that will receive real-time inbox events (LinkedIn and Email messages).</p>\n<p><em>Request body:</em></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"url\": \"https://webhook.site/boris-webhook\",         // required: must be a valid, accessible POST URL\n  \"name\": \"Demo webhook\",                              // required: webhook identifier\n  \"description\": \"My demo webhook\",                    // optional: internal description\n  \"campaigns\": [\"camp_123\", \"camp_456\"]                // optional: array of campaign IDs to filter messages\n}\n\n</code></pre>\n<p><strong>url</strong> must be publicly accessible and respond to POST requests with a 200 OK.</p>\n<p>If <strong>campaigns</strong> is omitted or left empty, the webhook will receive messages from all campaigns.</p>\n","urlObject":{"protocol":"https","path":["flow","inboxWebhooks"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"cce4b91c-6a07-4f3f-ad85-47d02eb1a864","name":"Create Inbox Event Webhook","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"url\": \"your webhook url there that should reply with 200\",\n    \"name\": \"An identifiable name for the webhook\",\n    \"description\": \"\",\n    \"campaigns\": [] // List of campaign to listen, default value [\"all\"]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inboxWebhooks"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"id\": \"f7e97bab-0880-4eca-b913-1e0e8a0505a1\",\n    \"url\": \"your-webhook-url\",\n    \"key\": \"Demo webhook\",\n    \"type\": \"INBOX_EVENT\",\n    \"campaigns\": [],\n    \"audiences\": [\n        \"all\"\n    ],\n    \"tags\": [],\n    \"createdAt\": \"2025-06-26T14:01:15.155Z\"\n}"}],"_postman_id":"c668f93a-461b-403a-bc09-ee343d5e4fea"},{"name":"Delete Inbox Webhooks","id":"37d92ac8-8c44-4f66-bd65-298f9bc62615","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks/:webhookId?apikey={{demoApikey}}","description":"<p>Use this endpoint to <strong>delete an existing inbox webhook</strong> by providing its <code>webhookId</code>.<br />Once deleted, you will no longer receive inbox events at the associated URL.</p>\n","urlObject":{"protocol":"https","path":["flow","inboxWebhooks",":webhookId"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[{"type":"any","value":"Weebhook id","key":"webhookId"}]}},"response":[{"id":"8670ce00-2529-4665-a5d0-2b6dcfa31dd3","name":"Delete Inbox Webhooks","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks/:webhookId?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inboxWebhooks",":webhookId"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[{"key":"webhookId","value":"previous created webhook id"}]}},"code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\"success\":true}"}],"_postman_id":"37d92ac8-8c44-4f66-bd65-298f9bc62615"},{"name":"List Inbox Webhooks","id":"f61cf755-b18f-4912-8b9b-6bf57f1fc582","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks?apikey={{demoApikey}}","description":"<p>Use this endpoint to <strong>list all the inbox webhooks</strong> currently configured in your workspace.<br />It returns the full list of registered webhooks along with their IDs, names, and target URLs.</p>\n","urlObject":{"protocol":"https","path":["flow","inboxWebhooks"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"c0a20bee-50c5-48fa-b2da-bb69e1b32e33","name":"List Inbox Webhooks","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inboxWebhooks?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inboxWebhooks"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"[\n    {\n        \"id\":\"id1\",\n        \"url\":\"webhook url\",\n        \"key\":\"Test webhook pour notifications inbox 2025-04-04\",\n        \"type\":\"INBOX_EVENT\",\n        \"campaigns\":[\"all\"],\n        \"createdAt\":\"2025-04-04T12:44:22.988Z\"\n    }\n]"}],"_postman_id":"f61cf755-b18f-4912-8b9b-6bf57f1fc582"},{"name":"Send A Linkedin Message To A Lead","id":"148aee7e-778f-4261-9005-d4303566fe6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identityId\": \"{{identityId}}\", // Identity Id\n    \"memberId\": \"{{memberId}}\", // Member Id\n    \"leadId\": \"{{leadId}}\", // Lead Id - provide leadId or linkedinUrl - not both\n    // \"linkedinUrl\": \"\", // Linkedin url\n    \"message\": \"Live test - Hello there\" // Message To Send - provide message or audioUrl - not both\n    //\"audioUrl\": \"\" // Audio url to Send\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/inbox/linkedin?apikey={{demoApikey}}","description":"<p>This endpoint allows you to send a <strong>LinkedIn text or voice message</strong> to a lead via one of your connected identities.</p>\n<p>You must provide either a <code>leadId</code> or a <code>linkedinUrl</code>, along with the <code>identityId</code> and the <code>memberId</code> performing the action.</p>\n<hr />\n<h3 id=\"request-body\">Request body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"identityId\": \"identity_123\",       // required – the identity used to send the message\n  \"memberId\": \"member_001\",           // required – the member performing the action\n  \"leadId\": \"lead_456\",               // optional – the lead ID to message\n  \"linkedinUrl\": \"https://...\",       // optional – LinkedIn profile if leadId not provided\n  \"message\": \"Hi! Are you available to chat this week?\", // required if audioUrl not provided\n  \"audioUrl\": \"https://...\"           // optional – link to a voice message\n}\n\n</code></pre><p>⚠️ You must provide <strong>either</strong> <code>leadId</code> <strong>or</strong> <code>linkedinUrl</code>.<br />⚠️ You must also provide <strong>either</strong> a <code>message</code> or an <code>audioUrl</code>.</p>\n<h3 id=\"input-parameters\">Input Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>identityId</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>ID of the LinkedIn identity that will send the message.</td>\n</tr>\n<tr>\n<td><code>memberId</code></td>\n<td><code>string</code></td>\n<td>✅ Yes</td>\n<td>ID of the member (user) performing the action. Used for attribution and permissions.</td>\n</tr>\n<tr>\n<td><code>leadId</code></td>\n<td><code>string</code></td>\n<td>❌ Optional</td>\n<td>ID of the lead to message. Required if <code>linkedinUrl</code> is not provided.</td>\n</tr>\n<tr>\n<td><code>linkedinUrl</code></td>\n<td><code>string</code></td>\n<td>❌ Optional</td>\n<td>LinkedIn profile URL of the lead. Required if <code>leadId</code> is not provided.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td><code>string</code></td>\n<td>❌ Optional</td>\n<td>Text message to send. Required if <code>audioUrl</code> is not provided.</td>\n</tr>\n<tr>\n<td><code>audioUrl</code></td>\n<td><code>string</code></td>\n<td>❌ Optional</td>\n<td>URL to a hosted voice message (MP3). Required if <code>message</code> is not provided.</td>\n</tr>\n<tr>\n<td><code>attachments</code></td>\n<td><code>array</code></td>\n<td>❌ Optional</td>\n<td>List of file URLs to attach to the message.</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td><code>string</code></td>\n<td>❌ Optional</td>\n<td>Optional source identifier (<code>api</code>, <code>make</code>, <code>n8n</code>, <code>zapier</code>). Helps with tracking usage context.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"important-rules\">Important rules</h3>\n<ul>\n<li><p>You <strong>must</strong> provide at least one of: <code>leadId</code> <strong>or</strong> <code>linkedinUrl</code>.</p>\n</li>\n<li><p>You <strong>must</strong> provide at least one of: <code>message</code> <strong>or</strong> <code>audioUrl</code>.</p>\n</li>\n<li><p><code>identityId</code> and <code>memberId</code> are <strong>always required</strong>.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><code>memberId</code> must be retrieved using the <a href=\"#members-api\">Members API</a>.</p>\n</li>\n<li><p><code>identityId</code> must match a connected LinkedIn identity in your account.</p>\n</li>\n<li><p>The system automatically looks up or matches the lead based on <code>leadId</code> or <code>linkedinUrl</code>.</p>\n</li>\n<li><p>If no conversation exists with the lead and identity, the request will fail with <code>\"Conversation not found\"</code>.</p>\n</li>\n</ul>\n<blockquote>\n<p>⚠️ <strong>Warning: Be Responsible with Your API Usage</strong> </p>\n</blockquote>\n<p>Please ensure that your scripts are properly controlled and not unintentionally looping over this endpoint.<br />Uncontrolled or excessive calls may affect your experience and platform stability.</p>\n<p>La Growth Machine is <strong>not responsible for accidental or abusive usage</strong> caused by misconfigured automations or scripts.</p>\n","urlObject":{"protocol":"https","path":["flow","inbox","linkedin"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"9b3d3c72-97e3-42d6-bceb-62e27dd39a31","name":"Send A Linkedin Message To A Lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identityId\": \"5f285dd71060540008900c6b\", // Identity Id\n    \"memberId\": \"61e4bc2bfee5a67c674ca091\", // Member Id\n    \"leadId\": \"5f843e8cdef4d50008ebb45c\", // Lead Id - provide leadId or linkedinUrl - not both\n    // \"linkedinUrl\": \"\", // Linkedin url\n    \"message\": \"Live test - Hello there\" // Message To Send - provide message or audioUrl - not both\n    //\"audioUrl\": \"\" // Audio url to Send\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/linkedin?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","linkedin"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Jun 2025 08:24:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"strict-transport-security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"vary","value":"X-HTTP-Method-Override, Origin"},{"key":"access-control-allow-credentials","value":"true"},{"key":"access-control-expose-headers","value":"lgm-csrf-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET,POST,PATCH,DELETE,OPTIONS"},{"key":"access-control-allow-headers","value":"Content-Type"},{"key":"etag","value":"W/\"4830-X4TjJeYd/v95Y4+c6nL94ncMbkU\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"95638bc0b8c0209a-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"lead\": {\n        \"firstname\": \"Tom\",\n        \"lastname\": \"John\",\n        \"id\": \"lead-id\",\n        \"gender\": \"man\",\n        \"shortBio\": \"CXO\",\n        \"lastActions\": {\n            \"last\": [\n                {\n                    \"campaignId\": \"5f69efcc0d10960008843c\",\n                    \"type\": \"GOOGLE_ON_REPLY\",\n                    \"channel\": \"GOOGLE\",\n                    \"date\": 1600850701996\n                }\n            ],\n            \"lastStatus\": [\n                {\n                    \"campaignId\": \"62c2b6ad10dcf12e212320\",\n                    \"status\": \"STARTED\",\n                    \"date\": 1665658852691\n                }\n            ]\n        },\n        \"companyName\": \"Tom Agency\",\n        \"companyUrl\": \"https://tomAgency.io\",\n        \"createdAt\": 1596528516794,\n        \"modifiedAt\": 1738834739541,\n        \"jobTitle\": \"Product Owner\",\n        \"linkedinUrl\": \"https://www.linkedin.com/in/link-to-linkedin-url\",\n        \"salesNavUrl\": \"https://www.linkedin.com/sales/people/link-to-sales-nav,NAME_SEARCH\",\n        \"userId\": \"user-id\",\n        \"twitter\": \"twitter-if-found\",\n        \"proEmail\": \"lead's pro email\",\n        \"audiences\": [\n            \"5f29173dc0efab0006e346c0\"\n        ],\n        \"industry\": \"Saas\",\n        \"phone\": null,\n        \"companyPhone\": null,\n        \"customAttribute1\": null,\n        \"customAttribute2\": null,\n        \"customAttribute3\": null,\n        \"customAttribute4\": null,\n        \"customAttribute5\": null,\n        \"customAttribute6\": null,\n        \"customAttribute7\": null,\n        \"customAttribute8\": null,\n        \"customAttribute9\": null,\n        \"customAttribute10\": null,\n        \"note\": null,\n        \"location\": \"Paris, France\",\n        \"audiencesWithName\": [],\n        \"pausedCampaigns\": [],\n        \"involvedCampaigns\": [\n            {\n                \"_id\": \"5f69efc09310993108ba4932\",\n                \"name\": \"Test email campaign\",\n                \"status\": \"CANCELED\",\n                \"launchedAt\": 1600778222058,\n                \"tag\": \"TO_QUALIFY\"\n            }\n        ],\n        \"involvedCampaignsLogs\": [],\n        \"hubspot\": {},\n        \"pipedrive\": {\n            \"firstname\": \"Tom\",\n            \"lastname\": \"John\",\n            \"jobTitle\": \"CXO\",\n            \"company\": \"Tom Agency\"\n        },\n        \"lifecycle\": null,\n        \"lastMessageSentAt\": 1738834709876,\n        \"reply\": {\n            \"repliedAt\": 1744129740682,\n            \"content\": \"Yes, ok for me\",\n            \"identityId\": \"5f285dd71060540008901284\",\n            \"channel\": \"LINKEDIN\"\n        },\n        \"tags\": [\n            {\n                \"campaignId\": \"632cc1501d0ece52a2d53912\",\n                \"tag\": \"TO_QUALIFY\",\n                \"status\": \"REPLIED\"\n            }\n        ]\n    }\n}"},{"id":"0f6e3c73-237a-4814-8427-cfd80396f06b","name":"404 - Send A Linkedin Message To A Lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identityId\": \"5f285dd71060540008900c6b\", // Identity Id\n    \"memberId\": \"61e4bc2bfee5a67c674ca091\", // Member Id\n    \"leadId\": \"5f843e8cdef4d50008ebb45c\" // Lead Id - provide leadId or linkedinUrl - not both\n    // \"linkedinUrl\": \"\", // Linkedin url\n    //\"message\": \"Live test - Hello there\" // Message To Send - provide message or audioUrl - not both\n    //\"audioUrl\": \"\" // Audio url to Send\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/linkedin?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","linkedin"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Jun 2025 08:31:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"strict-transport-security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"vary","value":"X-HTTP-Method-Override, Origin"},{"key":"access-control-allow-credentials","value":"true"},{"key":"access-control-expose-headers","value":"lgm-csrf-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET,POST,PATCH,DELETE,OPTIONS"},{"key":"access-control-allow-headers","value":"Content-Type"},{"key":"etag","value":"W/\"30-DLq0pUEDtCjDi/6avf+J0zlvg04\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9563966c9887e14c-IAD"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Please provide a message or audioUrl\"\n}"},{"id":"a23ebe0c-da57-4001-a9f4-1a729c1e0d6b","name":"Send A Linkedin Voice Message To A Lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"identityId\": \"5f285dd7106054941200c6b\", // Identity Id\n    \"memberId\": \"61e4bc2bfee54312c674ca091\", // Member Id\n    \"leadId\": \"5f843e81Jq34d50008ebb45c\", // Lead Id - provide leadId or linkedinUrl - not both\n    // \"linkedinUrl\": \"\", // Linkedin url\n    // \"message\": \"Live test - Hello there\" // Message To Send - provide message or audioUrl - not both\n    \"audioUrl\": \"direct download link to your mp3 file\" // Audio url to Send\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/linkedin?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","linkedin"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 27 Jun 2025 08:42:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"content-security-policy","value":"default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests"},{"key":"cross-origin-embedder-policy","value":"require-corp"},{"key":"cross-origin-opener-policy","value":"same-origin"},{"key":"cross-origin-resource-policy","value":"same-origin"},{"key":"origin-agent-cluster","value":"?1"},{"key":"referrer-policy","value":"no-referrer"},{"key":"strict-transport-security","value":"max-age=2592000; includeSubDomains; preload"},{"key":"x-content-type-options","value":"nosniff"},{"key":"x-dns-prefetch-control","value":"off"},{"key":"x-download-options","value":"noopen"},{"key":"x-frame-options","value":"SAMEORIGIN"},{"key":"x-permitted-cross-domain-policies","value":"none"},{"key":"x-xss-protection","value":"0"},{"key":"vary","value":"X-HTTP-Method-Override, Origin"},{"key":"access-control-allow-credentials","value":"true"},{"key":"access-control-expose-headers","value":"lgm-csrf-token"},{"key":"access-control-allow-origin","value":"*"},{"key":"access-control-allow-methods","value":"GET,POST,PATCH,DELETE,OPTIONS"},{"key":"access-control-allow-headers","value":"Content-Type"},{"key":"etag","value":"W/\"4830-X4TjJeYd/v95Y4+c6nL94ncMbkU\""},{"key":"cf-cache-status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"9563a6218ab3f828-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"lead\": {\n        \"firstname\": \"Tom\",\n        \"lastname\": \"John\",\n        \"id\": \"lead-id\",\n        \"gender\": \"man\",\n        \"shortBio\": \"CXO\",\n        \"lastActions\": {\n            \"last\": [\n                {\n                    \"campaignId\": \"5f69efcc0d10960008843c\",\n                    \"type\": \"GOOGLE_ON_REPLY\",\n                    \"channel\": \"GOOGLE\",\n                    \"date\": 1600850701996\n                }\n            ],\n            \"lastStatus\": [\n                {\n                    \"campaignId\": \"62c2b6ad10dcf12e212320\",\n                    \"status\": \"STARTED\",\n                    \"date\": 1665658852691\n                }\n            ]\n        },\n        \"companyName\": \"Tom Agency\",\n        \"companyUrl\": \"https://tomAgency.io\",\n        \"createdAt\": 1596528516794,\n        \"modifiedAt\": 1738834739541,\n        \"jobTitle\": \"Product Owner\",\n        \"linkedinUrl\": \"https://www.linkedin.com/in/link-to-linkedin-url\",\n        \"salesNavUrl\": \"https://www.linkedin.com/sales/people/link-to-sales-nav,NAME_SEARCH\",\n        \"userId\": \"user-id\",\n        \"twitter\": \"twitter-if-found\",\n        \"proEmail\": \"lead's pro email\",\n        \"audiences\": [\n            \"5f29173dc0efab0006e346c0\"\n        ],\n        \"industry\": \"Saas\",\n        \"phone\": null,\n        \"companyPhone\": null,\n        \"customAttribute1\": null,\n        \"customAttribute2\": null,\n        \"customAttribute3\": null,\n        \"customAttribute4\": null,\n        \"customAttribute5\": null,\n        \"customAttribute6\": null,\n        \"customAttribute7\": null,\n        \"customAttribute8\": null,\n        \"customAttribute9\": null,\n        \"customAttribute10\": null,\n        \"note\": null,\n        \"location\": \"Paris, France\",\n        \"audiencesWithName\": [],\n        \"pausedCampaigns\": [],\n        \"involvedCampaigns\": [\n            {\n                \"_id\": \"5f69efc09310993108ba4932\",\n                \"name\": \"Test email campaign\",\n                \"status\": \"CANCELED\",\n                \"launchedAt\": 1600778222058,\n                \"tag\": \"TO_QUALIFY\"\n            }\n        ],\n        \"involvedCampaignsLogs\": [],\n        \"hubspot\": {},\n        \"pipedrive\": {\n            \"firstname\": \"Tom\",\n            \"lastname\": \"John\",\n            \"jobTitle\": \"CXO\",\n            \"company\": \"Tom Agency\"\n        },\n        \"lifecycle\": null,\n        \"lastMessageSentAt\": 1738834709876,\n        \"reply\": {\n            \"repliedAt\": 1744129740682,\n            \"content\": \"Yes, ok for me\",\n            \"identityId\": \"5f285dd71060540008901284\",\n            \"channel\": \"LINKEDIN\"\n        },\n        \"tags\": [\n            {\n                \"campaignId\": \"632cc1501d0ece52a2d53912\",\n                \"tag\": \"TO_QUALIFY\",\n                \"status\": \"REPLIED\"\n            }\n        ]\n    }\n}"}],"_postman_id":"148aee7e-778f-4261-9005-d4303566fe6c"},{"name":"Send An Email Message To A Lead","id":"b2b4d9ae-449b-4976-81b6-334099c8c56b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"html\": \"HTML version\",\n        \"text\": \"Text version\"\n    },\n    \"identityId\": \"{{identityId}}\",\n    \"leadId\": \"{{leadId}}\",\n    \"leadEmail\": \"{{leadEmail}}\",\n    \"replyInLastThread\": true, // or false\n    \"replyToMessageId\": \"6319da209a76c178a1210b2f\",\n    \"subject\": \"{{Subject if not replying to previous message or not replying in thread}}\",\n    \"cc\": \"email1, email2\",\n    \"bcc\": \"email3, email4\"\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/inbox/email?apikey={{demoApikey}}","description":"<h2 id=\"📧-send-an-email-to-a-lead\">📧 Send an Email to a Lead</h2>\n<p>This endpoint allows you to send a custom email to a lead using one of your connected email identities.</p>\n<hr />\n<p>Request Body</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Request body\n{\n    \"message\": {\n        \"html\": \"Your html email version.\",\n        \"text\": \"Your text version.\"\n    },\n    \"identityId\": \"identity_123\",\n    \"leadId\": \"lead_123\",\n    \"leadEmail\": \"lead@lagrowthmachine.com\",\n    \"replyInLastThread\": true,\n    \"replyToMessageId\": \"last_message_id\",\n    \"subject\": \"Re: LGM has the best apis for inbox\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"input-parameters\">Input Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>message.html</td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>The HTML version of the email body.</td>\n</tr>\n<tr>\n<td>message.text</td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>plain-text version of the email body.</td>\n</tr>\n<tr>\n<td>identityId</td>\n<td>string</td>\n<td>✅ Yes</td>\n<td>ID of the email identity that will send the message.</td>\n</tr>\n<tr>\n<td>leadId</td>\n<td>string</td>\n<td>⚠️ One of leadId or leadEmail required</td>\n<td>ID of the target lead.</td>\n</tr>\n<tr>\n<td>leadEmail</td>\n<td>string</td>\n<td>⚠️ One of leadId or leadEmail required</td>\n<td>Email address of the lead. Must be valid.</td>\n</tr>\n<tr>\n<td>replyInLastThread</td>\n<td>boolean</td>\n<td>⚠️ One of replyInLastThread, replyToMessageId, or subject required</td>\n<td>Whether to reply in the last thread.</td>\n</tr>\n<tr>\n<td>replyToMessageId</td>\n<td>string</td>\n<td>⚠️ Same group as above</td>\n<td>ID of a specific message to reply to.</td>\n</tr>\n<tr>\n<td>subject</td>\n<td>string</td>\n<td>⚠️ Same group as above</td>\n<td>Email subject. Required if not replying.</td>\n</tr>\n<tr>\n<td>cc</td>\n<td>string</td>\n<td>❌ Optional</td>\n<td>Comma-separated list of CC recipients.</td>\n</tr>\n<tr>\n<td>bcc</td>\n<td>string</td>\n<td>❌ Optional</td>\n<td>Comma-separated list of BCC recipients.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"important-rules\">Important rules</h3>\n<p>⚠️ You must provide at least one of leadId or leadEmail</p>\n<p>⚠️ You must also provide at least one of:</p>\n<ul>\n<li><p>replyInLastThread</p>\n</li>\n<li><p>replyToMessageId</p>\n</li>\n<li><p>subject</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><code>identityId</code> must match a connected LinkedIn identity in your account.</p>\n</li>\n<li><p>The system automatically looks up or matches the lead based on <code>leadId</code> or <code>linkedinUrl</code>.</p>\n</li>\n<li><p>If no conversation exists with the lead and identity, the request will fail with <code>\"Conversation not found\"</code>.</p>\n</li>\n</ul>\n<blockquote>\n<p>⚠️ <strong>Warning: Be Responsible with Your API Usage</strong> </p>\n</blockquote>\n<p>Please ensure that your scripts are properly controlled and not unintentionally looping over this endpoint.<br />Uncontrolled or excessive calls may affect your experience and platform stability.</p>\n<p>La Growth Machine is <strong>not responsible for accidental or abusive usage</strong> caused by misconfigured automations or scripts.</p>\n","urlObject":{"protocol":"https","path":["flow","inbox","email"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"0055450a-daa1-468c-9a5e-70c882a37e1f","name":"Send An Email Message To A Lead","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"html\": \"HTML version\",\n        \"text\": \"Text version\"\n    },\n    \"identityId\": \"{{identityId}}\",\n    \"leadId\": \"{{leadId}}\",\n    \"leadEmail\": \"{{leadEmail}}\",\n    \"replyInLastThread\": true, // or false\n    \"replyToMessageId\": \"6319da209a76c178a1210b2f\",\n    \"subject\": \"{{Subject if not replying to previous message or not replying in thread}}\",\n    \"cc\": \"email1, email2\",\n    \"bcc\": \"email3, email4\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/email?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","email"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"statusCode\": 200,\n    \"lead\": {\n        \"firstname\": \"Tom\",\n        \"lastname\": \"John\",\n        \"id\": \"lead-id\",\n        \"gender\": \"man\",\n        \"shortBio\": \"CXO\",\n        \"lastActions\": {\n            \"last\": [\n                {\n                    \"campaignId\": \"5f69efcc0d10960008843c\",\n                    \"type\": \"GOOGLE_ON_REPLY\",\n                    \"channel\": \"GOOGLE\",\n                    \"date\": 1600850701996\n                }\n            ],\n            \"lastStatus\": [\n                {\n                    \"campaignId\": \"62c2b6ad10dcf12e212320\",\n                    \"status\": \"STARTED\",\n                    \"date\": 1665658852691\n                }\n            ]\n        },\n        \"companyName\": \"Tom Agency\",\n        \"companyUrl\": \"https://tomAgency.io\",\n        \"createdAt\": 1596528516794,\n        \"modifiedAt\": 1738834739541,\n        \"jobTitle\": \"Product Owner\",\n        \"linkedinUrl\": \"https://www.linkedin.com/in/link-to-linkedin-url\",\n        \"salesNavUrl\": \"https://www.linkedin.com/sales/people/link-to-sales-nav,NAME_SEARCH\",\n        \"userId\": \"user-id\",\n        \"twitter\": \"twitter-if-found\",\n        \"proEmail\": \"lead's pro email\",\n        \"audiences\": [\n            \"5f29173dc0efab0006e346c0\"\n        ],\n        \"industry\": \"Saas\",\n        \"phone\": null,\n        \"companyPhone\": null,\n        \"customAttribute1\": null,\n        \"customAttribute2\": null,\n        \"customAttribute3\": null,\n        \"customAttribute4\": null,\n        \"customAttribute5\": null,\n        \"customAttribute6\": null,\n        \"customAttribute7\": null,\n        \"customAttribute8\": null,\n        \"customAttribute9\": null,\n        \"customAttribute10\": null,\n        \"note\": null,\n        \"location\": \"Paris, France\",\n        \"audiencesWithName\": [],\n        \"pausedCampaigns\": [],\n        \"involvedCampaigns\": [\n            {\n                \"_id\": \"5f69efc09310993108ba4932\",\n                \"name\": \"Test email campaign\",\n                \"status\": \"CANCELED\",\n                \"launchedAt\": 1600778222058,\n                \"tag\": \"TO_QUALIFY\"\n            }\n        ],\n        \"involvedCampaignsLogs\": [],\n        \"hubspot\": {},\n        \"pipedrive\": {\n            \"firstname\": \"Tom\",\n            \"lastname\": \"John\",\n            \"jobTitle\": \"CXO\",\n            \"company\": \"Tom Agency\"\n        },\n        \"lifecycle\": null,\n        \"lastMessageSentAt\": 1738834709876,\n        \"reply\": {\n            \"repliedAt\": 1744129740682,\n            \"content\": \"Yes, ok for me\",\n            \"identityId\": \"5f285dd71060540008901284\",\n            \"channel\": \"LINKEDIN\"\n        },\n        \"tags\": [\n            {\n                \"campaignId\": \"632cc1501d0ece52a2d53912\",\n                \"tag\": \"TO_QUALIFY\",\n                \"status\": \"REPLIED\"\n            }\n        ]\n    }\n}"},{"id":"179589b0-2833-4aab-b518-4c48d4047b3e","name":"Failed because Identity does not exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"html\": \"HTML version\",\n        \"text\": \"Text version\"\n    },\n    \"identityId\": \"identityIdThatDoesNotExists\",\n    \"leadId\": \"{{leadId}}\",\n    \"leadEmail\": \"{{leadEmail}}\",\n    \"replyInLastThread\": true, // or false\n    \"replyToMessageId\": \"6319da209a76c178a1210b2f\",\n    \"subject\": \"{{Subject if not replying to previous message or not replying in thread}}\",\n    \"cc\": \"email1, email2\",\n    \"bcc\": \"email3, email4\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/email?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","email"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"code":404,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Identity not found\"\n}"},{"id":"27802f35-c321-4cd8-bdcf-026e778c8dd4","name":"Failed because Identity does not exist Copy","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"message\": {\n        \"html\": \"HTML version\",\n        \"text\": \"Text version\"\n    },\n    \"identityId\": \"{{identityid}}\",\n    \"leadId\": \"{{leadIdThatDoesNotExist}}\",\n    \"leadEmail\": \"{{leadEmail}}\",\n    \"replyInLastThread\": true, // or false\n    \"replyToMessageId\": \"6319da209a76c178a1210b2f\",\n    \"subject\": \"{{Subject if not replying to previous message or not replying in thread}}\",\n    \"cc\": \"email1, email2\",\n    \"bcc\": \"email3, email4\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/email?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","email"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"code":404,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"error\": \"Lead with email emailthatdoes@notexists.com not found\"\n}"}],"_postman_id":"b2b4d9ae-449b-4976-81b6-334099c8c56b"},{"name":"Edit Inbox Conversation Note","id":"6a89593e-24d1-44cd-b006-089315343c2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"conversationId\": \"string\",\n    \"leadId\": \"string\",\n    \"email\": \"string\",\n    \"linkedinUrl\": \"string\",\n    \"note\": \"This is email\",\n    \"mode\": \"append\", //'replace' | 'append';\n    \"identityId\": \"string\",\n    \"campaignId\": \"string\",\n    \"campaignName\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/inbox/conversations/note?apikey={{demoApikey}}","urlObject":{"protocol":"https","path":["flow","inbox","conversations","note"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[{"id":"6f9a8192-417b-4ff4-858e-9cf26d945958","name":"Edit Inbox Conversation Note","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"conversationId\": \"651e981118082022cc099851\",\n    \"leadId\": \"650c056ca3f66db7f6b700df\",\n    \"email\": \"string\",\n    \"linkedinUrl\": \"string\",\n    \"note\": \"This is email\",\n    \"mode\": \"append\", //'replace' | 'append';\n    \"identityId\": \"string\",\n    \"campaignId\": \"string\",\n    \"campaignName\": \"string\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/inbox/conversations/note?apikey={{demoApikey}}","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","inbox","conversations","note"],"query":[{"key":"apikey","value":"{{demoApikey}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"","header":[],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"conversationId\": \"651e981118082022cc099851\",\n        \"leadId\": \"650c056ca3f66db7f6b700df\",\n        \"note\": \"Lead phone found on Lusha\\n-- 2026-02-11 04:48 --\\nCall ASAP\",\n        \"mode\": \"append\",\n        \"truncated\": false,\n        \"noteLength\": 54,\n        \"timestamp\": \"2026-02-11T04:48:37.200Z\"\n    }\n}"}],"_postman_id":"6a89593e-24d1-44cd-b006-089315343c2d"}],"id":"5785fd7a-c7f4-4e6f-8191-8a7aaa9312fb","description":"<h2 id=\"inbox-note\">Inbox Note</h2>\n<p>This endpoint allows you to update the note (PostIt) attached to an inbox conversation. Notes are short text annotations visible in the LGM inbox, useful for adding context, CRM sync data, or any custom information about a lead's conversation.</p>\n<hr />\n<h3 id=\"use-cases\">Use cases</h3>\n<ul>\n<li><p>CRM Sync: Automatically push CRM deal stage, score, or status into the conversation note from tools like HubSpot, Salesforce, or Pipedrive via webhooks/Zapier.</p>\n</li>\n<li><p>Enrichment Data: After enriching a lead externally, append qualification info (company size, funding round, tech stack) to the conversation note.</p>\n</li>\n<li><p>Sales Notes: Let your sales team push call summaries or meeting notes from an external tool directly into the LGM inbox.</p>\n</li>\n<li><p>Workflow Automation: Use Make/Zapier/n8n to automatically tag conversations with relevant context when a lead replies or triggers an event.</p>\n</li>\n<li><p>Lead Scoring: Append a lead score update each time it changes, keeping a timestamped history in the note.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"how-to-identify-a-conversation\">How to Identify a Conversation</h3>\n<p>You must provide <strong>at least one</strong> of the following identifiers to target a conversation:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Identifier</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>conversationId: string</td>\n<td>Direct conversationId</td>\n</tr>\n<tr>\n<td>leadId: string</td>\n<td>The system finds the associated conversation</td>\n</tr>\n<tr>\n<td>email: string</td>\n<td>Lead's email address. The system looks up the lead, then the conversation.</td>\n</tr>\n<tr>\n<td>linkedinUrl: string</td>\n<td>Lead's LinkedIn profile URL. The system looks up the lead, then the conversation.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"disambiguation-when-using-leadid-email-or-linkedinurl\">Disambiguation (when using `leadId`, `email`, or `linkedinUrl`)</h3>\n<p>A lead can have <strong>multiple conversations</strong> (one per identity/channel).</p>\n<p>If that's the case, the API returns an error asking you to be more specific. You can narrow down using these optional filters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Optionnal filters</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>identityId</td>\n<td>Target the conversation linked to a specific identity.</td>\n</tr>\n<tr>\n<td>campaignId</td>\n<td>Target the conversation linked to a specific campaign.</td>\n</tr>\n<tr>\n<td>campaignName</td>\n<td>Target the conversation linked to a campaign by its name.</td>\n</tr>\n</tbody>\n</table>\n</div><blockquote>\n<p><strong>Tip:</strong> If you know the `conversationId`, use it directly. It's the fastest and most reliable lookup method. </p>\n</blockquote>\n<h3 id=\"modes\">Modes</h3>\n<h4 id=\"replace-default\"><code>replace</code> (default)</h4>\n<p>Replaces the entire note with the new content. If the note exceeds 1500 characters, it is truncated.</p>\n<h4 id=\"append\"><code>append</code></h4>\n<p>Appends the new content to the existing note, separated by a timestamp:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Existing note content\n-- 2026-02-19 14:30 --\nNew appended content\n\n</code></pre><p>If the combined note exceeds 1500 characters, the <strong>oldest content is removed</strong> from the beginning to make room for the new entry.</p>\n<hr />\n<h3 id=\"lookup-priority\">Lookup Priority</h3>\n<p>When multiple identifiers are provided, the system resolves them in this order:</p>\n<ol>\n<li><p><strong><code>conversationId</code></strong> - Direct lookup, ignores other identifiers.</p>\n</li>\n<li><p><strong><code>leadId</code></strong> - Finds the lead by ID, then searches for its conversation.</p>\n</li>\n<li><p><strong><code>email</code></strong> - Finds the lead by email, then searches for its conversation.</p>\n</li>\n<li><p><strong><code>linkedinUrl</code></strong> - Finds the lead by LinkedIn URL, then searches for its conversation.</p>\n</li>\n</ol>\n<p>For conversation disambiguation (when a lead has multiple conversations):</p>\n<ol>\n<li><p><strong><code>identityId</code></strong> - Direct match on identity.</p>\n</li>\n<li><p><strong><code>campaignId</code></strong> - Resolves the campaign, then uses its identity.</p>\n</li>\n<li><p><strong><code>campaignName</code></strong> - Resolves the campaign by name, then uses its identity.</p>\n</li>\n<li><p><strong>No filter</strong> - Works only if the lead has exactly one conversation. Fails if multiple exist.</p>\n</li>\n</ol>\n<hr />\n<h3 id=\"limits\">Limits</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Constraint</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Max note length</td>\n<td>1500 characters</td>\n</tr>\n<tr>\n<td>Truncation behavior (replace)</td>\n<td>Truncated from the end</td>\n</tr>\n<tr>\n<td>Truncation behavior (append)</td>\n<td>Oldest content removed from the beginning</td>\n</tr>\n<tr>\n<td>Append separator format</td>\n<td><code>\\n-- YYYY-MM-DD HH:mm --\\n</code> (UTC)</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"inbox-webhooks\">Inbox Webhooks</h2>\n<p>Use these endpoints to manage your <strong>Inbox Webhooks</strong>, which allow you to receive real-time notifications about messages sent or received by your leads.</p>\n<hr />\n<h3 id=\"what-does-an-inbox-webhook-do\">What does an Inbox Webhook do?</h3>\n<p>Once created, an Inbox Webhook will push:</p>\n<ul>\n<li><p><strong>LinkedIn messages</strong> (sent or received)</p>\n</li>\n<li><p><strong>Email messages</strong> (sent or received)</p>\n</li>\n</ul>\n<p>for <strong>all your leads, identities, and campaigns</strong> by default.</p>\n<p><strong>However, you can also target specific campaigns by providing their</strong> <strong><code>campaignId</code></strong> <strong>in the webhook creation payload.</strong></p>\n<hr />\n<h3 id=\"webhook-lifecycle\">Webhook Lifecycle</h3>\n<ul>\n<li><p>When you create a webhook, it returns a unique <code>id</code>.</p>\n</li>\n<li><p>You can later <strong>delete</strong> this webhook using the <code>DELETE /inbox/:id</code> endpoint.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"webhook-requirements\">Webhook Requirements</h3>\n<p>To ensure successful delivery, your webhook endpoint must:</p>\n<ul>\n<li><p>Be <strong>publicly accessible</strong> and support <code>POST</code> requests.</p>\n</li>\n<li><p><strong>Respond with HTTP 200 OK</strong>.</p>\n</li>\n<li><p><strong>Respond quickly</strong> (within 3 seconds max).</p>\n</li>\n<li><p>Return the response <strong>immediately</strong>, then handle any heavy processing asynchronously.</p>\n</li>\n</ul>\n<blockquote>\n<p>ℹ️ Failing to meet these requirements may result in delivery failures. </p>\n</blockquote>\n<hr />\n<h3 id=\"filtering-by-campaign\">Filtering by Campaign</h3>\n<p>When creating a webhook, you can optionally pass a list of <code>campaignIds</code> to restrict the webhook to those specific campaigns only.</p>\n<hr />\n<h3 id=\"inbox-webhook-payload-email-or-linkedin-message\">Inbox Webhook Payload (Email or LinkedIn message)</h3>\n<p>When a new message is sent or received by one of your leads, your webhook URL will receive a <code>POST</code> request with the following JSON payload.</p>\n<p>The payload includes:</p>\n<ul>\n<li><p>Information about the message (channel, subject, body…)</p>\n</li>\n<li><p>Context about the conversation and sender identity</p>\n</li>\n<li><p>Full lead information</p>\n</li>\n<li><p>The <strong>last 20 messages</strong> from the conversation</p>\n</li>\n</ul>\n<blockquote>\n<p>ℹ️ The <code>messages</code> array always contains a maximum of <strong>20 most recent messages</strong>, ordered from newest to oldest. </p>\n</blockquote>\n<h3 id=\"example-payload\">Example Payload</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"messageChannel\": \"EMAIL\",\n  \"messageBody\": \"&lt;span&gt;Hello John, just following up on our last discussion.&lt;/span&gt;&amp;#013;\\n\",\n  \"messageSubject\": \"Follow-up on our meeting\",\n  \"messageId\": \"abc123456789\",\n  \"conversationId\": \"conv_987654321\",\n  \"externalConversationId\": \"external_123456\",\n  \"leadId\": \"lead_123456\",\n  \"attachments\": [],\n  \"identityId\": \"identity_001\",\n  \"userId\": \"user_001\",\n  \"createdAt\": 1751003761000,\n  \"sent\": true,\n  \"received\": false,\n  \"campaignName\": \"Q2 Nurturing Campaign\",\n  \"lead\": {\n    \"id\": \"lead_123456\",\n    \"jobTitle\": \"Marketing Manager\",\n    \"gender\": \"woman\",\n    \"shortBio\": \"Experienced B2B marketer\",\n    \"dateOfBirth\": \"12/3\",\n    \"persoEmail\": \"jane.doe@example.com\",\n    \"picture\": \"https://example.com/images/jane-doe.jpg\",\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Doe\",\n    \"companyName\": \"GrowthTech Inc.\",\n    \"companyWebsite\": \"https://growthtech.com\",\n    \"industry\": \"Marketing &amp; Advertising\",\n    \"email\": \"jane.doe@growthtech.com\",\n    \"linkedin\": \"https://linkedin.com/in/janedoe\",\n    \"twitter\": \"@janedoemarketing\",\n    \"phone\": \"+1234567890\",\n    \"location\": \"San Francisco, CA\"\n  },\n  \"messages\": [\n    {\n      \"messageChannel\": \"EMAIL\",\n      \"messageBody\": \"&lt;span&gt;Hello John, just following up on our last discussion.&lt;/span&gt;&amp;#013;\\n\",\n      \"messageSubject\": \"Follow-up on our meeting\",\n      \"messageId\": \"abc123456789\",\n      \"conversationId\": \"conv_987654321\",\n      \"externalConversationId\": \"external_123456\",\n      \"leadId\": \"lead_123456\",\n      \"attachments\": [],\n      \"identityId\": \"identity_001\",\n      \"userId\": \"user_001\",\n      \"createdAt\": 1751003761000,\n      \"sent\": true,\n      \"received\": false,\n      \"campaignName\": \"Q2 Nurturing Campaign\"\n    },\n    {\n      \"messageChannel\": \"LINKEDIN\",\n      \"messageBody\": \"Looking forward to our call tomorrow!\",\n      \"messageId\": \"abc987654321\",\n      \"conversationId\": \"conv_987654321\",\n      \"externalConversationId\": \"external_987654\",\n      \"leadId\": \"lead_123456\",\n      \"attachments\": [],\n      \"identityId\": \"identity_002\",\n      \"userId\": \"user_001\",\n      \"createdAt\": 1751003900000,\n      \"sent\": true,\n      \"received\": false,\n      \"campaignName\": \"Q2 Nurturing Campaign\"\n    }\n  ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"message-deduplication-logic\">Message Deduplication Logic</h3>\n<h4 id=\"what-happens-if-my-lead-sends-multiple-messages-in-a-row\">What happens if my lead sends multiple messages in a row?</h4>\n<p>To avoid spamming your system with multiple webhook calls when a lead sends several messages in a short burst, La Growth Machine applies a <strong>60-second deduplication window</strong>.</p>\n<hr />\n<h4 id=\"what-does-that-mean\">What does that mean?</h4>\n<p>If your lead sends 2 or more messages back-to-back (within 60 seconds), <strong>you will receive only one webhook</strong>, containing the <strong>latest message</strong> and the updated list of the last 20 messages from the conversation.</p>\n<p>This helps reduce noise, prevent duplicate processing, and keep your systems efficient.</p>\n<hr />\n<h4 id=\"good-to-know\">Good to know</h4>\n<ul>\n<li><p>The webhook is not triggered for every single message.</p>\n</li>\n<li><p>A lead spamming messages in rapid succession will still result in <strong>just one webhook call per 60 seconds</strong>.</p>\n</li>\n<li><p>You always get the latest state of the conversation, not just the last single message.</p>\n</li>\n</ul>\n<blockquote>\n<p>💡 Tip: if you need to track every single message, consider storing the <code>messageId</code> values from the <code>messages[]</code> array to detect new messages manually. </p>\n</blockquote>\n<hr />\n<h3 id=\"retry-policy\">Retry Policy</h3>\n<p>If your webhook fails (e.g., times out or returns non-2xx status), La Growth Machine will attempt to <strong>retry up to 5 times</strong> before giving up.</p>\n<hr />\n<h3 id=\"🚨-abuse-protection\">🚨 Abuse Protection</h3>\n<p>Creating a large number of webhooks is unnecessary and may be considered abuse.<br />La Growth Machine reserves the right to <strong>suspend or throttle webhooks</strong> if abnormal usage is detected.</p>\n","_postman_id":"5785fd7a-c7f4-4e6f-8191-8a7aaa9312fb"},{"name":"Website visitor","item":[{"name":"RB2B Native Webhook","id":"6d58151e-784c-4fcd-a27b-459db205c3a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"LinkedIn URL\": \"https://www.linkedin.com/in/retentionadam/\",\n  \"First Name\": \"Adam\",\n  \"Last Name\": \"Robinson\",\n  \"Title\": \"CEO @ Retention.com. We help Ecomm brands grow & monetize their first-party audience\",\n  \"Company Name\": \"Retention.com\",\n  \"Business Email\": \"adam@retention.com\",\n  \"Website\": \"https://retention.com\",\n  \"Industry\": \"Internet Technology & Services\",\n  \"Employee Count\": 60,\n  \"Estimate Revenue\": \"$22M rev\",\n  \"City\": \"Austin\",\n  \"State\": \"Texas\",\n  \"Zipcode\": \"73301\",\n  \"Seen At\": \"2024-01-01T12:34:56:00.00+00.00\",\n  \"Referrer\": \"https://retention.com\",\n  \"Captured URL\": \"https://rb2b.com/pricing\",\n  \"Tags\": \"Hot Pages, Hot Leads\"\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/leads/visitors/rb2b/RB2B_Website_Visitor?apikey={{demoApikey}}","description":"<p>Copy this URL into your RB2B dashboard (Integration &gt; La Growth Machine).</p>\n<p>Each new website visitor identified by RB2B will automatically be pushed into an audience named \"RB2B_Website_Visitor\" inside your LGM account.</p>\n<p><strong>Make sure to replace Your-external-apikey with your actual API key.</strong></p>\n<hr />\n<p>💡 Pro Tips<br />Want to use a different audience name?<br />Just replace \"RB2B_Website_Visitor\" in the URL with the audience name of your choice.</p>\n<p>Spaces in audience names should be written as-is, e.g. High Intent Visitors is valid.</p>\n<p>Example:</p>\n<p><a href=\"https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High%20Intent%20Visitors?apikey=your-apikey\">https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High Intent Visitors</a></p>\n<hr />\n<p><strong>Mapping to Lead fields</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n      \"LinkedIn URL\": \"linkedinUrl\",\n      \"First Name\": \"firstname\",\n      \"Last Name\": \"lastname\",\n      \"Title\": \"jobTitle\",\n      \"Company Name\": \"companyName\",\n      \"Business Email\": \"proEmail\",\n      \"Website\": \"companyUrl\",\n      \"Industry\": \"industry\",\n      \"Employee Count\": \"customAttribute1\",\n      \"Estimate Revenue\": \"customAttribute2\",\n      \"City\": \"location\",\n      \"State\": \"customAttribute3\",\n      \"Zipcode\": \"customAttribute4\",\n      \"Seen At\": \"customAttribute5\",\n      \"Referrer\": \"customAttribute6\",\n      \"Captured URL\": \"customAttribute7\",\n      \"Tags\": \"customAttribute8\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["flow","leads","visitors","rb2b","RB2B_Website_Visitor"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[],"_postman_id":"6d58151e-784c-4fcd-a27b-459db205c3a3"},{"name":"Warmly Native Webhook","id":"ba67fc39-c56d-4ccc-a59c-42608136b5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"Signal\": \"Website Visit Contact\",\n  \"Orchestration Name\": \"Webhook Integration\",\n  \"Webhook Sent At\": \"2025-08-25T15:11:55.835Z\",\n\n  // 🙋‍♂️ CONTACT INFORMATION\n  \"LinkedIn URL\": \"https://www.linkedin.com/in/max-greenwald\",\n  \"Business Email\": \"maximus@warmly.ai\",\n  \"First Name\": \"Maximus\",\n  \"Last Name\": \"Greenwald\",\n  \"Title\": \"Cofounder & CEO\",\n  \"City\": \"San Francisco\",\n  \"State\": \"California\",\n  \"Country\": \"United States\",\n\n  // 🏢 COMPANY INFORMATION\n  \"Company Name\": \"Warmly\",\n  \"Website\": \"warmly.ai\",\n  \"Industry\": \"Internet Software & Services\",\n  \"Employee Count\": \"51-250\",\n  \"Estimate Revenue\": \"$1-$10M\",\n  \"Company City\": \"San Francisco\",\n  \"Company State\": \"California\",\n  \"Company Country\": \"United States\",\n  \"Company Logo\": \"https://logo.clearbit.com/warmly.ai\",\n\n  // ☝️ SIGNAL INFORMATION\n  \"Seen At\": \"2025-08-25T14:37:28.001Z\",\n  \"Referrer\": \"https://www.warmly.ai/?utm_source=google&utm_medium=cpc&utm_campaign=core_brand&utm_adgroup=warmly_phrase&utm_term=warmly\",\n  \"Captured URL\": \"/\",\n  \"Session URL\": \"https://opps.getwarmly.com/sessions?sessionId=5d011acd-47e0-4053-a1c6-e36c9746b911&connectAutomatically=true\",\n  \"Session ID\": \"5d011acd-47e0-4053-a1c6-e36c9746b911\",\n  \"Session Active Seconds\": 103,\n  \"Session Identification Score\": 0.8,\n  \"Session Identification Confidence\": \"High\",\n  \"IP City\": \"San Diego\",\n  \"IP State\": \"California\",\n  \"IP Country\": \"United States\",\n  \"UTM Medium\": \"cpc\",\n  \"UTM Campaign\": \"core_brand\",\n  \"UTM Content\": \"\",\n  \"UTM Source\": \"google\",\n  \"Pages Viewed\": \"/, /p/pricing, /p/book-a-demo\",\n  \"Pages Viewed Details\": [\n    {\n      \"URL\": \"/?utm_source=google&utm_medium=cpc&utm_campaign=core_brand&utm_adgroup=warmly_phrase&utm_term=warmly\",\n      \"Page Viewed At\": \"2025-08-25T14:37:28.048Z\",\n      \"Active Seconds\": 13\n    },\n    {\n      \"URL\": \"/p/pricing\",\n      \"Page Viewed At\": \"2025-08-25T14:37:59.560Z\",\n      \"Active Seconds\": 28\n    },\n    {\n      \"URL\": \"/p/book-a-demo\",\n      \"Page Viewed At\": \"2025-08-25T14:38:27.560Z\",\n      \"Active Seconds\": 62\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/leads/visitors/warmly/Warmly_Website_Visitors?apikey={{demoApikey}}","description":"<p>Copy this URL into your Warmly dashboard.</p>\n<p>Each new website visitor identified by Warmly will automatically be pushed into an audience named \"Warmly_Website_Visitors\" inside your LGM account.</p>\n<p><strong>Make sure to replace Your-external-apikey with your actual API key.</strong></p>\n<hr />\n<p>💡 Pro Tips<br />Want to use a different audience name?<br />Just replace \"Warmly_Website_Visitors\" in the URL with the audience name of your choice.</p>\n<p>Spaces in audience names should be written as-is, e.g. High Intent Visitors is valid.</p>\n<p>Example:</p>\n<p><a href=\"https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High%20Intent%20Visitors?apikey=your-apikey\">https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High Intent Visitors</a></p>\n<hr />\n<p><strong>Mapping to Lead fields</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n      \"LinkedIn URL\": \"linkedinUrl\",\n      \"Business Email\": \"proEmail\",\n      \"First Name\": \"firstname\",\n      \"Last Name\": \"lastname\",\n      \"Title\": \"jobTitle\",\n      \"City\": \"location\",\n      \"State\": \"customAttribute3\",\n      \"Country\": \"customAttribute4\",\n      \"Company Name\": \"companyName\",\n      \"Seen At\": \"customAttribute5\",\n      \"Website\": \"companyUrl\",\n      \"Industry\": \"industry\",\n      \"Employee Count\": \"customAttribute1\",\n      \"Estimate Revenue\": \"customAttribute2\",\n      \"Referrer\": \"customAttribute6\",\n      \"Session Identification Confidence\": \"customAttribute8\",\n      \"Pages Viewed\": \"customAttribute7\"\n }\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["flow","leads","visitors","warmly","Warmly_Website_Visitors"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[],"_postman_id":"ba67fc39-c56d-4ccc-a59c-42608136b5cd"},{"name":"Vector Native Webhook","id":"a596a6b9-60b2-489f-89d2-4c4b75b959ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"event\": \"contact.visited\",\n    \"timestamp\": \"2024-04-15T14:32:00Z\",\n    \"contact\": {\n        \"first_name\": \"Jane\",\n        \"last_name\": \"Doe\",\n        \"email\": \"jane.doe@example.com\",\n        \"title\": \"Marketing Manager\",\n        \"company\": \"Acme Corp\",\n        \"linkedin_url\": \"https://linkedin.com/in/janedoe\"\n    },\n    \"segment\": {\n        \"id\": \"7264\",\n        \"name\": \"High Intent - ABM Contacts\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/Vector_Website_Visitors?apikey={{demoApikey}}","description":"<p>Copy this URL into your Vector dashboard.</p>\n<p>Each new website visitor identified by Vector will automatically be pushed into an audience named \"Vector_Website_Visitors\" inside your LGM account.</p>\n<p><strong>Make sure to replace Your-external-apikey with your actual API key.</strong></p>\n<hr />\n<p>💡 Pro Tips<br />Want to use a different audience name?<br />Just replace \"Vector_Website_Visitors\" in the URL with the audience name of your choice.</p>\n<p>Spaces in audience names should be written as-is, e.g. High Intent Visitors is valid.</p>\n<p>Example:</p>\n<p><a href=\"https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High%20Intent%20Visitors?apikey=your-apikey\">https://apiv2.lagrowthmachine.com/flow/leads/visitors/vector/High Intent Visitors</a></p>\n<hr />\n<p><strong>Mapping to Lead fields</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n      \"contact.first_name\": \"firstname\",\n      \"contact.last_name\": \"lastname\",\n      \"contact.email\": \"proEmail\",\n      \"contact.title\": \"jobTitle\",\n      \"contact.company\": \"companyName\",\n      \"contact.linkedin_url\": \"linkedinUrl\",\n      \"segment.id\": \"customAttribute1\",\n      \"segment.name\": \"customAttribute2\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["flow","leads","visitors","vector","Vector_Website_Visitors"],"host":["apiv2","lagrowthmachine","com"],"query":[{"key":"apikey","value":"{{demoApikey}}"}],"variable":[]}},"response":[],"_postman_id":"a596a6b9-60b2-489f-89d2-4c4b75b959ee"}],"id":"e83fd916-164d-4f4f-ba5f-f25b1dfcfe2b","description":"<h2 id=\"website-visitor-integrations\">Website Visitor Integrations</h2>\n<p>La Growth Machine allows you to integrate with third-party website visitor tracking tools.<br />These integrations automatically push identified visitors into a selected audience within your LGM workspace — enabling real-time prospecting and follow-up.</p>\n<p>No code is required: you simply provide a webhook URL to the external platform, and leads are sent directly into your system.</p>\n","_postman_id":"e83fd916-164d-4f4f-ba5f-f25b1dfcfe2b"},{"name":"Conversations","item":[{"name":"Get Conversation Messages","id":"9d6952d1-8a0e-4620-8a66-deafbbf6c141","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://apiv2.lagrowthmachine.com/flow/conversations/:conversationId/messages?apikey={{apikey}}&page=0","description":"<p>Returns all messages in a specific conversation, sorted chronologically.</p>\n<p><strong>Path Parameters:</strong></p>\n<ul>\n<li><code>conversationId</code> (required) — MongoDB ObjectId (24-char hex string)</li>\n</ul>\n<p><strong>Query Parameters:</strong></p>\n<ul>\n<li><code>page</code> (optional) — Page number for pagination. Default: <code>0</code></li>\n</ul>\n<p><strong>Response fields (per message):</strong></p>\n<ul>\n<li><code>id</code> — Message ID</li>\n<li><code>channel</code> — Message channel (EMAIL, LINKEDIN, etc.)</li>\n<li><code>status</code> — Message status</li>\n<li><code>content</code> — Message content</li>\n<li><code>sender</code> — Sender identifier (email address or LinkedIn public ID)</li>\n<li><code>createdAt</code> — ISO 8601 timestamp</li>\n<li><code>direction</code> — <code>sent</code> or <code>received</code></li>\n<li><code>attachments</code> — Array of <code>{ name, url }</code> objects</li>\n</ul>\n","urlObject":{"protocol":"https","path":["flow","conversations",":conversationId","messages"],"host":["apiv2","lagrowthmachine","com"],"query":[{"description":{"content":"<p>Your LGM API key</p>\n","type":"text/plain"},"key":"apikey","value":"{{apikey}}"},{"description":{"content":"<p>(Optional) Page number. Default: 0</p>\n","type":"text/plain"},"key":"page","value":"0"}],"variable":[{"id":"d93544d5-86cc-4b98-a184-51e2ba0fdf58","description":{"content":"<p>(Required) The conversation ID (24-char hex ObjectId)</p>\n","type":"text/plain"},"type":"any","value":"","key":"conversationId"}]}},"response":[{"id":"84cd9068-5648-4193-9576-cfec2fff832f","name":"Success","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://apiv2.lagrowthmachine.com/flow/conversations/64b1c2d3e4f5a60098765432/messages?apikey={{apikey}}&page=0","protocol":"https","host":["apiv2","lagrowthmachine","com"],"path":["flow","conversations","64b1c2d3e4f5a60098765432","messages"],"query":[{"key":"apikey","value":"{{apikey}}"},{"key":"page","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"statusCode\": 200,\n  \"data\": [\n    {\n      \"id\": \"65c1d2e3f4a5b60087654321\",\n      \"channel\": \"LINKEDIN\",\n      \"status\": \"sent\",\n      \"content\": \"Hi Jean, I noticed your work at Acme Corp and wanted to connect.\",\n      \"sender\": \"marie-martin\",\n      \"createdAt\": \"2026-03-18T09:00:00.000Z\",\n      \"direction\": \"sent\",\n      \"attachments\": []\n    },\n    {\n      \"id\": \"65c1d2e3f4a5b60087654322\",\n      \"channel\": \"LINKEDIN\",\n      \"status\": \"received\",\n      \"content\": \"Thanks for reaching out, I'd love to discuss further!\",\n      \"sender\": \"jean-dupont\",\n      \"createdAt\": \"2026-03-20T16:45:00.000Z\",\n      \"direction\": \"received\",\n      \"attachments\": []\n    }\n  ],\n  \"total\": 2\n}"}],"_postman_id":"9d6952d1-8a0e-4620-8a66-deafbbf6c141"}],"id":"8e97efeb-30ac-466d-be8a-48eb59e34b4b","_postman_id":"8e97efeb-30ac-466d-be8a-48eb59e34b4b","description":""}],"event":[{"listen":"prerequest","script":{"id":"5c1fb23d-8a46-46fb-9ee1-75affc5b63f7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a79583cc-47b4-4c40-88ef-a629d47daa1b","type":"text/javascript","exec":[""]}}],"variable":[{"key":"x","value":"x","type":"string","disabled":true}]}