{"info":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","description":"<html><head></head><body><h1 id=\"get-started-here\">📄 Get started here</h1>\n<p>Collectif provides API that enables you to import new Voice of the Customer data to your Collectif app.</p>\n<ul>\n<li>Add a churn reason</li>\n<li>Add a customer interview</li>\n<li>Add a customer review</li>\n<li>Add a deal won/lost reason</li>\n<li>Add a sales call</li>\n<li>Add a survey submission</li>\n<li>Add a support ticket</li>\n</ul>\n<h2 id=\"getting-started-guide\"><strong>Getting started guide</strong></h2>\n<ul>\n<li>You must use a valid API token to send requests to the API endpoints. You can find your API token on the Integrations page in your Collectif app.</li>\n<li>The API has rate limit of 100 calls per minute.</li>\n<li>The API only responds to HTTPS-secured communications. Any requests sent via HTTP return an HTTP 301 redirect to the corresponding HTTPS resources.</li>\n<li>The API returns request responses in JSON format. When an API request returns an error, it is sent in the JSON response as an error key.</li>\n</ul>\n<h2 id=\"authentication\">Authentication</h2>\n<p>The Collectif API uses API token for authentication.</p>\n<p>You can find yours on the Integrations page in your Collectif app.</p>\n<h3 id=\"authentication-error-response\">Authentication error response</h3>\n<p>If an API token is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.</p>\n<h2 id=\"rate-and-usage-limits\">Rate and usage limits</h2>\n<p>API access rate limits apply at a per-API token basis in unit time. The limit is 100 requests per minute. If you exceed the limit, your request will return an HTTP 429 Too Many Requests status code.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"📄 Get started here","slug":"get-started-here"}],"owner":"28223587","collectionId":"5e48af5c-8142-4a79-955d-2dd7696616ca","publishedId":"2s93zB4gRG","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"00171F","highlight":"FF98D6"},"publishDate":"2023-06-29T19:53:12.000Z"},"item":[{"name":"Add Churn Reason","event":[{"listen":"test","script":{"id":"18fe2e2a-b10b-4330-af17-3bc3976f4206","exec":[""],"type":"text/javascript"}}],"id":"92edc454-285f-4351-aabb-dfdabf5a5b82","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-length":true,"user-agent":true,"connection":true}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"reason\": \"Missing functionality\",\n    \"date\": 1688057218,\n    \"customer\": \"Denis Designer\",\n    \"comment\": \"We need the possibility to expand images with AI.\",\n    \"country\": \"United States\",\n    \"customer_name\": \"My Company LLC\",\n    \"user_id\": \"23522\",\n    \"value\": 1200,\n    \"subscription_name\": \"Premium\",\n    \"subscription_type\": \"paid_plan\",\n    \"customer_journey_stage\": \"active_user\",\n    \"months_as_customer\": 6,\n    \"first_payment_date\": 1703616894,\n    \"signup_date\": 1701616894    \n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_churn_reason","description":"<p>Creates a new churn reason submission.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>reason</strong> <em>string,</em> required</td>\n<td>Reason why the customer churned or deleted an account</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the event as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>comment</strong> <em>string</em></td>\n<td>Additional comment left by the customer or noted down by your team.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_churn_reason"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"92edc454-285f-4351-aabb-dfdabf5a5b82"},{"name":"Add Deal Reason","id":"e6d99898-3d10-44d7-afe7-629239862448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"status\": \"Won\",\n    \"reason\": \"Good integration options\",\n    \"date\": 1688057218,\n    \"customer\": \"Denis Designer\",\n    \"comment\": \"The customer uses Figma, Miro, and Photoshop.\",\n    \"country\": \"United States\",\n    \"customer_name\": \"My Company LLC\",\n    \"user_id\": \"23522\",\n    \"value\": 1200,\n    \"subscription_name\": \"Premium\",\n    \"subscription_type\": \"paid_plan\",\n    \"customer_journey_stage\": \"active_user\",\n    \"months_as_customer\": 6,\n    \"first_payment_date\": 1703616894,\n    \"signup_date\": 1701616894    \n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_deal_reason","description":"<p>Creates a new deal won/lost reason submission.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong> <em>string,</em> required</td>\n<td>Status of the deal. Accepts one of the two values: \"won\", or \"lost\".</td>\n</tr>\n<tr>\n<td><strong>reason</strong> <em>string,</em> required</td>\n<td>Reason for why the deal was won or lost.</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the event as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>comment</strong> <em>string</em></td>\n<td>Additional comment noted down by your sales team.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_deal_reason"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6d99898-3d10-44d7-afe7-629239862448"},{"name":"Add Interview","id":"30a47768-48c9-45e0-8d1f-0796f3afeefb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"User interview - Brand manager\",\n    \"date\": 1688057218,\n    \"recording_link\": \"https://yourdomain.com/recording.mp4\",\n    \"additional_link\": \"https://document.google.com/123\",\n    \"interview_notes\": \"The customer mentioned we should interview his teammate who actively uses our product.\",\n    \"team\": \"UX\",\n    \"country\": \"United States\",\n    \"customer_name\": \"My Company LLC\",\n    \"user_id\": \"23522\",\n    \"value\": 1200,\n    \"subscription_name\": \"Premium\",\n    \"subscription_type\": \"paid_plan\",\n    \"customer_journey_stage\": \"active_user\",\n    \"months_as_customer\": 6,\n    \"first_payment_date\": 1703616894,\n    \"signup_date\": 1701616894    \n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_interview","description":"<p>Creates a new interview. Recordings can be uploaded only manually, in the app.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>title</strong> <em>string,</em> required</td>\n<td>Title of the interview</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the interview as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>recording_link</strong> <em>string,</em> required</td>\n<td>Link to the recording. Make sure the recording is accessible by anyone with the link.</td>\n</tr>\n<tr>\n<td><strong>additional_link</strong> <em>string</em></td>\n<td>Link to additional resources, e.g., a Google document with more information.</td>\n</tr>\n<tr>\n<td><strong>interview_notes</strong> <em>string</em></td>\n<td>Notes taken during the interview.</td>\n</tr>\n<tr>\n<td><strong>team</strong> <em>string</em></td>\n<td>Team conducting the interview. Accepts one of the values: \"UX\", \"Marketing\", \"Product\", \"Sales\", \"Operations\", \"Other\".</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_interview"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"30a47768-48c9-45e0-8d1f-0796f3afeefb"},{"name":"Add Review","id":"c663fb2f-7a29-496e-8913-4c09b0b87e6e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Great product!\",\n    \"text\": \"I loved using the product right from the start. Great functionalities and fast support.\",\n    \"source\": \"G2Crowd\",\n    \"review_link\": \"https://g2crowd.com/my_review\",\n    \"reviewer_name\": \"Denis Designer\",\n    \"reviewer_position\": \"Product Designer\",\n    \"reviewer_company\": \"Design masters inc.\",\n    \"date\": 1688057218,\n    \"rating\": 5,\n    \"rating_max\": 5\n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_review","description":"<p>Creates a new customer review.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>title</strong> <em>string,</em> required</td>\n<td>Title of the review</td>\n</tr>\n<tr>\n<td><strong>text</strong> <em>string,</em> required</td>\n<td>Main text of the review</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the review as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>source</strong> <em>string</em></td>\n<td>Source of the review (e.g., Trustpilot, Capterra)</td>\n</tr>\n<tr>\n<td><strong>review_link</strong> <em>string</em></td>\n<td>Link to the review on the source's website.</td>\n</tr>\n<tr>\n<td><strong>reviewer_name</strong> <em>string</em></td>\n<td>Name of the customer leaving the review.</td>\n</tr>\n<tr>\n<td><strong>reviewer_position</strong> <em>string</em></td>\n<td>Position of the customer leaving the review.</td>\n</tr>\n<tr>\n<td><strong>reviewer_company</strong> <em>string</em></td>\n<td>Name of the customer's company.</td>\n</tr>\n<tr>\n<td><strong>rating</strong> <em>integer</em></td>\n<td>Rating/score chosen by the customer.</td>\n</tr>\n<tr>\n<td><strong>rating_max</strong> <em>integer</em></td>\n<td>Max. rating/score one can choose on the source's website.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_review"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"c663fb2f-7a29-496e-8913-4c09b0b87e6e"},{"name":"Add Sales Call","id":"b1f2311e-41fa-4ff6-b8d0-e644635cff12","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"customer\": \"User interview - Brand manager\",\n    \"recording_link\": \"https://yourdomain.com/recording.mp4\",\n    \"lifecycle_stage\": \"Onboarding\",\n    \"date\": 1688057218,\n    \"country\": \"United States\",\n    \"customer_name\": \"My Company LLC\",\n    \"user_id\": \"23522\",\n    \"value\": 1200,\n    \"subscription_name\": \"Premium\",\n    \"subscription_type\": \"paid_plan\",\n    \"customer_journey_stage\": \"active_user\",\n    \"months_as_customer\": 6,\n    \"first_payment_date\": 1703616894,\n    \"signup_date\": 1701616894    \n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_sales_call","description":"<p>Creates a new sales call.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>title</strong> <em>string,</em> required</td>\n<td>The call's title.</td>\n</tr>\n<tr>\n<td><strong>recording_link</strong> <em>string,</em> required</td>\n<td>Link to the call recording (audio or video).</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the call as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_sales_call"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1f2311e-41fa-4ff6-b8d0-e644635cff12"},{"name":"Add Support Ticket","id":"82c3ac7b-23fb-49b3-82de-957781040333","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Image import question\",\n    \"text\": \"How do I import images in the new version of the app?\",\n    \"requester\": \"Denis Designer\",\n    \"source\": \"Zendesk\",\n    \"external_id\": \"your_ticket_id\",\n    \"custom_tags\": [\"tag_1\", \"tag_2\"],\n    \"date\": 1688057218,\n    \"country\": \"United States\",\n    \"customer_name\": \"My Company LLC\",\n    \"user_id\": \"23522\",\n    \"device\":\"desktop\",\n    \"browser\":\"Chrome\",\n    \"value\": 1200,\n    \"subscription_name\": \"Premium\",\n    \"subscription_type\": \"paid_plan\",\n    \"customer_journey_stage\": \"active_user\",\n    \"months_as_customer\": 6,\n    \"first_payment_date\": 1703616894,\n    \"signup_date\": 1701616894\n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_support_ticket","description":"<p>Creates a new support ticket.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>title</strong> <em>string,</em> required</td>\n<td>Title of the support ticket.</td>\n</tr>\n<tr>\n<td><strong>text</strong> <em>string,</em> required</td>\n<td>Text of the support ticket.</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the ticket submission as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>source</strong> <em>string</em></td>\n<td>Source of the support ticket (e.g. Zendesk)</td>\n</tr>\n<tr>\n<td><strong>external_id</strong> <em>string</em></td>\n<td>ID of the ticket in the source system.</td>\n</tr>\n<tr>\n<td><strong>custom_tags</strong> <em>list</em></td>\n<td>List of custom tags (<em>strings</em>) used in the source system.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>device</strong> <em>string</em></td>\n<td>The user's device.</td>\n</tr>\n<tr>\n<td><strong>browser</strong> <em>string</em></td>\n<td>The user's browser.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":true,"source":{"_postman_id":"5e48af5c-8142-4a79-955d-2dd7696616ca","id":"5e48af5c-8142-4a79-955d-2dd7696616ca","name":"Collectif API","type":"collection"}},"urlObject":{"protocol":"https","path":["api","1.1","wf","add_support_ticket"],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"82c3ac7b-23fb-49b3-82de-957781040333"},{"name":"Add Survey Submission","id":"b69f49bb-31fa-4367-b905-58f508aed334","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"survey_response\": {\n            \"survey_id\": \"sid1\",\n            \"survey_title\": \"My survey\",\n            \"survey_description\": \"This is an example survey.\",\n            \"team\": \"marketing\",\n            \"source\": \"Typeform\",\n            \"source_link\": \"https://typeform.com/123\",\n            \"date\": 1688057218,\n            \"country\": \"United States\",\n            \"customer_name\": \"My Company LLC\",\n            \"user_id\": \"23522\",\n            \"value\": 1200,\n            \"subscription_name\": \"Premium\",\n            \"subscription_type\": \"paid_plan\",\n            \"customer_journey_stage\": \"active_user\",\n            \"months_as_customer\": 6,\n            \"first_payment_date\": 1703616894,\n            \"signup_date\": 1701616894,\n            \"browser\" : \"Chrome\",\n            \"device\" : \"MacBook Pro\",\n            \"questions\": [\n                    {\n                        \"question_id\": \"qid1\",\n                        \"question_type\": \"text\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"Tell us about your experience with our product.\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid2\",\n                        \"question_type\": \"boolean\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"Have you used our product for more than 2 years?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid3\",\n                        \"question_type\": \"single_choice\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"What's your favourite feature?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid4\",\n                        \"question_type\": \"multiple_choice\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"What are the 3 features you find the least useful?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid5\",\n                        \"question_type\": \"scale\",\n                        \"question_type_additional\": \"nps\",\n                        \"question_title\": \"On a scale of 0 to 10, how likely are you to recommend our business to a friend or colleague?\",\n                        \"question_description\": \"Hello, what's your name?\"\n                    }\n                    \n                ],\n            \"answers\": [\n                {\n                    \"question_id\": \"qid1\",\n                    \"answer_value\": \"I love it!\"\n                },\n                {\n                    \"question_id\": \"qid2\",\n                    \"answer_value\": \"yes\"\n                },\n                {\n                    \"question_id\": \"qid3\",\n                    \"answer_value\": \"AI image generation\"\n                },\n                {\n                    \"question_id\": \"qid4\",\n                    \"answer_value_multi\": [\"Boards\", \"Notes\", \"Comments\"]\n                },\n                {\n                    \"question_id\": \"qid5\",\n                    \"answer_value\": \"10\"\n                }\n            ]\n        }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_survey_submission/","description":"<p>Creates a new survey or form submission.<br />Survey submissions will start showing up in your app within 3 minutes after the call.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>survey_id</strong> <em>string,</em> required</td>\n<td>ID of the survey in the source system. Used to match all submissions.</td>\n</tr>\n<tr>\n<td><strong>survey_title</strong> <em>string,</em> required</td>\n<td>Title of the survey.</td>\n</tr>\n<tr>\n<td><strong>survey_description</strong> <em>string</em></td>\n<td>Description of the survey.</td>\n</tr>\n<tr>\n<td><strong>date</strong> <em>integer,</em> required</td>\n<td>Date of the survey submission as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>source</strong> <em>string</em></td>\n<td>The system where the survey was created.</td>\n</tr>\n<tr>\n<td><strong>source_link</strong> <em>string</em></td>\n<td>The link to the survey in the source system.</td>\n</tr>\n<tr>\n<td><strong>team</strong> <em>string</em></td>\n<td>The team conducting the survey.</td>\n</tr>\n<tr>\n<td><strong>questions</strong> <em>list</em></td>\n<td>List of questions in JSON format (see below).</td>\n</tr>\n<tr>\n<td><strong>answers</strong> <em>list</em></td>\n<td>List of answers in JSON format (see below).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"questions\">Questions</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>question_id</strong> <em>string,</em> required</td>\n<td>ID of the question in the source system. Used to match answers to the question.</td>\n</tr>\n<tr>\n<td><strong>question_type</strong> <em>string,</em> required</td>\n<td>Accepts one of the values: \"text\", choice\", \"scale\".  <br />1. \"text\" - results displayed in a list  <br />2. \"choice\" - results displayed on a bar chart, ordered from most to least popular; use for predefined sets of answers (boolean, single choice, multiple choice, dropdown, etc.)  <br />3. \"scale\" - results displayed on a bar chart in alphabetical order; use for scales, ratings, etc.</td>\n</tr>\n<tr>\n<td><strong>question_type_additional</strong> <em>string</em></td>\n<td>Accepts one of the values: \"Other\", \"NPS\", \"CSAT\". If is set to \"NPS\" or \"CSAT\", the values sent in answers will be used to calculate the appropriate score.</td>\n</tr>\n<tr>\n<td><strong>question_title</strong> <em>string,</em> required</td>\n<td>The question itself.</td>\n</tr>\n<tr>\n<td><strong>question_description</strong> <em>string</em></td>\n<td>Description of the question.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"answers\">Answers</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>question_id</strong> <em>string,</em> required</td>\n<td>ID of the question the answer refers to. Used to match answers to the question.</td>\n</tr>\n<tr>\n<td><strong>answer_value</strong> <em>string</em></td>\n<td>The answer — for all types of questions apart from \"multiple_choice\".</td>\n</tr>\n<tr>\n<td><strong>answer_value_multi</strong> <em>list</em></td>\n<td>The list of answers (<em>strings</em>) — for \"multiple_choice\" questions.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body---user-attributes\">Request body - User attributes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Definition</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>country</strong> <em>string</em></td>\n<td>The user's country.</td>\n</tr>\n<tr>\n<td><strong>customer_name</strong> <em>string</em></td>\n<td>The user's business name.</td>\n</tr>\n<tr>\n<td><strong>user_id</strong> <em>string</em></td>\n<td>The user's id.</td>\n</tr>\n<tr>\n<td><strong>device</strong> <em>string</em></td>\n<td>The user's device.</td>\n</tr>\n<tr>\n<td><strong>browser</strong> <em>string</em></td>\n<td>The user's browser.</td>\n</tr>\n<tr>\n<td><strong>value</strong> <em>numeric</em></td>\n<td>The customer's value (e.g. MRR, ARR, etc.). Make sure all imported resources use the same type of value to avoid inconsistencies in data.</td>\n</tr>\n<tr>\n<td><strong>subscription_name</strong> <em>string</em></td>\n<td>The user's subscription plan's name.</td>\n</tr>\n<tr>\n<td><strong>subscription_type</strong> <em>string</em></td>\n<td>One of: freemium, free_trial, paid_plan.</td>\n</tr>\n<tr>\n<td><strong>customer_journey_stage</strong> <em>string</em></td>\n<td>One of: prospect, onboarding, active_user</td>\n</tr>\n<tr>\n<td><strong>months_as_customer</strong> <em>integer</em></td>\n<td>The number of months since the user's account creation.</td>\n</tr>\n<tr>\n<td><strong>signup_date</strong> <em>integer</em></td>\n<td>Date of the user's account creation as UNIX timestamp.</td>\n</tr>\n<tr>\n<td><strong>first_payment_date</strong> <em>numeric</em></td>\n<td>Date of the user's first payment as UNIX timestamp.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","1.1","wf","add_survey_submission",""],"host":["app","collectif","ai"],"query":[],"variable":[]}},"response":[{"id":"6d423885-3257-4f97-a325-7bddf743c863","name":"Add Survey Submission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n        \"survey_response\": {\n            \"survey_id\": \"sid1\",\n            \"survey_title\": \"My survey\",\n            \"survey_description\": \"This is an example survey.\",\n            \"team\": \"marketing\",\n            \"source\": \"Typeform\",\n            \"source_link\": \"https://typeform.com/123\",\n            \"date\": 1688057218,\n            \"country\": \"United States\",\n            \"customer_name\": \"My Company LLC\",\n            \"user_id\": \"23522\",\n            \"arr\": 1200,\n            \"mrr\": 100,\n            \"ltv_current\": 600,\n            \"ltv_estimated\": 2400,\n            \"subscription_name\": \"Premium\",\n            \"subscription_type\": \"paid_plan\",\n            \"customer_journey_stage\": \"active_user\",\n            \"months_as_customer\": 6,\n            \"first_payment_date\": 1703616894,\n            \"signup_date\": 1701616894,                      \n            \"questions\": [\n                    {\n                        \"question_id\": \"qid1\",\n                        \"question_type\": \"text\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"Tell us about your experience with our product.\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid2\",\n                        \"question_type\": \"boolean\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"Have you used our product for more than 2 years?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid3\",\n                        \"question_type\": \"single_choice\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"What's your favourite feature?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid4\",\n                        \"question_type\": \"multiple_choice\",\n                        \"question_type_additional\": \"other\",\n                        \"question_title\": \"What are the 3 features you find the least useful?\",\n                        \"question_description\": \"\"\n                    },\n                    {\n                        \"question_id\": \"qid5\",\n                        \"question_type\": \"scale\",\n                        \"question_type_additional\": \"nps\",\n                        \"question_title\": \"On a scale of 0 to 10, how likely are you to recommend our business to a friend or colleague?\",\n                        \"question_description\": \"Hello, what's your name?\"\n                    }\n                    \n                ],\n            \"answers\": [\n                {\n                    \"question_id\": \"qid1\",\n                    \"answer_value\": \"I love it!\"\n                },\n                {\n                    \"question_id\": \"qid2\",\n                    \"answer_value\": \"no\"\n                },\n                {\n                    \"question_id\": \"qid3\",\n                    \"answer_value\": \"AI image generation\"\n                },\n                {\n                    \"question_id\": \"qid4\",\n                    \"answer_value_multi\": [\"Boards\", \"Notes\", \"Comments\"]\n                },\n                {\n                    \"question_id\": \"qid5\",\n                    \"answer_value\": \"10\"\n                }\n            ]\n        }\n}","options":{"raw":{"language":"json"}}},"url":"https://app.collectif.ai/api/1.1/wf/add_survey_submission/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 08 Jul 2023 17:51:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"access-control-allow-origin","value":"*"},{"key":"x-bubble-perf","value":"{\"total\":2572.1,\"percents\":{\"top\":{\"bubble_cpu\":4.7,\"block\":95.4,\"capacity_rl\":0,\"other_pause\":0,\"pre_fiber\":0},\"sub\":{\"pp_userdb\":3.2,\"pp_wait_userdb\":0,\"http_request\":0,\"serverjson\":130,\"appserver_cache_misses_time\":0,\"redis\":55.7,\"fiber_queue\":1.1,\"capacity_wait\":0.8}},\"counts\":{\"pp_userdb\":17,\"http_request\":0,\"derived_build\":1,\"derived_cache_attempts\":3,\"derived_cache_memory_misses\":3,\"derived_cache_redis_misses\":1,\"derived_cache_postgres_misses\":1,\"serverjson\":387,\"appserver_cache_attempts\":2,\"appserver_mem_cache_hits\":0,\"appserver_cache_hits\":0,\"appserver_cache_misses\":2,\"redis\":726,\"fiber_queue\":269,\"blocks\":268},\"misc\":{\"userdb_results\":4,\"userdb_data\":1523,\"spent_time\":139027893,\"derived_build_time_spent\":58}}"},{"key":"x-bubble-capacity-used","value":"2.139 unit-seconds used"},{"key":"x-bubble-capacity-limit","value":"21.4 ms slower"},{"key":"vary","value":"Accept-Encoding"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7e3a2d13ec848214-IAD"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"success\",\n    \"response\": {}\n}"}],"_postman_id":"b69f49bb-31fa-4367-b905-58f508aed334"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]}},"event":[{"listen":"prerequest","script":{"id":"b9215cc7-1d6e-4138-bf3b-d44ccfa24f42","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"62ce76f9-b05c-4bf8-8052-b5a2293f4840","type":"text/javascript","exec":[""]}}]}