{"info":{"_postman_id":"095f470b-7063-42a7-a47e-daaebd552be2","name":"Dialllog V2 API","description":"<html><head></head><body><h3 id=\"1-authentication\"><strong>1. Authentication</strong></h3>\n<p>All requests require an API key for authentication.</p>\n<p>Include your key in the <code>Authorization</code> header using the Bearer token format:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-http\">Authorization: Bearer YOUR_API_KEY\n\n</code></pre>\n<p>You can generate and manage your API keys from your <strong>Dialllog account settings</strong>.</p>\n<hr>\n<h3 id=\"2-environment-setup\"><strong>2. Environment Setup</strong></h3>\n<p>Before running requests, set up the following <strong>environment variables</strong> in Postman:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Variable</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>{{API_URL}}</code></td>\n<td>URL of your Dialllog instance</td>\n<td><code>https://api.dialllog.co/</code></td>\n</tr>\n<tr>\n<td><code>{{API_KEY}}</code></td>\n<td>Your API key</td>\n<td><code>abc123xyz</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr>\n<h3 id=\"3-response-format\"><strong>3. Response Format</strong></h3>\n<p>All responses are returned in JSON with standard HTTP status codes.</p>\n<p><strong>Example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": \"success\",\n  \"payload\": {\n    //\n  }\n}\n\n</code></pre>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"51632444","collectionId":"095f470b-7063-42a7-a47e-daaebd552be2","publishedId":"2sBXVigq4W","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-01-19T13:24:00.000Z"},"item":[{"name":"Companies","item":[{"name":"Request A Company","id":"edbbe81d-fbd7-4918-bb6d-1e8db6360ee5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/companies/{id}","description":"<p>Retrieves a company from the system.</p>\n","urlObject":{"path":["companies","{id}"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"edbbe81d-fbd7-4918-bb6d-1e8db6360ee5"},{"name":"Request All Companies","id":"f97c7ad1-c010-416a-857f-c4bfa7d3fbad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/companies","description":"<p>Retrieves a <code>list of companies</code> from the system.</p>\n<hr />\n<h4 id=\"query-parameters\"><strong>Query Parameters</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>activity</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filters results to only include companies with a specific activity.</td>\n</tr>\n<tr>\n<td><code>workflow_id</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filters results to only include companies associated with a specific workflow.</td>\n</tr>\n<tr>\n<td><code>stage</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filters companies by their current stage within the given workflow (only applicable when <code>workflow_id</code> is provided).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"response\">Response</h4>\n","urlObject":{"path":["companies"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"f97c7ad1-c010-416a-857f-c4bfa7d3fbad"},{"name":"Request Company KPIs","id":"9a337015-a01f-4210-a2bc-50c3892bfbe9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/companies/{id}/kpis","description":"<p>This endpoint returns the key performance indicators (KPIs) for a specific company.</p>\n<p>Each KPI represents a business metric (such as team size, customer growth, or cash burn) and includes values reported over one or more time periods, enabling tracking of performance and improvement over time.</p>\n<hr />\n<h3 id=\"kpi-data-returned\"><strong>KPI Data Returned</strong></h3>\n<p>Each KPI record includes the following fields:</p>\n<ul>\n<li><p><strong>Stat name</strong><br />  The name of the KPI (e.g. <em>Current team size</em>, <em>Customer Growth Rate (QoQ)</em>).</p>\n</li>\n<li><p><strong>Stat type</strong><br />  The data type of the KPI value. Possible values include:</p>\n<ul>\n<li><p><code>number</code></p>\n</li>\n<li><p><code>percentage</code></p>\n</li>\n<li><p><code>currency</code></p>\n</li>\n</ul>\n</li>\n<li><p><strong>Periods</strong><br />  A list of time-based records for the KPI.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"period-fields\"><strong>Period Fields</strong></h3>\n<p>Each period object includes:</p>\n<ul>\n<li><p><strong>Start date</strong><br />  The beginning of the reporting period.</p>\n</li>\n<li><p><strong>End date</strong><br />  The end of the reporting period.</p>\n</li>\n<li><p><strong>Type</strong><br />  Indicates the nature of the data (e.g. <code>actual</code>).</p>\n</li>\n<li><p><strong>Value</strong><br />  The KPI value for the period.</p>\n</li>\n<li><p><strong>Improvement</strong><br />  The percentage change compared to the previous period, when applicable.<br />  Empty if no comparison is available.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>The unique identifier of the company whose KPIs are being retrieved.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Returns a list of KPI objects.</p>\n<p>Each KPI contains its associated time periods and values. The response is intended to support dashboards, analytics, and performance tracking views.</p>\n","urlObject":{"path":["companies","{id}","kpis"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"9a337015-a01f-4210-a2bc-50c3892bfbe9"},{"name":"Create a Company","id":"23f1d9c6-1a20-43af-93b4-eabe8908c00e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"activity\": \"40b058e1-0ec5-1c41\",\n  \"industry\": [\n    \"1cdf4cd7-0b44-6cb0\"\n  ],\n  \"name\": \"Acme Co\",\n  \"website\": \"https://acme.com\",\n  \"phones\": [\n    {\n      \"name\": \"+38(099)111-11-11\",\n      \"type\": \"2ea37af3-5dc3-d94d\"\n    }\n  ],\n  \"note\": \"Long company note...\",\n  \"customFieldValues\": [\n    {\n      \"id\": 23,\n      \"value\": \"string\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}v2/companies/","urlObject":{"path":["companies",""],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"23f1d9c6-1a20-43af-93b4-eabe8908c00e"},{"name":"Get Company Creation Settings","id":"c1d771af-6a68-4dac-9d02-2b5155251af2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/companies/add","description":"<p>This endpoint returns all configuration data required to create a company in the system.</p>\n<p>The response provides predefined option lists and custom field definitions that can be used to dynamically build company creation forms and validate input on the client side.</p>\n<hr />\n<h3 id=\"settings-data-returned\"><strong>Settings Data Returned</strong></h3>\n<p>The response contains the following configuration groups:</p>\n<hr />\n<h3 id=\"industries\"><strong>Industries</strong></h3>\n<p>A list of available industry options that a company can be associated with.</p>\n<p>Each industry includes:</p>\n<ul>\n<li><p><strong>Name</strong> – The display label of the industry</p>\n</li>\n<li><p><strong>Value</strong> – The unique identifier for the industry</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"activities\"><strong>Activities</strong></h3>\n<p>A list of possible company activity types.</p>\n<p>Each activity includes:</p>\n<ul>\n<li><p><strong>Name</strong> – The display label of the activity</p>\n</li>\n<li><p><strong>Value</strong> – The unique identifier for the activity</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"phone-types\"><strong>Phone Types</strong></h3>\n<p>A list of supported phone number types for company contact information.</p>\n<p>Each phone type includes:</p>\n<ul>\n<li><p><strong>Name</strong> – The display label of the phone type</p>\n</li>\n<li><p><strong>Value</strong> – The unique identifier for the phone type</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"custom-fields\"><strong>Custom Fields</strong></h3>\n<p>A list of configurable custom fields that may be attached to a company during creation.</p>\n<p>Each custom field includes:</p>\n<ul>\n<li><p><strong>ID</strong> – The unique identifier of the custom field</p>\n</li>\n<li><p><strong>Name</strong> – The display name of the field</p>\n</li>\n<li><p><strong>Type</strong> – The field input type (e.g. <code>textarea</code>, <code>checkbox</code>, <code>date</code>)</p>\n</li>\n<li><p><strong>Values</strong> – A list of predefined values (empty for free-form fields)</p>\n</li>\n<li><p><strong>Required</strong> – Indicates whether the field is mandatory</p>\n</li>\n<li><p><strong>Settings</strong></p>\n<ul>\n<li><p><strong>Required</strong> – Whether the field must be filled in</p>\n</li>\n<li><p><strong>Enabled</strong> – Whether the field is active and should be displayed</p>\n</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Returns a settings object containing all available industries, activities, phone types, and custom field definitions.</p>\n<p>This endpoint is intended to be used when:</p>\n<ul>\n<li><p>Rendering company creation forms</p>\n</li>\n<li><p>Validating user input</p>\n</li>\n<li><p>Dynamically supporting custom and configurable company fields</p>\n</li>\n</ul>\n","urlObject":{"path":["companies","add"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"c1d771af-6a68-4dac-9d02-2b5155251af2"}],"id":"e0a44616-c4bc-428d-90ef-13ca6b8431fa","_postman_id":"e0a44616-c4bc-428d-90ef-13ca6b8431fa","description":""},{"name":"Workflows","item":[{"name":"Get Available Workflows","id":"fe1967c3-df8a-4286-a077-acac2c2ba80f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"{\n  \"activity\": \"abcdef01-2345-6789\",\n  \"industry\": [\n    \"abcdef01-2345-6789\"\n  ],\n  \"name\": \"Acme Co\",\n  \"website\": \"https://acme.com\",\n  \"phones\": [\n    {\n      \"id\": 0,\n      \"name\": \"+38(099)111-11-11\",\n      \"type\": \"abcdef01-2345-6789\"\n    }\n  ],\n  \"note\": \"Long company note...\",\n  \"customFieldValues\": [\n    {\n      \"id\": 1,\n      \"value\": \"string\"\n    }\n  ]\n}"},"url":"{{API_URL}}v2/workflows/","description":"<p>Returns a list of all available workflows.</p>\n","urlObject":{"path":["workflows",""],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"fe1967c3-df8a-4286-a077-acac2c2ba80f"},{"name":"Get Available Workflow Stages","id":"f1def2ff-1582-4fa6-8ed4-003a9482cac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/workflows/stages?workflow_id=5","description":"<p>Retrieves the list of <strong>stages</strong> defined for a specific workflow.</p>\n<p>Each stage represents a step in that workflow (for example, <em>Screening</em>, <em>Due Diligence</em>, <em>Closed – Won</em>).</p>\n<p>Stage identifiers are <strong>customizable short UUIDs</strong>, so clients should always use this endpoint to fetch valid stage IDs before using them as filters in the <code>/companies</code> endpoint.</p>\n<hr />\n<h3 id=\"query-parameters\"><strong>Query Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The unique identifier of the workflow whose stages should be retrieved.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Returns an array of stage objects.</p>\n<p>Each object contains the following fields:</p>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique short UUID of the stage. Use this value when filtering companies by stage (<code>/companies?workflow_id={workflow_id}&amp;stage={stage_id}</code>).</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Human-readable name of the stage as displayed in the UI.</td>\n</tr>\n<tr>\n<td><code>position</code></td>\n<td>integer</td>\n<td>Numerical order of the stage within the workflow (corresponds to the <code>number</code> value in the backend function).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"usage-notes\"><strong>Usage Notes</strong></h3>\n<ul>\n<li><p>Use this endpoint to <strong>fetch valid stage IDs</strong> before filtering companies in a workflow.</p>\n<p>  Example filter: <code>GET /companies?workflow_id={id}&amp;stage={id}</code></p>\n</li>\n<li><p>Stage names are customizable and may change, so always rely on the <code>id</code> field for filtering.</p>\n</li>\n<li><p>Only workflows accessible to the authenticated user will return their stages.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"error-responses\"><strong>Error Responses</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>403 Forbidden</strong></td>\n<td>The authenticated user does not have permission to access the specified workflow.</td>\n</tr>\n<tr>\n<td><strong>404 Not Found</strong></td>\n<td>The specified workflow does not exist or is not accessible.</td>\n</tr>\n<tr>\n<td><strong>429 Too Many Requests</strong></td>\n<td>The request rate limit has been exceeded.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"path":["workflows","stages"],"host":["{{API_URL}}v2"],"query":[{"key":"workflow_id","value":"5"}],"variable":[]}},"response":[],"_postman_id":"f1def2ff-1582-4fa6-8ed4-003a9482cac6"}],"id":"25009df0-81aa-4a35-9b5f-eb8f65037c90","_postman_id":"25009df0-81aa-4a35-9b5f-eb8f65037c90","description":""},{"name":"Dialogs","item":[{"name":"Get Dialog Interactions","id":"d610271d-f4d2-47a9-91b5-eccfa2913b29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/dialogs/6/interactions/3178","description":"<p>Retrieves the list of <strong>interactions</strong> associated with a specific dialog.</p>\n<p>Each interaction represents an activity or communication event related to a company’s dialog — for example, an email, meeting, call, or note.</p>\n<p>The <code>dialog_id</code> required for this request can be obtained from the <code>/companies</code> endpoint when it is queried with the <code>workflow_id</code> parameter. Each company listed in a workflow includes its corresponding <code>dialog_id</code>.</p>\n<hr />\n<h3 id=\"path-parameters\"><strong>Path Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>The unique identifier of the dialog whose interactions should be retrieved. The <code>dialog_id</code> can be found in the <code>/companies</code> response when a <code>workflow_id</code> is specified.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"response\"><strong>Response</strong></h3>\n<p>Returns an array of interaction objects.</p>\n<p>Each object includes the following fields:</p>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>interaction_date</code></td>\n<td>string (ISO 8601)</td>\n<td>The date and time when the interaction occurred.</td>\n</tr>\n<tr>\n<td><code>interaction_type</code></td>\n<td>string</td>\n<td>The type of interaction (e.g., <code>email</code>, <code>call</code>, <code>meeting</code>, or <code>note</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"usage-notes\"><strong>Usage Notes</strong></h3>\n<ul>\n<li><p>Interactions are tied to a specific <strong>dialog</strong>, not directly to a company.</p>\n<p>  To access them, first retrieve the company’s <code>dialog_id</code> from <code>/companies?workflow_id={workflow_id}</code>.</p>\n</li>\n<li><p>The endpoint returns only interactions visible to the authenticated user, based on their project and workflow permissions.</p>\n</li>\n<li><p>Interactions are ordered chronologically, with the most recent appearing first.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"error-responses\"><strong>Error Responses</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Meaning</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>403 Forbidden</strong></td>\n<td>The authenticated user does not have permission to access the specified dialog or its interactions.</td>\n</tr>\n<tr>\n<td><strong>404 Not Found</strong></td>\n<td>The specified dialog does not exist or is not visible to the user.</td>\n</tr>\n<tr>\n<td><strong>429 Too Many Requests</strong></td>\n<td>The request rate limit has been exceeded.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<hr />\n","urlObject":{"path":["dialogs","6","interactions","3178"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"d610271d-f4d2-47a9-91b5-eccfa2913b29"},{"name":"Get Interaction","id":"23685a85-c519-4a4e-ab71-97d38a63a3e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/dialogs/6/interactions/3180","urlObject":{"path":["dialogs","6","interactions","3180"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"23685a85-c519-4a4e-ab71-97d38a63a3e8"}],"id":"be063754-154d-4054-b0c9-551553c0bd75","_postman_id":"be063754-154d-4054-b0c9-551553c0bd75","description":""},{"name":"Contacts","item":[{"name":"Get a Contact","id":"8c3e4bd5-b727-4b67-9e12-a9d007013249","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/contacts/2633","description":"<p>Retrieves detailed information about a single contact, including company details and contact information.</p>\n<hr />\n<h2 id=\"endpoint\">Endpoint</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts/{id}\n\n</code></pre><hr />\n<h2 id=\"description\">Description</h2>\n<p>This endpoint returns a <strong>single active contact</strong> by its unique identifier.<br />The response includes:</p>\n<ul>\n<li><p>Contact personal and professional details</p>\n</li>\n<li><p>Associated company information</p>\n</li>\n<li><p>Email addresses</p>\n</li>\n<li><p>Phone numbers</p>\n</li>\n</ul>\n<hr />\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Yes</td>\n<td>Unique identifier of the contact</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"example-request\">Example Request</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts/2633\n\n</code></pre><hr />\n<h2 id=\"response\">Response</h2>\n<h3 id=\"successful-response\">Successful Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"id\": 2633,\n    \"name\": \"Aby\",\n    \"company\": {\n      \"id\": 3118,\n      \"name\": \"AP Management\",\n      \"website\": \"https://apmanagement.fr\",\n      \"activity\": null,\n      \"address\": \"\"\n    },\n    \"role\": \"\",\n    \"department\": \"\",\n    \"address\": \"\",\n    \"city\": null,\n    \"zip\": \"\",\n    \"state\": \"\",\n    \"country\": null,\n    \"emails\": [],\n    \"phone\": []\n  }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"contact-object-fields\">Contact Object Fields</h2>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Unique identifier of the contact</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Full name of the contact</td>\n</tr>\n<tr>\n<td><code>company</code></td>\n<td>object</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>role</code></td>\n<td>string</td>\n<td>Job title or role</td>\n</tr>\n<tr>\n<td><code>department</code></td>\n<td>string</td>\n<td>Department within the company</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>string</td>\n<td>Street address</td>\n</tr>\n<tr>\n<td><code>city</code></td>\n<td>string</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>zip</code></td>\n<td>string</td>\n<td>ZIP / postal code</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>string</td>\n<td>State or region</td>\n</tr>\n<tr>\n<td><code>country</code></td>\n<td>string</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>emails</code></td>\n<td>array</td>\n<td>List of email addresses</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>array</td>\n<td>List of phone numbers</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"company-object-fields\">Company Object Fields</h2>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Unique identifier of the company</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Company name</td>\n</tr>\n<tr>\n<td><code>website</code></td>\n<td>string</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>activity</code></td>\n<td>string</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>address</code></td>\n<td>string</td>\n<td>Company address</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>Empty strings (<code>\"\"</code>) indicate optional fields with no data.</p>\n</li>\n<li><p><code>null</code> values indicate unavailable or undefined data.</p>\n</li>\n<li><p>Empty <code>emails</code> or <code>phone</code> arrays mean no contact details are associated.</p>\n</li>\n<li><p>If the contact does not exist or is inactive, the API should return an appropriate error response.</p>\n</li>\n</ul>\n","urlObject":{"path":["contacts","2633"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"8c3e4bd5-b727-4b67-9e12-a9d007013249"},{"name":"Get All Contacts","id":"50cc61cb-7fe7-471f-8866-634ddea1bba9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/contacts","description":"<h1 id=\"get-contacts\">Get Contacts</h1>\n<p>Retrieves a paginated list of active contacts from the system.<br />The endpoint supports filtering by company, role, and search terms.</p>\n<hr />\n<h2 id=\"endpoint\">Endpoint</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts\n\n</code></pre><hr />\n<h2 id=\"description\">Description</h2>\n<p>This endpoint returns a list of <strong>active contacts</strong> available to the user.<br />Each contact may include associated company information, email addresses, and phone numbers.</p>\n<p>Results are <strong>paginated</strong>, ordered by <strong>last name</strong> and then <strong>first name</strong>.</p>\n<hr />\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>integer</td>\n<td>No</td>\n<td>Page number to return. Pagination starts at <code>1</code>. Default: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>integer</td>\n<td>No</td>\n<td>Number of results per page. Default: <code>50</code>. Maximum: <code>200</code>.</td>\n</tr>\n<tr>\n<td><code>company_id</code></td>\n<td>integer</td>\n<td>No</td>\n<td>Filters contacts belonging to a specific company.</td>\n</tr>\n<tr>\n<td><code>role</code></td>\n<td>string</td>\n<td>No</td>\n<td>Filters contacts whose role contains the given value (partial match).</td>\n</tr>\n<tr>\n<td><code>search</code></td>\n<td>string</td>\n<td>No</td>\n<td>Searches across <code>first_name</code>, <code>last_name</code>, and <code>private_email</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"example-requests\">Example Requests</h2>\n<h3 id=\"basic-request\">Basic Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts\n\n</code></pre><h3 id=\"paginated-request\">Paginated Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts?page=2&amp;per_page=25\n\n</code></pre><h3 id=\"filter-by-company\">Filter by Company</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts?company_id=10\n\n</code></pre><h3 id=\"filter-by-role\">Filter by Role</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts?role=manager\n\n</code></pre><h3 id=\"search-contacts\">Search Contacts</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /contacts?search=john\n\n</code></pre><hr />\n<h2 id=\"response\">Response</h2>\n<p>The endpoint returns a paginated list of contact objects.</p>\n<h3 id=\"response-structure\">Response Structure</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"success\": true,\n  \"data\": {\n    \"data\": [\n      {\n        \"id\": 2633,\n        \"name\": \"Aby\",\n        \"company\": \"AP Management\",\n        \"emails\": [],\n        \"phone\": []\n      }\n    ],\n    \"pagination\": {\n      \"current_page\": 1,\n      \"per_page\": 50,\n      \"total\": 4667,\n      \"last_page\": 94\n    }\n  }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"contact-object-fields\">Contact Object Fields</h2>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>integer</td>\n<td>Unique identifier of the contact</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Contact’s display name</td>\n</tr>\n<tr>\n<td><code>company</code></td>\n<td>string</td>\n<td>null</td>\n</tr>\n<tr>\n<td><code>emails</code></td>\n<td>array</td>\n<td>List of email addresses associated with the contact</td>\n</tr>\n<tr>\n<td><code>phone</code></td>\n<td>array</td>\n<td>List of phone numbers associated with the contact</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"pagination-object-fields\">Pagination Object Fields</h2>\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>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>current_page</code></td>\n<td>integer</td>\n<td>Current page number</td>\n</tr>\n<tr>\n<td><code>per_page</code></td>\n<td>integer</td>\n<td>Number of results per page</td>\n</tr>\n<tr>\n<td><code>total</code></td>\n<td>integer</td>\n<td>Total number of contacts</td>\n</tr>\n<tr>\n<td><code>last_page</code></td>\n<td>integer</td>\n<td>Last available page</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"notes\">Notes</h2>\n<ul>\n<li><p>Only contacts with <code>is_active = true</code> are returned.</p>\n</li>\n<li><p>Results are ordered alphabetically by <strong>last name</strong>, then <strong>first name</strong>.</p>\n</li>\n<li><p>Empty <code>emails</code> or <code>phone</code> arrays indicate no data is available for that contact.</p>\n</li>\n</ul>\n","urlObject":{"path":["contacts"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"50cc61cb-7fe7-471f-8866-634ddea1bba9"},{"name":"Create a Contact","id":"6828fef6-7762-4219-8483-4acba835e994","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"isIndependent\": false,\n  \"companyId\": 2,\n  \"firstName\": \"John\",\n  \"middleName\": \"Michael\",\n  \"lastName\": \"Doe\",\n  \"role\": \"CEO\",\n  \"department\": \"California\",\n  \"note\": \"Long contact note...\",\n  \"emails\": [\n    \"johndoe222@acme.com\"\n  ],\n  \"phones\": [\n    {\n      \"type\": \"2ea37af3-5dc3-d94d\",\n      \"number\": \"38(099)111-11-11\"\n    }\n  ],\n  \"customFieldValues\": [\n    {\n      \"id\": 11,\n      \"value\": \"string\"\n    }\n  ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{API_URL}}v2/contacts/","urlObject":{"path":["contacts",""],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"6828fef6-7762-4219-8483-4acba835e994"},{"name":"Get Contact Creation Settings","id":"66c26919-8d5d-4cca-ba81-483dae8b1b8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"token":"{{API_KEY}}"},"isInherited":false},"method":"GET","header":[],"url":"{{API_URL}}v2/contacts/add","description":"<p>Get various types and values for creating a contact and populating custom fields.</p>\n","urlObject":{"path":["contacts","add"],"host":["{{API_URL}}v2"],"query":[],"variable":[]}},"response":[],"_postman_id":"66c26919-8d5d-4cca-ba81-483dae8b1b8c"}],"id":"4a98a356-51e5-4970-8c02-db8cf9ab14f0","_postman_id":"4a98a356-51e5-4970-8c02-db8cf9ab14f0","description":""}]}