{"openapi":"3.0.0","info":{"title":"Saleslens API","description":"Authorization is carried out using API tokens, which the owner of the account generates in the Integration tab.\n\nPlease note that the API token is displayed ONLY at the time of creation. It must be saved, because it will no longer be possible to display it.\n\nThe created token should be added to each request, adding to the request an HTTP-header `Authorization`: .......\n\nThe Token can also be added to the URL itself, for example `\/api\/access_token\/call_transcription\/upload?Authorization=place_your_token_here...`\n\nAdditionally, OAuth 2.0 authentication is available upon request. To enable OAuth 2.0 for your application, please reach out to our support team. We will guide you through the process of adding your user application and provide the necessary details for OAuth 2.0 authorization.","version":"1.1"},"servers":[{"url":"\/","description":""}],"paths":{"\/api\/access_token\/call_record\/upload":{"post":{"operationId":"api_access_tokencall_recordupload_post","tags":["ConversationRecord"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"ConversationRecord resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationRecord"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConversationRecord"}}},"links":{}}},"summary":"Download a record from a given URL and analyse it (Access Token)","description":"If you have a record of the conversation, you can create and analyse it using this method.","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["employeeExternalId","downloadRecordUrl"],"properties":{"employeeExternalId":{"type":"String","example":"empl10037"},"downloadRecordUrl":{"type":"string","example":"https:\/\/example.com\/download\/kerhf7rheiuh47873f8gh4433"},"categoryId":{"type":"String or null","example":"198"},"locale":{"type":"String or null","description":"If you don't specify exact locale, we will take the workspace defaults","example":"en"},"title":{"type":"String or null","description":"If you don't specify exact title, we will try to get it from the download URL","example":"Record from 2023-01-01"},"fileExtension":{"type":"String or null","description":"If your download URL does not contain file extension, add this parameter","example":"mp4"},"httpHeader":{"type":"String or null","description":"If your download URL requires authorization, use this parameter","example":"Authorization: Bearer ljlknblkjbnlebnlwiuf3iu4fhq3784fhq3f"},"tags":{"type":"String or null","example":"api, download, example"},"conversationTypeId":{"type":"Integer or null","description":"Use conversation types for additional segmentation.","example":141},"createdAt":{"type":"string","format":"date-time","description":"Date of the conversation","example":"2022-03-17T10:30:00Z"},"email":{"type":"String or null","description":"The contact's Email address","example":"john@example.com"},"phone":{"type":"String or null","description":"The contact's phone number","example":"+1234567890"},"firstName":{"type":"String or null","description":"The contact's first name","example":"John"},"lastName":{"type":"String or null","description":"The contact's last name","example":"Smith"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/access_token\/call_transcription\/upload":{"post":{"operationId":"api_access_tokencall_transcriptionupload_post","tags":["ConversationTranscription"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"ConversationTranscription resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTranscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConversationTranscription"}}},"links":{}}},"summary":"Create and analyse a new conversation by its transcription (Access Token)","description":"If you have a transcript of the conversation, you can upload it using this method.","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["employeeExternalId","transcription"],"properties":{"employeeExternalId":{"type":"String","example":"empl10037"},"transcription":{"type":"string","example":"Client: Good morning. I'm in the market for a new car and I'm interested in exploring my options. Can you help me with that? Salesman: Good morning! Absolutely, I'd be happy to assist you in finding the perfect car. What are your preferences and requirements? ... "},"categoryId":{"type":"String or null","example":"1039"},"locale":{"type":"String or null","description":"If you don't specify exact locale, we will take the workspace defaults","example":"en"},"title":{"type":"String or null","example":"transcription_from_2023-05-01"},"tags":{"type":"String or null","example":"api, text, example"},"conversationTypeId":{"type":"Integer or null","description":"Use conversation types for additional segmentation.","example":229},"createdAt":{"type":"string","format":"date-time","description":"Date of the conversation","example":"2022-03-17T10:30:00Z"},"email":{"type":"String or null","description":"The contact's Email address","example":"john@example.com"},"phone":{"type":"String or null","description":"The contact's phone number","example":"+1234567890"},"firstName":{"type":"String or null","description":"The contact's first name","example":"John"},"lastName":{"type":"String or null","description":"The contact's last name","example":"Smith"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/access_token\/categories":{"get":{"operationId":"api_access_tokencategories_get_collection","tags":["Category"],"responses":{"200":{"description":"The list of categories","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"language":{"type":"String or null"}}}},"example":[{"id":423,"title":"Default category","language":"en"},{"id":97,"title":"Custom category","language":"de"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get category list of the current company (Access Token)","description":"Each category has a specific list of questions to evaluate the conversation. Use this list to get the identifiers of your categories.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/access_token\/company":{"get":{"operationId":"api_access_tokencompany_get","tags":["Company"],"responses":{"200":{"description":"Returns the name of the company","content":{"application\/json":{"schema":{"type":"object","properties":{"name":{"type":"string"}}},"example":{"name":"Acme Corporation"}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"404":{"description":"Resource not found"}},"summary":"Get the company name (Access Token)","description":"Returns the name of the company.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/access_token\/employees":{"get":{"operationId":"api_access_tokenemployees_get_collection","tags":["Employee"],"responses":{"200":{"description":"The list of company employees","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"externalId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"String or null"}}}},"example":[{"id":201,"externalId":"empl10037","firstName":"John","lastName":"Smith"},{"id":77,"externalId":"id12345","firstName":"Bob","lastName":"White"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get employee list of the current company (Access Token)","description":"Each conversation has a responsible employee. Use this list to get your employee IDs.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/oauth2\/call_segments":{"get":{"operationId":"api_oauth2call_segments_get_collection","tags":["CallSegment"],"responses":{"200":{"description":"The list of call types","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"}}}},"example":[{"id":423,"title":"Inbound calls"},{"id":97,"title":"Outbound calls"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get call type list of the current company (OAuth 2)","description":"Use this list to get the identifiers of your call types.","parameters":[{"name":"company_id","in":"query","description":"Company ID","required":"true","type":"string"}],"deprecated":false},"parameters":[]},"\/api\/oauth2\/categories":{"get":{"operationId":"api_oauth2categories_get_collection","tags":["Category"],"responses":{"200":{"description":"The list of categories","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"language":{"type":"String or null"}}}},"example":[{"id":423,"title":"Default category","language":"en"},{"id":97,"title":"Custom category","language":"de"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get category list of the current company (OAuth 2)","description":"Each category has a specific list of questions to evaluate the conversation. Use this list to get the identifiers of your categories.","parameters":[{"name":"company_id","in":"query","description":"Company ID","required":"true","type":"string"}],"deprecated":false},"parameters":[]},"\/api\/oauth2\/companies":{"get":{"operationId":"api_oauth2companies_get_collection","tags":["Company"],"responses":{"200":{"description":"Returns the name of the company","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}}}},"example":[{"id":7750,"name":"Acme Corporation"},{"id":19008,"name":"ABC Inc"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get user company list (OAuth 2)","description":"Returns a list of user companies.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/oauth2\/conversation_record\/upload":{"post":{"operationId":"api_oauth2conversation_recordupload_post","tags":["ConversationRecord"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"ConversationRecord resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationRecord"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConversationRecord"}}},"links":{}}},"summary":"Download a record from a given URL and analyse it (OAuth 2)","description":"If you have a record of the conversation, you can create and analyse it using this method.","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["companyId","employeeExternalId","downloadRecordUrl"],"properties":{"companyId":{"type":"integer","example":23},"employeeExternalId":{"type":"string","example":"empl10037"},"downloadRecordUrl":{"type":"string","example":"https:\/\/example.com\/download\/kerhf7rheiuh47873f8gh4433"},"categoryId":{"type":"Integer or null","example":198},"locale":{"type":"String or null","description":"If you don't specify exact locale, we will take the workspace defaults","example":"en"},"title":{"type":"String or null","description":"If you don't specify exact title, we will try to get it from the download URL","example":"Record from 2023-01-01"},"fileExtension":{"type":"String or null","description":"If your download URL does not contain file extension, add this parameter","example":"mp4"},"httpHeader":{"type":"String or null","description":"If your download URL requires authorization, use this parameter","example":"Authorization: Bearer ljlknblkjbnlebnlwiuf3iu4fhq3784fhq3f"},"tags":{"type":"String or null","example":"api, download, example"},"conversationTypeId":{"type":"Integer or null","description":"Use conversation types for additional segmentation.","example":141},"createdAt":{"type":"string","format":"date-time","description":"Date of the conversation","example":"2022-03-17T10:30:00Z"},"email":{"type":"String or null","description":"The contact's Email address","example":"john@example.com"},"phone":{"type":"String or null","description":"The contact's phone number","example":"+1234567890"},"firstName":{"type":"String or null","description":"The contact's first name","example":"John"},"lastName":{"type":"String or null","description":"The contact's last name","example":"Smith"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/oauth2\/conversation_transcription\/upload":{"post":{"operationId":"api_oauth2conversation_transcriptionupload_post","tags":["ConversationTranscription"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"ConversationTranscription resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConversationTranscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/ConversationTranscription"}}},"links":{}}},"summary":"Create and analyse a new conversation by its transcription (OAuth 2)","description":"If you have a transcript of the conversation, you can upload it using this method.","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["companyId","employeeExternalId","transcription"],"properties":{"companyId":{"type":"integer","example":23},"employeeExternalId":{"type":"string","example":"empl10037"},"transcription":{"type":"string","example":"Client: Good morning. I'm in the market for a new car and I'm interested in exploring my options. Can you help me with that? Salesman: Good morning! Absolutely, I'd be happy to assist you in finding the perfect car. What are your preferences and requirements? ... "},"categoryId":{"type":"Integer or null","example":39},"locale":{"type":"String or null","description":"If you don't specify exact locale, we will take the workspace defaults","example":"en"},"title":{"type":"String or null","example":"transcription_from_2023-05-01"},"tags":{"type":"String or null","example":"api, download, example"},"conversationTypeId":{"type":"Integer or null","description":"Use conversation types for additional segmentation.","example":141},"createdAt":{"type":"string","format":"date-time","description":"Date of the conversation","example":"2022-03-17T10:30:00Z"},"email":{"type":"String or null","description":"The contact's Email address","example":"john@example.com"},"phone":{"type":"String or null","description":"The contact's phone number","example":"+1234567890"},"firstName":{"type":"String or null","description":"The contact's first name","example":"John"},"lastName":{"type":"String or null","description":"The contact's last name","example":"Smith"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/oauth2\/conversations":{"get":{"operationId":"api_oauth2conversations_get_collection","tags":["Conversation"],"responses":{"200":{"description":"The list of conversations","content":{"application\/json":{"application\/json":{"schema":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"status":{"type":"string"},"recordName":{"type":"string"},"recordExtension":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"conversationType":{"type":"string"},"plainText":{"type":"string"},"clientQuestions":{"type":"array"},"managerQuestions":{"type":"array"},"shortSummary":{"type":"string"},"detailedSummary":{"type":"string"},"followUpEmailText":{"type":"string"},"audioLength":{"type":"integer"},"isCut":{"type":"boolean"},"tags":{"type":"array"},"employee":{"type":"object"},"contacts":{"type":"array"},"notes":{"type":"array"},"fullNoteText":{"type":"string"},"locale":{"type":"string"}}}}}},"example":{"data":[{"id":423,"title":"Conversation 1","status":"active","recordName":"rec1","recordExtension":"mp3","createdAt":"2024-03-10 17:57:00.000000","conversationType":"Inbound","plainText":"This is plain text","clientQuestions":"Client question 1","managerQuestions":"Manager question 1","shortSummary":"Short summary 1","detailedSummary":"Detailed summary 1","followUpEmailText":"Follow up email text 1","audioLength":120,"isCut":true,"tags":["tag1","tag2"],"employee":{"id":1,"externalId":"ext1","companyId":10,"name":"John","lastName":"Doe","email":"john@example.com","position":"Developer","role":"ROLE_USER"},"contacts":[{"email":"contact1@example.com","phone":"1234567890","firstName":"Contact","lastName":"One"}],"notes":[{"note_title":"Action Items","note_text":"Have a security specialist call Brad Fagen to discuss his needs"},{"note_title":"Background","note_text":"Brad is looking to have a security system installed in his house"}],"fullNoteText":"Smart Notes Text","locale":"en"},{"id":97,"title":"Conversation 2","status":"inactive","recordName":"rec2","createdAt":"2024-03-12 12:17:00.000000","conversationType":"Outbound","recordExtension":"wav","plainText":"Another plain text","clientQuestions":["Question 1","Question 2"],"managerQuestions":["Question 3","Question 4"],"shortSummary":"Short summary 2","detailedSummary":"Detailed summary 2","followUpEmailText":"Follow up email text 2","audioLength":180,"isCut":false,"tags":["tag3","tag4"],"employee":{"id":2,"externalId":"ext2","companyId":20,"name":"Jane","lastName":"Doe","email":"jane@example.com","position":"Manager","role":"ROLE_MANAGER"},"contacts":[{"email":"contact2@example.com","phone":"9876543210","firstName":"Andrew","lastName":"Smith"}],"notes":[{"note_title":"Action Items","note_text":"Have a security specialist call Brad Fagen to discuss his needs"},{"note_title":"Background","note_text":"Brad is looking to have a security system installed in his house"}],"fullNoteText":"Smart Notes Some Text Here","locale":"de"}]}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":[]}}}}},"summary":"Getting recent conversations available to the user (OAuth 2)","description":"Get full details of recent conversation the user has access to.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/oauth2\/employees":{"get":{"operationId":"api_oauth2employees_get_collection","tags":["Employee"],"responses":{"200":{"description":"The list of employees","content":{"application\/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"externalId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"String or null"}}}},"example":[{"id":201,"externalId":"empl10037","firstName":"John","lastName":"Smith"},{"id":77,"externalId":"id12345","firstName":"Bob","lastName":"White"}]}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}}},"summary":"Get employee list (OAuth 2)","description":"Each conversation has a responsible employee. Use this list to get your employee IDs.","parameters":[{"name":"company_id","in":"query","description":"Company ID","required":"true","type":"string"}],"deprecated":false},"parameters":[]},"\/api\/oauth2\/user":{"get":{"operationId":"api_oauth2user_get","tags":["User"],"responses":{"200":{"description":"Returns the name of the company","content":{"application\/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"example":{"email":"smith@example.com","firstName":"John","lastName":"Smith"}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"type":{"type":"string"},"title":{"type":"string"},"detail":{"type":"string"}}}}}},"404":{"description":"Resource not found"}},"summary":"Get user data (OAuth 2)","description":"Returns the user data.","parameters":[],"deprecated":false},"parameters":[]},"\/api\/oauth2\/webhook_subscription\/add":{"post":{"operationId":"api_oauth2webhook_subscriptionadd_post","tags":["WebhookSubscription"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"hookUrl":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"WebhookSubscription resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookSubscription"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WebhookSubscription"}}},"links":{}}},"summary":"Create webhook (OAuth 2)","description":"If you have a webhook URL, you can add it to the user via this method","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["hookUrl"],"properties":{"hookUrl":{"type":"string","example":"https:\/\/mywebsite.com"}}}}},"required":false},"deprecated":false},"parameters":[]},"\/api\/oauth2\/webhook_subscription\/revoke":{"post":{"operationId":"api_oauth2webhook_subscriptionrevoke_post","tags":["WebhookRevocation"],"responses":{"400":{"description":"Bad request","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"type":"string"}}}}}},"401":{"description":"Unauthorized","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"type":"string"}}}}}},"422":{"description":"Unprocessable content","content":{"application\/json":{"schema":{"type":"object","properties":{"hookUrl":{"hookUrl":"string"},"violations":{"type":"array"}}}}}},"201":{"description":"WebhookRevocation resource created","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/WebhookRevocation"}},"text\/html":{"schema":{"$ref":"#\/components\/schemas\/WebhookRevocation"}}},"links":{}}},"summary":"Revoke webhook (OAuth 2)","description":"If you have a webhook URL, you can revoke it for the user via this method","parameters":[],"requestBody":{"description":"","content":{"application\/json":{"schema":{"type":"object","required":["hookUrl"],"properties":{"hookUrl":{"type":"string","example":"https:\/\/mywebsite.com"}}}}},"required":false},"deprecated":false},"parameters":[]}},"components":{"schemas":{"CallSegment":{"type":"object","description":"","deprecated":false,"properties":{"id":{"type":"integer"},"title":{"type":"string"}}},"Category":{"type":"object","description":"","deprecated":false,"properties":{"id":{"type":"integer"},"title":{"type":"string"},"language":{"type":"string","nullable":true}}},"Company":{"type":"object","description":"","deprecated":false,"properties":{"name":{"type":"string"}}},"Conversation":{"type":"object","description":"","deprecated":false,"properties":{"id":{"type":"integer"},"title":{"type":"string","nullable":true},"recordName":{"type":"string","nullable":true},"recordExtension":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"conversationType":{"type":"string","nullable":true},"plainText":{"type":"string","nullable":true},"clientQuestions":{"type":"array","items":{"type":"string"},"nullable":true},"managerQuestions":{"type":"array","items":{"type":"string"},"nullable":true},"shortSummary":{"type":"string","nullable":true},"detailedSummary":{"type":"string","nullable":true},"followUpEmailText":{"type":"string","nullable":true},"audioLength":{"type":"integer","nullable":true},"isCut":{"type":"boolean","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"employee":{"type":"array","items":{"type":"string"},"nullable":true},"contacts":{"type":"array","items":{"type":"string"},"nullable":true},"notes":{"type":"array","items":{"type":"string"},"nullable":true},"fullNoteText":{"type":"string","nullable":true},"locale":{"type":"string","nullable":true}}},"ConversationRecord":{"type":"object","description":"","deprecated":false,"required":["employeeExternalId","downloadRecordUrl"],"properties":{"employeeExternalId":{"type":"string"},"downloadRecordUrl":{"format":"uri","externalDocs":{"url":"https:\/\/schema.org\/url"},"type":"string"},"categoryId":{"type":"string","nullable":true},"locale":{"type":"string","nullable":true},"fileExtension":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"httpHeader":{"type":"string","nullable":true},"tags":{"type":"string","nullable":true},"conversationTypeId":{"type":"integer","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true}}},"ConversationTranscription":{"type":"object","description":"","deprecated":false,"required":["employeeExternalId","transcription"],"properties":{"employeeExternalId":{"type":"string"},"transcription":{"type":"string"},"categoryId":{"type":"string","nullable":true},"locale":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"tags":{"type":"string","nullable":true},"conversationTypeId":{"type":"integer","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"email":{"format":"email","externalDocs":{"url":"https:\/\/schema.org\/email"},"type":"string","nullable":true},"phone":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true}}},"Employee":{"type":"object","description":"","deprecated":false,"properties":{"id":{"type":"integer"},"externalId":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string","nullable":true}}},"User":{"type":"object","description":"","deprecated":false,"properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"WebhookRevocation":{"type":"object","description":"","deprecated":false,"required":["hookUrl"],"properties":{"hookUrl":{"type":"string"}}},"WebhookSubscription":{"type":"object","description":"","deprecated":false,"required":["hookUrl"],"properties":{"hookUrl":{"type":"string"}}}},"responses":{},"parameters":{},"examples":{},"requestBodies":{},"headers":{},"securitySchemes":{"access_token":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"},"oauth2":{"type":"apiKey","description":"Value for the Authorization header parameter.","name":"Authorization","in":"header"}}},"security":[{"access_token":[]},{"oauth2":[]}],"tags":[]}