From a2f35b5f1066298ec7fdbd94711add2f57ea235c Mon Sep 17 00:00:00 2001 From: Colm Doyle Date: Wed, 12 Jul 2023 17:13:59 +0100 Subject: [PATCH] Update spec (#88) * Update spec * Add newline --- descriptions/0/api.intercom.io.yaml | 1453 ++++++++--------- descriptions/2.7/api.intercom.io.yaml | 2093 +++++++++++------------- descriptions/2.8/api.intercom.io.yaml | 2149 +++++++++++-------------- descriptions/2.9/api.intercom.io.yaml | 1883 +++++++++++----------- 4 files changed, 3561 insertions(+), 4017 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index 4d70817..b2d8259 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 9d5f70d4-3f96-4400-82a5-ac4b6ed23ef3 + request_id: 69e33939-71e3-4225-adf8-949b3ad95c58 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 39ee3fca-1979-40e6-a908-43f4dc8ef169 + request_id: 3a196218-94e7-4f86-a864-2576d87b0f4c errors: - code: unauthorized message: Access Token Invalid @@ -201,7 +201,7 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: a21adadf-d12d-469d-94c5-8dd90564175b + - id: f6d57cb1-52de-46ad-a83e-be4a7d34d212 performed_by: type: admin id: '991266219' @@ -213,12 +213,12 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1688476262 + created_at: 1687966696 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message title. - - id: 4c41bf69-83b3-4d8d-a124-a77eb0b5f649 + - id: 69a4825e-c4c0-4f53-b1de-9abde02ab625 performed_by: type: admin id: '991266219' @@ -227,7 +227,7 @@ paths: metadata: before: before after: after - created_at: 1688476262 + created_at: 1687966696 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8f8df0c9-b62f-4f5f-8dea-03b1846ab328 + request_id: 126588d6-2696-4762-b057-32574d4e96ff errors: - code: unauthorized message: Access Token Invalid @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8abe5408-3ebc-4d74-8a59-f6a69cb1ae5f + request_id: dfc61055-3224-4796-a255-695a5a58c683 errors: - code: unauthorized message: Access Token Invalid @@ -338,7 +338,7 @@ paths: Admin not found: value: type: error.list - request_id: 92ae8088-45fa-4d93-b3a4-8faa03010a1d + request_id: 514a11ca-95a0-4aae-96e8-d3f67483411d errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 231b1da4-2774-4f9a-89d6-23115e2fab78 + request_id: 0bed011a-045c-45e6-b8e2-9279351806c1 errors: - code: unauthorized message: Access Token Invalid @@ -390,18 +390,18 @@ paths: total_pages: 1 total_count: 1 data: - - id: '91819' + - id: '92828' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 86774 + parent_id: 87783 parent_type: collection title: This is the article title description: '' body: '' author_id: 991266226 state: published - created_at: 1688476271 - updated_at: 1688476271 + created_at: 1687966701 + updated_at: 1687966701 url: http://help-center.test/myapp-22/en/articles/91819-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" @@ -413,7 +413,7 @@ paths: Unauthorized: value: type: error.list - request_id: 744d6b69-cc20-4bc6-9104-101dca3b1908 + request_id: e137da90-e6f8-43e1-b405-93fe277d3f79 errors: - code: unauthorized message: Access Token Invalid @@ -438,10 +438,10 @@ paths: examples: article created: value: - id: '91822' + id: '92831' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 86776 + parent_id: 87785 parent_type: collection statistics: type: article_statistics @@ -456,8 +456,8 @@ paths: body:

Body of the Article

author_id: 991266234 state: published - created_at: 1688476274 - updated_at: 1688476274 + created_at: 1687966703 + updated_at: 1687966703 url: http://help-center.test/myapp-26/en/articles/91822-thanks-for-everything schema: "$ref": "#/components/schemas/article" @@ -469,7 +469,7 @@ paths: Bad Request: value: type: error.list - request_id: 4392d2cc-49c6-4be9-ad2b-34faab364986 + request_id: 729dd272-1987-4e0e-80cc-4025e5ce059b errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -484,7 +484,7 @@ paths: Unauthorized: value: type: error.list - request_id: fb8a908f-8c50-4c48-b271-4bc03d35f2fd + request_id: e83030f1-262d-4a07-a0df-31c8320ca593 errors: - code: unauthorized message: Access Token Invalid @@ -504,7 +504,7 @@ paths: body: Body of the Article author_id: 991266234 state: published - parent_id: 86776 + parent_id: 87785 parent_type: collection translated_content: fr: @@ -548,10 +548,10 @@ paths: examples: Article found: value: - id: '91825' + id: '92834' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 86779 + parent_id: 87788 parent_type: collection statistics: type: article_statistics @@ -566,8 +566,8 @@ paths: body: '' author_id: 991266241 state: published - created_at: 1688476279 - updated_at: 1688476279 + created_at: 1687966706 + updated_at: 1687966706 url: http://help-center.test/myapp-32/en/articles/91825-this-is-the-article-title schema: "$ref": "#/components/schemas/article" @@ -579,7 +579,7 @@ paths: Article not found: value: type: error.list - request_id: 8e5bb9fc-9a8d-4a9a-a99d-09d3360fa8bd + request_id: b24c2f52-06ff-4eb0-9327-6b8706f61247 errors: - code: not_found message: Resource Not Found @@ -593,7 +593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 908a8da9-4abf-4c8c-965f-0c6169ab95e3 + request_id: 3ba1f2e4-2d39-497f-a9a0-e1bdb73842af errors: - code: unauthorized message: Access Token Invalid @@ -626,10 +626,10 @@ paths: examples: successful: value: - id: '91828' + id: '92837' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 86782 + parent_id: 87791 parent_type: collection statistics: type: article_statistics @@ -644,8 +644,8 @@ paths: body:

New gifts in store for the jolly season

author_id: 991266250 state: published - created_at: 1688476282 - updated_at: 1688476283 + created_at: 1687966709 + updated_at: 1687966710 url: http://help-center.test/myapp-38/en/articles/91828-christmas-is-here schema: "$ref": "#/components/schemas/article" @@ -657,7 +657,7 @@ paths: Article Not Found: value: type: error.list - request_id: 9359bdbe-5b17-454e-94f9-6122e2694f68 + request_id: a5f8490e-794e-420c-bf51-f8885ae46a51 errors: - code: not_found message: Resource Not Found @@ -671,7 +671,7 @@ paths: Unauthorized: value: type: error.list - request_id: 268d7ffd-7def-4b23-81c6-4556b98ddad2 + request_id: 2b4fb240-1669-4adb-9f6b-10e168864b7e errors: - code: unauthorized message: Access Token Invalid @@ -719,7 +719,7 @@ paths: examples: successful: value: - id: '91831' + id: '92840' object: article deleted: true schema: @@ -732,7 +732,7 @@ paths: Article Not Found: value: type: error.list - request_id: bdbb1c5d-a402-4ece-a78d-932fd63bf56c + request_id: a25cb760-7405-4925-8fc3-ba6378f5a4a8 errors: - code: not_found message: Resource Not Found @@ -746,7 +746,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4a11d063-0e15-453f-ab42-b5e802461efe + request_id: d3e155b5-4768-4428-af89-699d92a06674 errors: - code: unauthorized message: Access Token Invalid @@ -779,13 +779,13 @@ paths: value: type: list data: - - id: '86788' + - id: '87797' workspace_id: this_is_an_id50_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-50/collection-15 order: 15 - created_at: 1688476290 - updated_at: 1688476290 + created_at: 1687966715 + updated_at: 1687966715 description: english collection description icon: bookmark parent_id: @@ -805,7 +805,7 @@ paths: Unauthorized: value: type: error.list - request_id: c23e2991-a6c2-4c38-81f5-853275ce1e28 + request_id: 9b112064-8c79-41e5-9f06-05365eb18633 errors: - code: unauthorized message: Access Token Invalid @@ -830,13 +830,13 @@ paths: examples: collection created: value: - id: '86794' + id: '87803' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-54/ order: 1 - created_at: 1688476292 - updated_at: 1688476292 + created_at: 1687966716 + updated_at: 1687966716 description: '' icon: book-bookmark parent_id: @@ -850,7 +850,7 @@ paths: Bad Request: value: type: error.list - request_id: fcd97b77-f35f-4196-9e9f-9c102cb9e063 + request_id: 372dc4b5-f5a4-4d99-bb55-4e2e5c787c85 errors: - code: parameter_not_found message: Name is a required parameter. @@ -864,7 +864,7 @@ paths: Unauthorized: value: type: error.list - request_id: 20105553-222f-4658-a82c-6adbb5bc11fb + request_id: 9d49cfcd-6f8c-44dc-aa86-86feb89ecd2d errors: - code: unauthorized message: Access Token Invalid @@ -912,13 +912,13 @@ paths: examples: Collection found: value: - id: '86799' + id: '87808' workspace_id: this_is_an_id60_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-60/collection-20 order: 20 - created_at: 1688476295 - updated_at: 1688476295 + created_at: 1687966718 + updated_at: 1687966718 description: english collection description icon: bookmark parent_id: @@ -932,7 +932,7 @@ paths: Collection not found: value: type: error.list - request_id: da654c00-7d06-4785-9e27-ec102c2f0015 + request_id: f5cded43-7636-44e9-a21e-28c1d0e71102 errors: - code: not_found message: Resource Not Found @@ -946,7 +946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 455159b1-db61-4afc-b081-7efd0076edb5 + request_id: cae932e1-76f3-47e4-9a3b-ebf40c55f91d errors: - code: unauthorized message: Access Token Invalid @@ -979,13 +979,13 @@ paths: examples: successful: value: - id: '86805' + id: '87814' workspace_id: this_is_an_id66_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-66/collection-23 order: 23 - created_at: 1688476297 - updated_at: 1688476298 + created_at: 1687966720 + updated_at: 1687966720 description: english collection description icon: folder parent_id: @@ -999,7 +999,7 @@ paths: Collection Not Found: value: type: error.list - request_id: ae056956-bdfb-4d07-94b1-10d8c0e08865 + request_id: 88998713-7875-48d6-b884-3593d6edc96c errors: - code: not_found message: Resource Not Found @@ -1013,7 +1013,7 @@ paths: Unauthorized: value: type: error.list - request_id: 88358030-e779-4cef-89bc-07520d569c98 + request_id: 72e7ec92-a11c-424d-b100-ba46c6540b3e errors: - code: unauthorized message: Access Token Invalid @@ -1060,7 +1060,7 @@ paths: examples: successful: value: - id: '86811' + id: '87820' object: collection deleted: true schema: @@ -1073,7 +1073,7 @@ paths: collection Not Found: value: type: error.list - request_id: f7fcbea7-b488-4cb8-b898-bef250072361 + request_id: 61807bf3-ed5a-4572-81e0-dc11be25c568 errors: - code: not_found message: Resource Not Found @@ -1087,7 +1087,7 @@ paths: Unauthorized: value: type: error.list - request_id: 50ecd56e-7dab-4686-8bf5-a413e185e57e + request_id: 22e0e426-323b-43ad-8300-f4edede8e766 errors: - code: unauthorized message: Access Token Invalid @@ -1119,12 +1119,12 @@ paths: value: type: company company_id: company_remote_id - id: 64a41a995e902937e99889a9 + id: 649c540b85b35b2332e7ef23 app_id: this_is_an_id95_that_should_be_at_least_4 name: my company remote_created_at: 1374138000 - created_at: 1688476313 - updated_at: 1688476313 + created_at: 1687966731 + updated_at: 1687966731 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1161,7 +1161,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5331bdf5-6f25-45d0-80ba-d59754eee13e + request_id: 7481051a-cd61-4a67-8acf-06d4d35cae6a errors: - code: unauthorized message: Access Token Invalid @@ -1232,12 +1232,12 @@ paths: value: type: company company_id: '1' - id: 64a41a9e5e902937e99889b3 + id: 649c540e85b35b2332e7ef2d app_id: this_is_an_id101_that_should_be_at_least_ name: company2 - remote_created_at: 1688476318 - created_at: 1688476318 - updated_at: 1688476318 + remote_created_at: 1687966734 + created_at: 1687966734 + updated_at: 1687966734 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1259,7 +1259,7 @@ paths: Company Not Found: value: type: error.list - request_id: a2258873-0b3f-4368-8237-f91379321172 + request_id: 2172ed7f-54e0-4b5f-a08b-6d5177bb386c errors: - code: company_not_found message: Company Not Found @@ -1273,7 +1273,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5054bfd6-c3f6-4082-bc92-65199e0591a2 + request_id: 318ad022-f85a-49f0-b79f-2da06b29bd93 errors: - code: unauthorized message: Access Token Invalid @@ -1308,12 +1308,12 @@ paths: value: type: company company_id: '1' - id: 64a41aa55e902937e99889be + id: 649c541185b35b2332e7ef38 app_id: this_is_an_id107_that_should_be_at_least_ name: company4 - remote_created_at: 1688476325 - created_at: 1688476325 - updated_at: 1688476325 + remote_created_at: 1687966737 + created_at: 1687966738 + updated_at: 1687966738 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1335,7 +1335,7 @@ paths: Company Not Found: value: type: error.list - request_id: 14f8211c-cd59-4d0b-b470-22b137179a0d + request_id: efe207cc-333f-46a9-8084-87269cba8066 errors: - code: company_not_found message: Company Not Found @@ -1349,7 +1349,7 @@ paths: Unauthorized: value: type: error.list - request_id: 44d27fa9-048d-48ce-ba57-670ae1c8f433 + request_id: e8b20b70-9901-4908-ab3e-9b81b20809f6 errors: - code: unauthorized message: Access Token Invalid @@ -1383,12 +1383,12 @@ paths: value: type: company company_id: '1' - id: 64a41aaa5e902937e99889c8 + id: 649c541585b35b2332e7ef42 app_id: this_is_an_id113_that_should_be_at_least_ name: company5 - remote_created_at: 1688476330 - created_at: 1688476330 - updated_at: 1688476330 + remote_created_at: 1687966741 + created_at: 1687966741 + updated_at: 1687966741 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1410,7 +1410,7 @@ paths: Company Not Found: value: type: error.list - request_id: 994fb817-6b7e-437e-9508-cb98e41f85be + request_id: 5e6d9ab1-e938-4554-98a2-bc81588d5b74 errors: - code: company_not_found message: Company Not Found @@ -1424,7 +1424,7 @@ paths: Unauthorized: value: type: error.list - request_id: c57dd96d-8466-4407-b17e-9606b39f3838 + request_id: 51e22ef8-0155-4858-80b8-0346fa69a77d errors: - code: unauthorized message: Access Token Invalid @@ -1456,7 +1456,7 @@ paths: examples: Successful: value: - id: 64a41aaf5e902937e99889d2 + id: 649c541885b35b2332e7ef4c object: company deleted: true schema: @@ -1469,7 +1469,7 @@ paths: Company Not Found: value: type: error.list - request_id: '099b0de0-0040-4710-8cdd-9f190a92b588' + request_id: 1e2e9dcf-0c09-4146-b4cd-f9303139d7cc errors: - code: company_not_found message: Company Not Found @@ -1483,7 +1483,7 @@ paths: Unauthorized: value: type: error.list - request_id: 74f6bff1-976d-4964-8103-a32a6a3592b1 + request_id: 2c6f16f1-317b-4d5c-81da-baae03a0a222 errors: - code: unauthorized message: Access Token Invalid @@ -1535,7 +1535,7 @@ paths: Company Not Found: value: type: error.list - request_id: 56db8939-261e-4674-b712-9d1720eb6891 + request_id: aea47031-7d96-4013-981f-4871a4e4c57d errors: - code: company_not_found message: Company Not Found @@ -1549,7 +1549,7 @@ paths: Unauthorized: value: type: error.list - request_id: 185137e6-6815-4840-9877-d3b829f93093 + request_id: ef45ba1a-1986-4c82-bee2-816169af0e9c errors: - code: unauthorized message: Access Token Invalid @@ -1594,7 +1594,7 @@ paths: Company Not Found: value: type: error.list - request_id: 4aa847dd-c2c6-49e5-88dd-8f9602f8e2a4 + request_id: b94fafe5-5e7b-45f2-98bc-7e8df8944b7b errors: - code: company_not_found message: Company Not Found @@ -1608,7 +1608,7 @@ paths: Unauthorized: value: type: error.list - request_id: 423815e8-c6cd-44cf-9fc8-2121f65ac891 + request_id: 5bd2c388-8f58-4d03-b6e8-30f6b1fd71af errors: - code: unauthorized message: Access Token Invalid @@ -1689,12 +1689,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 64a41ac05e902937e99889ee + id: 649c542385b35b2332e7ef68 app_id: this_is_an_id137_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1688476352 - created_at: 1688476352 - updated_at: 1688476352 + remote_created_at: 1687966755 + created_at: 1687966755 + updated_at: 1687966755 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1723,7 +1723,7 @@ paths: Unauthorized: value: type: error.list - request_id: 78cf4fd7-913b-40b9-94be-1e9efe6e7703 + request_id: a97fa6b2-fedc-4488-909a-42939a8edd6b errors: - code: unauthorized message: Access Token Invalid @@ -1775,12 +1775,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 64a41ac35e902937e99889f6 + id: 649c542585b35b2332e7ef70 app_id: this_is_an_id141_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1688476355 - created_at: 1688476355 - updated_at: 1688476355 + remote_created_at: 1687966757 + created_at: 1687966757 + updated_at: 1687966757 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1794,7 +1794,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: bfa8434a-d869-40f1-b195-0cfc1f363139 + scroll_param: 9ecbc878-5d48-499a-8499-de82bc1bffb6 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -1805,7 +1805,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0316b011-39a9-45bc-b338-21fb3bd93521 + request_id: f2caebd7-b764-4d92-b872-85831c2b2fa7 errors: - code: unauthorized message: Access Token Invalid @@ -1840,12 +1840,12 @@ paths: value: type: company company_id: '1' - id: 64a41ac95e902937e99889ff + id: 649c542885b35b2332e7ef79 app_id: this_is_an_id145_that_should_be_at_least_ name: company9 - remote_created_at: 1688476361 - created_at: 1688476361 - updated_at: 1688476361 + remote_created_at: 1687966760 + created_at: 1687966760 + updated_at: 1687966760 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1867,7 +1867,7 @@ paths: Company Not Found: value: type: error.list - request_id: 0ca18ed0-8f9b-44a1-98da-94922f63abf4 + request_id: 6a2cff36-0567-4a2e-964b-8c246248a2d1 errors: - code: not_found message: User Not Found @@ -1881,7 +1881,7 @@ paths: Unauthorized: value: type: error.list - request_id: d9cd07b7-f445-4ece-890c-976fce308a6b + request_id: 95be315c-fdbe-42d2-8c8c-6ff8d5973d89 errors: - code: unauthorized message: Access Token Invalid @@ -1904,11 +1904,11 @@ paths: successful: summary: Successful value: - id: 64a41ac95e902937e99889ff + id: 649c542885b35b2332e7ef79 company_not_found: summary: Company Not Found value: - id: 64a41aca5e902937e9988a03 + id: 649c542a85b35b2332e7ef7d "/contacts/{contact_id}/companies/{id}": delete: summary: Detach a contact from a company @@ -1946,12 +1946,12 @@ paths: value: type: company company_id: '1' - id: 64a41acf5e902937e9988a0b + id: 649c542c85b35b2332e7ef85 app_id: this_is_an_id151_that_should_be_at_least_ name: company12 - remote_created_at: 1688476367 - created_at: 1688476367 - updated_at: 1688476368 + remote_created_at: 1687966764 + created_at: 1687966764 + updated_at: 1687966765 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1973,14 +1973,14 @@ paths: Company Not Found: value: type: error.list - request_id: ff13f4c6-33b4-4d8d-982e-dd60a548d190 + request_id: e61c205f-83c0-4293-902c-6bf7587f70d9 errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 83c06d5a-4a3c-4fd2-a0a0-c05fc30874dc + request_id: abfd36f1-3445-4b6a-bad0-f3f17514090b errors: - code: not_found message: User Not Found @@ -1994,7 +1994,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4b7cc30e-af72-4219-adad-6cfb5b1f78c5 + request_id: 85a103b3-ed9c-4607-ba86-ab6f7827d02c errors: - code: unauthorized message: Access Token Invalid @@ -2032,13 +2032,13 @@ paths: data: - type: company company_id: '1' - id: 64a41aeb5e902937e9988a31 + id: 649c543e85b35b2332e7efab app_id: this_is_an_id159_that_should_be_at_least_ name: company25 - remote_created_at: 1688476395 - created_at: 1688476395 - updated_at: 1688476395 - last_request_at: 1688303595 + remote_created_at: 1687966782 + created_at: 1687966782 + updated_at: 1687966782 + last_request_at: 1687793982 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2067,7 +2067,7 @@ paths: Contact not found: value: type: error.list - request_id: 48b4a2c9-d68d-4b28-9017-7b776f7c6a4d + request_id: 7bef1afe-6473-4217-9da5-7639d8a28f0f errors: - code: not_found message: User Not Found @@ -2081,7 +2081,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3551289d-869e-448e-b566-3a618713f0fc + request_id: 4bd7a1d8-926e-4257-ac33-99c30f182a6d errors: - code: unauthorized message: Access Token Invalid @@ -2118,10 +2118,10 @@ paths: data: - type: note id: '401584' - created_at: 1687871602 + created_at: 1687361986 contact: type: contact - id: 64a41af15e902937e9988a3c + id: 649c544285b35b2332e7efb6 author: type: admin id: '991266317' @@ -2132,10 +2132,10 @@ paths: body: "

This is a note.

" - type: note id: '401583' - created_at: 1687785202 + created_at: 1687275586 contact: type: contact - id: 64a41af15e902937e9988a3c + id: 649c544285b35b2332e7efb6 author: type: admin id: '991266317' @@ -2146,10 +2146,10 @@ paths: body: "

This is a note.

" - type: note id: '401582' - created_at: 1687785201 + created_at: 1687275586 contact: type: contact - id: 64a41af15e902937e9988a3c + id: 649c544285b35b2332e7efb6 author: type: admin id: '991266317' @@ -2175,7 +2175,7 @@ paths: Contact not found: value: type: error.list - request_id: fcb21c54-fe25-4b54-8cc0-4b3eac5d6cf1 + request_id: 159271b1-15f6-4a45-80c2-823c6b92e61e errors: - code: not_found message: User Not Found @@ -2210,10 +2210,10 @@ paths: value: type: note id: '401589' - created_at: 1688476405 + created_at: 1687966788 contact: type: contact - id: 64a41af45e902937e9988a3e + id: 649c544485b35b2332e7efb8 author: type: admin id: '991266319' @@ -2232,14 +2232,14 @@ paths: Admin not found: value: type: error.list - request_id: ec7eb6c6-ff41-4fc2-9d47-9f9c732fe9f8 + request_id: '038e378b-1e05-46c8-b872-e051e3f4bd44' errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 3adb4d5c-9269-4e12-8588-10858838d1e3 + request_id: a7f21ef8-33fc-4756-8539-66ba01252663 errors: - code: not_found message: User Not Found @@ -2269,13 +2269,13 @@ paths: successful_response: summary: Successful response value: - contact_id: 64a41af45e902937e9988a3e + contact_id: 649c544485b35b2332e7efb8 admin_id: 991266319 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 64a41af55e902937e9988a3f + contact_id: 649c544485b35b2332e7efb9 admin_id: 123 body: Hello contact_not_found: @@ -2315,10 +2315,10 @@ paths: type: list data: - type: segment - id: 64a41af85e902937e9988a41 + id: 649c544685b35b2332e7efbb name: segment - created_at: 1688476408 - updated_at: 1688476408 + created_at: 1687966790 + updated_at: 1687966790 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2330,7 +2330,7 @@ paths: Contact not found: value: type: error.list - request_id: e54a0ea8-f78d-483f-8f1e-4d142ef7535c + request_id: a8c57010-331d-4c1f-8054-e82a0159bbed errors: - code: not_found message: User Not Found @@ -2344,7 +2344,7 @@ paths: Unauthorized: value: type: error.list - request_id: 36ce63a0-4c77-4a24-99fa-47a91b6e6eae + request_id: eb6b8805-8d93-4dbb-a16b-506baf0d931c errors: - code: unauthorized message: Access Token Invalid @@ -2388,7 +2388,7 @@ paths: type: list data: - type: subscription - id: '436897' + id: '437906' state: live consent_type: opt_out default_translation: @@ -2402,7 +2402,7 @@ paths: content_types: - email - type: subscription - id: '436899' + id: '437908' state: live consent_type: opt_in default_translation: @@ -2425,7 +2425,7 @@ paths: Contact not found: value: type: error.list - request_id: b024e73c-7a01-4fbd-8301-cc8114c7d634 + request_id: be296f9f-aaae-4682-9899-15543b8ed24e errors: - code: not_found message: User Not Found @@ -2439,7 +2439,7 @@ paths: Unauthorized: value: type: error.list - request_id: 63419242-3b99-4465-a19d-d9cc0c314a4b + request_id: cb15ed8a-ec21-4a91-8e1e-a565ae5555e8 errors: - code: unauthorized message: Access Token Invalid @@ -2480,7 +2480,7 @@ paths: Successful: value: type: subscription - id: '436912' + id: '437921' state: live consent_type: opt_in default_translation: @@ -2503,14 +2503,14 @@ paths: Contact not found: value: type: error.list - request_id: f2cd846b-be82-41f8-89bc-e8ab42eb5574 + request_id: 464c02ee-64c8-4e1a-ac96-2db785b498cc errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 75a3eec1-35cc-48cf-8af5-526356732a37 + request_id: 162151de-b841-40df-9c52-d88254ba1c96 errors: - code: not_found message: Resource Not Found @@ -2524,7 +2524,7 @@ paths: Unauthorized: value: type: error.list - request_id: d872920b-5fd5-4b93-a63b-86139268079e + request_id: 41ee9de2-5fc4-4715-8873-820bc21778f5 errors: - code: unauthorized message: Access Token Invalid @@ -2552,12 +2552,12 @@ paths: successful: summary: Successful value: - id: 436912 + id: 437921 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 436916 + id: 437925 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2603,7 +2603,7 @@ paths: Successful: value: type: subscription - id: '436928' + id: '437937' state: live consent_type: opt_in default_translation: @@ -2626,14 +2626,14 @@ paths: Contact not found: value: type: error.list - request_id: 1266a94b-4049-40b7-93a9-ff519b5a2530 + request_id: bc43ebc9-7c12-414d-8bab-8e3d17f367d7 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: c1b8f4a3-1787-4980-9388-7b5b3ea28671 + request_id: 7a44f599-41f6-4a1c-9644-29f60c98f291 errors: - code: not_found message: Resource Not Found @@ -2647,7 +2647,7 @@ paths: Unauthorized: value: type: error.list - request_id: 157679fb-98f7-4a5a-b519-524baf0d7e22 + request_id: c7711cb0-af89-4d13-92c8-8b6e8c7ed407 errors: - code: unauthorized message: Access Token Invalid @@ -2685,7 +2685,7 @@ paths: type: list data: - type: tag - id: '317837' + id: '318846' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -2697,7 +2697,7 @@ paths: Contact not found: value: type: error.list - request_id: 863fd231-ab1a-4060-9552-02f568d92df0 + request_id: e1255249-e8d0-4949-88ac-4e75086cf317 errors: - code: not_found message: User Not Found @@ -2711,7 +2711,7 @@ paths: Unauthorized: value: type: error.list - request_id: df8eea7d-743b-4cce-a740-af6c38ba8716 + request_id: 00baa6f6-17c9-45d9-b500-4dea5bc24828 errors: - code: unauthorized message: Access Token Invalid @@ -2746,7 +2746,7 @@ paths: successful: value: type: tag - id: '317838' + id: '318847' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -2758,14 +2758,14 @@ paths: Contact not found: value: type: error.list - request_id: 11b77c89-6b7a-495b-97ed-81e66af2c68e + request_id: 23339994-c2bf-42ea-8684-304b0dec3cf2 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 2882e57a-ebf8-4e7d-ae6f-d2a25b3ad076 + request_id: e1c60292-672a-47f6-9289-e488f132f565 errors: - code: not_found message: Resource Not Found @@ -2779,7 +2779,7 @@ paths: Unauthorized: value: type: error.list - request_id: beb7e53b-aaed-4e9a-9fcd-6f0272e07b9a + request_id: fe2e480c-7c86-4ee1-9011-c04863581bd8 errors: - code: unauthorized message: Access Token Invalid @@ -2802,11 +2802,11 @@ paths: successful: summary: successful value: - id: 317838 + id: 318847 contact_not_found: summary: Contact not found value: - id: 317839 + id: 318848 tag_not_found: summary: Tag not found value: @@ -2848,7 +2848,7 @@ paths: successful: value: type: tag - id: '317841' + id: '318850' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -2860,14 +2860,14 @@ paths: Contact not found: value: type: error.list - request_id: 82ee386d-42e1-4f5d-99c2-b40cc2b573f9 + request_id: bac56153-7f77-472f-bbe9-cfb18d824fe5 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 5121a403-3ddc-473e-b21b-70f15f260381 + request_id: 4f691c9e-7337-447e-89e6-222ed90919b0 errors: - code: not_found message: Resource Not Found @@ -2881,7 +2881,7 @@ paths: Unauthorized: value: type: error.list - request_id: a1eb829f-02c7-4b12-aa07-784bad193d24 + request_id: 9b7bda60-f41a-4832-9825-7aee3652691c errors: - code: unauthorized message: Access Token Invalid @@ -2915,7 +2915,7 @@ paths: successful: value: type: contact - id: 64a41b175e902937e9988a58 + id: 649c545885b35b2332e7efd2 workspace_id: this_is_an_id225_that_should_be_at_least_ external_id: '70' role: user @@ -2931,9 +2931,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1688476439 - updated_at: 1688476439 - signed_up_at: 1688476439 + created_at: 1687966808 + updated_at: 1687966808 + signed_up_at: 1687966808 last_seen_at: last_replied_at: last_contacted_at: @@ -2967,31 +2967,31 @@ paths: tags: type: list data: [] - url: "/contacts/64a41b175e902937e9988a58/tags" + url: "/contacts/649c545885b35b2332e7efd2/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64a41b175e902937e9988a58/notes" + url: "/contacts/649c545885b35b2332e7efd2/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64a41b175e902937e9988a58/companies" + url: "/contacts/649c545885b35b2332e7efd2/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64a41b175e902937e9988a58/subscriptions" + url: "/contacts/649c545885b35b2332e7efd2/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64a41b175e902937e9988a58/subscriptions" + url: "/contacts/649c545885b35b2332e7efd2/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3010,7 +3010,7 @@ paths: Unauthorized: value: type: error.list - request_id: e30426ee-c52a-4c29-9332-76f260563f69 + request_id: 3d4f051b-eeb2-4605-91ff-cc3fa6122c41 errors: - code: unauthorized message: Access Token Invalid @@ -3055,7 +3055,7 @@ paths: successful: value: type: contact - id: 64a41b1a5e902937e9988a59 + id: 649c545a85b35b2332e7efd3 workspace_id: this_is_an_id229_that_should_be_at_least_ external_id: '70' role: user @@ -3071,9 +3071,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1688476442 - updated_at: 1688476442 - signed_up_at: 1688476442 + created_at: 1687966810 + updated_at: 1687966810 + signed_up_at: 1687966810 last_seen_at: last_replied_at: last_contacted_at: @@ -3107,31 +3107,31 @@ paths: tags: type: list data: [] - url: "/contacts/64a41b1a5e902937e9988a59/tags" + url: "/contacts/649c545a85b35b2332e7efd3/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64a41b1a5e902937e9988a59/notes" + url: "/contacts/649c545a85b35b2332e7efd3/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64a41b1a5e902937e9988a59/companies" + url: "/contacts/649c545a85b35b2332e7efd3/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64a41b1a5e902937e9988a59/subscriptions" + url: "/contacts/649c545a85b35b2332e7efd3/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64a41b1a5e902937e9988a59/subscriptions" + url: "/contacts/649c545a85b35b2332e7efd3/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3150,7 +3150,7 @@ paths: Unauthorized: value: type: error.list - request_id: 65b832f5-5f36-41ea-bd6e-7d9df85af140 + request_id: ae7c7e33-c10c-4851-8c41-d13d6fb07dc1 errors: - code: unauthorized message: Access Token Invalid @@ -3181,9 +3181,8 @@ paths: examples: successful: value: - id: 64a41b1c5e902937e9988a5a - external_id: '70' - type: contact + id: 649c545c85b35b2332e7efd4 + object: contact deleted: true schema: "$ref": "#/components/schemas/contact_deleted" @@ -3195,7 +3194,7 @@ paths: Unauthorized: value: type: error.list - request_id: cc6c55fc-444f-45aa-bc45-283c36a20652 + request_id: 195a5c6e-e178-4dce-ba98-30782a244a0f errors: - code: unauthorized message: Access Token Invalid @@ -3223,7 +3222,7 @@ paths: successful: value: type: contact - id: 64a41b1f5e902937e9988a5c + id: 649c545e85b35b2332e7efd6 workspace_id: this_is_an_id237_that_should_be_at_least_ external_id: '70' role: user @@ -3239,9 +3238,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1688476447 - updated_at: 1688476448 - signed_up_at: 1688476447 + created_at: 1687966814 + updated_at: 1687966815 + signed_up_at: 1687966814 last_seen_at: last_replied_at: last_contacted_at: @@ -3275,31 +3274,31 @@ paths: tags: type: list data: [] - url: "/contacts/64a41b1f5e902937e9988a5c/tags" + url: "/contacts/649c545e85b35b2332e7efd6/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64a41b1f5e902937e9988a5c/notes" + url: "/contacts/649c545e85b35b2332e7efd6/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64a41b1f5e902937e9988a5c/companies" + url: "/contacts/649c545e85b35b2332e7efd6/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64a41b1f5e902937e9988a5c/subscriptions" + url: "/contacts/649c545e85b35b2332e7efd6/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64a41b1f5e902937e9988a5c/subscriptions" + url: "/contacts/649c545e85b35b2332e7efd6/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3318,7 +3317,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4287a69c-b3df-490b-8297-4001d2818fe7 + request_id: c6c24aba-4b27-49e8-b41a-70ca3ad5ebe4 errors: - code: unauthorized message: Access Token Invalid @@ -3333,8 +3332,8 @@ paths: successful: summary: successful value: - from: 64a41b1f5e902937e9988a5b - into: 64a41b1f5e902937e9988a5c + from: 649c545e85b35b2332e7efd5 + into: 649c545e85b35b2332e7efd6 "/contacts/search": post: summary: Search contacts @@ -3443,7 +3442,7 @@ paths: Unauthorized: value: type: error.list - request_id: '092308e9-12d2-4083-98b6-bfda0105c973' + request_id: 3259829b-e411-49d3-8722-bb673bff3f85 errors: - code: unauthorized message: Access Token Invalid @@ -3463,15 +3462,15 @@ paths: value: - field: id operator: "=" - value: 64a41b245e902937e9988a5f + value: 649c546185b35b2332e7efd9 - operator: OR value: - field: id operator: "=" - value: 64a41b245e902937e9988a5f + value: 649c546185b35b2332e7efd9 - field: id operator: "=" - value: 64a41b245e902937e9988a5f + value: 649c546185b35b2332e7efd9 "/contacts": get: summary: List all contacts @@ -3510,7 +3509,7 @@ paths: Unauthorized: value: type: error.list - request_id: 13d3831a-cb00-452a-84e6-3534d1c21601 + request_id: 17c37777-1be5-40d3-8c48-e4343352a90d errors: - code: unauthorized message: Access Token Invalid @@ -3536,7 +3535,7 @@ paths: successful: value: type: contact - id: 64a41b2a5e902937e9988a61 + id: 649c546585b35b2332e7efdb workspace_id: this_is_an_id249_that_should_be_at_least_ external_id: role: user @@ -3552,8 +3551,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1688476458 - updated_at: 1688476458 + created_at: 1687966821 + updated_at: 1687966821 signed_up_at: last_seen_at: last_replied_at: @@ -3588,31 +3587,31 @@ paths: tags: type: list data: [] - url: "/contacts/64a41b2a5e902937e9988a61/tags" + url: "/contacts/649c546585b35b2332e7efdb/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64a41b2a5e902937e9988a61/notes" + url: "/contacts/649c546585b35b2332e7efdb/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64a41b2a5e902937e9988a61/companies" + url: "/contacts/649c546585b35b2332e7efdb/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64a41b2a5e902937e9988a61/subscriptions" + url: "/contacts/649c546585b35b2332e7efdb/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64a41b2a5e902937e9988a61/subscriptions" + url: "/contacts/649c546585b35b2332e7efdb/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3631,7 +3630,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7e35fcc4-a84f-4919-b077-63deb7b40882 + request_id: 56063235-8f36-40d3-ad4b-b59368f3be78 errors: - code: unauthorized message: Access Token Invalid @@ -3675,9 +3674,8 @@ paths: examples: successful: value: - id: 64a41b2d5e902937e9988a62 - external_id: '70' - type: contact + id: 649c546785b35b2332e7efdc + object: contact archived: true schema: "$ref": "#/components/schemas/contact_archived" @@ -3708,9 +3706,8 @@ paths: examples: successful: value: - id: 64a41b2f5e902937e9988a63 - external_id: '70' - type: contact + id: 649c546885b35b2332e7efdd + object: contact archived: false schema: "$ref": "#/components/schemas/contact_unarchived" @@ -3744,7 +3741,7 @@ paths: successful: value: type: tag - id: '317843' + id: '318852' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3756,7 +3753,7 @@ paths: Conversation not found: value: type: error.list - request_id: 8f805f7b-27d0-4ead-b2e4-78dc45e7e3d5 + request_id: 94e93a8f-1543-43e7-b12e-8d7541c9473d errors: - code: not_found message: Conversation not found @@ -3770,7 +3767,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5988a1c0-5ac9-4cd1-8b0a-3a55921da966 + request_id: 83302d03-c5fe-4a6c-82b6-8a7afb482c68 errors: - code: unauthorized message: Access Token Invalid @@ -3799,12 +3796,12 @@ paths: successful: summary: successful value: - id: 317843 + id: 318852 admin_id: 991266352 conversation_not_found: summary: Conversation not found value: - id: 317844 + id: 318853 admin_id: 991266354 "/conversations/{conversation_id}/tags/{id}": delete: @@ -3843,7 +3840,7 @@ paths: successful: value: type: tag - id: '317846' + id: '318855' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3855,14 +3852,14 @@ paths: Conversation not found: value: type: error.list - request_id: 868ac255-cc73-4783-b495-27f9538e1bfc + request_id: b7194981-e6c4-4bae-bdab-95c8b7b488bd errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 762b59de-c62b-4927-bf09-00ba31ade63f + request_id: 69e811d3-47ad-489a-99b2-a51df6f5db9a errors: - code: tag_not_found message: Tag not found @@ -3876,7 +3873,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9aa9ff59-86c8-4ab9-9a53-a734d84a03c5 + request_id: 6a396fe9-ccb8-44ee-9eb7-f2ab11698b24 errors: - code: unauthorized message: Access Token Invalid @@ -3955,8 +3952,8 @@ paths: conversations: - type: conversation id: '710340' - created_at: 1688476479 - updated_at: 1688476479 + created_at: 1687966834 + updated_at: 1687966834 waiting_since: snoozed_until: source: @@ -3977,8 +3974,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41b3e5e902937e9988a67 - external_id: '70' + id: 649c547185b35b2332e7efe1 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4012,7 +4008,7 @@ paths: Unauthorized: value: type: error.list - request_id: a7794911-f8b4-4ced-aca0-d896158a5de3 + request_id: ea12b20d-d749-41be-a991-fabf799389c5 errors: - code: unauthorized message: Access Token Invalid @@ -4026,7 +4022,7 @@ paths: API plan restricted: value: type: error.list - request_id: '0950191d-7e8f-4415-9d56-59b2c3c999b8' + request_id: 07e2bc1e-c313-434c-81c0-05464a5dc410 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4059,10 +4055,10 @@ paths: value: type: user_message id: '403918075' - created_at: 1688476536 + created_at: 1687966862 body: Hello there message_type: inapp - conversation_id: '710365' + conversation_id: '712383' schema: "$ref": "#/components/schemas/message" '404': @@ -4073,7 +4069,7 @@ paths: Contact Not Found: value: type: error.list - request_id: d99b4ce2-34bc-4e77-9c02-c7f170a59c1b + request_id: 961b113f-72a0-45e2-8f89-0100d21897b0 errors: - code: not_found message: User Not Found @@ -4087,7 +4083,7 @@ paths: Unauthorized: value: type: error.list - request_id: 47f4ce75-086f-4c01-925b-0eb425f1e184 + request_id: 02dd49f8-b651-48b1-8377-6ea186996cf6 errors: - code: unauthorized message: Access Token Invalid @@ -4101,7 +4097,7 @@ paths: API plan restricted: value: type: error.list - request_id: 026bf521-a080-4ca3-95b0-3ecf83366169 + request_id: 3c19fe6d-abf2-45c1-8243-89313460b502 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4118,7 +4114,7 @@ paths: value: from: type: user - id: 64a41b745e902937e9988a7c + id: 649c548d85b35b2332e7eff6 body: Hello there contact_not_found: summary: Contact Not Found @@ -4171,8 +4167,8 @@ paths: value: type: conversation id: '710369' - created_at: 1688476551 - updated_at: 1688476551 + created_at: 1687966871 + updated_at: 1687966871 waiting_since: snoozed_until: source: @@ -4193,8 +4189,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41b865e902937e9988a80 - external_id: '70' + id: 649c549785b35b2332e7effa first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4232,7 +4227,7 @@ paths: Not found: value: type: error.list - request_id: 99c36a0f-e95a-42ba-ae47-c64419c901b5 + request_id: d4c24633-990e-4022-9216-e6b6cb32942c errors: - code: not_found message: Resource Not Found @@ -4246,7 +4241,7 @@ paths: Unauthorized: value: type: error.list - request_id: c696142e-db3a-44da-9738-704f48c4cda1 + request_id: 1c31bd4a-4bca-4dd9-b826-283098cd1e80 errors: - code: unauthorized message: Access Token Invalid @@ -4260,7 +4255,7 @@ paths: API plan restricted: value: type: error.list - request_id: 128a4153-752e-4317-8f47-c8048c0a4779 + request_id: de47c812-0b72-4259-86b5-ec6f6cb7fea1 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4304,8 +4299,8 @@ paths: value: type: conversation id: '710373' - created_at: 1688476565 - updated_at: 1688476569 + created_at: 1687966881 + updated_at: 1687966883 waiting_since: snoozed_until: source: @@ -4326,8 +4321,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41b945e902937e9988a84 - external_id: '70' + id: 649c54a185b35b2332e7effe first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4357,35 +4351,35 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706303' + id: '708321' part_type: conversation_attribute_updated_by_admin body: - created_at: 1688476568 - updated_at: 1688476568 - notified_at: 1688476568 + created_at: 1687966883 + updated_at: 1687966883 + notified_at: 1687966883 assigned_to: author: id: '991266385' type: bot name: Operator - email: operator+this_is_an_id293_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id292_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false metadata: {} - type: conversation_part - id: '706304' + id: '708322' part_type: conversation_attribute_updated_by_admin body: - created_at: 1688476569 - updated_at: 1688476569 - notified_at: 1688476569 + created_at: 1687966883 + updated_at: 1687966883 + notified_at: 1687966883 assigned_to: author: id: '991266385' type: bot name: Operator - email: operator+this_is_an_id293_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id292_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4401,7 +4395,7 @@ paths: Not found: value: type: error.list - request_id: dcf26806-5340-40f4-af15-6bf9b8f38d9a + request_id: d0533b84-ad22-4c4c-9b3a-f058000bd87d errors: - code: not_found message: Resource Not Found @@ -4415,7 +4409,7 @@ paths: Unauthorized: value: type: error.list - request_id: d36f358c-5050-4f3a-abe5-4cfe101303af + request_id: abf8443c-4f4f-4db0-b550-9e35b79c9ade errors: - code: unauthorized message: Access Token Invalid @@ -4429,7 +4423,7 @@ paths: API plan restricted: value: type: error.list - request_id: 70505f00-4e66-47bb-b472-da57e70fd700 + request_id: 83b95bd4-243c-462a-a824-3dcf98730745 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4549,8 +4543,8 @@ paths: conversations: - type: conversation id: '710377' - created_at: 1688476587 - updated_at: 1688476587 + created_at: 1687966893 + updated_at: 1687966893 waiting_since: snoozed_until: source: @@ -4571,8 +4565,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41baa5e902937e9988a88 - external_id: '70' + id: 649c54ad85b35b2332e7f002 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4612,15 +4605,15 @@ paths: value: - field: id operator: "=" - value: '710377' + value: '712395' - operator: OR value: - field: id operator: "=" - value: '710377' + value: '712395' - field: id operator: "=" - value: '710377' + value: '712395' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4660,9 +4653,9 @@ paths: value: type: conversation id: '710385' - created_at: 1688476602 - updated_at: 1688476603 - waiting_since: 1688476603 + created_at: 1687966902 + updated_at: 1687966903 + waiting_since: 1687966903 snoozed_until: source: type: conversation @@ -4682,10 +4675,9 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bb95e902937e9988a8f - external_id: '70' + id: 649c54b585b35b2332e7f009 first_contact_reply: - created_at: 1688476603 + created_at: 1687966903 type: conversation url: admin_assignee_id: @@ -4714,15 +4706,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706306' + id: '708324' part_type: comment body: "

Thanks again :)

" - created_at: 1688476603 - updated_at: 1688476603 - notified_at: 1688476603 + created_at: 1687966903 + updated_at: 1687966903 + notified_at: 1687966903 assigned_to: author: - id: 64a41bb95e902937e9988a8f + id: 649c54b585b35b2332e7f009 type: user name: Joe Bloggs email: joe@bloggs.com @@ -4735,8 +4727,8 @@ paths: value: type: conversation id: '710386' - created_at: 1688476606 - updated_at: 1688476607 + created_at: 1687966906 + updated_at: 1687966907 waiting_since: snoozed_until: source: @@ -4757,8 +4749,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bbd5e902937e9988a90 - external_id: '70' + id: 649c54b985b35b2332e7f00a first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4786,7 +4777,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706307' + id: '708325' part_type: note body: |-

An Unordered HTML List

@@ -4801,9 +4792,9 @@ paths:
  • Tea
  • Milk
  • - created_at: 1688476607 - updated_at: 1688476607 - notified_at: 1688476607 + created_at: 1687966907 + updated_at: 1687966907 + notified_at: 1687966907 assigned_to: author: id: '991266412' @@ -4819,8 +4810,8 @@ paths: value: type: conversation id: '710387' - created_at: 1688476610 - updated_at: 1688476611 + created_at: 1687966909 + updated_at: 1687966910 waiting_since: snoozed_until: source: @@ -4841,8 +4832,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bc15e902937e9988a91 - external_id: '70' + id: 649c54bd85b35b2332e7f00b first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4870,12 +4860,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706308' + id: '708326' part_type: quick_reply body: - created_at: 1688476611 - updated_at: 1688476611 - notified_at: 1688476611 + created_at: 1687966910 + updated_at: 1687966910 + notified_at: 1687966910 assigned_to: author: id: '991266414' @@ -4891,9 +4881,9 @@ paths: value: type: conversation id: '710388' - created_at: 1688476614 - updated_at: 1688476616 - waiting_since: 1688476616 + created_at: 1687966912 + updated_at: 1687966913 + waiting_since: 1687966913 snoozed_until: source: type: conversation @@ -4913,10 +4903,9 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bc55e902937e9988a92 - external_id: '70' + id: 649c54c085b35b2332e7f00c first_contact_reply: - created_at: 1688476616 + created_at: 1687966913 type: conversation url: admin_assignee_id: @@ -4945,15 +4934,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706309' + id: '708327' part_type: comment body: "

    Thanks again :)

    " - created_at: 1688476616 - updated_at: 1688476616 - notified_at: 1688476616 + created_at: 1687966913 + updated_at: 1687966913 + notified_at: 1687966913 assigned_to: author: - id: 64a41bc55e902937e9988a92 + id: 649c54c085b35b2332e7f00c type: user name: Joe Bloggs email: joe@bloggs.com @@ -4972,7 +4961,7 @@ paths: Not found: value: type: error.list - request_id: 171defe3-2427-42ef-88e9-bbed19020deb + request_id: c5ff0b03-9b8c-4802-9e9f-580af6a36e65 errors: - code: not_found message: Resource Not Found @@ -4986,7 +4975,7 @@ paths: Unauthorized: value: type: error.list - request_id: db5a981d-d72c-42f7-8610-140b05a1601f + request_id: aa37b4bb-407d-4375-9e76-34388b1bcff7 errors: - code: unauthorized message: Access Token Invalid @@ -5000,7 +4989,7 @@ paths: API plan restricted: value: type: error.list - request_id: c11071ec-bf10-4e27-aca9-d86557a1fb5c + request_id: 21397db5-4ab4-42ad-adac-c021e4a2ba91 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5017,7 +5006,7 @@ paths: value: message_type: comment type: user - intercom_user_id: 64a41bb95e902937e9988a8f + intercom_user_id: 649c54b585b35b2332e7f009 body: Thanks again :) admin_note_reply: summary: Admin note reply @@ -5037,22 +5026,22 @@ paths: admin_id: 991266414 reply_options: - text: 'Yes' - uuid: 21dabf98-5652-451a-ae6e-7ec7ff68a8ab + uuid: 9e1263d9-78b8-4b89-9509-72ddbfdcf3ba - text: 'No' - uuid: cc970365-bf7b-4d29-9623-baf5a4ed6916 + uuid: cfcbe915-13c2-4b19-9aa3-868d51833c34 user_last_conversation_reply: summary: User last conversation reply value: message_type: comment type: user - intercom_user_id: 64a41bc55e902937e9988a92 + intercom_user_id: 649c54c085b35b2332e7f00c body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 64a41bca5e902937e9988a93 + intercom_user_id: 649c54c385b35b2332e7f00d body: Thanks again :) "/conversations/{id}/parts": post: @@ -5087,8 +5076,8 @@ paths: value: type: conversation id: '710392' - created_at: 1688476627 - updated_at: 1688476629 + created_at: 1687966922 + updated_at: 1687966923 waiting_since: snoozed_until: source: @@ -5109,8 +5098,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bd25e902937e9988a96 - external_id: '70' + id: 649c54ca85b35b2332e7f010 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5138,12 +5126,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706310' + id: '708328' part_type: close body: "

    Goodbye :)

    " - created_at: 1688476629 - updated_at: 1688476629 - notified_at: 1688476629 + created_at: 1687966923 + updated_at: 1687966923 + notified_at: 1687966923 assigned_to: author: id: '991266424' @@ -5159,10 +5147,10 @@ paths: value: type: conversation id: '710393' - created_at: 1688476633 - updated_at: 1688476635 + created_at: 1687966926 + updated_at: 1687966927 waiting_since: - snoozed_until: 1688480234 + snoozed_until: 1687970527 source: type: conversation id: '403918098' @@ -5181,8 +5169,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bd85e902937e9988a97 - external_id: '70' + id: 649c54cd85b35b2332e7f011 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5210,12 +5197,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706311' + id: '708329' part_type: snoozed body: - created_at: 1688476635 - updated_at: 1688476635 - notified_at: 1688476635 + created_at: 1687966927 + updated_at: 1687966927 + notified_at: 1687966927 assigned_to: author: id: '991266426' @@ -5231,8 +5218,8 @@ paths: value: type: conversation id: '710398' - created_at: 1688476636 - updated_at: 1688476649 + created_at: 1687966927 + updated_at: 1687966937 waiting_since: snoozed_until: source: @@ -5253,8 +5240,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41be35e902937e9988a9c - external_id: '74' + id: 649c54d485b35b2332e7f016 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5282,12 +5268,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706313' + id: '708331' part_type: open body: - created_at: 1688476649 - updated_at: 1688476649 - notified_at: 1688476649 + created_at: 1687966937 + updated_at: 1687966937 + notified_at: 1687966937 assigned_to: author: id: '991266428' @@ -5303,8 +5289,8 @@ paths: value: type: conversation id: '710402' - created_at: 1688476651 - updated_at: 1688476653 + created_at: 1687966939 + updated_at: 1687966940 waiting_since: snoozed_until: source: @@ -5325,8 +5311,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41beb5e902937e9988a9f - external_id: '70' + id: 649c54da85b35b2332e7f019 first_contact_reply: admin_assignee_id: 991266430 team_assignee_id: @@ -5354,12 +5339,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706314' + id: '708332' part_type: assign_and_reopen body: - created_at: 1688476653 - updated_at: 1688476653 - notified_at: 1688476653 + created_at: 1687966940 + updated_at: 1687966940 + notified_at: 1687966940 assigned_to: type: admin id: '991266430' @@ -5383,7 +5368,7 @@ paths: Not found: value: type: error.list - request_id: 9c84d54d-3604-48e4-8809-936d46505d04 + request_id: 5b3f04de-52fa-4b49-bab7-29df3d9c31e6 errors: - code: not_found message: Resource Not Found @@ -5397,7 +5382,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5d9fe49d-501e-4708-81e4-e78d4ab9e722 + request_id: 0a6b22a9-6c40-441e-8046-5171944aa81b errors: - code: unauthorized message: Access Token Invalid @@ -5411,7 +5396,7 @@ paths: API plan restricted: value: type: error.list - request_id: e0f14bd5-ca3e-4281-bf3d-2edea5fc26d5 + request_id: 49c94dce-bc16-4d63-ae5b-676f9376888d errors: - code: api_plan_restricted message: Active subscription needed. @@ -5439,7 +5424,7 @@ paths: value: message_type: snoozed admin_id: 991266426 - snoozed_until: 1688480234 + snoozed_until: 1687970527 open_a_conversation: summary: Open a conversation value: @@ -5489,8 +5474,8 @@ paths: value: type: conversation id: '710406' - created_at: 1688476666 - updated_at: 1688476669 + created_at: 1687966949 + updated_at: 1687966950 waiting_since: snoozed_until: source: @@ -5511,8 +5496,7 @@ paths: type: contact.list contacts: - type: contact - id: 64a41bf95e902937e9988aa3 - external_id: '70' + id: 649c54e585b35b2332e7f01d first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5540,12 +5524,12 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706315' + id: '708333' part_type: default_assignment body: - created_at: 1688476669 - updated_at: 1688476669 - notified_at: 1688476669 + created_at: 1687966950 + updated_at: 1687966950 + notified_at: 1687966950 assigned_to: type: nobody_admin id: @@ -5553,7 +5537,7 @@ paths: id: '991266439' type: bot name: Operator - email: operator+this_is_an_id331_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id330_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5569,7 +5553,7 @@ paths: Not found: value: type: error.list - request_id: 27dd0bb3-3e6e-40fa-afc0-6c0aeadf14ae + request_id: 92bd02a3-ad5e-4012-aef9-92be9115fb13 errors: - code: not_found message: Resource Not Found @@ -5583,7 +5567,7 @@ paths: Unauthorized: value: type: error.list - request_id: 66a8d0f4-a483-4431-abd5-7f073b1e41c1 + request_id: aa51462c-7edb-4fc3-90b3-215171b1d770 errors: - code: unauthorized message: Access Token Invalid @@ -5597,7 +5581,7 @@ paths: API plan restricted: value: type: error.list - request_id: f1f902c2-a210-4d3e-aab4-019f8c704804 + request_id: 0beb4ae9-b398-48a1-9615-a8544b5c018e errors: - code: api_plan_restricted message: Active subscription needed. @@ -5636,7 +5620,7 @@ paths: value: customers: - type: user - id: 64a41c085e902937e9988aa7 + id: 649c54ef85b35b2332e7f021 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5647,7 +5631,7 @@ paths: Not found: value: type: error.list - request_id: ed5394dd-722f-46df-8dcc-90459e93c91b + request_id: 3cec102f-0fff-47bd-9d88-b273b3fc2275 errors: - code: not_found message: Resource Not Found @@ -5661,7 +5645,7 @@ paths: Unauthorized: value: type: error.list - request_id: 66cf6bc4-f01e-4d8f-9a76-12dffc71bfe4 + request_id: 95e6bed9-8f93-40aa-8371-584a7cb5df14 errors: - code: unauthorized message: Access Token Invalid @@ -5675,7 +5659,7 @@ paths: API plan restricted: value: type: error.list - request_id: 5e8211eb-c15d-4983-b002-ddd647b0ce8c + request_id: a741f1ca-d98c-4091-b5c5-7316114e0e52 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5692,13 +5676,13 @@ paths: value: admin_id: 991266446 customer: - intercom_user_id: 64a41c085e902937e9988aa7 + intercom_user_id: 649c54ef85b35b2332e7f021 not_found: summary: Not found value: admin_id: 991266448 customer: - intercom_user_id: 64a41c0c5e902937e9988aa8 + intercom_user_id: 649c54f285b35b2332e7f022 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5739,7 +5723,7 @@ paths: value: customers: - type: user - id: 64a41c215e902937e9988ab2 + id: 649c550185b35b2332e7f02c schema: "$ref": "#/components/schemas/conversation" '404': @@ -5750,14 +5734,14 @@ paths: Conversation not found: value: type: error.list - request_id: b72e87a7-084c-452a-80e4-3e9ed8f4819a + request_id: 0f469ee0-11cd-49b5-83aa-6568790657f9 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: bf019ce8-b0cc-48a0-a31e-101b8be920aa + request_id: f1b72868-02e4-47c4-814d-acaaf7a9da57 errors: - code: not_found message: User Not Found @@ -5771,7 +5755,7 @@ paths: Last customer: value: type: error.list - request_id: a0e817e3-f626-4475-9a10-c8cd23cf7801 + request_id: dd8c3962-9526-4615-a1ab-8952cea44a78 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5785,7 +5769,7 @@ paths: Unauthorized: value: type: error.list - request_id: f570c260-0d29-4e7d-b4ff-6a0931dd0f4d + request_id: 798b53e3-f1db-4f5f-b29a-10b0941a1ed7 errors: - code: unauthorized message: Access Token Invalid @@ -5799,7 +5783,7 @@ paths: API plan restricted: value: type: error.list - request_id: 72deb0c4-db80-47b6-b2e5-39d64d526fe4 + request_id: a89c84b5-3ec5-435a-b272-0063c5e93377 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5816,25 +5800,25 @@ paths: value: admin_id: 991266454 customer: - intercom_user_id: 64a41c165e902937e9988aab + intercom_user_id: 649c54f985b35b2332e7f025 conversation_not_found: summary: Conversation not found value: admin_id: 991266456 customer: - intercom_user_id: 64a41c245e902937e9988ab3 + intercom_user_id: 649c550385b35b2332e7f02d contact_not_found: summary: Contact not found value: admin_id: 991266458 customer: - intercom_user_id: 64a41c305e902937e9988aba + intercom_user_id: 649c550c85b35b2332e7f034 last_customer: summary: Last customer value: admin_id: 991266460 customer: - intercom_user_id: 64a41c3d5e902937e9988ac1 + intercom_user_id: 649c551585b35b2332e7f03b "/conversations/redact": post: summary: Redact a conversation part @@ -5862,9 +5846,9 @@ paths: value: type: conversation id: '710462' - created_at: 1688476776 - updated_at: 1688476781 - waiting_since: 1688476779 + created_at: 1687967025 + updated_at: 1687967028 + waiting_since: 1687967027 snoozed_until: source: type: conversation @@ -5884,10 +5868,9 @@ paths: type: contact.list contacts: - type: contact - id: 64a41c685e902937e9988ad6 - external_id: '70' + id: 649c553185b35b2332e7f050 first_contact_reply: - created_at: 1688476779 + created_at: 1687967027 type: conversation url: admin_assignee_id: @@ -5916,15 +5899,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '706323' + id: '708341' part_type: comment body: "

    This message was deleted

    " - created_at: 1688476779 - updated_at: 1688476781 - notified_at: 1688476779 + created_at: 1687967027 + updated_at: 1687967028 + notified_at: 1687967027 assigned_to: author: - id: 64a41c685e902937e9988ad6 + id: 649c553185b35b2332e7f050 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5943,7 +5926,7 @@ paths: Not found: value: type: error.list - request_id: b2138be4-746f-4554-951a-18eded213b3f + request_id: 984790b2-6abc-4090-baad-a4ac22b138aa errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -5957,7 +5940,7 @@ paths: Unauthorized: value: type: error.list - request_id: e72e43b7-a16c-412b-9c1c-f2e4c33b6399 + request_id: 0ab8a27d-1ffd-45c5-92ae-6596de833642 errors: - code: unauthorized message: Access Token Invalid @@ -5973,8 +5956,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 710462 - conversation_part_id: 706323 + conversation_id: 712480 + conversation_part_id: 708341 not_found: summary: Not found value: @@ -6150,7 +6133,7 @@ paths: custom: false archived: false model: company - - id: 186672 + - id: 187681 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6163,8 +6146,8 @@ paths: custom: true archived: false admin_id: '991266472' - created_at: 1688476792 - updated_at: 1688476792 + created_at: 1687967034 + updated_at: 1687967034 model: company - type: data_attribute name: id @@ -6231,7 +6214,7 @@ paths: Unauthorized: value: type: error.list - request_id: f7217c11-0dac-4809-9005-41c0f9536de1 + request_id: 0a30410e-023a-47af-bd20-cb94143ca957 errors: - code: unauthorized message: Access Token Invalid @@ -6256,7 +6239,7 @@ paths: examples: Successful: value: - id: 186675 + id: 187684 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6267,8 +6250,8 @@ paths: custom: true archived: false admin_id: '991266474' - created_at: 1688476795 - updated_at: 1688476795 + created_at: 1687967036 + updated_at: 1687967036 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6280,7 +6263,7 @@ paths: Same name already exists: value: type: error.list - request_id: b1e194af-e3ae-4bad-b12e-e8dd4c41b969 + request_id: da2796e3-65ff-4d44-9104-0594e969e0bc errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6288,7 +6271,7 @@ paths: Invalid name: value: type: error.list - request_id: c94f0945-c58e-4923-97ae-aea6f6e1f643 + request_id: 4a449715-22b8-4f9a-95de-d7a5c2ca6367 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6296,7 +6279,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 05b5a51e-43f9-439d-a32d-e5a69bf60973 + request_id: 4641d099-110e-4a66-b390-6b9e635cabff errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6304,14 +6287,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: 2708ed79-a42d-475e-a0f0-5ab6e6167233 + request_id: 8ec0f234-296f-4df6-ba21-08caa995bde4 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: 4be5d4aa-f643-444a-841b-5ee800dc000c + request_id: 8458fe2a-42a3-4c0f-aa30-2175e4d570e1 errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6326,7 +6309,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6c664605-b562-4446-ae43-f34ad2760022 + request_id: 7affcbf1-7270-42fa-8b5a-a60581c50869 errors: - code: unauthorized message: Access Token Invalid @@ -6405,7 +6388,7 @@ paths: examples: Successful: value: - id: 186682 + id: 187691 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6420,8 +6403,8 @@ paths: custom: true archived: false admin_id: '991266481' - created_at: 1688476803 - updated_at: 1688476803 + created_at: 1687967040 + updated_at: 1687967040 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6433,7 +6416,7 @@ paths: Too few options in list: value: type: error.list - request_id: d38939ec-6a48-4ee3-90ce-c66b6233fa0a + request_id: 127a14d0-346f-43d3-993e-36ac17842df9 errors: - code: parameter_invalid message: Options isn't an array @@ -6447,7 +6430,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 8db0d727-4ec1-4889-9d68-26ded1b777cd + request_id: e1837b29-5153-4282-ba07-8ae2d3e4dff7 errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6461,7 +6444,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: '08ff9ea3-467b-4985-a024-35a597f0c7ab' + request_id: 93645a6b-967a-4c79-ae4c-46edf8356eeb errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6476,7 +6459,7 @@ paths: Unauthorized: value: type: error.list - request_id: eb13a4e2-582d-4a45-a715-fdcd2b0eb4de + request_id: ecdd5d05-79e7-4c37-80c8-50181fd85f70 errors: - code: unauthorized message: Access Token Invalid @@ -6595,7 +6578,7 @@ paths: Unauthorized: value: type: error.list - request_id: dd06f55a-96c4-437b-a7b1-e25b1b4f52ed + request_id: fa7dbc97-3ff0-4ee7-92a2-c9b74bda8923 errors: - code: unauthorized message: Access Token Invalid @@ -6682,7 +6665,7 @@ paths: pages: next: http://api.intercom.test/events?next page email: user24@email.com - intercom_user_id: 64a41c9a5e902937e9988aed + intercom_user_id: 649c554c85b35b2332e7f067 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6694,7 +6677,7 @@ paths: Unauthorized: value: type: error.list - request_id: 76f03162-cc32-4a94-b415-e84170b8ea9b + request_id: b7bdf228-ab5e-47c3-ab29-388cc04352d5 errors: - code: unauthorized message: Access Token Invalid @@ -6725,7 +6708,7 @@ paths: Unauthorized: value: type: error.list - request_id: e72f6b52-b75f-49cd-b5e8-c38131a2683d + request_id: b21e8e94-ddfb-4442-926b-24f8f853fa35 errors: - code: unauthorized message: Access Token Invalid @@ -6769,7 +6752,7 @@ paths: examples: successful: value: - job_identifier: ec1zgbdo78667owl + job_identifier: 9pgbxtov1omupfpz status: pending download_url: '' download_expires_at: '' @@ -6784,8 +6767,8 @@ paths: successful: summary: successful value: - created_at_after: 1688458830 - created_at_before: 1688476830 + created_at_after: 1687949056 + created_at_before: 1687967056 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -6819,7 +6802,7 @@ paths: examples: successful: value: - job_identifier: us57irjaf98ecdk5 + job_identifier: 3jnqlbmn0719x601 status: pending download_url: '' download_expires_at: '' @@ -6851,7 +6834,7 @@ paths: examples: successful: value: - job_identifier: tyb63u3sog1kbisn + job_identifier: f283xlz3wvmdh9cd status: canceled download_url: '' download_expires_at: '' @@ -6913,23 +6896,23 @@ paths: value: type: user_message id: '403918141' - created_at: 1688476906 + created_at: 1687967103 body: heyy message_type: inapp - conversation_id: '710476' + conversation_id: '712494' lead message created: value: type: user_message id: '403918142' - created_at: 1688476909 + created_at: 1687967104 body: heyy message_type: inapp - conversation_id: '710477' + conversation_id: '712495' admin message created: value: type: admin_message id: '466161' - created_at: 1688476913 + created_at: 1687967106 subject: heyy body: heyy message_type: inapp @@ -6950,14 +6933,14 @@ paths: No body supplied for message: value: type: error.list - request_id: c58cc987-d0a0-4d3f-9cfc-c3ad68d07882 + request_id: 1c718141-c4c1-4339-af0f-c3e96a7a7dcd errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 6517ee36-4b8c-49e0-bd5a-c68c0f7c8a20 + request_id: d9cd9d7a-30b2-472a-bbfc-9b9928c6fefe errors: - code: parameter_invalid message: Body is required @@ -6971,7 +6954,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: df2dba26-1083-4903-a7ce-627b17323838 + request_id: 8821d66f-2ec4-4d90-986a-d61f327473fa errors: - code: parameter_not_found message: No subject supplied for email message @@ -6985,7 +6968,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4449ebcb-5ae9-4921-9f07-d61e36d5b793 + request_id: ea3a5462-0907-4e54-82f8-6032a7f99a20 errors: - code: unauthorized message: Access Token Invalid @@ -6999,7 +6982,7 @@ paths: API plan restricted: value: type: error.list - request_id: 741b7e23-2e9c-4df6-8833-97dae32dcc36 + request_id: 65ff9029-b3cf-48ef-a0ef-475163d54770 errors: - code: api_plan_restricted message: Active subscription needed. @@ -7016,7 +6999,7 @@ paths: value: from: type: user - id: 64a41cea5e902937e9988b42 + id: 649c557f85b35b2332e7f0bc body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7024,7 +7007,7 @@ paths: value: from: type: lead - id: 64a41ced5e902937e9988b43 + id: 649c558085b35b2332e7f0bd body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7035,7 +7018,7 @@ paths: id: '991266510' to: type: user - id: 64a41cef5e902937e9988b44 + id: 649c558285b35b2332e7f0be message_type: conversation body: heyy no_body_supplied_for_message: @@ -7046,7 +7029,7 @@ paths: id: '991266511' to: type: user - id: 64a41cf15e902937e9988b45 + id: 649c558385b35b2332e7f0bf message_type: inapp body: subject: heyy @@ -7069,7 +7052,7 @@ paths: id: '991266513' to: type: user - id: 64a41cf35e902937e9988b47 + id: 649c558485b35b2332e7f0c1 message_type: email body: subject: heyy @@ -7100,9 +7083,9 @@ paths: total_pages: 1 type: pages data: - - id: '394520' + - id: '394519' type: news-item - workspace_id: this_is_an_id431_that_should_be_at_least_ + workspace_id: this_is_an_id430_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " sender_id: 991266520 @@ -7115,12 +7098,12 @@ paths: - - deliver_silently: false - created_at: 1688476920 - updated_at: 1688476920 + created_at: 1687967110 + updated_at: 1687967110 newsfeed_assignments: [] - - id: '394519' + - id: '394520' type: news-item - workspace_id: this_is_an_id431_that_should_be_at_least_ + workspace_id: this_is_an_id430_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " sender_id: 991266518 @@ -7133,8 +7116,8 @@ paths: - - deliver_silently: false - created_at: 1688476919 - updated_at: 1688476919 + created_at: 1687967110 + updated_at: 1687967110 newsfeed_assignments: [] total_count: 2 schema: @@ -7147,7 +7130,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4bfa5d29-3884-4f1f-9253-487518b87b4d + request_id: c0eb3905-7841-435d-8054-9b2d8b67598f errors: - code: unauthorized message: Access Token Invalid @@ -7172,9 +7155,9 @@ paths: examples: successful: value: - id: '394523' + id: '395532' type: news-item - workspace_id: this_is_an_id435_that_should_be_at_least_ + workspace_id: this_is_an_id434_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " sender_id: 991266527 @@ -7188,10 +7171,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1688476924 - updated_at: 1688476924 + created_at: 1687967113 + updated_at: 1687967113 newsfeed_assignments: - - newsfeed_id: 399566 + - newsfeed_id: 400575 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7203,7 +7186,7 @@ paths: Unauthorized: value: type: error.list - request_id: bd929894-9d7a-46a9-bc3f-5c8bba467564 + request_id: 86d6ec6f-ea76-4d03-a6fc-608cb9ce0fcb errors: - code: unauthorized message: Access Token Invalid @@ -7231,7 +7214,7 @@ paths: - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 399566 + - newsfeed_id: 400575 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7260,9 +7243,9 @@ paths: examples: successful: value: - id: '394524' + id: '395533' type: news-item - workspace_id: this_is_an_id439_that_should_be_at_least_ + workspace_id: this_is_an_id438_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " sender_id: 991266530 @@ -7275,11 +7258,11 @@ paths: - - deliver_silently: false - created_at: 1688476927 - updated_at: 1688476927 + created_at: 1687967115 + updated_at: 1687967115 newsfeed_assignments: - newsfeed_id: 399568 - published_at: 1688476927 + published_at: 1687967115 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7290,7 +7273,7 @@ paths: News Item Not Found: value: type: error.list - request_id: d9b7bb81-aff2-4615-ac76-618a15b6a848 + request_id: 3bb5c3de-2966-4f27-b306-5cddfde114f5 errors: - code: not_found message: Resource Not Found @@ -7304,7 +7287,7 @@ paths: Unauthorized: value: type: error.list - request_id: a16a415e-fbd8-4d53-9a81-256fc20b86f2 + request_id: 37cc0052-3ab0-46c4-a6dc-81fad70fc043 errors: - code: unauthorized message: Access Token Invalid @@ -7335,9 +7318,9 @@ paths: examples: successful: value: - id: '394527' + id: '395536' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id444_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " sender_id: 991266538 @@ -7348,8 +7331,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1688476931 - updated_at: 1688476932 + created_at: 1687967117 + updated_at: 1687967117 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7361,7 +7344,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 2ccdc3c1-5942-4fde-9915-3d653d122565 + request_id: 9b32336c-5a1e-47d9-9821-767bdadea4d8 errors: - code: not_found message: Resource Not Found @@ -7375,7 +7358,7 @@ paths: Unauthorized: value: type: error.list - request_id: d8d9dc9a-743c-474a-ab10-ba4133369d62 + request_id: a4e493bc-e5a0-4c3f-9674-888d30421428 errors: - code: unauthorized message: Access Token Invalid @@ -7431,7 +7414,7 @@ paths: examples: successful: value: - id: '394530' + id: '395539' object: news-item deleted: true schema: @@ -7444,7 +7427,7 @@ paths: News Item Not Found: value: type: error.list - request_id: bdb6e693-f5d2-41d8-8813-8e835e550a5f + request_id: 8ab9b84a-4372-4f01-88a9-6e7174cdcb36 errors: - code: not_found message: Resource Not Found @@ -7458,7 +7441,7 @@ paths: Unauthorized: value: type: error.list - request_id: d54e376f-0c5f-48c7-b7ef-4533449efd4c + request_id: a1458538-82a9-4e3d-9f80-4900b280e397 errors: - code: unauthorized message: Access Token Invalid @@ -7511,7 +7494,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1892ce47-bfd5-445c-b9fb-9192f9a15efc + request_id: 60a0849d-c84a-4b34-9db8-aa639b2cd440 errors: - code: unauthorized message: Access Token Invalid @@ -7544,16 +7527,16 @@ paths: total_pages: 1 type: pages data: - - id: '399581' + - id: '400590' type: newsfeed name: Visitor Feed - created_at: 1688476942 - updated_at: 1688476942 + created_at: 1687967125 + updated_at: 1687967125 - id: '399582' type: newsfeed name: Visitor Feed - created_at: 1688476942 - updated_at: 1688476942 + created_at: 1687967125 + updated_at: 1687967125 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7565,7 +7548,7 @@ paths: Unauthorized: value: type: error.list - request_id: f08f746a-6bc3-4582-8553-8b6c905e6af1 + request_id: bf50a0d1-6576-46c7-a07c-3d35a9ad8553 errors: - code: unauthorized message: Access Token Invalid @@ -7599,11 +7582,11 @@ paths: examples: successful: value: - id: '399585' + id: '400594' type: newsfeed name: Visitor Feed - created_at: 1688476945 - updated_at: 1688476945 + created_at: 1687967126 + updated_at: 1687967126 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7614,7 +7597,7 @@ paths: Unauthorized: value: type: error.list - request_id: 47b26955-163c-4951-b71a-f5534745ec78 + request_id: 9b550bb9-85ce-47de-bb45-c4bb671ac23e errors: - code: unauthorized message: Access Token Invalid @@ -7649,10 +7632,10 @@ paths: value: type: note id: '401602' - created_at: 1687785753 + created_at: 1687275931 contact: type: contact - id: 64a41d195e902937e9988b52 + id: 649c559b85b35b2332e7f0cc author: type: admin id: '991266557' @@ -7671,7 +7654,7 @@ paths: Note not found: value: type: error.list - request_id: 60b40c51-89a3-4324-b4f5-0706d6745baa + request_id: f2208aec-0a54-400b-b8b1-0cc2b350388c errors: - code: not_found message: Resource Not Found @@ -7685,7 +7668,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5a45248a-3193-461f-83b8-2672203e052f + request_id: 1e9242c4-736b-4581-96ee-648376042295 errors: - code: unauthorized message: Access Token Invalid @@ -7721,16 +7704,16 @@ paths: type: segment.list segments: - type: segment - id: 64a41d245e902937e9988b5a + id: 649c55a185b35b2332e7f0d4 name: Jane segment - created_at: 1688476964 - updated_at: 1688476964 + created_at: 1687967137 + updated_at: 1687967137 person_type: user - type: segment - id: 64a41d245e902937e9988b59 + id: 649c55a185b35b2332e7f0d3 name: John segment - created_at: 1688476964 - updated_at: 1688476964 + created_at: 1687967137 + updated_at: 1687967137 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7742,7 +7725,7 @@ paths: Unauthorized: value: type: error.list - request_id: 39e51d1a-2e0d-4d00-861e-916743bb2d69 + request_id: 6284b9c1-1a67-460b-9499-209ded59e8ac errors: - code: unauthorized message: Access Token Invalid @@ -7776,10 +7759,10 @@ paths: Successful response: value: type: segment - id: 64a41d265e902937e9988b5d + id: 649c55a285b35b2332e7f0d7 name: John segment - created_at: 1688476966 - updated_at: 1688476966 + created_at: 1687967138 + updated_at: 1687967138 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -7791,7 +7774,7 @@ paths: Segment not found: value: type: error.list - request_id: 6f3ee1b5-3c11-4a6d-b7e5-4e69a9cf6fcc + request_id: c9bfdc95-504f-4024-9b79-02f575bfd7e3 errors: - code: not_found message: Resource Not Found @@ -7805,7 +7788,7 @@ paths: Unauthorized: value: type: error.list - request_id: aa388089-d736-44de-b83b-c2a43244cf60 + request_id: 88084650-c677-47ff-bc32-13c498147114 errors: - code: unauthorized message: Access Token Invalid @@ -7835,7 +7818,7 @@ paths: type: list data: - type: subscription - id: '436941' + id: '437950' state: live consent_type: opt_out default_translation: @@ -7858,7 +7841,7 @@ paths: Unauthorized: value: type: error.list - request_id: 56360ba6-0879-4cfe-aba8-f66944bc09c2 + request_id: 95ebcb6f-3b1c-4e74-ba5f-2a82c6f523f5 errors: - code: unauthorized message: Access Token Invalid @@ -7888,7 +7871,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/1b9bc940-59dd-4195-ba35-dc0a8d6e2a2d + url: http://via.intercom.io/msgr/ea4e2d8a-e1c2-4d20-a701-5ffcf077ad82 type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -7921,7 +7904,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b4a1390-1072-4c9f-bb04-deb7c710f8d9 + request_id: a041ad85-8f1f-43d0-939e-f9c8369437c0 errors: - code: unauthorized message: Access Token Invalid @@ -7984,7 +7967,7 @@ paths: type: list data: - type: tag - id: '317867' + id: '318876' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -7996,7 +7979,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3cbf45ce-56b6-4524-bb30-c1539f23b25d + request_id: cf7ea691-f365-4fe2-ac86-414b97989e1f errors: - code: unauthorized message: Access Token Invalid @@ -8035,7 +8018,7 @@ paths: Action successful: value: type: tag - id: '317870' + id: '318879' name: test schema: "$ref": "#/components/schemas/tag" @@ -8047,7 +8030,7 @@ paths: Invalid parameters: value: type: error.list - request_id: 2161e69f-bf26-4db6-98f2-c6af0a8c9ab0 + request_id: ae4ab2d5-e1ad-441b-b0c3-85216625cb93 errors: - code: parameter_invalid message: invalid tag parameters @@ -8061,14 +8044,14 @@ paths: Company not found: value: type: error.list - request_id: c9acb797-773f-402f-a30c-26afd8b5061f + request_id: fb333542-e005-4f6f-b0d8-9f65866dab2a errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 1b3fe874-0b21-45f4-87b7-04a26766f62e + request_id: 3ca9a828-1a77-4eef-94d1-2c0d35190d3a errors: - code: not_found message: User Not Found @@ -8082,7 +8065,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5288799f-0bf4-49b1-b517-6484c15c49f5 + request_id: c45b432d-3ab0-42a7-b7eb-bc5275944582 errors: - code: unauthorized message: Access Token Invalid @@ -8148,7 +8131,7 @@ paths: Tag found: value: type: tag - id: '317878' + id: '318887' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8160,7 +8143,7 @@ paths: Tag not found: value: type: error.list - request_id: 78c3ef72-e57e-4c3f-91fe-5953be392fcb + request_id: 0fba7229-6c33-454d-bcaa-7e6584093a28 errors: - code: not_found message: Resource Not Found @@ -8174,7 +8157,7 @@ paths: Unauthorized: value: type: error.list - request_id: b249306e-24fb-4bed-bec3-755cb776de76 + request_id: dc95358c-f98a-4e34-96c0-91ce8987c02a errors: - code: unauthorized message: Access Token Invalid @@ -8210,7 +8193,7 @@ paths: Resource not found: value: type: error.list - request_id: 6d19e5c6-9979-4e9a-88d7-0a3647751ad9 + request_id: 544febe9-1f08-46ef-a81b-087aa0e553a4 errors: - code: not_found message: Resource Not Found @@ -8224,7 +8207,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: d83d34e3-6731-4235-a79f-21329417a8d5 + request_id: 7d22234d-0401-4730-9bc8-5aded7194084 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8239,7 +8222,7 @@ paths: Unauthorized: value: type: error.list - request_id: 31edf160-860b-41f1-8dcb-b176d563d1ea + request_id: 232bc7f8-fab2-41fd-92fb-246fe9228e2d errors: - code: unauthorized message: Access Token Invalid @@ -8277,7 +8260,7 @@ paths: Unauthorized: value: type: error.list - request_id: cf334f9a-5aef-4c89-a1a3-ba6844e7d3a2 + request_id: ff7abb53-b453-4ccb-ba0e-b232abb7539e errors: - code: unauthorized message: Access Token Invalid @@ -8325,7 +8308,7 @@ paths: Team not found: value: type: error.list - request_id: 83072e69-9977-476c-b088-9945882aec35 + request_id: f9c41c29-ccfd-4c8f-b158-6bc8539a2633 errors: - code: team_not_found message: Team not found @@ -8339,7 +8322,7 @@ paths: Unauthorized: value: type: error.list - request_id: e2af042d-02c1-433c-a030-60314ee3fbe3 + request_id: 76a5d0e8-6a88-4bfb-adf4-e6b749709745 errors: - code: unauthorized message: Access Token Invalid @@ -8372,8 +8355,8 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '162467' - workspace_id: this_is_an_id537_that_should_be_at_least_ + id: '163476' + workspace_id: this_is_an_id536_that_should_be_at_least_ name: Attribute Title description: Attribute Description data_type: string @@ -8385,10 +8368,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 761795 + ticket_type_id: 763813 archived: false - created_at: 1688477026 - updated_at: 1688477026 + created_at: 1687967172 + updated_at: 1687967172 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8399,7 +8382,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7859a1b9-fe20-4475-a9aa-3c1746936543 + request_id: f99554ee-6599-411c-aaa2-2f6e898f13bf errors: - code: unauthorized message: Access Token Invalid @@ -8452,8 +8435,8 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '162468' - workspace_id: this_is_an_id541_that_should_be_at_least_ + id: '163477' + workspace_id: this_is_an_id540_that_should_be_at_least_ name: name description: New Attribute Description data_type: string @@ -8463,10 +8446,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 761797 + ticket_type_id: 763815 archived: false - created_at: 1688477027 - updated_at: 1688477028 + created_at: 1687967173 + updated_at: 1687967173 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8477,7 +8460,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5a9c5be9-0d9e-46ab-b430-1e44d201db4b + request_id: 48a16966-b189-49c6-b499-abac47ffc8a3 errors: - code: unauthorized message: Access Token Invalid @@ -8515,21 +8498,21 @@ paths: type: list data: - type: ticket_type - id: '761799' + id: '763817' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id545_that_should_be_at_least_ + workspace_id: this_is_an_id544_that_should_be_at_least_ archived: false - created_at: 1688477029 - updated_at: 1688477029 + created_at: 1687967174 + updated_at: 1687967174 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162469' - workspace_id: this_is_an_id545_that_should_be_at_least_ + id: '163478' + workspace_id: this_is_an_id544_that_should_be_at_least_ name: name description: description data_type: string @@ -8540,10 +8523,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 761799 + ticket_type_id: 763817 archived: false - created_at: 1688477029 - updated_at: 1688477029 + created_at: 1687967174 + updated_at: 1687967174 schema: "$ref": "#/components/schemas/ticket_type_list" '401': @@ -8554,7 +8537,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8e883050-aa90-4746-8533-669c5790396e + request_id: 2d1bec39-3f2c-48ea-899c-54b5be91b36c errors: - code: unauthorized message: Access Token Invalid @@ -8582,14 +8565,14 @@ paths: Ticket type created: value: type: ticket_type - id: '761802' + id: '763820' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id549_that_should_be_at_least_ + workspace_id: this_is_an_id548_that_should_be_at_least_ archived: false - created_at: 1688477031 - updated_at: 1688477031 + created_at: 1687967176 + updated_at: 1687967176 is_internal: false ticket_type_attributes: type: list @@ -8604,7 +8587,7 @@ paths: Unauthorized: value: type: error.list - request_id: b70c7754-94ad-44eb-bb76-29c567837f57 + request_id: 23eea240-6e65-47c7-8312-6f65cef13b37 errors: - code: unauthorized message: Access Token Invalid @@ -8648,21 +8631,21 @@ paths: Ticket type found: value: type: ticket_type - id: '761804' + id: '763822' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id553_that_should_be_at_least_ + workspace_id: this_is_an_id552_that_should_be_at_least_ archived: false - created_at: 1688477033 - updated_at: 1688477033 + created_at: 1687967177 + updated_at: 1687967177 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162473' - workspace_id: this_is_an_id553_that_should_be_at_least_ + id: '163482' + workspace_id: this_is_an_id552_that_should_be_at_least_ name: name description: description data_type: string @@ -8673,10 +8656,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 761804 + ticket_type_id: 763822 archived: false - created_at: 1688477033 - updated_at: 1688477033 + created_at: 1687967177 + updated_at: 1687967177 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8687,7 +8670,7 @@ paths: Unauthorized: value: type: error.list - request_id: d2535453-ac3e-447f-b998-f3536a7bdd24 + request_id: c4be6d89-7d86-4b6b-a1c7-c8cb5cdc30a3 errors: - code: unauthorized message: Access Token Invalid @@ -8719,21 +8702,21 @@ paths: Ticket type updated: value: type: ticket_type - id: '761806' + id: '763824' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id557_that_should_be_at_least_ + workspace_id: this_is_an_id556_that_should_be_at_least_ archived: false - created_at: 1688477035 - updated_at: 1688477036 + created_at: 1687967178 + updated_at: 1687967179 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162475' - workspace_id: this_is_an_id557_that_should_be_at_least_ + id: '163484' + workspace_id: this_is_an_id556_that_should_be_at_least_ name: name description: description data_type: string @@ -8744,10 +8727,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 761806 + ticket_type_id: 763824 archived: false - created_at: 1688477035 - updated_at: 1688477035 + created_at: 1687967178 + updated_at: 1687967178 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8758,7 +8741,7 @@ paths: Unauthorized: value: type: error.list - request_id: 79c3abc5-495d-460f-b0d9-ca127fc3263d + request_id: f49ee358-8860-4331-9571-a43cf16c45e8 errors: - code: unauthorized message: Access Token Invalid @@ -8810,11 +8793,11 @@ paths: Successful response: value: type: ticket_part - id: '706326' + id: '708344' part_type: note body: "

    This is a body

    " - created_at: 1688477045 - updated_at: 1688477045 + created_at: 1687967182 + updated_at: 1687967182 author: id: '991266623' type: admin @@ -8832,7 +8815,7 @@ paths: Unauthorized: value: type: error.list - request_id: bef999a5-32f6-48c5-b1e8-c9b69aecc70f + request_id: 306d610c-210a-47d7-8622-1439a37ed682 errors: - code: unauthorized message: Access Token Invalid @@ -8870,28 +8853,28 @@ paths: Successful response: value: type: ticket - id: '710481' + id: '712499' ticket_attributes: title: example description: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '761810' + id: '763828' name: my-ticket-type-3 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id565_that_should_be_at_least_ + workspace_id: this_is_an_id564_that_should_be_at_least_ archived: false - created_at: 1688477052 - updated_at: 1688477052 + created_at: 1687967185 + updated_at: 1687967185 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162481' - workspace_id: this_is_an_id565_that_should_be_at_least_ + id: '163490' + workspace_id: this_is_an_id564_that_should_be_at_least_ name: title description: ola data_type: string @@ -8902,13 +8885,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761810 + ticket_type_id: 763828 archived: false - created_at: 1688477053 - updated_at: 1688477053 + created_at: 1687967185 + updated_at: 1687967185 - type: ticket_type_attribute - id: '162482' - workspace_id: this_is_an_id565_that_should_be_at_least_ + id: '163491' + workspace_id: this_is_an_id564_that_should_be_at_least_ name: description description: ola data_type: string @@ -8919,35 +8902,34 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761810 + ticket_type_id: 763828 archived: false - created_at: 1688477053 - updated_at: 1688477053 + created_at: 1687967185 + updated_at: 1687967185 contacts: type: contact.list contacts: - - type: contact - id: 64a41d7e5e902937e9988b8d - external_id: '70' + - id: 649c55d285b35b2332e7f107 + role: user admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1688477055 - updated_at: 1688477052 + created_at: 1687967186 + updated_at: 1687967185 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '706328' + id: '708346' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1688477056 - updated_at: 1688477056 + created_at: 1687967187 + updated_at: 1687967187 author: id: '991266636' type: bot name: Operator - email: operator+this_is_an_id565_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id564_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 1 @@ -8967,7 +8949,7 @@ paths: Unauthorized: value: type: error.list - request_id: fa472f6b-7821-485e-921b-99f4b410233d + request_id: d2682e87-6446-4e0b-894a-796367752f28 errors: - code: unauthorized message: Access Token Invalid @@ -8982,9 +8964,9 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 761810 + ticket_type_id: 763828 contacts: - - id: 64a41d7e5e902937e9988b8d + - id: 649c55d285b35b2332e7f107 ticket_attributes: title: example description: there is a problem @@ -9014,28 +8996,28 @@ paths: Successful response: value: type: ticket - id: '710482' + id: '712500' ticket_attributes: title: example description: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '761812' + id: '763830' name: my-ticket-type-5 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id569_that_should_be_at_least_ + workspace_id: this_is_an_id568_that_should_be_at_least_ archived: false - created_at: 1688477060 - updated_at: 1688477060 + created_at: 1687967190 + updated_at: 1687967190 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162486' - workspace_id: this_is_an_id569_that_should_be_at_least_ + id: '163495' + workspace_id: this_is_an_id568_that_should_be_at_least_ name: title description: ola data_type: string @@ -9046,13 +9028,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761812 + ticket_type_id: 763830 archived: false - created_at: 1688477060 - updated_at: 1688477060 + created_at: 1687967190 + updated_at: 1687967190 - type: ticket_type_attribute - id: '162487' - workspace_id: this_is_an_id569_that_should_be_at_least_ + id: '163496' + workspace_id: this_is_an_id568_that_should_be_at_least_ name: description description: ola data_type: string @@ -9063,30 +9045,29 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761812 + ticket_type_id: 763830 archived: false - created_at: 1688477061 - updated_at: 1688477061 + created_at: 1687967190 + updated_at: 1687967190 contacts: type: contact.list contacts: - - type: contact - id: 64a41d855e902937e9988b8e - external_id: 335f9c9f-e49b-45aa-9573-f4cccce1fd61 + - id: 649c55d685b35b2332e7f108 + role: lead admin_assignee_id: '991266650' team_assignee_id: '0' - created_at: 1688477062 - updated_at: 1688477060 + created_at: 1687967191 + updated_at: 1687967190 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '706329' + id: '708347' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1688477062 - updated_at: 1688477062 + created_at: 1687967191 + updated_at: 1687967191 author: id: '991266648' type: admin @@ -9095,48 +9076,48 @@ paths: attachments: [] redacted: false - type: ticket_part - id: '706330' + id: '708348' part_type: ticket_attribute_updated_by_admin - created_at: 1688477065 - updated_at: 1688477065 + created_at: 1687967192 + updated_at: 1687967192 author: id: '991266649' type: bot name: Operator - email: operator+this_is_an_id569_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '706331' + id: '708349' part_type: ticket_attribute_updated_by_admin - created_at: 1688477065 - updated_at: 1688477065 + created_at: 1687967193 + updated_at: 1687967193 author: id: '991266649' type: bot name: Operator - email: operator+this_is_an_id569_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '706332' + id: '708350' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1688477066 - updated_at: 1688477066 + created_at: 1687967193 + updated_at: 1687967193 author: id: '991266649' type: bot name: Operator - email: operator+this_is_an_id569_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '706333' + id: '708351' part_type: assignment - created_at: 1688477067 - updated_at: 1688477067 + created_at: 1687967193 + updated_at: 1687967193 assigned_to: type: admin id: '991266650' @@ -9164,14 +9145,14 @@ paths: Admin not found: value: type: error.list - request_id: 96d450f3-e837-4561-900f-69b459b53f99 + request_id: 3fe0dbf3-0613-4037-9b22-62ce6e68c170 errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: 0b066804-4640-42e4-b9ae-bbfc2b55721f + request_id: 0b2cf7cb-0fd4-445c-9538-79ec6a5b8661 errors: - code: assignee_not_found message: Assignee not found @@ -9183,7 +9164,7 @@ paths: Unauthorized: value: type: error.list - request_id: a0a04355-1608-4b94-9503-3eeef536a1dc + request_id: 9ec26490-7646-4c34-a5c4-065948af68cc errors: - code: unauthorized message: Access Token Invalid @@ -9251,28 +9232,28 @@ paths: Ticket found: value: type: ticket - id: '710485' + id: '712503' ticket_attributes: title: attribute_value description: ticket_state: submitted ticket_type: type: ticket_type - id: '761816' + id: '763834' name: my-ticket-type-9 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id577_that_should_be_at_least_ + workspace_id: this_is_an_id576_that_should_be_at_least_ archived: false - created_at: 1688477083 - updated_at: 1688477083 + created_at: 1687967201 + updated_at: 1687967201 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162497' - workspace_id: this_is_an_id577_that_should_be_at_least_ + id: '163506' + workspace_id: this_is_an_id576_that_should_be_at_least_ name: title description: ola data_type: string @@ -9283,13 +9264,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761816 + ticket_type_id: 763834 archived: false - created_at: 1688477083 - updated_at: 1688477083 + created_at: 1687967201 + updated_at: 1687967201 - type: ticket_type_attribute - id: '162498' - workspace_id: this_is_an_id577_that_should_be_at_least_ + id: '163507' + workspace_id: this_is_an_id576_that_should_be_at_least_ name: description description: ola data_type: string @@ -9300,30 +9281,29 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761816 + ticket_type_id: 763834 archived: false - created_at: 1688477084 - updated_at: 1688477084 + created_at: 1687967202 + updated_at: 1687967202 contacts: type: contact.list contacts: - - type: contact - id: 64a41d9c5e902937e9988b91 - external_id: '029c5c71-7739-4e49-9784-f739584f6ae3' + - id: 649c55e285b35b2332e7f10b + role: lead admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1688477085 - updated_at: 1688477083 + created_at: 1687967202 + updated_at: 1687967201 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '706336' + id: '708354' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1688477085 - updated_at: 1688477085 + created_at: 1687967203 + updated_at: 1687967203 author: id: '991266677' type: admin @@ -9348,7 +9328,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0cb09a40-8473-45e9-8fe9-ab944be32aee + request_id: e97e42b0-1790-4110-90a6-a1459e1e1fb5 errors: - code: unauthorized message: Access Token Invalid @@ -9411,28 +9391,28 @@ paths: total_count: 1 tickets: - type: ticket - id: '710486' + id: '712504' ticket_attributes: title: attribute_value description: ticket_state: submitted ticket_type: type: ticket_type - id: '761818' + id: '763836' name: my-ticket-type-11 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id581_that_should_be_at_least_ + workspace_id: this_is_an_id580_that_should_be_at_least_ archived: false - created_at: 1688477089 - updated_at: 1688477089 + created_at: 1687967206 + updated_at: 1687967206 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '162502' - workspace_id: this_is_an_id581_that_should_be_at_least_ + id: '163511' + workspace_id: this_is_an_id580_that_should_be_at_least_ name: title description: ola data_type: string @@ -9443,13 +9423,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761818 + ticket_type_id: 763836 archived: false - created_at: 1688477090 - updated_at: 1688477090 + created_at: 1687967206 + updated_at: 1687967206 - type: ticket_type_attribute - id: '162503' - workspace_id: this_is_an_id581_that_should_be_at_least_ + id: '163512' + workspace_id: this_is_an_id580_that_should_be_at_least_ name: description description: ola data_type: string @@ -9460,30 +9440,29 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 761818 + ticket_type_id: 763836 archived: false - created_at: 1688477090 - updated_at: 1688477090 + created_at: 1687967206 + updated_at: 1687967206 contacts: type: contact.list contacts: - - type: contact - id: 64a41da35e902937e9988b92 - external_id: 1705031a-86da-46a5-a877-787608621ca4 + - id: 649c55e785b35b2332e7f10c + role: lead admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1688477091 - updated_at: 1688477089 + created_at: 1687967207 + updated_at: 1687967206 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '706337' + id: '708355' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1688477092 - updated_at: 1688477092 + created_at: 1687967208 + updated_at: 1687967208 author: id: '991266690' type: admin @@ -9514,15 +9493,15 @@ paths: value: - field: id operator: "=" - value: '710486' + value: '712504' - operator: OR value: - field: id operator: "=" - value: '710486' + value: '712504' - field: id operator: "=" - value: '710486' + value: '712504' "/visitors": put: summary: Update a visitor @@ -9549,26 +9528,26 @@ paths: successful: value: type: visitor - id: 64a41e265e902937e9988c7e + id: 649c563485b35b2332e7f1f8 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Silver Shark + pseudonym: Orange Fish avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/silver-shark.png + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/orange-fish.png app_id: this_is_an_id585_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1688477222 - remote_created_at: 1688477222 - signed_up_at: 1688477222 - updated_at: 1688477222 + created_at: 1687967284 + remote_created_at: 1687967284 + signed_up_at: 1687967284 + updated_at: 1687967284 session_count: 0 social_profiles: type: social_profile.list @@ -9601,7 +9580,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 43ae1e35-8932-414f-8795-f4e4f9991784 + request_id: 7f25c0f1-c8cf-4196-b27a-e042b102f9ca errors: - code: not_found message: Visitor Not Found @@ -9615,7 +9594,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0d959b4f-1c44-45ac-91a9-9ffff89f6e45 + request_id: 554865a5-3569-4247-b0d0-2a941c1bcebd errors: - code: unauthorized message: Access Token Invalid @@ -9630,7 +9609,7 @@ paths: successful: summary: successful value: - id: 64a41e265e902937e9988c7e + id: 649c563485b35b2332e7f1f8 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -9663,7 +9642,7 @@ paths: successful: value: type: visitor - id: 64a41e295e902937e9988c81 + id: 649c563685b35b2332e7f1fb user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9673,16 +9652,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id591_that_should_be_at_least_ + app_id: this_is_an_id590_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1688477225 - remote_created_at: 1688477225 - signed_up_at: 1688477225 - updated_at: 1688477225 + created_at: 1687967286 + remote_created_at: 1687967286 + signed_up_at: 1687967286 + updated_at: 1687967286 session_count: 0 social_profiles: type: social_profile.list @@ -9715,7 +9694,7 @@ paths: Visitor not found: value: type: error.list - request_id: 0ec11ac3-3d0c-4f3f-b81d-d6766676b2eb + request_id: 766ec1e1-b352-42fd-bb3e-5bd458f623de errors: - code: not_found message: Visitor Not Found @@ -9729,7 +9708,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8e8a8771-f108-4d16-b19a-a112878336b1 + request_id: 3b9d2376-896b-4808-a0d2-246ee3f77b58 errors: - code: unauthorized message: Access Token Invalid @@ -9763,7 +9742,7 @@ paths: successful: value: type: visitor - id: 64a41e2c5e902937e9988c84 + id: 649c563785b35b2332e7f1fe user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9773,16 +9752,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id597_that_should_be_at_least_ + app_id: this_is_an_id596_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1688477228 - remote_created_at: 1688477228 - signed_up_at: 1688477228 - updated_at: 1688477228 + created_at: 1687967288 + remote_created_at: 1687967287 + signed_up_at: 1687967287 + updated_at: 1687967288 session_count: 0 social_profiles: type: social_profile.list @@ -9815,7 +9794,7 @@ paths: Visitor not found: value: type: error.list - request_id: 007f6c08-6768-49f0-80b5-f21eaa1559ac + request_id: c0a5416a-a3d8-4e76-812e-6d71c44f4aaf errors: - code: not_found message: Visitor Not Found @@ -9829,7 +9808,7 @@ paths: Unauthorized: value: type: error.list - request_id: 788d1867-4857-4be9-80c3-c83a26028fe7 + request_id: cbfa7019-d6c0-4aa0-a206-ec6c926ec247 errors: - code: unauthorized message: Access Token Invalid @@ -9862,7 +9841,7 @@ paths: successful: value: type: visitor - id: 64a41e305e902937e9988c87 + id: 649c563a85b35b2332e7f201 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9872,16 +9851,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id603_that_should_be_at_least_ + app_id: this_is_an_id602_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1688477232 - remote_created_at: 1688477232 - signed_up_at: 1688477232 - updated_at: 1688477233 + created_at: 1687967290 + remote_created_at: 1687967290 + signed_up_at: 1687967290 + updated_at: 1687967290 session_count: 0 social_profiles: type: social_profile.list @@ -9914,7 +9893,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 315390a5-1297-441b-ad8e-b3e2de4cef03 + request_id: d8093125-c04c-49db-a1e6-7681c9128cc9 errors: - code: not_found message: User Not Found @@ -9928,7 +9907,7 @@ paths: Unauthorized: value: type: error.list - request_id: fbe1108f-609c-42be-b4f5-78c962f7c30a + request_id: 26a38bc1-3200-45bd-a943-28c8902d1703 errors: - code: unauthorized message: Access Token Invalid @@ -9959,26 +9938,26 @@ paths: successful: value: type: visitor - id: 64a41e345e902937e9988c8a + id: 649c563c85b35b2332e7f204 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: - pseudonym: Azure Plane + pseudonym: Orange Bear avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/azure-plane.png + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/orange-bear.png app_id: this_is_an_id609_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1688477236 - remote_created_at: 1688477237 - signed_up_at: 1688477237 - updated_at: 1688477237 + created_at: 1687967292 + remote_created_at: 1687967292 + signed_up_at: 1687967292 + updated_at: 1687967292 session_count: 0 social_profiles: type: social_profile.list @@ -10011,7 +9990,7 @@ paths: Unauthorized: value: type: error.list - request_id: 57284162-516f-4d2b-b471-be56cd68de84 + request_id: 0ad20baa-a85e-4bd8-af82-f5e732757d1f errors: - code: unauthorized message: Access Token Invalid @@ -10804,9 +10783,9 @@ components: example: '4324241' body: type: string - description: Optionally you can leave a note in the conversation for additional - context to other teammates. - example: Please take a look at this conversation. + description: Optionally you can send a response in the conversation when + it is assigned. + example: Let me pass you over to one of my colleagues. required: - message_type - type diff --git a/descriptions/2.7/api.intercom.io.yaml b/descriptions/2.7/api.intercom.io.yaml index 2b1812a..675cb87 100644 --- a/descriptions/2.7/api.intercom.io.yaml +++ b/descriptions/2.7/api.intercom.io.yaml @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1677858456 + created_at: 1688588786 secure: false identity_verification: false timezone: America/Los_Angeles @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: cf0af2f3-5d8b-4e15-9aad-511423c53c5a + request_id: f11d2eab-ba27-4f37-9f20-dedbe474c3bb errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 43efc7b9-9028-4cbd-a462-f4dc25a14c88 + request_id: 0fe501bf-3676-4f10-a8ec-5276f5c7c439 errors: - code: unauthorized message: Access Token Invalid @@ -170,7 +170,7 @@ paths: required: true description: The start date that you request data for. It must be formatted as a UNIX timestamp. - example: '1677253651' + example: '1677253093' schema: type: string - name: created_at_before @@ -178,7 +178,7 @@ paths: required: false description: The end date that you request data for. It must be formatted as a UNIX timestamp. - example: '1677862051' + example: '1677861493' schema: type: string tags: @@ -201,7 +201,7 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: f263aa36-6fca-434a-a74f-7bfabf64c2b9 + - id: de072800-8189-4223-84d8-66df8ce17018 performed_by: type: admin id: '991266219' @@ -213,12 +213,12 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1677858464 + created_at: 1688588792 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message title. - - id: d4da3b4f-66f1-4551-a534-cfd35aa508a1 + - id: 9a5d6b43-9e75-4155-b571-94a9372b55e6 performed_by: type: admin id: '991266219' @@ -227,7 +227,7 @@ paths: metadata: before: before after: after - created_at: 1677858464 + created_at: 1688588792 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: e9f30a70-614e-4642-810d-1897792fd715 + request_id: 61f03ea8-c28d-4430-b50d-95e6a5cacad0 errors: - code: unauthorized message: Access Token Invalid @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0d944f95-f99e-4102-ab5f-64d32d352282 + request_id: af95f20d-c605-4787-bf0d-d99b7e43dc36 errors: - code: unauthorized message: Access Token Invalid @@ -338,7 +338,7 @@ paths: Admin not found: value: type: error.list - request_id: f896f2d9-30f8-43b0-b252-bde7fd4473a4 + request_id: dd573ff9-bb5d-41a4-9c7e-1d3925d08da9 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 29bdfbf3-bfce-4853-81a0-e4a26a003387 + request_id: 7271bb37-ebb7-436d-829b-724cab49844b errors: - code: unauthorized message: Access Token Invalid @@ -390,19 +390,19 @@ paths: total_pages: 1 total_count: 1 data: - - id: '1' + - id: '92828' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 1 + parent_id: 87783 parent_type: collection title: This is the article title description: '' body: '' author_id: 991266226 state: published - created_at: 1677858470 - updated_at: 1677858470 - url: http://help-center.test/myapp-22/en/articles/1-this-is-the-article-title + created_at: 1688588797 + updated_at: 1688588797 + url: http://help-center.test/myapp-22/en/articles/92828-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -413,7 +413,7 @@ paths: Unauthorized: value: type: error.list - request_id: a7d13556-a58a-436c-9467-0363ecded645 + request_id: 54ede33d-afcd-4a62-8aae-e9d35c92d11e errors: - code: unauthorized message: Access Token Invalid @@ -438,10 +438,10 @@ paths: examples: article created: value: - id: '4' + id: '92831' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 3 + parent_id: 87785 parent_type: collection statistics: type: article_statistics @@ -456,9 +456,9 @@ paths: body:

    Body of the Article

    author_id: 991266234 state: published - created_at: 1677858473 - updated_at: 1677858473 - url: http://help-center.test/myapp-26/en/articles/4-thanks-for-everything + created_at: 1688588799 + updated_at: 1688588799 + url: http://help-center.test/myapp-26/en/articles/92831-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -469,7 +469,7 @@ paths: Bad Request: value: type: error.list - request_id: 4debf60a-6cbb-41d8-a681-4833e64e98b9 + request_id: 45c85150-4226-400e-84c4-85c0585d4fc4 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -484,7 +484,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6d9e8c4c-9ece-486c-8df0-e830839e855d + request_id: 5425c558-7092-4028-9d2f-8838c9e8e04a errors: - code: unauthorized message: Access Token Invalid @@ -504,7 +504,7 @@ paths: body: Body of the Article author_id: 991266234 state: published - parent_id: 3 + parent_id: 87785 parent_type: collection translated_content: fr: @@ -548,10 +548,10 @@ paths: examples: Article found: value: - id: '7' + id: '92834' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 6 + parent_id: 87788 parent_type: collection statistics: type: article_statistics @@ -566,9 +566,9 @@ paths: body: '' author_id: 991266241 state: published - created_at: 1677858476 - updated_at: 1677858476 - url: http://help-center.test/myapp-32/en/articles/7-this-is-the-article-title + created_at: 1688588803 + updated_at: 1688588803 + url: http://help-center.test/myapp-32/en/articles/92834-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -579,7 +579,7 @@ paths: Article not found: value: type: error.list - request_id: f64d823a-6d1c-46a2-a0a4-b115d221363c + request_id: c5c2ceb1-260d-4295-8729-eb67ef5c304e errors: - code: not_found message: Resource Not Found @@ -593,7 +593,7 @@ paths: Unauthorized: value: type: error.list - request_id: '04998032-847d-4317-b253-aeced8af9fa9' + request_id: e88dafb7-fd27-4a9f-86b5-37238d061546 errors: - code: unauthorized message: Access Token Invalid @@ -626,10 +626,10 @@ paths: examples: successful: value: - id: '10' + id: '92837' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 9 + parent_id: 87791 parent_type: collection statistics: type: article_statistics @@ -644,9 +644,9 @@ paths: body:

    New gifts in store for the jolly season

    author_id: 991266250 state: published - created_at: 1677858479 - updated_at: 1677858480 - url: http://help-center.test/myapp-38/en/articles/10-christmas-is-here + created_at: 1688588805 + updated_at: 1688588806 + url: http://help-center.test/myapp-38/en/articles/92837-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -657,7 +657,7 @@ paths: Article Not Found: value: type: error.list - request_id: a8cffc6d-9e89-4c1a-a3b7-a19e084baa3c + request_id: f6781541-58b3-4788-86d3-083a84a38607 errors: - code: not_found message: Resource Not Found @@ -671,7 +671,7 @@ paths: Unauthorized: value: type: error.list - request_id: f00ee103-0be6-407c-ae31-182553e6a1d3 + request_id: a44bb4a3-7b57-4c07-adb2-d45f11e1121c errors: - code: unauthorized message: Access Token Invalid @@ -719,7 +719,7 @@ paths: examples: successful: value: - id: '13' + id: '92840' object: article deleted: true schema: @@ -732,7 +732,7 @@ paths: Article Not Found: value: type: error.list - request_id: 027d1548-a7d5-4a05-848f-9f08d932972d + request_id: c9392ced-cd56-40d6-9786-da0a40d8f746 errors: - code: not_found message: Resource Not Found @@ -746,7 +746,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7fe948ea-2668-44b4-a1af-0e564643547a + request_id: c7cb8a8b-cb2c-4b6c-9497-0bab8f33dbef errors: - code: unauthorized message: Access Token Invalid @@ -779,13 +779,13 @@ paths: value: type: list data: - - id: '15' + - id: '87797' workspace_id: this_is_an_id50_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-50/collection-15 order: 15 - created_at: 1677858486 - updated_at: 1677858486 + created_at: 1688588810 + updated_at: 1688588810 description: english collection description icon: bookmark type: collection @@ -805,7 +805,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3171ae8d-f8a2-4029-9748-f031baa790d5 + request_id: 94a142a8-0499-46fa-a8b5-d4f55214f4e2 errors: - code: unauthorized message: Access Token Invalid @@ -830,14 +830,14 @@ paths: examples: collection created: value: - id: '21' + id: '87803' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-54/ order: 1 - created_at: 1677858488 - updated_at: 1677858488 - description: + created_at: 1688588811 + updated_at: 1688588811 + description: '' icon: book-bookmark type: collection schema: @@ -850,7 +850,7 @@ paths: Bad Request: value: type: error.list - request_id: 50814a9e-7046-4ea1-a53a-969e8328fa52 + request_id: 91d9e862-348f-4f98-8ea2-0533b996dc37 errors: - code: parameter_not_found message: Name is a required parameter. @@ -864,7 +864,7 @@ paths: Unauthorized: value: type: error.list - request_id: eae6aba0-2119-49f7-9e09-ad74c1a69c75 + request_id: ae4cc8dd-fd9c-4995-ba5a-83defd453ce6 errors: - code: unauthorized message: Access Token Invalid @@ -912,13 +912,13 @@ paths: examples: Collection found: value: - id: '26' + id: '87808' workspace_id: this_is_an_id60_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-60/collection-20 order: 20 - created_at: 1677858489 - updated_at: 1677858489 + created_at: 1688588812 + updated_at: 1688588812 description: english collection description icon: bookmark type: collection @@ -932,7 +932,7 @@ paths: Collection not found: value: type: error.list - request_id: 8999cc0a-4bc7-4be5-88c4-9c0bff7016b0 + request_id: c297c2a2-cec5-4355-9aa6-907f5c57f54e errors: - code: not_found message: Resource Not Found @@ -946,7 +946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 11650587-2b3c-483f-906e-4aec5f5fc4e6 + request_id: 0351d98e-63eb-4f9d-a6fd-5815855031e4 errors: - code: unauthorized message: Access Token Invalid @@ -979,15 +979,15 @@ paths: examples: successful: value: - id: '32' + id: '87814' workspace_id: this_is_an_id66_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-66/collection-23 order: 23 - created_at: 1677858491 - updated_at: 1677858492 + created_at: 1688588814 + updated_at: 1688588814 description: english collection description - icon: bookmark + icon: folder type: collection schema: "$ref": "#/components/schemas/collection" @@ -999,7 +999,7 @@ paths: Collection Not Found: value: type: error.list - request_id: f57b1d8e-883f-4b6c-85b0-f7ae98023499 + request_id: '09957955-d414-4c2d-a9ac-afb144e3f9b9' errors: - code: not_found message: Resource Not Found @@ -1013,7 +1013,7 @@ paths: Unauthorized: value: type: error.list - request_id: db2c80ae-36b7-400d-b654-860251a45583 + request_id: 9a526e33-5b98-488a-9067-cd6243335bc5 errors: - code: unauthorized message: Access Token Invalid @@ -1060,7 +1060,7 @@ paths: examples: successful: value: - id: '38' + id: '87820' object: collection deleted: true schema: @@ -1073,7 +1073,7 @@ paths: collection Not Found: value: type: error.list - request_id: 1fef412b-e6d4-4d9c-b9de-0c135ae67d29 + request_id: 5769693e-b493-4a9b-8305-8cabcfb68d85 errors: - code: not_found message: Resource Not Found @@ -1087,7 +1087,7 @@ paths: Unauthorized: value: type: error.list - request_id: c98abff6-c313-43be-b950-a3bd3497bf5a + request_id: cdb01284-6cab-4739-aa26-936b9b9a0791 errors: - code: unauthorized message: Access Token Invalid @@ -1119,15 +1119,15 @@ paths: value: type: list data: - - id: '45' + - id: '87827' workspace_id: this_is_an_id78_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-78/section-15 order: 15 - created_at: 1677858496 - updated_at: 1677858496 + created_at: 1688588818 + updated_at: 1688588818 type: section - parent_id: 44 + parent_id: 87826 total_count: 1 pages: type: pages @@ -1144,7 +1144,7 @@ paths: Unauthorized: value: type: error.list - request_id: 49e44722-ced8-4d88-a09d-a04cb43d803d + request_id: 575e9527-c546-4af7-8a99-41fe162672de errors: - code: unauthorized message: Access Token Invalid @@ -1169,31 +1169,17 @@ paths: examples: section created: value: - id: '50' + id: '87832' workspace_id: this_is_an_id82_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-82/ order: 1 - created_at: 1677858498 - updated_at: 1677858498 + created_at: 1688588819 + updated_at: 1688588819 type: section - parent_id: '48' + parent_id: '87830' schema: "$ref": "#/components/schemas/section" - '400': - description: Bad Request - content: - application/json: - examples: - Bad Request: - value: - type: error.list - request_id: 6a75c762-ad36-4003-b769-6c3e0ae1fe5b - errors: - - code: parameter_invalid - message: Parent ID can't be nil - schema: - "$ref": "#/components/schemas/error" '401': description: Unauthorized content: @@ -1202,7 +1188,7 @@ paths: Unauthorized: value: type: error.list - request_id: ecb5527c-6222-4e0b-a83a-2801b30656eb + request_id: d8e4110f-fcc6-41ad-a48b-fa1756e67e92 errors: - code: unauthorized message: Access Token Invalid @@ -1218,11 +1204,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 48 - bad_request: - summary: Bad Request - value: - name: Missing required parameter + parent_id: 87830 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1251,15 +1233,15 @@ paths: examples: Section found: value: - id: '56' - workspace_id: this_is_an_id88_that_should_be_at_least_4 + id: '87836' + workspace_id: this_is_an_id86_that_should_be_at_least_4 name: English section title - url: http://help-center.test/myapp-88/section-20 - order: 20 - created_at: 1677858500 - updated_at: 1677858500 + url: http://help-center.test/myapp-86/section-19 + order: 19 + created_at: 1688588820 + updated_at: 1688588820 type: section - parent_id: 55 + parent_id: 87835 schema: "$ref": "#/components/schemas/section" '404': @@ -1270,7 +1252,7 @@ paths: Section not found: value: type: error.list - request_id: 74a92cd1-4e1c-4385-9841-ee599c887527 + request_id: d8867336-86af-48a0-9291-b5f3cd7ab5d1 errors: - code: not_found message: Resource Not Found @@ -1284,7 +1266,7 @@ paths: Unauthorized: value: type: error.list - request_id: fa500908-b606-41a3-b51f-0199c63a9c38 + request_id: 0d55be12-7c49-4c36-beca-ff68953f9250 errors: - code: unauthorized message: Access Token Invalid @@ -1317,15 +1299,15 @@ paths: examples: successful: value: - id: '62' - workspace_id: this_is_an_id94_that_should_be_at_least_4 + id: '87842' + workspace_id: this_is_an_id92_that_should_be_at_least_4 name: Update section name - url: http://help-center.test/myapp-94/section-23 - order: 23 - created_at: 1677858502 - updated_at: 1677858503 + url: http://help-center.test/myapp-92/section-22 + order: 22 + created_at: 1688588821 + updated_at: 1688588822 type: section - parent_id: '61' + parent_id: '87841' schema: "$ref": "#/components/schemas/section" '404': @@ -1336,7 +1318,7 @@ paths: Section Not Found: value: type: error.list - request_id: 9e4c0c9c-019d-4fd7-9f0a-01cede8e2b29 + request_id: 13ea8e75-2617-40d2-99ae-86318215d291 errors: - code: not_found message: Resource Not Found @@ -1350,7 +1332,7 @@ paths: Unauthorized: value: type: error.list - request_id: b2c228b4-3dca-4575-8770-99137b15930a + request_id: 42e42772-9a37-4a35-a3b6-ce728b14057e errors: - code: unauthorized message: Access Token Invalid @@ -1366,12 +1348,12 @@ paths: summary: successful value: name: Update section name - parent_id: 61 + parent_id: 87841 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 63 + parent_id: 87843 delete: summary: Delete a section parameters: @@ -1398,7 +1380,7 @@ paths: examples: successful: value: - id: '68' + id: '87848' object: section deleted: true schema: @@ -1411,7 +1393,7 @@ paths: section Not Found: value: type: error.list - request_id: 336678ab-eba1-4bd2-9cae-74b204a08a97 + request_id: 1314da19-7990-4371-99c0-ab25eb992857 errors: - code: not_found message: Resource Not Found @@ -1425,7 +1407,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3e33af91-3db4-43ec-ab14-7f192ba2f7d9 + request_id: 32b6859f-2e55-440f-a4bf-bec5853da569 errors: - code: unauthorized message: Access Token Invalid @@ -1457,12 +1439,12 @@ paths: value: type: company company_id: company_remote_id - id: 640216d04c21b42eec02f939 - app_id: this_is_an_id109_that_should_be_at_least_ + id: 64a5d21d6406a57a6d80ec42 + app_id: this_is_an_id107_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1677858513 - updated_at: 1677858513 + created_at: 1688588829 + updated_at: 1688588829 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1499,7 +1481,7 @@ paths: Unauthorized: value: type: error.list - request_id: a9c43de2-0b90-4d87-90db-9a52dfea753e + request_id: 55a13771-eae7-4740-a4bb-e1309cf05648 errors: - code: unauthorized message: Access Token Invalid @@ -1570,12 +1552,12 @@ paths: value: type: company company_id: '1' - id: 640216d44c21b42eec02f943 - app_id: this_is_an_id115_that_should_be_at_least_ + id: 64a5d2216406a57a6d80ec4c + app_id: this_is_an_id113_that_should_be_at_least_ name: company2 - remote_created_at: 1677858516 - created_at: 1677858516 - updated_at: 1677858516 + remote_created_at: 1688588833 + created_at: 1688588833 + updated_at: 1688588833 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1597,7 +1579,7 @@ paths: Company Not Found: value: type: error.list - request_id: 0e34fc27-2068-4391-9429-05cf80f5db68 + request_id: 7eb031bd-fa12-48ef-a7f5-fa950d377303 errors: - code: company_not_found message: Company Not Found @@ -1611,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 33431ae1-5ef4-4f7a-9f0c-d67a3bcaa5c0 + request_id: 99c7e732-32be-4fcb-a83b-4c8ad3b91262 errors: - code: unauthorized message: Access Token Invalid @@ -1646,12 +1628,12 @@ paths: value: type: company company_id: '1' - id: 640216d84c21b42eec02f94e - app_id: this_is_an_id121_that_should_be_at_least_ + id: 64a5d2246406a57a6d80ec57 + app_id: this_is_an_id119_that_should_be_at_least_ name: company4 - remote_created_at: 1677858520 - created_at: 1677858521 - updated_at: 1677858521 + remote_created_at: 1688588836 + created_at: 1688588836 + updated_at: 1688588836 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1673,7 +1655,7 @@ paths: Company Not Found: value: type: error.list - request_id: ea9ea8d9-7891-4ed6-b17e-ffeb662dec25 + request_id: '093bbc23-8f58-47e5-a328-2faeefa3e315' errors: - code: company_not_found message: Company Not Found @@ -1687,7 +1669,7 @@ paths: Unauthorized: value: type: error.list - request_id: de2f3782-fbbb-4dff-b5d6-dc8d058175d2 + request_id: 0d7b35a3-98b2-497f-a55e-d84f8293e663 errors: - code: unauthorized message: Access Token Invalid @@ -1721,12 +1703,12 @@ paths: value: type: company company_id: '1' - id: 640216dd4c21b42eec02f958 - app_id: this_is_an_id127_that_should_be_at_least_ + id: 64a5d2276406a57a6d80ec61 + app_id: this_is_an_id125_that_should_be_at_least_ name: company5 - remote_created_at: 1677858525 - created_at: 1677858525 - updated_at: 1677858525 + remote_created_at: 1688588839 + created_at: 1688588839 + updated_at: 1688588839 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1748,7 +1730,7 @@ paths: Company Not Found: value: type: error.list - request_id: d7a4ab98-ece8-44ea-8900-43f08266e785 + request_id: 306bd6c5-cdb4-4590-a8da-34618d83b019 errors: - code: company_not_found message: Company Not Found @@ -1762,7 +1744,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9d436b8f-220e-4d3e-a5e0-09de4d426b81 + request_id: 961f607a-5602-45c7-b65e-e46678fb76c1 errors: - code: unauthorized message: Access Token Invalid @@ -1794,7 +1776,7 @@ paths: examples: Successful: value: - id: 640216e24c21b42eec02f962 + id: 64a5d22a6406a57a6d80ec6b object: company deleted: true schema: @@ -1807,7 +1789,7 @@ paths: Company Not Found: value: type: error.list - request_id: 63a70873-cd76-4787-895b-99a942199244 + request_id: a0e262a5-1bc4-4b03-827c-89f5e75eef38 errors: - code: company_not_found message: Company Not Found @@ -1821,7 +1803,7 @@ paths: Unauthorized: value: type: error.list - request_id: d62a12ad-21b1-429f-92b4-e17cbb7feca5 + request_id: d7d00075-e1f5-43c5-a0b0-7b9239e3d1c2 errors: - code: unauthorized message: Access Token Invalid @@ -1873,7 +1855,7 @@ paths: Company Not Found: value: type: error.list - request_id: d209ada5-4a46-4a12-9c01-d706df47c3c0 + request_id: 436a0d18-d2c2-4736-b255-42d15b4045c1 errors: - code: company_not_found message: Company Not Found @@ -1887,7 +1869,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5276784b-8506-4700-a8a7-0cb88e699f8e + request_id: '0924e7fb-6480-424c-bde8-1453ce5a6582' errors: - code: unauthorized message: Access Token Invalid @@ -1932,7 +1914,7 @@ paths: Company Not Found: value: type: error.list - request_id: 5831f43b-fc7a-4e76-95a5-dbc0e3a53284 + request_id: 0b6f199f-3e88-491c-b04c-2f00fda47823 errors: - code: company_not_found message: Company Not Found @@ -1946,7 +1928,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4b24cd74-e5b5-4670-8b2d-78154e2a42d1 + request_id: df247fe3-ae2e-41c2-ab9e-58c925ea1532 errors: - code: unauthorized message: Access Token Invalid @@ -2027,12 +2009,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 640216ef4c21b42eec02f97e - app_id: this_is_an_id151_that_should_be_at_least_ + id: 64a5d2336406a57a6d80ec87 + app_id: this_is_an_id149_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1677858543 - created_at: 1677858543 - updated_at: 1677858543 + remote_created_at: 1688588851 + created_at: 1688588851 + updated_at: 1688588851 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2061,7 +2043,7 @@ paths: Unauthorized: value: type: error.list - request_id: 455146af-3244-4c6b-b107-7bfb6f1221b9 + request_id: f4d61f80-802e-4e5f-b669-3d2f5297d619 errors: - code: unauthorized message: Access Token Invalid @@ -2113,12 +2095,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 640216f24c21b42eec02f986 - app_id: this_is_an_id155_that_should_be_at_least_ + id: 64a5d2356406a57a6d80ec8f + app_id: this_is_an_id153_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1677858546 - created_at: 1677858546 - updated_at: 1677858546 + remote_created_at: 1688588853 + created_at: 1688588853 + updated_at: 1688588853 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2132,7 +2114,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: c803637a-fb00-4016-9eb3-65e0ce8ee05a + scroll_param: 8e16623c-0b5f-4fb3-bf53-5110f69f31b4 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2143,7 +2125,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6170e3e2-cba3-4786-b876-f19d88f9d4f5 + request_id: 5b63ea0a-8af2-47b6-aeb7-0ba7f4c09955 errors: - code: unauthorized message: Access Token Invalid @@ -2178,12 +2160,12 @@ paths: value: type: company company_id: '1' - id: 640216f54c21b42eec02f98f - app_id: this_is_an_id159_that_should_be_at_least_ + id: 64a5d2386406a57a6d80ec98 + app_id: this_is_an_id157_that_should_be_at_least_ name: company9 - remote_created_at: 1677858549 - created_at: 1677858549 - updated_at: 1677858549 + remote_created_at: 1688588856 + created_at: 1688588856 + updated_at: 1688588856 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2205,7 +2187,7 @@ paths: Company Not Found: value: type: error.list - request_id: e094a559-dd1d-4af7-95b9-d9de673000d0 + request_id: 148ae5fe-cdff-43b1-916f-2a0242e48258 errors: - code: not_found message: User Not Found @@ -2219,7 +2201,7 @@ paths: Unauthorized: value: type: error.list - request_id: b9fb00f8-770e-4fc9-8039-ddcb393edbc0 + request_id: 114f4c65-8cef-4f0e-abbd-35335cef4075 errors: - code: unauthorized message: Access Token Invalid @@ -2242,11 +2224,11 @@ paths: successful: summary: Successful value: - id: 640216f54c21b42eec02f98f + id: 64a5d2386406a57a6d80ec98 company_not_found: summary: Company Not Found value: - id: 640216f74c21b42eec02f993 + id: 64a5d23a6406a57a6d80ec9c "/contacts/{contact_id}/companies/{id}": delete: summary: Detach a contact from a company @@ -2272,7 +2254,7 @@ paths: tags: - Companies - Contacts - operationId: dettachContactFromACompany + operationId: detachContactFromACompany description: You can detach a company from a single contact. responses: '200': @@ -2284,12 +2266,12 @@ paths: value: type: company company_id: '1' - id: 640216fb4c21b42eec02f99b - app_id: this_is_an_id165_that_should_be_at_least_ + id: 64a5d23c6406a57a6d80eca4 + app_id: this_is_an_id163_that_should_be_at_least_ name: company12 - remote_created_at: 1677858555 - created_at: 1677858555 - updated_at: 1677858556 + remote_created_at: 1688588860 + created_at: 1688588860 + updated_at: 1688588860 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2311,14 +2293,14 @@ paths: Company Not Found: value: type: error.list - request_id: bc6d7317-365f-474f-9639-a884bd036dc9 + request_id: 24025a5c-2ce6-441f-921b-145c2a93819b errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 84427170-24a2-42e4-8702-83bdb8734c0b + request_id: ce989258-a085-4e9c-8a21-7e240c65661b errors: - code: not_found message: User Not Found @@ -2332,7 +2314,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2a1aff4c-eaf6-4afd-8412-f593ab2ccda5 + request_id: c201bde9-15e7-450e-958e-cc0cd7b87c04 errors: - code: unauthorized message: Access Token Invalid @@ -2370,13 +2352,13 @@ paths: data: - type: company company_id: '1' - id: 640217104c21b42eec02f9c1 - app_id: this_is_an_id173_that_should_be_at_least_ + id: 64a5d24b6406a57a6d80ecca + app_id: this_is_an_id171_that_should_be_at_least_ name: company25 - remote_created_at: 1677858576 - created_at: 1677858576 - updated_at: 1677858576 - last_request_at: 1677685776 + remote_created_at: 1688588875 + created_at: 1688588875 + updated_at: 1688588875 + last_request_at: 1688416075 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2405,7 +2387,7 @@ paths: Contact not found: value: type: error.list - request_id: f591fd02-95dc-41d2-a7db-0b05600f4c7e + request_id: 02536bb5-3495-43e3-8e6a-b6e48dc190be errors: - code: not_found message: User Not Found @@ -2419,7 +2401,7 @@ paths: Unauthorized: value: type: error.list - request_id: 745b8ccc-71c7-4d4a-86fc-0c286ebf104b + request_id: d14fd538-91f2-4169-b54e-04b50bf387c6 errors: - code: unauthorized message: Access Token Invalid @@ -2455,44 +2437,44 @@ paths: type: list data: - type: note - id: '3' - created_at: 1677253783 + id: '402593' + created_at: 1687984079 contact: type: contact - id: 640217174c21b42eec02f9cc + id: 64a5d24f6406a57a6d80ecd5 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '2' - created_at: 1677167383 + id: '402592' + created_at: 1687897679 contact: type: contact - id: 640217174c21b42eec02f9cc + id: 64a5d24f6406a57a6d80ecd5 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '1' - created_at: 1677167382 + id: '402591' + created_at: 1687897679 contact: type: contact - id: 640217174c21b42eec02f9cc + id: 64a5d24f6406a57a6d80ecd5 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2513,7 +2495,7 @@ paths: Contact not found: value: type: error.list - request_id: a3982328-5751-493e-9af8-11c7e418c196 + request_id: 46341dc3-5752-443e-8536-a25ffcc728a6 errors: - code: not_found message: User Not Found @@ -2547,16 +2529,16 @@ paths: Successful response: value: type: note - id: '8' - created_at: 1677858586 + id: '402598' + created_at: 1688588880 contact: type: contact - id: 640217194c21b42eec02f9ce + id: 64a5d2506406a57a6d80ecd7 author: type: admin - id: '991266333' - name: Ciaran119 Lee - email: admin119@email.com + id: '991266332' + name: Ciaran118 Lee + email: admin118@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2570,14 +2552,14 @@ paths: Admin not found: value: type: error.list - request_id: 8b24de47-8509-4dd3-8962-11896704ae22 + request_id: 0b51b409-6505-44ef-bff7-dd7b90fb4ed5 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 20b85ab7-1787-4309-88b0-1a85776aafd6 + request_id: bfd54119-1148-4523-9955-76b37d700e49 errors: - code: not_found message: User Not Found @@ -2607,20 +2589,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 640217194c21b42eec02f9ce - admin_id: 991266333 + contact_id: 64a5d2506406a57a6d80ecd7 + admin_id: 991266332 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 6402171a4c21b42eec02f9cf + contact_id: 64a5d2516406a57a6d80ecd8 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991266335 + admin_id: 991266334 body: Hello "/contacts/{contact_id}/segments": get: @@ -2653,10 +2635,10 @@ paths: type: list data: - type: segment - id: 6402171c4c21b42eec02f9d1 + id: 64a5d2526406a57a6d80ecda name: segment - created_at: 1677858588 - updated_at: 1677858588 + created_at: 1688588882 + updated_at: 1688588882 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2668,7 +2650,7 @@ paths: Contact not found: value: type: error.list - request_id: f306405a-fe52-4a34-a921-027f9eec6941 + request_id: 0aea7cd4-3824-4e10-9b7a-35496439c464 errors: - code: not_found message: User Not Found @@ -2682,7 +2664,7 @@ paths: Unauthorized: value: type: error.list - request_id: 44357d2b-9cc0-4337-8820-08800a823bc3 + request_id: '038af461-9d6f-4059-ae4c-3e05891accac' errors: - code: unauthorized message: Access Token Invalid @@ -2726,7 +2708,7 @@ paths: type: list data: - type: subscription - id: '1' + id: '437906' state: live consent_type: opt_out default_translation: @@ -2740,7 +2722,7 @@ paths: content_types: - email - type: subscription - id: '3' + id: '437908' state: live consent_type: opt_in default_translation: @@ -2763,7 +2745,7 @@ paths: Contact not found: value: type: error.list - request_id: 92eefb96-2b5a-4e4d-afb4-b96d704f7c84 + request_id: e6932be9-4553-47f8-846f-3d1f4fb89ed9 errors: - code: not_found message: User Not Found @@ -2777,7 +2759,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5161f130-a4e5-4ac8-9437-42f472a3ad58 + request_id: 294f4c41-fc2d-44c3-9c6a-d7c5c4b202f2 errors: - code: unauthorized message: Access Token Invalid @@ -2818,7 +2800,7 @@ paths: Successful: value: type: subscription - id: '16' + id: '437921' state: live consent_type: opt_in default_translation: @@ -2841,14 +2823,14 @@ paths: Contact not found: value: type: error.list - request_id: c5d9f1f0-d8cb-4abf-8b9d-24cd11e8129f + request_id: 8af1c089-2f3b-4e0c-b505-caae556b4336 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: fc2cbe50-5d97-4cbb-a4ab-3f996bd05558 + request_id: db81ff66-8115-49bd-9a60-b9631c9cd316 errors: - code: not_found message: Resource Not Found @@ -2862,7 +2844,7 @@ paths: Unauthorized: value: type: error.list - request_id: fffcc9de-fba6-4e80-8266-beefa6c9c8cb + request_id: df3da21b-63e5-4de9-843e-4d3a060d911f errors: - code: unauthorized message: Access Token Invalid @@ -2890,12 +2872,12 @@ paths: successful: summary: Successful value: - id: 16 + id: 437921 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 20 + id: 437925 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2941,7 +2923,7 @@ paths: Successful: value: type: subscription - id: '32' + id: '437937' state: live consent_type: opt_in default_translation: @@ -2964,14 +2946,14 @@ paths: Contact not found: value: type: error.list - request_id: 58f8eec1-3326-46eb-b020-ffbea3a32226 + request_id: a9d67c14-eee2-4442-b782-f0697ed3536e errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 7f0223b8-01cc-437b-b4e7-0c223ec30608 + request_id: f39fc5a1-fb5e-463d-87f0-1f8d095a4b93 errors: - code: not_found message: Resource Not Found @@ -2985,7 +2967,7 @@ paths: Unauthorized: value: type: error.list - request_id: e6aa48f5-7899-4547-b83b-2acbe76a3650 + request_id: '08e1ab01-018a-43c9-85fd-0099677ba1d9' errors: - code: unauthorized message: Access Token Invalid @@ -3023,7 +3005,7 @@ paths: type: list data: - type: tag - id: '3' + id: '318846' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3035,7 +3017,7 @@ paths: Contact not found: value: type: error.list - request_id: 50f7dc17-27a0-4eee-9cc2-4bc65fdbea1a + request_id: 23b56b6b-2219-44c3-b1ca-effc322cce90 errors: - code: not_found message: User Not Found @@ -3049,7 +3031,7 @@ paths: Unauthorized: value: type: error.list - request_id: 468b6416-1a15-4826-be67-3e6bd30f62be + request_id: 174bdcb3-a0b6-451f-b4c6-8804ee5af07b errors: - code: unauthorized message: Access Token Invalid @@ -3084,7 +3066,7 @@ paths: successful: value: type: tag - id: '4' + id: '318847' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3096,14 +3078,14 @@ paths: Contact not found: value: type: error.list - request_id: 740dd244-b9c6-4ee4-9270-59f7d5817a2b + request_id: 3fa22f2e-ec36-490d-8970-42f1ef29db44 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 7a99c3ac-9bb0-4d63-86cd-a40c4b46f03b + request_id: e9be9707-6eff-49f4-bf25-7b852897ad86 errors: - code: not_found message: Resource Not Found @@ -3117,7 +3099,7 @@ paths: Unauthorized: value: type: error.list - request_id: e86f6712-f419-43e5-9c0d-fdd54a197062 + request_id: 14ea41f1-44a2-4330-b77d-a1235b4789bd errors: - code: unauthorized message: Access Token Invalid @@ -3140,11 +3122,11 @@ paths: successful: summary: successful value: - id: 4 + id: 318847 contact_not_found: summary: Contact not found value: - id: 5 + id: 318848 tag_not_found: summary: Tag not found value: @@ -3186,7 +3168,7 @@ paths: successful: value: type: tag - id: '7' + id: '318850' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3198,14 +3180,14 @@ paths: Contact not found: value: type: error.list - request_id: 30e0e277-5928-4d79-aaf3-510e16cef2e8 + request_id: 0dcb556a-699e-4193-8322-fb90812f6f93 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 193c4ad4-002b-4da7-a374-34b317035f0a + request_id: e25bfe07-049d-40f0-ae15-56cd6df1468f errors: - code: not_found message: Resource Not Found @@ -3219,7 +3201,7 @@ paths: Unauthorized: value: type: error.list - request_id: 109effea-c0d4-40a0-8982-54b5c7deff86 + request_id: cedf1fa5-bf98-45c4-98b5-1fdee1caa94f errors: - code: unauthorized message: Access Token Invalid @@ -3253,13 +3235,13 @@ paths: successful: value: type: contact - id: 640217344c21b42eec02f9e8 - workspace_id: this_is_an_id239_that_should_be_at_least_ + id: 64a5d2636406a57a6d80ecf1 + workspace_id: this_is_an_id237_that_should_be_at_least_ external_id: '70' role: user - email: joe@bloggs.com + email: joebloggs@intercom.io phone: - name: Joe Bloggs + name: joe bloggs avatar: owner_id: social_profiles: @@ -3268,9 +3250,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677858612 - updated_at: 1677858612 - signed_up_at: 1677858612 + created_at: 1688588899 + updated_at: 1688588899 + signed_up_at: 1688588899 last_seen_at: last_replied_at: last_contacted_at: @@ -3304,31 +3286,31 @@ paths: tags: type: list data: [] - url: "/contacts/640217344c21b42eec02f9e8/tags" + url: "/contacts/64a5d2636406a57a6d80ecf1/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/640217344c21b42eec02f9e8/notes" + url: "/contacts/64a5d2636406a57a6d80ecf1/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/640217344c21b42eec02f9e8/companies" + url: "/contacts/64a5d2636406a57a6d80ecf1/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/640217344c21b42eec02f9e8/subscriptions" + url: "/contacts/64a5d2636406a57a6d80ecf1/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/640217344c21b42eec02f9e8/subscriptions" + url: "/contacts/64a5d2636406a57a6d80ecf1/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3347,12 +3329,24 @@ paths: Unauthorized: value: type: error.list - request_id: 3eba3723-e4f2-4305-9729-88d75bdfac9d + request_id: bae171b1-13c3-4dc2-af70-2f3a7d2c2435 errors: - code: unauthorized message: Access Token Invalid schema: "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/update_contact_request" + examples: + successful: + summary: successful + value: + email: joebloggs@intercom.io + name: joe bloggs get: summary: Get a contact parameters: @@ -3380,8 +3374,8 @@ paths: successful: value: type: contact - id: 640217374c21b42eec02f9e9 - workspace_id: this_is_an_id243_that_should_be_at_least_ + id: 64a5d2656406a57a6d80ecf2 + workspace_id: this_is_an_id241_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3395,9 +3389,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677858615 - updated_at: 1677858615 - signed_up_at: 1677858615 + created_at: 1688588901 + updated_at: 1688588901 + signed_up_at: 1688588901 last_seen_at: last_replied_at: last_contacted_at: @@ -3431,31 +3425,31 @@ paths: tags: type: list data: [] - url: "/contacts/640217374c21b42eec02f9e9/tags" + url: "/contacts/64a5d2656406a57a6d80ecf2/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/640217374c21b42eec02f9e9/notes" + url: "/contacts/64a5d2656406a57a6d80ecf2/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/640217374c21b42eec02f9e9/companies" + url: "/contacts/64a5d2656406a57a6d80ecf2/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/640217374c21b42eec02f9e9/subscriptions" + url: "/contacts/64a5d2656406a57a6d80ecf2/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/640217374c21b42eec02f9e9/subscriptions" + url: "/contacts/64a5d2656406a57a6d80ecf2/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3474,7 +3468,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6bd748a0-5a13-4d67-85c6-1db7afae838d + request_id: 75aefc9e-d73a-406a-b0cb-501c03735974 errors: - code: unauthorized message: Access Token Invalid @@ -3505,7 +3499,7 @@ paths: examples: successful: value: - id: 640217394c21b42eec02f9ea + id: 64a5d2676406a57a6d80ecf3 object: contact deleted: true schema: @@ -3518,7 +3512,7 @@ paths: Unauthorized: value: type: error.list - request_id: 474b1c2f-5521-40d2-a6c4-a55749e354c7 + request_id: ade98b54-8029-4576-99ce-502863159d22 errors: - code: unauthorized message: Access Token Invalid @@ -3546,8 +3540,8 @@ paths: successful: value: type: contact - id: 6402173d4c21b42eec02f9ec - workspace_id: this_is_an_id251_that_should_be_at_least_ + id: 64a5d2696406a57a6d80ecf5 + workspace_id: this_is_an_id249_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3561,9 +3555,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677858621 - updated_at: 1677858622 - signed_up_at: 1677858621 + created_at: 1688588905 + updated_at: 1688588905 + signed_up_at: 1688588904 last_seen_at: last_replied_at: last_contacted_at: @@ -3597,31 +3591,31 @@ paths: tags: type: list data: [] - url: "/contacts/6402173d4c21b42eec02f9ec/tags" + url: "/contacts/64a5d2696406a57a6d80ecf5/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/6402173d4c21b42eec02f9ec/notes" + url: "/contacts/64a5d2696406a57a6d80ecf5/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/6402173d4c21b42eec02f9ec/companies" + url: "/contacts/64a5d2696406a57a6d80ecf5/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/6402173d4c21b42eec02f9ec/subscriptions" + url: "/contacts/64a5d2696406a57a6d80ecf5/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/6402173d4c21b42eec02f9ec/subscriptions" + url: "/contacts/64a5d2696406a57a6d80ecf5/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3640,7 +3634,7 @@ paths: Unauthorized: value: type: error.list - request_id: 58fb7976-1f5f-4213-aea0-67cb97317837 + request_id: 8f9ba9b8-df2c-4805-81f7-8835bc4669fe errors: - code: unauthorized message: Access Token Invalid @@ -3655,8 +3649,8 @@ paths: successful: summary: successful value: - from: 6402173d4c21b42eec02f9eb - into: 6402173d4c21b42eec02f9ec + from: 64a5d2686406a57a6d80ecf4 + into: 64a5d2696406a57a6d80ecf5 "/contacts/search": post: summary: Search contacts @@ -3706,6 +3700,7 @@ paths: \ | String |\n| owner_id \ | Integer |\n| email | String |\n| phone | String + \ |\n| formatted_phone | String \ |\n| external_id | String \ |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) @@ -3764,7 +3759,7 @@ paths: Unauthorized: value: type: error.list - request_id: d498ccec-4903-4300-8667-52a88df7f820 + request_id: d129307c-75bc-4700-b24f-585c32d5c98a errors: - code: unauthorized message: Access Token Invalid @@ -3784,15 +3779,15 @@ paths: value: - field: id operator: "=" - value: 640217414c21b42eec02f9ef + value: 64a5d26b6406a57a6d80ecf8 - operator: OR value: - field: id operator: "=" - value: 640217414c21b42eec02f9ef + value: 64a5d26b6406a57a6d80ecf8 - field: id operator: "=" - value: 640217414c21b42eec02f9ef + value: 64a5d26b6406a57a6d80ecf8 "/contacts": get: summary: List all contacts @@ -3831,7 +3826,7 @@ paths: Unauthorized: value: type: error.list - request_id: 40b3800b-282c-4d93-8845-5c9fe9b3774f + request_id: 7b7a65b1-bf7d-4390-9604-adf23ff38d21 errors: - code: unauthorized message: Access Token Invalid @@ -3857,8 +3852,8 @@ paths: successful: value: type: contact - id: 640217464c21b42eec02f9f1 - workspace_id: this_is_an_id263_that_should_be_at_least_ + id: 64a5d26f6406a57a6d80ecfa + workspace_id: this_is_an_id261_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3872,8 +3867,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677858630 - updated_at: 1677858630 + created_at: 1688588911 + updated_at: 1688588911 signed_up_at: last_seen_at: last_replied_at: @@ -3908,31 +3903,31 @@ paths: tags: type: list data: [] - url: "/contacts/640217464c21b42eec02f9f1/tags" + url: "/contacts/64a5d26f6406a57a6d80ecfa/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/640217464c21b42eec02f9f1/notes" + url: "/contacts/64a5d26f6406a57a6d80ecfa/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/640217464c21b42eec02f9f1/companies" + url: "/contacts/64a5d26f6406a57a6d80ecfa/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/640217464c21b42eec02f9f1/subscriptions" + url: "/contacts/64a5d26f6406a57a6d80ecfa/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/640217464c21b42eec02f9f1/subscriptions" + url: "/contacts/64a5d26f6406a57a6d80ecfa/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3951,7 +3946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 347a86b7-1c61-4be3-908e-8bdef60f45ff + request_id: a2474f0f-eaf0-4858-9343-5deb9b80f94f errors: - code: unauthorized message: Access Token Invalid @@ -3995,7 +3990,7 @@ paths: examples: successful: value: - id: 640217494c21b42eec02f9f2 + id: 64a5d2716406a57a6d80ecfb object: contact archived: true schema: @@ -4027,7 +4022,7 @@ paths: examples: successful: value: - id: 6402174a4c21b42eec02f9f3 + id: 64a5d2726406a57a6d80ecfc object: contact archived: false schema: @@ -4062,7 +4057,7 @@ paths: successful: value: type: tag - id: '9' + id: '318852' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4074,7 +4069,7 @@ paths: Conversation not found: value: type: error.list - request_id: cfa912b4-4ee8-42ed-958f-811a4f1c395c + request_id: 85f71dbd-7c76-4952-8e96-b5d5b849e1a4 errors: - code: not_found message: Conversation not found @@ -4088,7 +4083,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3a96a079-ecba-4908-9a51-4c8b1f6a044b + request_id: 94e5f905-c401-43e1-830e-7e9344271728 errors: - code: unauthorized message: Access Token Invalid @@ -4117,13 +4112,13 @@ paths: successful: summary: successful value: - id: 9 - admin_id: 991266366 + id: 318852 + admin_id: 991266365 conversation_not_found: summary: Conversation not found value: - id: 10 - admin_id: 991266368 + id: 318853 + admin_id: 991266367 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4161,7 +4156,7 @@ paths: successful: value: type: tag - id: '12' + id: '318855' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4173,14 +4168,14 @@ paths: Conversation not found: value: type: error.list - request_id: c048e7ae-08ed-418b-b1fe-de8a2239ec06 + request_id: 6da19877-b001-4e32-b667-a3a13e78078d errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 55d87873-e50c-401b-91d9-c59f774c47c5 + request_id: 92af4c66-5f80-4bd8-8314-2ffbd5edcb0e errors: - code: tag_not_found message: Tag not found @@ -4194,7 +4189,7 @@ paths: Unauthorized: value: type: error.list - request_id: 17006401-5889-41b0-a9e6-a948e77b3367 + request_id: 69aad333-9cf5-4a35-a8c6-47a01601beba errors: - code: unauthorized message: Access Token Invalid @@ -4217,15 +4212,15 @@ paths: successful: summary: successful value: - admin_id: 991266370 + admin_id: 991266369 conversation_not_found: summary: Conversation not found value: - admin_id: 991266372 + admin_id: 991266371 tag_not_found: summary: Tag not found value: - admin_id: 991266373 + admin_id: 991266372 "/conversations": get: summary: List all conversations @@ -4272,9 +4267,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '5' - created_at: 1677858648 - updated_at: 1677858648 + id: '712358' + created_at: 1688588923 + updated_at: 1688588923 waiting_since: snoozed_until: source: @@ -4285,9 +4280,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266376' - name: Ciaran159 Lee - email: admin159@email.com + id: '991266375' + name: Ciaran158 Lee + email: admin158@email.com attachments: [] url: redacted: false @@ -4295,7 +4290,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217574c21b42eec02f9f7 + id: 64a5d27b6406a57a6d80ed00 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4323,7 +4318,7 @@ paths: Unauthorized: value: type: error.list - request_id: df8c505c-f0f3-4eb9-9426-1291561399f4 + request_id: 146b97f5-1187-4ff3-bb1a-3a1973962a93 errors: - code: unauthorized message: Access Token Invalid @@ -4337,7 +4332,7 @@ paths: API plan restricted: value: type: error.list - request_id: ca6a5bde-066f-499d-a080-0fb4e55f8565 + request_id: a3878a8e-87b3-454b-be63-be0c53ad434f errors: - code: api_plan_restricted message: Active subscription needed. @@ -4370,10 +4365,10 @@ paths: value: type: user_message id: '403918075' - created_at: 1677858675 + created_at: 1688588950 body: Hello there message_type: inapp - conversation_id: '30' + conversation_id: '712383' schema: "$ref": "#/components/schemas/message" '404': @@ -4384,7 +4379,7 @@ paths: Contact Not Found: value: type: error.list - request_id: acaafa86-82d0-4d4c-b854-adfc3049f95c + request_id: ce943496-216d-4488-bd4f-33fd1a9ea4fc errors: - code: not_found message: User Not Found @@ -4398,7 +4393,7 @@ paths: Unauthorized: value: type: error.list - request_id: cb030bc2-accf-42d0-9a2c-49181a9d9e8f + request_id: d40af7d9-2560-457c-932a-94ad2c2732f4 errors: - code: unauthorized message: Access Token Invalid @@ -4412,7 +4407,7 @@ paths: API plan restricted: value: type: error.list - request_id: 195f8d5e-64b5-440f-b935-9f7e957e91b2 + request_id: dced9608-d247-433b-92f3-c7d5662ca5ce errors: - code: api_plan_restricted message: Active subscription needed. @@ -4429,7 +4424,7 @@ paths: value: from: type: user - id: 640217724c21b42eec02fa0c + id: 64a5d2956406a57a6d80ed15 body: Hello there contact_not_found: summary: Contact Not Found @@ -4467,7 +4462,11 @@ paths: will return a single Conversation model with all its conversation parts.\n\n> \U0001F6A7 Hard limit of 500 parts\n>\n> The maximum number of conversation parts that can be returned via the API is 500. If you have more than that - we will return the 500 most recent conversation parts.\n\n" + we will return the 500 most recent conversation parts.\n\n> \U0001F4D8 Bot + name in conversation parts\n>\n> For conversation parts generated by a bot, + bot name will depend on the following:\n- Customers that never turned on AI + answers will have `operator` as the bot name\n- Customers that have turned + on AI answers at some point will have `fin` as the bot name\n" responses: '200': description: conversation found @@ -4477,9 +4476,9 @@ paths: conversation found: value: type: conversation - id: '34' - created_at: 1677858685 - updated_at: 1677858685 + id: '712387' + created_at: 1688588959 + updated_at: 1688588959 waiting_since: snoozed_until: source: @@ -4490,9 +4489,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266390' - name: Ciaran166 Lee - email: admin166@email.com + id: '991266389' + name: Ciaran165 Lee + email: admin165@email.com attachments: [] url: redacted: false @@ -4500,7 +4499,7 @@ paths: type: contact.list contacts: - type: contact - id: 6402177c4c21b42eec02fa10 + id: 64a5d29f6406a57a6d80ed19 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4532,7 +4531,7 @@ paths: Not found: value: type: error.list - request_id: 942251d6-3164-48c7-b8c6-dc92a6df91bf + request_id: ea58d9ab-424f-4fc6-9982-2e89a2a483c2 errors: - code: not_found message: Resource Not Found @@ -4546,7 +4545,7 @@ paths: Unauthorized: value: type: error.list - request_id: d6a135c5-618d-433b-8c43-43e744fdb32a + request_id: 75b20389-2b35-4f8f-b9d2-f7fce9ea836b errors: - code: unauthorized message: Access Token Invalid @@ -4560,7 +4559,7 @@ paths: API plan restricted: value: type: error.list - request_id: 3e0b29fd-c36a-4cee-b150-4b3426b6d37e + request_id: 377a9f7b-4b3d-4ab0-b9a5-24d13db8eea0 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4603,9 +4602,9 @@ paths: conversation found: value: type: conversation - id: '38' - created_at: 1677858695 - updated_at: 1677858697 + id: '712391' + created_at: 1688588968 + updated_at: 1688588970 waiting_since: snoozed_until: source: @@ -4616,9 +4615,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266398' - name: Ciaran170 Lee - email: admin170@email.com + id: '991266397' + name: Ciaran169 Lee + email: admin169@email.com attachments: [] url: redacted: false @@ -4626,7 +4625,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217864c21b42eec02fa14 + id: 64a5d2a76406a57a6d80ed1d first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4650,34 +4649,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '4' + id: '708321' part_type: conversation_attribute_updated_by_admin body: - created_at: 1677858696 - updated_at: 1677858696 - notified_at: 1677858696 + created_at: 1688588969 + updated_at: 1688588969 + notified_at: 1688588969 assigned_to: author: - id: '991266399' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '5' + id: '708322' part_type: conversation_attribute_updated_by_admin body: - created_at: 1677858697 - updated_at: 1677858697 - notified_at: 1677858697 + created_at: 1688588970 + updated_at: 1688588970 + notified_at: 1688588970 assigned_to: author: - id: '991266399' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4692,7 +4691,7 @@ paths: Not found: value: type: error.list - request_id: de633bb5-825c-4092-b036-8a32bd2f348e + request_id: 759e6957-e13c-4411-b530-4374528181d9 errors: - code: not_found message: Resource Not Found @@ -4706,7 +4705,7 @@ paths: Unauthorized: value: type: error.list - request_id: fdf764fb-31b6-4097-9528-022d07bf6d18 + request_id: 5923514f-8634-4b64-a87d-612f3f3439fe errors: - code: unauthorized message: Access Token Invalid @@ -4720,7 +4719,7 @@ paths: API plan restricted: value: type: error.list - request_id: d56c3ee3-343c-49bb-adde-7886aa7cdbdb + request_id: d651f3d8-5ab5-46b2-bbe8-98ae16092768 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4839,9 +4838,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '42' - created_at: 1677858708 - updated_at: 1677858708 + id: '712395' + created_at: 1688588979 + updated_at: 1688588979 waiting_since: snoozed_until: source: @@ -4852,9 +4851,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266422' - name: Ciaran190 Lee - email: admin190@email.com + id: '991266421' + name: Ciaran189 Lee + email: admin189@email.com attachments: [] url: redacted: false @@ -4862,7 +4861,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217944c21b42eec02fa18 + id: 64a5d2b36406a57a6d80ed21 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4896,15 +4895,15 @@ paths: value: - field: id operator: "=" - value: '42' + value: '712395' - operator: OR value: - field: id operator: "=" - value: '42' + value: '712395' - field: id operator: "=" - value: '42' + value: '712395' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4943,10 +4942,10 @@ paths: User reply: value: type: conversation - id: '50' - created_at: 1677858717 - updated_at: 1677858718 - waiting_since: 1677858718 + id: '712403' + created_at: 1688588987 + updated_at: 1688588988 + waiting_since: 1688588988 snoozed_until: source: type: conversation @@ -4956,9 +4955,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266424' - name: Ciaran191 Lee - email: admin191@email.com + id: '991266423' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -4966,9 +4965,9 @@ paths: type: contact.list contacts: - type: contact - id: 6402179d4c21b42eec02fa1f + id: 64a5d2bb6406a57a6d80ed28 first_contact_reply: - created_at: 1677858718 + created_at: 1688588988 type: conversation url: admin_assignee_id: @@ -4991,15 +4990,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '7' + id: '708324' part_type: comment body: "

    Thanks again :)

    " - created_at: 1677858718 - updated_at: 1677858718 - notified_at: 1677858718 + created_at: 1688588988 + updated_at: 1688588988 + notified_at: 1688588988 assigned_to: author: - id: 6402179d4c21b42eec02fa1f + id: 64a5d2bb6406a57a6d80ed28 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5010,9 +5009,9 @@ paths: Admin note reply: value: type: conversation - id: '51' - created_at: 1677858722 - updated_at: 1677858723 + id: '712404' + created_at: 1688588990 + updated_at: 1688588992 waiting_since: snoozed_until: source: @@ -5023,9 +5022,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266426' - name: Ciaran192 Lee - email: admin192@email.com + id: '991266425' + name: Ciaran191 Lee + email: admin191@email.com attachments: [] url: redacted: false @@ -5033,7 +5032,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217a14c21b42eec02fa20 + id: 64a5d2be6406a57a6d80ed29 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5055,7 +5054,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '8' + id: '708325' part_type: note body: |-

    An Unordered HTML List

    @@ -5070,15 +5069,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1677858723 - updated_at: 1677858723 - notified_at: 1677858723 + created_at: 1688588992 + updated_at: 1688588992 + notified_at: 1688588992 assigned_to: author: - id: '991266426' + id: '991266425' type: admin - name: Ciaran192 Lee - email: admin192@email.com + name: Ciaran191 Lee + email: admin191@email.com attachments: [] external_id: redacted: false @@ -5086,10 +5085,10 @@ paths: User last conversation reply: value: type: conversation - id: '53' - created_at: 1677858728 - updated_at: 1677858729 - waiting_since: 1677858729 + id: '712406' + created_at: 1688588995 + updated_at: 1688588997 + waiting_since: 1688588997 snoozed_until: source: type: conversation @@ -5099,9 +5098,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266430' - name: Ciaran194 Lee - email: admin194@email.com + id: '991266429' + name: Ciaran193 Lee + email: admin193@email.com attachments: [] url: redacted: false @@ -5109,9 +5108,9 @@ paths: type: contact.list contacts: - type: contact - id: 640217a74c21b42eec02fa22 + id: 64a5d2c36406a57a6d80ed2b first_contact_reply: - created_at: 1677858729 + created_at: 1688588997 type: conversation url: admin_assignee_id: @@ -5134,15 +5133,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '9' + id: '708326' part_type: comment body: "

    Thanks again :)

    " - created_at: 1677858729 - updated_at: 1677858729 - notified_at: 1677858729 + created_at: 1688588997 + updated_at: 1688588997 + notified_at: 1688588997 assigned_to: author: - id: 640217a74c21b42eec02fa22 + id: 64a5d2c36406a57a6d80ed2b type: user name: Joe Bloggs email: joe@bloggs.com @@ -5160,7 +5159,7 @@ paths: Not found: value: type: error.list - request_id: 6bb2ff03-12bb-4582-9629-80a6c49605a7 + request_id: c43cca9d-f1e3-483b-9291-c27a45a04b35 errors: - code: not_found message: Resource Not Found @@ -5174,7 +5173,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1b6eaa41-4841-4cf6-9b1f-1cb3e45f0fa3 + request_id: 3456660b-c745-451b-b85c-4be3be15ea61 errors: - code: unauthorized message: Access Token Invalid @@ -5188,7 +5187,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6653fdc8-664e-4a38-b584-c0823cefc920 + request_id: bb49d068-c5e9-4879-ab5f-e7ea18ed5f33 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5205,14 +5204,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 6402179d4c21b42eec02fa1f + intercom_user_id: 64a5d2bb6406a57a6d80ed28 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991266426 + admin_id: 991266425 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5222,14 +5221,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 640217a74c21b42eec02fa22 + intercom_user_id: 64a5d2c36406a57a6d80ed2b body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 640217ac4c21b42eec02fa23 + intercom_user_id: 64a5d2c66406a57a6d80ed2c body: Thanks again :) "/conversations/{id}/parts": post: @@ -5263,9 +5262,9 @@ paths: Close a conversation: value: type: conversation - id: '57' - created_at: 1677858739 - updated_at: 1677858741 + id: '712410' + created_at: 1688589006 + updated_at: 1688589008 waiting_since: snoozed_until: source: @@ -5276,9 +5275,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266438' - name: Ciaran198 Lee - email: admin198@email.com + id: '991266437' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5286,7 +5285,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217b34c21b42eec02fa26 + id: 64a5d2ce6406a57a6d80ed2f first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5308,18 +5307,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '10' + id: '708327' part_type: close body: "

    Goodbye :)

    " - created_at: 1677858741 - updated_at: 1677858741 - notified_at: 1677858741 + created_at: 1688589008 + updated_at: 1688589008 + notified_at: 1688589008 assigned_to: author: - id: '991266438' + id: '991266437' type: admin - name: Ciaran198 Lee - email: admin198@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5327,11 +5326,11 @@ paths: Snooze a conversation: value: type: conversation - id: '58' - created_at: 1677858744 - updated_at: 1677858745 + id: '712411' + created_at: 1688589010 + updated_at: 1688589011 waiting_since: - snoozed_until: 1677862345 + snoozed_until: 1688592611 source: type: conversation id: '403918098' @@ -5340,9 +5339,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266440' - name: Ciaran199 Lee - email: admin199@email.com + id: '991266439' + name: Ciaran198 Lee + email: admin198@email.com attachments: [] url: redacted: false @@ -5350,7 +5349,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217b74c21b42eec02fa27 + id: 64a5d2d16406a57a6d80ed30 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5372,18 +5371,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '11' + id: '708328' part_type: snoozed body: - created_at: 1677858745 - updated_at: 1677858745 - notified_at: 1677858745 + created_at: 1688589011 + updated_at: 1688589011 + notified_at: 1688589011 assigned_to: author: - id: '991266440' + id: '991266439' type: admin - name: Ciaran199 Lee - email: admin199@email.com + name: Ciaran198 Lee + email: admin198@email.com attachments: [] external_id: redacted: false @@ -5391,9 +5390,9 @@ paths: Open a conversation: value: type: conversation - id: '63' - created_at: 1677858745 - updated_at: 1677858754 + id: '712416' + created_at: 1688589011 + updated_at: 1688589020 waiting_since: snoozed_until: source: @@ -5404,9 +5403,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266442' - name: Ciaran200 Lee - email: admin200@email.com + id: '991266441' + name: Ciaran199 Lee + email: admin199@email.com attachments: [] url: redacted: false @@ -5414,7 +5413,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217be4c21b42eec02fa2c + id: 64a5d2d86406a57a6d80ed35 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5436,18 +5435,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '13' + id: '708330' part_type: open body: - created_at: 1677858754 - updated_at: 1677858754 - notified_at: 1677858754 + created_at: 1688589020 + updated_at: 1688589020 + notified_at: 1688589020 assigned_to: author: - id: '991266442' + id: '991266441' type: admin - name: Ciaran200 Lee - email: admin200@email.com + name: Ciaran199 Lee + email: admin199@email.com attachments: [] external_id: redacted: false @@ -5455,9 +5454,9 @@ paths: Assign a conversation: value: type: conversation - id: '67' - created_at: 1677858756 - updated_at: 1677858758 + id: '712420' + created_at: 1688589021 + updated_at: 1688589023 waiting_since: snoozed_until: source: @@ -5468,9 +5467,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266444' - name: Ciaran201 Lee - email: admin201@email.com + id: '991266443' + name: Ciaran200 Lee + email: admin200@email.com attachments: [] url: redacted: false @@ -5478,9 +5477,9 @@ paths: type: contact.list contacts: - type: contact - id: 640217c44c21b42eec02fa2f + id: 64a5d2dd6406a57a6d80ed38 first_contact_reply: - admin_assignee_id: 991266444 + admin_assignee_id: 991266443 team_assignee_id: open: true state: open @@ -5500,20 +5499,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '14' + id: '708331' part_type: assign_and_reopen body: - created_at: 1677858758 - updated_at: 1677858758 - notified_at: 1677858758 + created_at: 1688589023 + updated_at: 1688589023 + notified_at: 1688589023 assigned_to: type: admin - id: '991266444' + id: '991266443' author: - id: '991266444' + id: '991266443' type: admin - name: Ciaran201 Lee - email: admin201@email.com + name: Ciaran200 Lee + email: admin200@email.com attachments: [] external_id: redacted: false @@ -5528,7 +5527,7 @@ paths: Not found: value: type: error.list - request_id: 616d1bd8-74f2-43a2-969e-44c2b761a0ab + request_id: 22bcf4ae-61e4-492d-a713-42ec4687f2ed errors: - code: not_found message: Resource Not Found @@ -5542,7 +5541,7 @@ paths: Unauthorized: value: type: error.list - request_id: 04f17663-a4c8-4d82-88ff-332177f8b693 + request_id: 044210c1-6408-4cd4-9d59-626e6551b206 errors: - code: unauthorized message: Access Token Invalid @@ -5556,7 +5555,7 @@ paths: API plan restricted: value: type: error.list - request_id: af09ed56-fc96-4887-a4e0-ec2cb20e5e32 + request_id: ecb7418e-9614-4705-ac97-d6da6ceccc3b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5577,32 +5576,32 @@ paths: value: message_type: close type: admin - admin_id: 991266438 + admin_id: 991266437 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991266440 - snoozed_until: 1677862345 + admin_id: 991266439 + snoozed_until: 1688592611 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991266442 + admin_id: 991266441 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991266444 - assignee_id: 991266444 + admin_id: 991266443 + assignee_id: 991266443 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991266446 + admin_id: 991266445 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5633,9 +5632,9 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '71' - created_at: 1677858768 - updated_at: 1677858770 + id: '712424' + created_at: 1688589031 + updated_at: 1688589033 waiting_since: snoozed_until: source: @@ -5646,9 +5645,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266452' - name: Ciaran205 Lee - email: admin205@email.com + id: '991266451' + name: Ciaran204 Lee + email: admin204@email.com attachments: [] url: redacted: false @@ -5656,7 +5655,7 @@ paths: type: contact.list contacts: - type: contact - id: 640217d04c21b42eec02fa33 + id: 64a5d2e76406a57a6d80ed3c first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5678,20 +5677,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '15' + id: '708332' part_type: default_assignment body: - created_at: 1677858770 - updated_at: 1677858770 - notified_at: 1677858770 + created_at: 1688589033 + updated_at: 1688589033 + notified_at: 1688589033 assigned_to: type: nobody_admin id: author: - id: '991266453' + id: '991266452' type: bot name: Operator - email: operator+this_is_an_id345_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id343_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5706,7 +5705,7 @@ paths: Not found: value: type: error.list - request_id: 7efc170b-a304-4dc8-b36e-790a0c34b2c0 + request_id: 682aa79c-c7fd-40dd-be7d-9b8d665ed9da errors: - code: not_found message: Resource Not Found @@ -5720,7 +5719,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8753ff1c-602c-48ef-bea4-7ad77074ed75 + request_id: 40976ceb-9848-44ca-b294-fe378bf01c75 errors: - code: unauthorized message: Access Token Invalid @@ -5734,7 +5733,7 @@ paths: API plan restricted: value: type: error.list - request_id: fab0a6ec-fb97-4705-9b4e-8b9ae343eeeb + request_id: 67058e0e-026b-49b0-bce6-5011d008e327 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5773,7 +5772,7 @@ paths: value: customers: - type: user - id: 640217dc4c21b42eec02fa37 + id: 64a5d2f06406a57a6d80ed40 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5784,7 +5783,7 @@ paths: Not found: value: type: error.list - request_id: 7f1ffbe6-07b9-405b-b06b-d28c02a244b5 + request_id: e82c5b4e-383a-4f27-9c30-b83aa38cf840 errors: - code: not_found message: Resource Not Found @@ -5798,7 +5797,7 @@ paths: Unauthorized: value: type: error.list - request_id: eb7b1cf2-8ca8-4452-9387-145af24c40b8 + request_id: 6647e74d-251a-48cb-ac84-4f578bc8399d errors: - code: unauthorized message: Access Token Invalid @@ -5812,7 +5811,7 @@ paths: API plan restricted: value: type: error.list - request_id: 849096ba-e3ad-4916-8d4a-3a8096c7ef0d + request_id: 7a955670-007c-432b-bf85-712b8046d284 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5827,15 +5826,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991266460 + admin_id: 991266459 customer: - intercom_user_id: 640217dc4c21b42eec02fa37 + intercom_user_id: 64a5d2f06406a57a6d80ed40 not_found: summary: Not found value: - admin_id: 991266462 + admin_id: 991266461 customer: - intercom_user_id: 640217df4c21b42eec02fa38 + intercom_user_id: 64a5d2f26406a57a6d80ed41 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5876,7 +5875,7 @@ paths: value: customers: - type: user - id: 640217ee4c21b42eec02fa42 + id: 64a5d2ff6406a57a6d80ed4b schema: "$ref": "#/components/schemas/conversation" '404': @@ -5887,14 +5886,14 @@ paths: Conversation not found: value: type: error.list - request_id: 104d9c77-72c4-4368-b949-5784cb67d751 + request_id: 319d0903-500a-4afe-9930-5dab630539e5 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 99a70126-256a-4510-a001-b29e38c33904 + request_id: 13849220-6115-4104-b248-26db48fc1dd2 errors: - code: not_found message: User Not Found @@ -5908,7 +5907,7 @@ paths: Last customer: value: type: error.list - request_id: 238f03aa-3cb8-419f-90e9-e86ae98d3649 + request_id: '09b35e81-f849-49c8-8e4e-3de5806e06f1' errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5922,7 +5921,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1e826dca-b143-4acf-88a6-aebaaf242ab0 + request_id: 487747ec-43bb-467c-ab69-afca73941909 errors: - code: unauthorized message: Access Token Invalid @@ -5936,7 +5935,7 @@ paths: API plan restricted: value: type: error.list - request_id: 3de051c2-34de-4d7f-b149-dfe66988b895 + request_id: aa6023c6-90a6-4f34-9f6a-65e0e7d44d23 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5951,27 +5950,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991266468 + admin_id: 991266467 customer: - intercom_user_id: 640217e74c21b42eec02fa3b + intercom_user_id: 64a5d2f86406a57a6d80ed44 conversation_not_found: summary: Conversation not found value: - admin_id: 991266470 + admin_id: 991266469 customer: - intercom_user_id: 640217f04c21b42eec02fa43 + intercom_user_id: 64a5d3006406a57a6d80ed4c contact_not_found: summary: Contact not found value: - admin_id: 991266472 + admin_id: 991266471 customer: - intercom_user_id: 640217f94c21b42eec02fa4a + intercom_user_id: 64a5d3096406a57a6d80ed53 last_customer: summary: Last customer value: - admin_id: 991266474 + admin_id: 991266473 customer: - intercom_user_id: 640218044c21b42eec02fa51 + intercom_user_id: 64a5d3116406a57a6d80ed5a "/conversations/redact": post: summary: Redact a conversation part @@ -5998,10 +5997,10 @@ paths: Redact a conversation part: value: type: conversation - id: '127' - created_at: 1677858848 - updated_at: 1677858850 - waiting_since: 1677858849 + id: '712480' + created_at: 1688589097 + updated_at: 1688589099 + waiting_since: 1688589098 snoozed_until: source: type: conversation @@ -6011,9 +6010,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266480' - name: Ciaran219 Lee - email: admin219@email.com + id: '991266479' + name: Ciaran218 Lee + email: admin218@email.com attachments: [] url: redacted: false @@ -6021,9 +6020,9 @@ paths: type: contact.list contacts: - type: contact - id: 6402181f4c21b42eec02fa66 + id: 64a5d3296406a57a6d80ed6f first_contact_reply: - created_at: 1677858849 + created_at: 1688589098 type: conversation url: admin_assignee_id: @@ -6046,15 +6045,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '23' + id: '708340' part_type: comment body: "

    This message was deleted

    " - created_at: 1677858849 - updated_at: 1677858850 - notified_at: 1677858849 + created_at: 1688589098 + updated_at: 1688589099 + notified_at: 1688589098 assigned_to: author: - id: 6402181f4c21b42eec02fa66 + id: 64a5d3296406a57a6d80ed6f type: user name: Joe Bloggs email: joe@bloggs.com @@ -6072,7 +6071,7 @@ paths: Not found: value: type: error.list - request_id: 43ac8235-0caf-4d77-b84a-9a946821a2a5 + request_id: 94e830c8-eb9c-43d3-9e29-da9dbe258dce errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6086,7 +6085,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8ac46cc2-7ee4-4c94-952a-d9e97ab3a8f8 + request_id: 6fc9150b-0bbd-4ac8-8af0-80d94acf5fe6 errors: - code: unauthorized message: Access Token Invalid @@ -6102,8 +6101,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 127 - conversation_part_id: 23 + conversation_id: 712480 + conversation_part_id: 708340 not_found: summary: Not found value: @@ -6279,7 +6278,7 @@ paths: custom: false archived: false model: company - - id: 8 + - id: 187681 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6291,9 +6290,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266486' - created_at: 1677858857 - updated_at: 1677858857 + admin_id: '991266485' + created_at: 1688589104 + updated_at: 1688589104 model: company - type: data_attribute name: id @@ -6360,7 +6359,7 @@ paths: Unauthorized: value: type: error.list - request_id: 28a43676-e458-43a8-bb9d-86fd6e654755 + request_id: c24aab1f-c919-427d-a1f8-606d641f6963 errors: - code: unauthorized message: Access Token Invalid @@ -6385,7 +6384,7 @@ paths: examples: Successful: value: - id: 11 + id: 187684 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6395,9 +6394,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266488' - created_at: 1677858859 - updated_at: 1677858859 + admin_id: '991266487' + created_at: 1688589106 + updated_at: 1688589106 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6409,7 +6408,7 @@ paths: Same name already exists: value: type: error.list - request_id: 15b67347-ba23-4c08-bd5b-e2803add5376 + request_id: c56b41a5-eecd-4d4a-840d-cc4597b1763b errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6417,7 +6416,7 @@ paths: Invalid name: value: type: error.list - request_id: 5c824096-fb09-450b-adb6-82a2bc91ad1f + request_id: 30012356-6a03-4ea0-a938-b707170161c3 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6425,7 +6424,7 @@ paths: Attribute already exists: value: type: error.list - request_id: dbb85b8c-2e09-42b9-9105-1e78f0ad86e1 + request_id: c78f235a-b54c-4e75-bb0d-277d17937ff5 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6433,14 +6432,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: 425d2a97-6b82-4841-88c9-547cecd7c76a + request_id: 9e781ab3-23b9-4904-a5e3-df302cbbab82 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: '08aeafd6-53ce-40ed-a7d4-fdf1549dc606' + request_id: 433e33d6-a77b-4aeb-ae0b-8e82fa92d661 errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6455,7 +6454,7 @@ paths: Unauthorized: value: type: error.list - request_id: 82285536-8988-4e7f-baa0-d11b5e08eb12 + request_id: 76e3c817-f01a-4415-943f-5906e53e5f02 errors: - code: unauthorized message: Access Token Invalid @@ -6534,7 +6533,7 @@ paths: examples: Successful: value: - id: 18 + id: 187691 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6548,9 +6547,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266495' - created_at: 1677858865 - updated_at: 1677858865 + admin_id: '991266494' + created_at: 1688589110 + updated_at: 1688589110 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6562,7 +6561,7 @@ paths: Too few options in list: value: type: error.list - request_id: 1a5b1c33-f313-4465-b19a-5f36ee75c821 + request_id: 67779609-c014-4d90-9761-f2aef1333a0c errors: - code: parameter_invalid message: Options isn't an array @@ -6576,7 +6575,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: ec066c89-aa5f-40a5-91fa-0b287db1140d + request_id: 23f5be09-3284-4d16-a0de-afae15925349 errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6590,7 +6589,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 01ec0254-6eeb-490f-831e-d9bc11d086b3 + request_id: 23b97971-1a6b-4c5c-9a59-e884c2876b01 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6605,7 +6604,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6d5f566e-60e2-4b32-997c-825608c9a8fc + request_id: afe9552a-83ad-4cb8-b108-704ef3b96245 errors: - code: unauthorized message: Access Token Invalid @@ -6724,7 +6723,7 @@ paths: Unauthorized: value: type: error.list - request_id: ad412f18-93dd-45c0-8bd1-13300e4df0cf + request_id: 9e07b77d-7dcc-41c0-9b19-92b63a25358c errors: - code: unauthorized message: Access Token Invalid @@ -6811,7 +6810,7 @@ paths: pages: next: http://api.intercom.test/events?next page email: user24@email.com - intercom_user_id: 640218414c21b42eec02fa7d + intercom_user_id: 64a5d3416406a57a6d80ed86 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6823,7 +6822,7 @@ paths: Unauthorized: value: type: error.list - request_id: a65a78b4-24f9-42eb-99c3-6365d2ddbe1d + request_id: fdb519f4-70bb-49df-849a-93e9c0bad3cd errors: - code: unauthorized message: Access Token Invalid @@ -6854,7 +6853,7 @@ paths: Unauthorized: value: type: error.list - request_id: f20bf81b-f884-48a3-87ca-82ed26ea78c0 + request_id: 52d8eb4b-18e4-4d80-a611-601344ddad75 errors: - code: unauthorized message: Access Token Invalid @@ -6898,7 +6897,7 @@ paths: examples: successful: value: - job_identifier: 8kwcbil7n1gb33kb + job_identifier: ts4oao3py7oicrns status: pending download_url: '' download_expires_at: '' @@ -6913,8 +6912,8 @@ paths: successful: summary: successful value: - created_at_after: 1677840885 - created_at_before: 1677858885 + created_at_after: 1688571124 + created_at_before: 1688589124 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -6948,7 +6947,7 @@ paths: examples: successful: value: - job_identifier: kw9wb1xpgcoqxx8j + job_identifier: epgkmk8w0vac5dnw status: pending download_url: '' download_expires_at: '' @@ -6980,7 +6979,7 @@ paths: examples: successful: value: - job_identifier: u3eriw6jp3ki8rmz + job_identifier: 1gbnefgqgr4urjqf status: canceled download_url: '' download_expires_at: '' @@ -7042,31 +7041,31 @@ paths: value: type: user_message id: '403918141' - created_at: 1677858945 + created_at: 1688589165 body: heyy message_type: inapp - conversation_id: '141' + conversation_id: '712494' lead message created: value: type: user_message id: '403918142' - created_at: 1677858947 + created_at: 1688589167 body: heyy message_type: inapp - conversation_id: '142' + conversation_id: '712495' admin message created: value: type: admin_message - id: '4' - created_at: 1677858950 + id: '467170' + created_at: 1688589168 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991266524' - name: Ciaran252 Lee - email: admin252@email.com + id: '991266523' + name: Ciaran251 Lee + email: admin251@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7079,14 +7078,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 23b8fed6-a532-4856-928f-fb443fabe1a9 + request_id: 6788396c-0ea9-43a0-8488-f2f56985353c errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: a4ad760b-1716-48ec-94a5-61dec62e1b8a + request_id: 16d235eb-32b3-45c5-9c43-e4e5889e3dd5 errors: - code: parameter_invalid message: Body is required @@ -7100,7 +7099,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 224c6191-e599-49c1-a0ba-f2c6c1dc51ab + request_id: cd30d350-035e-411b-8b46-47deaced3cee errors: - code: parameter_not_found message: No subject supplied for email message @@ -7114,7 +7113,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5b4f35c4-5ac8-4b06-be09-8c5ecd0482bd + request_id: b9434ea9-b17b-41a6-99bb-b39c604c3292 errors: - code: unauthorized message: Access Token Invalid @@ -7128,7 +7127,7 @@ paths: API plan restricted: value: type: error.list - request_id: c394b2c6-a121-4edc-960f-bde4c8241d56 + request_id: bd3fe5d9-01e6-4dff-a741-78b38115db74 errors: - code: api_plan_restricted message: Active subscription needed. @@ -7145,7 +7144,7 @@ paths: value: from: type: user - id: 640218804c21b42eec02fad2 + id: 64a5d36d6406a57a6d80eddb body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7153,7 +7152,7 @@ paths: value: from: type: lead - id: 640218834c21b42eec02fad3 + id: 64a5d36e6406a57a6d80eddc body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7161,10 +7160,10 @@ paths: value: from: type: admin - id: '991266524' + id: '991266523' to: type: user - id: 640218854c21b42eec02fad4 + id: 64a5d3706406a57a6d80eddd message_type: conversation body: heyy no_body_supplied_for_message: @@ -7172,10 +7171,10 @@ paths: value: from: type: admin - id: '991266525' + id: '991266524' to: type: user - id: 640218864c21b42eec02fad5 + id: 64a5d3706406a57a6d80edde message_type: inapp body: subject: heyy @@ -7184,7 +7183,7 @@ paths: value: from: type: admin - id: '991266526' + id: '991266525' to: type: user user_id: '70' @@ -7195,10 +7194,10 @@ paths: value: from: type: admin - id: '991266527' + id: '991266526' to: type: user - id: 640218894c21b42eec02fad7 + id: 64a5d3726406a57a6d80ede0 message_type: email body: subject: heyy @@ -7229,12 +7228,12 @@ paths: total_pages: 1 type: pages data: - - id: '1' + - id: '395528' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266532 + sender_id: 991266531 state: draft labels: [] cover_image_url: @@ -7244,15 +7243,15 @@ paths: - - deliver_silently: false - created_at: 1677858956 - updated_at: 1677858956 + created_at: 1688589172 + updated_at: 1688589172 newsfeed_assignments: [] - - id: '2' + - id: '395529' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266534 + sender_id: 991266533 state: draft labels: [] cover_image_url: @@ -7262,8 +7261,8 @@ paths: - - deliver_silently: false - created_at: 1677858956 - updated_at: 1677858956 + created_at: 1688589172 + updated_at: 1688589172 newsfeed_assignments: [] total_count: 2 schema: @@ -7276,7 +7275,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8240401a-ac6d-4f0b-9d3c-8ac3cf038a35 + request_id: f09fbe2e-8659-4d75-aad3-86673447123b errors: - code: unauthorized message: Access Token Invalid @@ -7301,12 +7300,12 @@ paths: examples: successful: value: - id: '5' + id: '395532' type: news-item - workspace_id: this_is_an_id449_that_should_be_at_least_ + workspace_id: this_is_an_id447_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991266541 + sender_id: 991266540 state: live labels: - New @@ -7317,10 +7316,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1677858959 - updated_at: 1677858959 + created_at: 1688589175 + updated_at: 1688589175 newsfeed_assignments: - - newsfeed_id: 3 + - newsfeed_id: 400575 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7332,7 +7331,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5f4fa6e8-5103-4bdc-b1ae-a67eb2b2beb7 + request_id: f2f83591-bd27-4bbf-a8ff-aa5d980a70db errors: - code: unauthorized message: Access Token Invalid @@ -7353,14 +7352,14 @@ paths: - Product - Update - New - sender_id: 991266541 + sender_id: 991266540 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 3 + - newsfeed_id: 400575 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7389,12 +7388,12 @@ paths: examples: successful: value: - id: '6' + id: '395533' type: news-item - workspace_id: this_is_an_id453_that_should_be_at_least_ + workspace_id: this_is_an_id451_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266544 + sender_id: 991266543 state: live labels: [] cover_image_url: @@ -7404,11 +7403,11 @@ paths: - - deliver_silently: false - created_at: 1677858962 - updated_at: 1677858962 + created_at: 1688589176 + updated_at: 1688589176 newsfeed_assignments: - - newsfeed_id: 5 - published_at: 1677858962 + - newsfeed_id: 400577 + published_at: 1688589176 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7419,7 +7418,7 @@ paths: News Item Not Found: value: type: error.list - request_id: b65f286e-d9db-4a34-835f-a47f10534739 + request_id: f6d29202-8a95-4ee4-b303-57fc974ae40f errors: - code: not_found message: Resource Not Found @@ -7433,7 +7432,7 @@ paths: Unauthorized: value: type: error.list - request_id: 00a68c51-9f19-4fae-b7ab-7af144ebca49 + request_id: a29cb06b-a9d3-4afd-923a-fb00b380cb3d errors: - code: unauthorized message: Access Token Invalid @@ -7464,12 +7463,12 @@ paths: examples: successful: value: - id: '9' + id: '395536' type: news-item - workspace_id: this_is_an_id459_that_should_be_at_least_ + workspace_id: this_is_an_id457_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266552 + sender_id: 991266551 state: live labels: [] cover_image_url: @@ -7477,8 +7476,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1677858965 - updated_at: 1677858966 + created_at: 1688589178 + updated_at: 1688589179 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7490,7 +7489,7 @@ paths: News Item Not Found: value: type: error.list - request_id: fab52aa2-eff1-423f-810b-9c8d63959675 + request_id: 6f2bbb8e-0187-4f51-87ea-8426ce5dd74c errors: - code: not_found message: Resource Not Found @@ -7504,7 +7503,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5c20788a-1e8c-44b7-bd9e-effa8f97b984 + request_id: f409af10-b9f6-4cbe-907d-6405d5b2b42c errors: - code: unauthorized message: Access Token Invalid @@ -7521,7 +7520,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266552 + sender_id: 991266551 reactions: - "\U0001F61D" - "\U0001F602" @@ -7530,7 +7529,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266555 + sender_id: 991266554 reactions: - "\U0001F61D" - "\U0001F602" @@ -7560,7 +7559,7 @@ paths: examples: successful: value: - id: '12' + id: '395539' object: news-item deleted: true schema: @@ -7573,7 +7572,7 @@ paths: News Item Not Found: value: type: error.list - request_id: bb76fde9-94bb-46a7-ae39-0e898422a2b4 + request_id: 012e8b60-c0cb-4bf9-b127-d744a6097c92 errors: - code: not_found message: Resource Not Found @@ -7587,7 +7586,7 @@ paths: Unauthorized: value: type: error.list - request_id: a0170d21-5e60-4bb4-9e17-480e33e72d5e + request_id: bfde9761-3dd8-4128-b5fe-7dbaa471a712 errors: - code: unauthorized message: Access Token Invalid @@ -7640,7 +7639,7 @@ paths: Unauthorized: value: type: error.list - request_id: d95f547a-4c24-43e2-85c7-ca7c07aa2dce + request_id: 85246893-86d0-4535-9a5d-1f45566e32c5 errors: - code: unauthorized message: Access Token Invalid @@ -7673,16 +7672,16 @@ paths: total_pages: 1 type: pages data: - - id: '18' + - id: '400590' type: newsfeed name: Visitor Feed - created_at: 1677858975 - updated_at: 1677858975 - - id: '19' + created_at: 1688589185 + updated_at: 1688589185 + - id: '400591' type: newsfeed name: Visitor Feed - created_at: 1677858975 - updated_at: 1677858975 + created_at: 1688589185 + updated_at: 1688589185 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7694,7 +7693,7 @@ paths: Unauthorized: value: type: error.list - request_id: 565413e3-c05f-40f6-b404-f798ea941083 + request_id: b4c6ba5c-8335-46f6-ad68-a4f278c57f5f errors: - code: unauthorized message: Access Token Invalid @@ -7728,11 +7727,11 @@ paths: examples: successful: value: - id: '22' + id: '400594' type: newsfeed name: Visitor Feed - created_at: 1677858976 - updated_at: 1677858976 + created_at: 1688589186 + updated_at: 1688589186 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7743,7 +7742,7 @@ paths: Unauthorized: value: type: error.list - request_id: a4e6b8de-5d4c-4f93-9c0b-b26180763fcc + request_id: cef824ca-bdf5-475f-a7de-5ba5723a9103 errors: - code: unauthorized message: Access Token Invalid @@ -7777,16 +7776,16 @@ paths: Note found: value: type: note - id: '21' - created_at: 1677167782 + id: '402611' + created_at: 1687897991 contact: type: contact - id: 640218a64c21b42eec02fae2 + id: 64a5d3876406a57a6d80edeb author: type: admin - id: '991266571' - name: Ciaran299 Lee - email: admin299@email.com + id: '991266570' + name: Ciaran298 Lee + email: admin298@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7800,7 +7799,7 @@ paths: Note not found: value: type: error.list - request_id: 5ff5440e-97a5-48ea-952c-7f133057d92e + request_id: ddec6970-b6be-4376-ae78-55d88ce5412b errors: - code: not_found message: Resource Not Found @@ -7814,7 +7813,7 @@ paths: Unauthorized: value: type: error.list - request_id: 384401b4-6e9b-42c2-9635-15a453b6c451 + request_id: f3cf44a3-a97b-40f6-a28b-3af1e47b74d8 errors: - code: unauthorized message: Access Token Invalid @@ -7850,16 +7849,16 @@ paths: type: segment.list segments: - type: segment - id: 640218ae4c21b42eec02faea + id: 64a5d38c6406a57a6d80edf3 name: Jane segment - created_at: 1677858990 - updated_at: 1677858990 + created_at: 1688589196 + updated_at: 1688589196 person_type: user - type: segment - id: 640218ae4c21b42eec02fae9 + id: 64a5d38c6406a57a6d80edf2 name: John segment - created_at: 1677858990 - updated_at: 1677858990 + created_at: 1688589196 + updated_at: 1688589196 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7871,7 +7870,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a09d14f-0f8f-4cfe-a128-efa4f7ce2a67 + request_id: 33f705cf-90b3-46c0-a07d-176b22003c2a errors: - code: unauthorized message: Access Token Invalid @@ -7905,10 +7904,10 @@ paths: Successful response: value: type: segment - id: 640218af4c21b42eec02faed + id: 64a5d38d6406a57a6d80edf6 name: John segment - created_at: 1677858991 - updated_at: 1677858991 + created_at: 1688589197 + updated_at: 1688589197 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -7920,7 +7919,7 @@ paths: Segment not found: value: type: error.list - request_id: 98ce7931-6384-44a8-bc49-1c3ea292924b + request_id: 9392af50-b841-497a-af2c-cf2dceac0dc5 errors: - code: not_found message: Resource Not Found @@ -7934,7 +7933,7 @@ paths: Unauthorized: value: type: error.list - request_id: d3efebe1-adf3-4df3-8de6-b6cb2e04fdc3 + request_id: e524c90c-319a-426f-bed2-23f3904f120e errors: - code: unauthorized message: Access Token Invalid @@ -7964,7 +7963,7 @@ paths: type: list data: - type: subscription - id: '45' + id: '437950' state: live consent_type: opt_out default_translation: @@ -7987,7 +7986,7 @@ paths: Unauthorized: value: type: error.list - request_id: d16d17da-e898-4a18-a9c3-2d69ddf5deb6 + request_id: 1ddd16a2-fae8-4c30-9451-055dbff9099e errors: - code: unauthorized message: Access Token Invalid @@ -8017,7 +8016,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/a3cefb31-cc3c-4ae4-8fbc-2a472093c0ba + url: http://via.intercom.io/msgr/7dae4224-3d5b-4eb0-95ea-894c385ce74f type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8050,7 +8049,7 @@ paths: Unauthorized: value: type: error.list - request_id: 51139624-4ee7-46e4-8729-cfa9d4ad04b0 + request_id: ba4ad688-9878-4d97-8a46-006fc23fedd4 errors: - code: unauthorized message: Access Token Invalid @@ -8113,7 +8112,7 @@ paths: type: list data: - type: tag - id: '33' + id: '318876' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8125,7 +8124,7 @@ paths: Unauthorized: value: type: error.list - request_id: db00ff00-436a-4705-a8c4-317df64e2520 + request_id: 23a67ac9-57c9-4eb4-846c-9c146da97bbb errors: - code: unauthorized message: Access Token Invalid @@ -8164,7 +8163,7 @@ paths: Action successful: value: type: tag - id: '36' + id: '318879' name: test schema: "$ref": "#/components/schemas/tag" @@ -8176,7 +8175,7 @@ paths: Invalid parameters: value: type: error.list - request_id: d392576d-5a14-4402-abab-1b8138f3887e + request_id: e49996fe-4d2f-4617-9a55-2fb83977931d errors: - code: parameter_invalid message: invalid tag parameters @@ -8190,14 +8189,14 @@ paths: Company not found: value: type: error.list - request_id: 4ce205e5-fbeb-44dd-95b6-cbf8dcaaf6b1 + request_id: 4f484a12-34a8-45f4-bfec-a25d80f8ec49 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 2d60a051-b15d-4583-923f-d5f08a61f328 + request_id: 128b7ddc-3add-498d-8826-76dcf92251d6 errors: - code: not_found message: User Not Found @@ -8211,7 +8210,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1fc34679-447d-404c-9d27-5de648aef23d + request_id: 6ee35749-3c85-48d9-9bd9-e30711953607 errors: - code: unauthorized message: Access Token Invalid @@ -8277,7 +8276,7 @@ paths: Tag found: value: type: tag - id: '44' + id: '318887' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8289,7 +8288,7 @@ paths: Tag not found: value: type: error.list - request_id: da532438-d395-422f-945c-b067e0287708 + request_id: 6b36dab9-e822-4385-9c08-74c8f7e849f5 errors: - code: not_found message: Resource Not Found @@ -8303,7 +8302,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9305e3ca-8817-48c6-97c8-6f333c106626 + request_id: bb17136b-09d6-46b4-a3e8-5e2a0b112f88 errors: - code: unauthorized message: Access Token Invalid @@ -8339,7 +8338,7 @@ paths: Resource not found: value: type: error.list - request_id: 9e17b3f9-1401-4ea3-a2f2-5d70a542d098 + request_id: 055cbf3a-08f7-4c7a-90ce-6154406516f2 errors: - code: not_found message: Resource Not Found @@ -8353,7 +8352,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 14ebcdf9-d021-49bf-931d-0dd293c88f18 + request_id: a3eab054-09e1-47a4-880d-6ad904b14bf6 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8368,7 +8367,7 @@ paths: Unauthorized: value: type: error.list - request_id: dba6c5c8-fe69-457c-9c1f-0331f76289e8 + request_id: 02cad600-bc92-408d-9e22-2748d1b8ddb6 errors: - code: unauthorized message: Access Token Invalid @@ -8406,7 +8405,7 @@ paths: Unauthorized: value: type: error.list - request_id: a0fbde79-38b5-4df6-84c3-f64ff12e324e + request_id: 90a3c976-1df2-4a6b-980c-49c0956bda2b errors: - code: unauthorized message: Access Token Invalid @@ -8441,7 +8440,7 @@ paths: successful: value: type: team - id: '991266615' + id: '991266614' name: team 1 admin_ids: [] schema: @@ -8454,7 +8453,7 @@ paths: Team not found: value: type: error.list - request_id: '0088d0b8-beca-41b0-b0ff-f589a4c9c96b' + request_id: 66cfb9c3-bb6b-4b4d-bcf4-2db75b69df0e errors: - code: team_not_found message: Team not found @@ -8468,7 +8467,7 @@ paths: Unauthorized: value: type: error.list - request_id: fc7acb55-d071-4bbc-969e-918478987d0c + request_id: ca01dbc9-6ed2-4d7d-af9a-1a825145af00 errors: - code: unauthorized message: Access Token Invalid @@ -8500,26 +8499,26 @@ paths: successful: value: type: visitor - id: 640219444c21b42eec02fc06 + id: 64a5d3f66406a57a6d80ef0f user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Cyan Bus + pseudonym: Turquoise Rhino avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/cyan-bus.png - app_id: this_is_an_id561_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/turquoise-rhino.png + app_id: this_is_an_id570_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677859140 - remote_created_at: 1677859140 - signed_up_at: 1677859140 - updated_at: 1677859140 + created_at: 1688589302 + remote_created_at: 1688589302 + signed_up_at: 1688589302 + updated_at: 1688589303 session_count: 0 social_profiles: type: social_profile.list @@ -8552,7 +8551,7 @@ paths: visitor Not Found: value: type: error.list - request_id: cd12fa5f-fe04-4a14-9b5e-00f945b09bf7 + request_id: e35d9840-2994-40ca-88c3-e74c0fa05f6b errors: - code: not_found message: Visitor Not Found @@ -8566,7 +8565,7 @@ paths: Unauthorized: value: type: error.list - request_id: a4bdd3c7-403a-4325-a6c6-8dea160907ef + request_id: b3e6f599-65c0-4101-9a5f-940ddba4667e errors: - code: unauthorized message: Access Token Invalid @@ -8581,7 +8580,7 @@ paths: successful: summary: successful value: - id: 640219444c21b42eec02fc06 + id: 64a5d3f66406a57a6d80ef0f name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -8614,7 +8613,7 @@ paths: successful: value: type: visitor - id: 640219464c21b42eec02fc09 + id: 64a5d3f86406a57a6d80ef12 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8624,16 +8623,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id567_that_should_be_at_least_ + app_id: this_is_an_id576_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677859142 - remote_created_at: 1677859142 - signed_up_at: 1677859142 - updated_at: 1677859142 + created_at: 1688589305 + remote_created_at: 1688589304 + signed_up_at: 1688589304 + updated_at: 1688589305 session_count: 0 social_profiles: type: social_profile.list @@ -8666,7 +8665,7 @@ paths: Visitor not found: value: type: error.list - request_id: dbea6cb2-51bf-4efc-be60-c1b3fbcf88cb + request_id: 3de54510-ed5e-4e5d-93b0-511c924376bd errors: - code: not_found message: Visitor Not Found @@ -8680,7 +8679,7 @@ paths: Unauthorized: value: type: error.list - request_id: 55324af8-8045-4166-b2db-92d39927abfc + request_id: cf0b57d4-9d79-43a2-88d9-d992936b9ddb errors: - code: unauthorized message: Access Token Invalid @@ -8714,7 +8713,7 @@ paths: successful: value: type: visitor - id: 640219494c21b42eec02fc0c + id: 64a5d3fa6406a57a6d80ef15 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8724,16 +8723,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id573_that_should_be_at_least_ + app_id: this_is_an_id582_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677859145 - remote_created_at: 1677859145 - signed_up_at: 1677859145 - updated_at: 1677859145 + created_at: 1688589306 + remote_created_at: 1688589306 + signed_up_at: 1688589306 + updated_at: 1688589306 session_count: 0 social_profiles: type: social_profile.list @@ -8766,7 +8765,7 @@ paths: Visitor not found: value: type: error.list - request_id: 213d92b5-480c-4b1b-9515-bf22e649b882 + request_id: 70d586c9-d3d7-482c-b972-89d00de9ea83 errors: - code: not_found message: Visitor Not Found @@ -8780,7 +8779,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2fce5b59-314a-41f8-a45b-83c103478e5d + request_id: fc93a60f-d126-403d-8da9-ccf7e3998d3f errors: - code: unauthorized message: Access Token Invalid @@ -8813,7 +8812,7 @@ paths: successful: value: type: visitor - id: 6402194b4c21b42eec02fc0f + id: 64a5d3fc6406a57a6d80ef18 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8823,16 +8822,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id579_that_should_be_at_least_ + app_id: this_is_an_id588_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677859147 - remote_created_at: 1677859147 - signed_up_at: 1677859147 - updated_at: 1677859148 + created_at: 1688589308 + remote_created_at: 1688589308 + signed_up_at: 1688589308 + updated_at: 1688589309 session_count: 0 social_profiles: type: social_profile.list @@ -8865,7 +8864,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 7fbc7f69-da5c-4981-82e0-de6e02f67067 + request_id: 0c3e923f-880f-453c-8d1e-f7dc8093a5df errors: - code: not_found message: User Not Found @@ -8879,7 +8878,7 @@ paths: Unauthorized: value: type: error.list - request_id: cf7b7a2f-e8fe-4233-a184-52a1feab9343 + request_id: 205c2b02-a64e-465e-8da3-89fe9406d5c2 errors: - code: unauthorized message: Access Token Invalid @@ -8910,26 +8909,26 @@ paths: successful: value: type: visitor - id: 6402194e4c21b42eec02fc12 + id: 64a5d3ff6406a57a6d80ef1b user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: - pseudonym: Teal Cactus + pseudonym: Indigo Spider avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/teal-cactus.png - app_id: this_is_an_id585_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/indigo-spider.png + app_id: this_is_an_id594_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677859150 - remote_created_at: 1677859150 - signed_up_at: 1677859150 - updated_at: 1677859150 + created_at: 1688589311 + remote_created_at: 1688589311 + signed_up_at: 1688589311 + updated_at: 1688589311 session_count: 0 social_profiles: type: social_profile.list @@ -8962,7 +8961,7 @@ paths: Unauthorized: value: type: error.list - request_id: ce955896-e0fb-4c43-b51f-930704f6366d + request_id: 7699d568-901c-47d8-9772-2d97430bf995 errors: - code: unauthorized message: Access Token Invalid @@ -9708,9 +9707,9 @@ components: example: '4324241' body: type: string - description: Optionally you can leave a note in the conversation for additional - context to other teammates. - example: Please take a look at this conversation. + description: Optionally you can send a response in the conversation when + it is assigned. + example: Let me pass you over to one of my colleagues. required: - message_type - type @@ -10123,6 +10122,11 @@ components: nullable: true description: The contacts phone. example: "+1123456789" + formatted_phone: + type: string + nullable: true + description: The contacts phone number normalized to the E164 format + example: "+1123456789" name: type: string nullable: true @@ -11209,11 +11213,9 @@ components: required: - name create_contact_request: - description: Conversations are how you can communicate with users in Intercom. - They are created when a contact replies to an outbound message, or when one - admin directly sends a message to a single contact. + description: Payload to create a contact type: object - title: Create Conversation Request Payload + title: Create Contact Request Payload properties: role: type: string @@ -11656,77 +11658,27 @@ components: required: - name - parent_id - create_ticket_request: - description: You can create a Ticket - type: object - title: Create Ticket Request Payload - properties: - ticket_type_id: - type: string - description: The ID of the type of ticket you want to create - example: '1234' - contacts: - type: array - description: The list of contacts (users or leads) affected by this ticket. - Currently only one is allowed - items: - type: object - oneOf: - - title: ID - properties: - id: - type: string - description: The identifier for the contact as given by Intercom. - required: - - id - - title: External ID - properties: - external_id: - type: string - description: The external_id you have defined for the contact who - is being added as a participant. - required: - - external_id - - title: Email - properties: - email: - type: string - description: The email you have defined for the contact who is being - added as a participant. If a contact with this email does not - exist, one will be created. - required: - - email - example: - - id: '1234' - custom_attributes: - "$ref": "#/components/schemas/ticket_request_custom_attributes" - required: - - ticket_type_id - - contacts - create_ticket_type_request: - description: | - The request payload for creating a ticket type. - The `name` property is required. - The `icon` property can be copied easy from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/). + create_ticket_reply_request: + title: Create Ticket Reply Request Payload type: object - title: Create Ticket Type Request Payload - nullable: true + description: You can create a reply on a ticket. properties: - name: + body: type: string - description: The name of the ticket type. - example: Bug - description: + description: The message body of the note, which may contain HTML. + example: "

    Okay!

    " + message_type: type: string - description: The description of the ticket type. - example: A bug has been occured - icon: + description: The type of the reply. Only `note` is supported at the moment. + example: note + default: note + admin_id: type: string - description: The icon of the ticket type. - example: "\U0001F41E" - default: "\U0001F39F️" + description: The id of the admin who is making the note. + example: '1234' required: - - name + - body + - admin_id cursor_pages: title: Cursor based pages type: object @@ -12519,7 +12471,7 @@ components: set in the app package. type: string example: Unstable - default: '2.8' + default: '2.9' enum: - '1.0' - '1.1' @@ -12535,6 +12487,7 @@ components: - '2.6' - '2.7' - '2.8' + - '2.9' - Unstable merge_contacts_request: description: Merge contact data. @@ -13550,326 +13503,6 @@ components: description: A list of team objects items: "$ref": "#/components/schemas/team" - ticket_contacts: - title: Contacts - type: object - description: The list of contacts (users or leads) affected by a ticket. - properties: - type: - type: string - description: always contact.list - enum: - - contact.list - example: contact.list - contacts: - type: array - description: The list of contacts (users or leads) affected by this ticket. - items: - type: object - properties: - type: - type: string - description: The type of contact (user or lead) - enum: - - lead - - user - example: user - id: - type: string - description: The unique identifier for the contact which is given - by Intercom. - example: 5ba682d23d7cf92bef87bfd4 - ticket_custom_attributes: - title: Custom Attributes - type: object - description: An object containing the different custom attributes associated - to the ticket as key-value pairs. For the default title and description attributes, - the keys are `_default_title_` and `_default_description_`. - additionalProperties: - anyOf: - - type: string - nullable: true - - type: number - - type: boolean - - type: array - - "$ref": "#/components/schemas/file_attribute" - example: - name: example - question: Can I have some help? - ticket_part: - title: Ticket Part - type: object - description: A Ticket Part represents a message in the ticket. - properties: - type: - type: string - description: Always ticket_part - example: ticket_part - id: - type: string - description: The id representing the ticket part. - example: '3' - part_type: - type: string - description: The type of ticket part. - example: comment - body: - type: string - nullable: true - description: The message body, which may contain HTML. - example: "

    Okay!

    " - previous_ticket_state: - type: string - enum: - - submitted - - in_progress - - waiting_on_customer - - resolved - description: The previous state of the ticket. - example: submitted - ticket_state: - type: string - enum: - - submitted - - in_progress - - waiting_on_customer - - resolved - description: The state of the ticket. - example: submitted - created_at: - type: integer - format: date-time - description: The time the ticket part was created. - example: 1663597223 - updated_at: - type: integer - format: date-time - description: The last time the ticket part was updated. - example: 1663597260 - assigned_to: - "$ref": "#/components/schemas/reference" - nullable: true - description: The id of the admin that was assigned the ticket by this ticket_part - (null if there has been no change in assignment.) - author: - "$ref": "#/components/schemas/ticket_part_author" - attachments: - title: Ticket part attachments - type: array - description: A list of attachments for the part. - items: - "$ref": "#/components/schemas/part_attachment" - external_id: - type: string - nullable: true - description: The external id of the ticket part - example: abcd1234 - redacted: - type: boolean - description: Whether or not the ticket part has been redacted. - example: false - ticket_part_author: - title: Ticket part author - type: object - description: The author that wrote or triggered the part. Can be a bot or an - admin. - properties: - type: - type: string - description: The type of the author - example: admin - enum: - - admin - - bot - - team - id: - type: string - description: The id of the author - example: '274' - name: - type: string - description: The name of the author - example: Operator - email: - type: string - format: email - description: The email of the author - example: operator+abcd1234@intercom.io - ticket_parts: - title: Ticket Parts - type: object - description: A list of Ticket Part objects for each note and event in the ticket. - There is a limit of 500 parts. - properties: - type: - type: string - description: '' - enum: - - ticket_part.list - example: ticket_part.list - ticket_parts: - title: Tickt Parts - type: array - description: A list of Ticket Part objects for each note and even in the - ticket. There is a limit of 500 parts. - items: - "$ref": "#/components/schemas/ticket_part" - total_count: - type: integer - description: '' - example: 2 - ticket_request_custom_attributes: - title: Custom Attributes - type: object - description: The custom attributes set on the ticket. For the default title - and description attributes, the keys are `_default_title_` and `_default_description_`. - additionalProperties: - anyOf: - - type: string - nullable: true - - type: number - - type: boolean - - type: array - example: - name: example - question: Can I have some help? - ticket_type: - title: Ticket Type - type: object - description: A ticket type, used to define the data fields to be captured in - a ticket. - nullable: true - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type`. - example: ticket_type - id: - type: string - description: The id representing the ticket type. - example: '1295' - name: - type: string - description: The name of the ticket type - example: Bug - description: - type: string - description: The description of the ticket type - example: A bug that has been reported. - icon: - type: string - description: The icon of the ticket type - example: "\U0001F41E" - workspace_id: - type: string - description: The id of the workspace that the ticket type belongs to. - example: ecahpwf5 - archived: - type: boolean - description: Whether the ticket type is archived or not. - example: false - created_at: - type: integer - format: timestamp - description: The date and time the ticket type was created. - updated_at: - type: integer - format: timestamp - description: The date and time the ticket type was last updated. - ticket_type_attribute: - title: Ticket Type Attribute - type: object - description: Ticket type attribute, used to define each data field to be captured - in a ticket. - nullable: true - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type_attribute`. - example: ticket_type_attribute - id: - type: string - description: The id representing the ticket type attribute. - example: '1' - workspace_id: - type: string - description: The id of the workspace that the ticket type attribute belongs - to. - example: ecahpwf5 - name: - type: string - description: The name of the ticket type attribute - example: Title - description: - type: string - description: The description of the ticket type attribute - example: Bug title. - data_type: - type: string - description: The type of the data attribute - example: string - input_options: - type: object - description: Input options for the attribute - example: 'multiline: true' - order: - type: integer - description: The order of the attribute against other attributes - example: 1 - required: - type: boolean - description: Whether the attribute is required or not. - example: false - default: - type: boolean - description: Whether the attribute is built in or not. - example: true - ticket_type_id: - type: integer - description: The id of the ticket type that the attribute belongs to. - example: 42 - archived: - type: boolean - description: Whether the ticket type attribute is archived or not. - example: false - created_at: - type: integer - format: timestamp - description: The date and time the ticket type attribute was created. - updated_at: - type: integer - format: timestamp - description: The date and time the ticket type attribute was last updated. - ticket_type_attribute_list: - title: TicketTypeAttributes - type: object - description: A list of attributes associated with a given ticket type. - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type_attributes.list`. - ticket_type_attributes: - type: array - description: A list of ticket type attributes associated with a given ticket. - items: - "$ref": "#/components/schemas/ticket_type_attribute" - ticket_type_list: - title: TicketTypes - type: object - description: A list of ticket types associated with a given workspace. - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type.list`. - ticket_types: - type: array - description: A list of ticket_types associated with a given workspace. - items: - "$ref": "#/components/schemas/ticket_type" translation: title: Translation type: object @@ -13984,6 +13617,64 @@ components: translated_content: nullable: true "$ref": "#/components/schemas/group_translated_content" + update_contact_request: + description: You can update a contact + type: object + title: Update Contact Request Payload + properties: + role: + type: string + description: The role of the contact. + external_id: + type: string + description: A unique identifier for the contact which is given to Intercom + email: + type: string + description: The contacts email + example: jdoe@example.com + phone: + type: string + nullable: true + description: The contacts phone + example: "+353871234567" + name: + type: string + nullable: true + description: The contacts name + example: John Doe + avatar: + type: string + nullable: true + description: An image URL containing the avatar of a contact + example: https://www.example.com/avatar_image.jpg + signed_up_at: + type: integer + format: date-time + nullable: true + description: The time specified for when a contact signed up + example: 1571672154 + last_seen_at: + type: integer + format: date-time + nullable: true + description: The time when the contact was last seen (either where the Intercom + Messenger was installed or when specified manually) + example: 1571672154 + owner_id: + type: integer + nullable: true + description: The id of an admin that has been assigned account ownership + of the contact + example: 123 + unsubscribed_from_emails: + type: boolean + nullable: true + description: Whether the contact is unsubscribed from emails + example: true + custom_attributes: + type: object + nullable: true + description: The custom attributes which are set for the contact update_conversation_request: title: Update Conversation Request type: object @@ -14034,37 +13725,97 @@ components: translated_content: nullable: true "$ref": "#/components/schemas/group_translated_content" - update_ticket_request: - description: You can update a Ticket + update_ticket_type_attribute_request: + description: You can update a Ticket Type Attribute type: object - title: Update Ticket Request Payload + title: Update Ticket Type Attribute Request Payload properties: - custom_attributes: - type: object - description: The custom attributes set on the ticket. - example: - title: example - description: having a problem - state: + name: type: string - enum: - - in_progress - - waiting_on_customer - - resolved - description: The state of the ticket. - example: submitted - assignment: - type: object - properties: - admin_id: - type: string - description: The ID of the admin performing the action. - example: '123' - assignee_id: - type: string - description: The ID of the admin or team to which the ticket is assigned. - Set this 0 to unassign it. - example: '123' + description: The name of the ticket type attribute + example: Bug Priority + description: + type: string + description: The description of the attribute presented to the teammate + or contact + example: Priority level of the bug + required_to_create: + type: boolean + description: Whether the attribute is required to be filled in when teammates + are creating the ticket in Inbox. + default: false + example: false + required_to_create_for_contacts: + type: boolean + description: Whether the attribute is required to be filled in when contacts + are creating the ticket in Messenger. + default: false + example: false + visible_on_create: + type: boolean + description: Whether the attribute is visible to teammates when creating + a ticket in Inbox. + default: true + example: true + visible_to_contacts: + type: boolean + description: Whether the attribute is visible to contacts when creating + a ticket in Messenger. + default: true + example: true + multiline: + type: boolean + description: Whether the attribute allows multiple lines of text (only applicable + to string attributes) + example: false + list_items: + type: string + description: A comma delimited list of items for the attribute value (only + applicable to list attributes) + example: Low Priority,Medium Priority,High Priority + allow_multiple_values: + type: boolean + description: Whether the attribute allows multiple files to be attached + to it (only applicable to file attributes) + example: false + archived: + type: boolean + description: Whether the attribute should be archived and not shown during + creation of the ticket (it will still be present on previously created + tickets) + example: false + update_ticket_type_request: + description: | + The request payload for updating a ticket type. + You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) + type: object + title: Update Ticket Type Request Payload + nullable: true + properties: + name: + type: string + description: The name of the ticket type. + example: Bug + description: + type: string + description: The description of the ticket type. + example: A bug has been occured + icon: + type: string + description: The icon of the ticket type. + example: "\U0001F41E" + default: "\U0001F39F️" + archived: + type: boolean + description: The archived status of the ticket type. + example: false + is_internal: + type: boolean + description: Whether the tickets associated with this ticket type are intended + for internal use only or will be shared with customers. This is currently + a limited attribute. + example: false + default: false update_visitor_request: description: Update an existing visitor. type: object diff --git a/descriptions/2.8/api.intercom.io.yaml b/descriptions/2.8/api.intercom.io.yaml index c37e0cb..9c018f0 100644 --- a/descriptions/2.8/api.intercom.io.yaml +++ b/descriptions/2.8/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991266673' + id: '991266214' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1677859839 + created_at: 1688589351 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991266674' + id: '991266215' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 731d78c0-bc71-472d-88bc-e6380f275ba5 + request_id: 856f2804-6d8f-46ee-9b73-d1417371ee74 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 075aa359-d063-42e7-b88e-85d7d591fe62 + request_id: '030682df-e5b6-451d-86fa-f48c4ebe1a9c' errors: - code: unauthorized message: Access Token Invalid @@ -170,7 +170,7 @@ paths: required: true description: The start date that you request data for. It must be formatted as a UNIX timestamp. - example: '1677255034' + example: '1677253093' schema: type: string - name: created_at_before @@ -178,7 +178,7 @@ paths: required: false description: The end date that you request data for. It must be formatted as a UNIX timestamp. - example: '1677863434' + example: '1677861493' schema: type: string tags: @@ -201,10 +201,10 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: 235c3fc5-5348-444c-a992-b3e86a0c7252 + - id: a47717b1-cacf-40c5-81ee-f7beac874a4b performed_by: type: admin - id: '991266678' + id: '991266219' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -213,21 +213,21 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1677859847 + created_at: 1688589358 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message title. - - id: 1bfa346c-2cb0-489a-b2ac-7340334ae075 + - id: 122b4713-9579-4596-b908-2a1c44e2eaf6 performed_by: type: admin - id: '991266678' + id: '991266219' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1677859847 + created_at: 1688589358 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: 144aed07-f36c-4c90-ab69-a1187753b86e + request_id: 7fd19eda-bef5-40f6-90a9-e62cd4621245 errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991266680' + id: '991266221' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 68f10440-06d4-443a-90f5-d61b9a08af57 + request_id: 8f8ab62a-c480-4191-903c-0f09525b91b8 errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991266682' + id: '991266223' name: Ciaran9 Lee email: admin9@email.com away_mode_enabled: false @@ -338,7 +338,7 @@ paths: Admin not found: value: type: error.list - request_id: b7cbb99f-2a77-4163-8f1a-04c9e78a28e0 + request_id: 3284023e-9bcd-4942-b53f-d3d7a274efac errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: ee219e55-58de-4486-bbd6-bb95fec5fe61 + request_id: 0fd4254e-72be-4b60-83dc-95e6bdf27bb2 errors: - code: unauthorized message: Access Token Invalid @@ -390,19 +390,19 @@ paths: total_pages: 1 total_count: 1 data: - - id: '16' + - id: '92828' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 73 + parent_id: 87783 parent_type: collection title: This is the article title description: '' body: '' - author_id: 991266685 + author_id: 991266226 state: published - created_at: 1677859854 - updated_at: 1677859854 - url: http://help-center.test/myapp-22/en/articles/16-this-is-the-article-title + created_at: 1688589363 + updated_at: 1688589363 + url: http://help-center.test/myapp-22/en/articles/92828-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -413,7 +413,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0035c3c3-f6df-4db5-a875-f8b2111102df + request_id: dc3d03b2-a989-495e-8fe0-7b9f50bd6fa4 errors: - code: unauthorized message: Access Token Invalid @@ -438,10 +438,10 @@ paths: examples: article created: value: - id: '19' + id: '92831' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 75 + parent_id: 87785 parent_type: collection statistics: type: article_statistics @@ -454,11 +454,11 @@ paths: title: Thanks for everything description: Description of the Article body:

    Body of the Article

    - author_id: 991266693 + author_id: 991266234 state: published - created_at: 1677859857 - updated_at: 1677859857 - url: http://help-center.test/myapp-26/en/articles/19-thanks-for-everything + created_at: 1688589365 + updated_at: 1688589365 + url: http://help-center.test/myapp-26/en/articles/92831-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -469,7 +469,7 @@ paths: Bad Request: value: type: error.list - request_id: d1dc9bb6-9471-42f2-9e95-bbf7d7fb4c2f + request_id: fa37665b-fdce-44ef-ad1b-b1444184ec95 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -484,7 +484,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7ae55681-b541-4260-9678-844a0fb25400 + request_id: 2d449f79-ed04-4f53-960f-c1ee50124c9c errors: - code: unauthorized message: Access Token Invalid @@ -502,16 +502,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991266693 + author_id: 991266234 state: published - parent_id: 75 + parent_id: 87785 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991266693 + author_id: 991266234 state: published bad_request: summary: Bad Request @@ -548,10 +548,10 @@ paths: examples: Article found: value: - id: '22' + id: '92834' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 78 + parent_id: 87788 parent_type: collection statistics: type: article_statistics @@ -564,11 +564,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991266700 + author_id: 991266241 state: published - created_at: 1677859860 - updated_at: 1677859860 - url: http://help-center.test/myapp-32/en/articles/22-this-is-the-article-title + created_at: 1688589368 + updated_at: 1688589368 + url: http://help-center.test/myapp-32/en/articles/92834-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -579,7 +579,7 @@ paths: Article not found: value: type: error.list - request_id: 7d50b385-e877-4956-9c90-0e0202060bcf + request_id: 5585660c-5e89-4391-a7a7-8a10d2bae6cb errors: - code: not_found message: Resource Not Found @@ -593,7 +593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8e2512d6-3aa2-492f-85f3-0a09de44c000 + request_id: 3492eab7-1ccc-479d-ad52-14703806c79c errors: - code: unauthorized message: Access Token Invalid @@ -626,10 +626,10 @@ paths: examples: successful: value: - id: '25' + id: '92837' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 81 + parent_id: 87791 parent_type: collection statistics: type: article_statistics @@ -642,11 +642,11 @@ paths: title: Christmas is here! description: '' body:

    New gifts in store for the jolly season

    - author_id: 991266709 + author_id: 991266250 state: published - created_at: 1677859864 - updated_at: 1677859865 - url: http://help-center.test/myapp-38/en/articles/25-christmas-is-here + created_at: 1688589370 + updated_at: 1688589370 + url: http://help-center.test/myapp-38/en/articles/92837-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -657,7 +657,7 @@ paths: Article Not Found: value: type: error.list - request_id: 7287b360-4f35-4197-8653-9c56279a0427 + request_id: 128587c1-117b-47a4-a5d3-71bef33c37ff errors: - code: not_found message: Resource Not Found @@ -671,7 +671,7 @@ paths: Unauthorized: value: type: error.list - request_id: b6f7faca-4537-47ec-ae4e-3087426dc8a8 + request_id: d2ce8236-a85c-4736-8ecf-650c48ee5470 errors: - code: unauthorized message: Access Token Invalid @@ -719,7 +719,7 @@ paths: examples: successful: value: - id: '28' + id: '92840' object: article deleted: true schema: @@ -732,7 +732,7 @@ paths: Article Not Found: value: type: error.list - request_id: b4412add-3354-433a-af38-c62afa7d0689 + request_id: f7dcc424-0804-4384-966f-37fceecc8add errors: - code: not_found message: Resource Not Found @@ -746,7 +746,7 @@ paths: Unauthorized: value: type: error.list - request_id: c976e9e0-1b29-47c6-859f-b59b6b636523 + request_id: 36ae8ffd-5305-41fe-aa99-da46324e13d8 errors: - code: unauthorized message: Access Token Invalid @@ -779,13 +779,13 @@ paths: value: type: list data: - - id: '87' + - id: '87797' workspace_id: this_is_an_id50_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-50/collection-15 order: 15 - created_at: 1677859871 - updated_at: 1677859871 + created_at: 1688589374 + updated_at: 1688589374 description: english collection description icon: bookmark type: collection @@ -805,7 +805,7 @@ paths: Unauthorized: value: type: error.list - request_id: 27ee1938-e9c2-4948-afa8-1c7daab81196 + request_id: 74ed6ea2-759d-49ba-b8f6-d5b2515ccff4 errors: - code: unauthorized message: Access Token Invalid @@ -830,14 +830,14 @@ paths: examples: collection created: value: - id: '93' + id: '87803' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-54/ order: 1 - created_at: 1677859873 - updated_at: 1677859873 - description: + created_at: 1688589376 + updated_at: 1688589376 + description: '' icon: book-bookmark type: collection schema: @@ -850,7 +850,7 @@ paths: Bad Request: value: type: error.list - request_id: 88c5aafe-2fa9-4cd6-8d67-95a1aaa81bf5 + request_id: dc546514-5087-458f-9ec4-4eb66873bacc errors: - code: parameter_not_found message: Name is a required parameter. @@ -864,7 +864,7 @@ paths: Unauthorized: value: type: error.list - request_id: c10bb1d9-3ee5-424e-8566-024b2330bb04 + request_id: dfb8a10d-5741-4f06-981e-ab3e6ec4cc15 errors: - code: unauthorized message: Access Token Invalid @@ -912,13 +912,13 @@ paths: examples: Collection found: value: - id: '98' + id: '87808' workspace_id: this_is_an_id60_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-60/collection-20 order: 20 - created_at: 1677859874 - updated_at: 1677859874 + created_at: 1688589377 + updated_at: 1688589377 description: english collection description icon: bookmark type: collection @@ -932,7 +932,7 @@ paths: Collection not found: value: type: error.list - request_id: 0554f732-f639-4b33-a841-f26f78ccf8ac + request_id: 5c12b507-3302-4aca-89ca-c25c9c185725 errors: - code: not_found message: Resource Not Found @@ -946,7 +946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5a4285a5-ab89-407a-88d7-02ba9d7b3b9a + request_id: d2a841ba-ea6e-46bd-b1da-683747329fc1 errors: - code: unauthorized message: Access Token Invalid @@ -979,15 +979,15 @@ paths: examples: successful: value: - id: '104' + id: '87814' workspace_id: this_is_an_id66_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-66/collection-23 order: 23 - created_at: 1677859876 - updated_at: 1677859877 + created_at: 1688589378 + updated_at: 1688589379 description: english collection description - icon: bookmark + icon: folder type: collection schema: "$ref": "#/components/schemas/collection" @@ -999,7 +999,7 @@ paths: Collection Not Found: value: type: error.list - request_id: c901e757-3462-4b67-9eda-790f5f1a26f5 + request_id: fd57d347-79d3-4043-89df-826d01813385 errors: - code: not_found message: Resource Not Found @@ -1013,7 +1013,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5607beeb-60a8-4f5f-9fdf-701b05fd3db1 + request_id: b3118e13-7e95-4657-ba5d-5bf806954e77 errors: - code: unauthorized message: Access Token Invalid @@ -1060,7 +1060,7 @@ paths: examples: successful: value: - id: '110' + id: '87820' object: collection deleted: true schema: @@ -1073,7 +1073,7 @@ paths: collection Not Found: value: type: error.list - request_id: 892047cd-5876-4e45-91b1-cee733be3c00 + request_id: 788c303f-328f-4c2a-b795-43997808e326 errors: - code: not_found message: Resource Not Found @@ -1087,7 +1087,7 @@ paths: Unauthorized: value: type: error.list - request_id: c1a45d21-2926-44a6-a0d7-5af502d94d7d + request_id: e4085634-7a81-4118-a842-5eea651693ae errors: - code: unauthorized message: Access Token Invalid @@ -1119,15 +1119,15 @@ paths: value: type: list data: - - id: '117' + - id: '87827' workspace_id: this_is_an_id78_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-78/section-15 order: 15 - created_at: 1677859881 - updated_at: 1677859881 + created_at: 1688589382 + updated_at: 1688589382 type: section - parent_id: 116 + parent_id: 87826 total_count: 1 pages: type: pages @@ -1144,7 +1144,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3111b2a7-b73f-45c6-b2c6-1dd1b2ab0744 + request_id: 40d56ceb-5822-44f0-b9d5-4d2cd4fd4842 errors: - code: unauthorized message: Access Token Invalid @@ -1169,31 +1169,17 @@ paths: examples: section created: value: - id: '122' + id: '87832' workspace_id: this_is_an_id82_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-82/ order: 1 - created_at: 1677859883 - updated_at: 1677859883 + created_at: 1688589383 + updated_at: 1688589383 type: section - parent_id: '120' + parent_id: '87830' schema: "$ref": "#/components/schemas/section" - '400': - description: Bad Request - content: - application/json: - examples: - Bad Request: - value: - type: error.list - request_id: 1347cec0-a994-4b2f-b442-4f9126733d06 - errors: - - code: parameter_invalid - message: Parent ID can't be nil - schema: - "$ref": "#/components/schemas/error" '401': description: Unauthorized content: @@ -1202,7 +1188,7 @@ paths: Unauthorized: value: type: error.list - request_id: e0e938c3-cc29-490b-8cfc-f6ed0e976ccf + request_id: 4983f2bc-6f56-43a3-a197-e423c4c23b7f errors: - code: unauthorized message: Access Token Invalid @@ -1218,11 +1204,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 120 - bad_request: - summary: Bad Request - value: - name: Missing required parameter + parent_id: 87830 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1251,15 +1233,15 @@ paths: examples: Section found: value: - id: '128' - workspace_id: this_is_an_id88_that_should_be_at_least_4 + id: '87836' + workspace_id: this_is_an_id86_that_should_be_at_least_4 name: English section title - url: http://help-center.test/myapp-88/section-20 - order: 20 - created_at: 1677859885 - updated_at: 1677859885 + url: http://help-center.test/myapp-86/section-19 + order: 19 + created_at: 1688589384 + updated_at: 1688589384 type: section - parent_id: 127 + parent_id: 87835 schema: "$ref": "#/components/schemas/section" '404': @@ -1270,7 +1252,7 @@ paths: Section not found: value: type: error.list - request_id: e8cc533c-e16a-4506-8a40-bae094d44ce1 + request_id: 80fb7de0-796c-4b6a-8f4d-a674c8e5b670 errors: - code: not_found message: Resource Not Found @@ -1284,7 +1266,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1a572af2-0af2-46ea-9686-1809f127670f + request_id: f4234cfe-71fd-4a4e-93be-38a75dda64a1 errors: - code: unauthorized message: Access Token Invalid @@ -1317,15 +1299,15 @@ paths: examples: successful: value: - id: '134' - workspace_id: this_is_an_id94_that_should_be_at_least_4 + id: '87842' + workspace_id: this_is_an_id92_that_should_be_at_least_4 name: Update section name - url: http://help-center.test/myapp-94/section-23 - order: 23 - created_at: 1677859888 - updated_at: 1677859889 + url: http://help-center.test/myapp-92/section-22 + order: 22 + created_at: 1688589386 + updated_at: 1688589386 type: section - parent_id: '133' + parent_id: '87841' schema: "$ref": "#/components/schemas/section" '404': @@ -1336,7 +1318,7 @@ paths: Section Not Found: value: type: error.list - request_id: 04aa35ff-3806-4405-949d-8f7f77ec3e61 + request_id: 1aa09cf9-a7ef-4418-8419-6aa6fe67d60b errors: - code: not_found message: Resource Not Found @@ -1350,7 +1332,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2b203411-cadf-440a-a32c-85ec5085df41 + request_id: a2262093-8591-4d1f-8b0e-c40bbf3f605c errors: - code: unauthorized message: Access Token Invalid @@ -1366,12 +1348,12 @@ paths: summary: successful value: name: Update section name - parent_id: 133 + parent_id: 87841 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 135 + parent_id: 87843 delete: summary: Delete a section parameters: @@ -1398,7 +1380,7 @@ paths: examples: successful: value: - id: '140' + id: '87848' object: section deleted: true schema: @@ -1411,7 +1393,7 @@ paths: section Not Found: value: type: error.list - request_id: 07bad4d3-4cb5-456d-b79d-220690c56ae0 + request_id: f5e0e650-5c9c-4f3e-b58a-9dbc1c2d8bbe errors: - code: not_found message: Resource Not Found @@ -1425,7 +1407,7 @@ paths: Unauthorized: value: type: error.list - request_id: 19746769-b942-4a8e-a13f-dde9a796e8e4 + request_id: 71c56dc6-1be8-4a57-90b7-4344bd9b6127 errors: - code: unauthorized message: Access Token Invalid @@ -1457,12 +1439,12 @@ paths: value: type: company company_id: company_remote_id - id: 64021c3b4c21b4352588c402 - app_id: this_is_an_id109_that_should_be_at_least_ + id: 64a5d4516406a57d91d9a774 + app_id: this_is_an_id107_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1677859899 - updated_at: 1677859899 + created_at: 1688589393 + updated_at: 1688589393 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1499,7 +1481,7 @@ paths: Unauthorized: value: type: error.list - request_id: b2bc79a5-f123-4e14-9f2d-bc73032b9d93 + request_id: d2121482-4daa-4d89-b833-6b2cd4ed5d54 errors: - code: unauthorized message: Access Token Invalid @@ -1570,12 +1552,12 @@ paths: value: type: company company_id: '1' - id: 64021c404c21b4352588c40c - app_id: this_is_an_id115_that_should_be_at_least_ + id: 64a5d4556406a57d91d9a77e + app_id: this_is_an_id113_that_should_be_at_least_ name: company2 - remote_created_at: 1677859904 - created_at: 1677859904 - updated_at: 1677859904 + remote_created_at: 1688589397 + created_at: 1688589397 + updated_at: 1688589397 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1597,7 +1579,7 @@ paths: Company Not Found: value: type: error.list - request_id: bf8894ac-fcbd-48a0-a9a1-3079ac986c5f + request_id: a0ff46d7-86fb-45d0-a418-f953cae48c8f errors: - code: company_not_found message: Company Not Found @@ -1611,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2a1e1545-3447-4707-8902-f053ac920f60 + request_id: f1f7443d-2bf2-4421-bcff-ad4739cede5b errors: - code: unauthorized message: Access Token Invalid @@ -1646,12 +1628,12 @@ paths: value: type: company company_id: '1' - id: 64021c444c21b4352588c417 - app_id: this_is_an_id121_that_should_be_at_least_ + id: 64a5d4586406a57d91d9a789 + app_id: this_is_an_id119_that_should_be_at_least_ name: company4 - remote_created_at: 1677859908 - created_at: 1677859908 - updated_at: 1677859908 + remote_created_at: 1688589400 + created_at: 1688589400 + updated_at: 1688589400 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1673,7 +1655,7 @@ paths: Company Not Found: value: type: error.list - request_id: 236ae5f6-b3d6-49c0-9dbf-8d014f65f2c0 + request_id: 6afbaf37-4950-462d-aa11-83d3dc9a25a9 errors: - code: company_not_found message: Company Not Found @@ -1687,7 +1669,7 @@ paths: Unauthorized: value: type: error.list - request_id: de6c93d4-fee5-45ba-b534-098215c0158a + request_id: d66210ad-de25-4ea5-992e-010f33942ab9 errors: - code: unauthorized message: Access Token Invalid @@ -1721,12 +1703,12 @@ paths: value: type: company company_id: '1' - id: 64021c494c21b4352588c421 - app_id: this_is_an_id127_that_should_be_at_least_ + id: 64a5d45b6406a57d91d9a793 + app_id: this_is_an_id125_that_should_be_at_least_ name: company5 - remote_created_at: 1677859913 - created_at: 1677859913 - updated_at: 1677859913 + remote_created_at: 1688589403 + created_at: 1688589403 + updated_at: 1688589403 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1748,7 +1730,7 @@ paths: Company Not Found: value: type: error.list - request_id: e34fc622-4fd1-4a51-a212-3ba9f0554f72 + request_id: 5f24227b-41c0-470c-afa6-31e75a49c75d errors: - code: company_not_found message: Company Not Found @@ -1762,7 +1744,7 @@ paths: Unauthorized: value: type: error.list - request_id: b43bc2c7-c4ce-4758-b031-dc7cbafa4d08 + request_id: f6c49de4-e0ad-4c66-8107-cf45235633a2 errors: - code: unauthorized message: Access Token Invalid @@ -1794,7 +1776,7 @@ paths: examples: Successful: value: - id: 64021c4f4c21b4352588c42b + id: 64a5d45e6406a57d91d9a79d object: company deleted: true schema: @@ -1807,7 +1789,7 @@ paths: Company Not Found: value: type: error.list - request_id: 292dfaa4-7f08-4267-b885-c07f0305f94d + request_id: 6071d803-6d7e-4d72-9707-177d7bdec286 errors: - code: company_not_found message: Company Not Found @@ -1821,7 +1803,7 @@ paths: Unauthorized: value: type: error.list - request_id: 69eefcc0-1157-4167-92ba-6e9b53983e3c + request_id: b41dc693-bec9-4401-b38d-ad3e389cc709 errors: - code: unauthorized message: Access Token Invalid @@ -1873,7 +1855,7 @@ paths: Company Not Found: value: type: error.list - request_id: f57bae40-156c-49e7-9916-b64619014571 + request_id: aa652b59-12a9-4f0d-a283-45e808e910bf errors: - code: company_not_found message: Company Not Found @@ -1887,7 +1869,7 @@ paths: Unauthorized: value: type: error.list - request_id: 65c47bf1-cddc-41ae-8d8e-11d0e5a5695a + request_id: cafa3712-170c-48ed-a577-098816a63b7d errors: - code: unauthorized message: Access Token Invalid @@ -1932,7 +1914,7 @@ paths: Company Not Found: value: type: error.list - request_id: 5186265d-cfa3-449b-96d8-4b0fb68299e7 + request_id: dc1955a2-f0e2-4670-9b13-bf31f3edf325 errors: - code: company_not_found message: Company Not Found @@ -1946,7 +1928,7 @@ paths: Unauthorized: value: type: error.list - request_id: cc674678-5bb0-4371-a73f-e33d9e1ac333 + request_id: 696f5e20-9981-44cd-8873-fd9254f857bd errors: - code: unauthorized message: Access Token Invalid @@ -2027,12 +2009,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 64021c5c4c21b4352588c447 - app_id: this_is_an_id151_that_should_be_at_least_ + id: 64a5d4676406a57d91d9a7b9 + app_id: this_is_an_id149_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1677859932 - created_at: 1677859932 - updated_at: 1677859932 + remote_created_at: 1688589415 + created_at: 1688589415 + updated_at: 1688589415 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2061,7 +2043,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9077e8c6-971a-4af7-bbf9-0facfbeb1f7f + request_id: e858df6a-3f06-4283-8455-e35ea38621e2 errors: - code: unauthorized message: Access Token Invalid @@ -2113,12 +2095,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 64021c604c21b4352588c44f - app_id: this_is_an_id155_that_should_be_at_least_ + id: 64a5d4696406a57d91d9a7c1 + app_id: this_is_an_id153_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1677859936 - created_at: 1677859936 - updated_at: 1677859936 + remote_created_at: 1688589417 + created_at: 1688589417 + updated_at: 1688589417 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2132,7 +2114,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 5d61a137-2fda-4188-b319-f537a2a679a7 + scroll_param: f96f9738-bd8c-4195-bf84-36ccdd5cc71b schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2143,7 +2125,7 @@ paths: Unauthorized: value: type: error.list - request_id: f86f048e-2b50-476d-a5c4-4733ab4735ab + request_id: 564de99e-89e4-4469-99aa-7780f7baf536 errors: - code: unauthorized message: Access Token Invalid @@ -2178,12 +2160,12 @@ paths: value: type: company company_id: '1' - id: 64021c634c21b4352588c458 - app_id: this_is_an_id159_that_should_be_at_least_ + id: 64a5d46c6406a57d91d9a7ca + app_id: this_is_an_id157_that_should_be_at_least_ name: company9 - remote_created_at: 1677859939 - created_at: 1677859939 - updated_at: 1677859939 + remote_created_at: 1688589420 + created_at: 1688589420 + updated_at: 1688589420 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2205,7 +2187,7 @@ paths: Company Not Found: value: type: error.list - request_id: 37b0549e-f184-40b2-9093-43a5fd38e5b4 + request_id: 42764f06-0383-4ace-aca9-260c404b20f9 errors: - code: not_found message: User Not Found @@ -2219,7 +2201,7 @@ paths: Unauthorized: value: type: error.list - request_id: e64c370b-436d-45ff-a734-76b8c3357d50 + request_id: 63708392-87ff-467b-ae85-5ed67746259a errors: - code: unauthorized message: Access Token Invalid @@ -2242,11 +2224,11 @@ paths: successful: summary: Successful value: - id: 64021c634c21b4352588c458 + id: 64a5d46c6406a57d91d9a7ca company_not_found: summary: Company Not Found value: - id: 64021c654c21b4352588c45c + id: 64a5d46d6406a57d91d9a7ce "/contacts/{contact_id}/companies/{id}": delete: summary: Detach a contact from a company @@ -2272,7 +2254,7 @@ paths: tags: - Companies - Contacts - operationId: dettachContactFromACompany + operationId: detachContactFromACompany description: You can detach a company from a single contact. responses: '200': @@ -2284,12 +2266,12 @@ paths: value: type: company company_id: '1' - id: 64021c684c21b4352588c464 - app_id: this_is_an_id165_that_should_be_at_least_ + id: 64a5d46f6406a57d91d9a7d6 + app_id: this_is_an_id163_that_should_be_at_least_ name: company12 - remote_created_at: 1677859944 - created_at: 1677859944 - updated_at: 1677859945 + remote_created_at: 1688589423 + created_at: 1688589423 + updated_at: 1688589423 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2311,14 +2293,14 @@ paths: Company Not Found: value: type: error.list - request_id: 017b4a05-20ae-4736-b2ba-55be0914cbae + request_id: 463dcc78-89ad-49d9-ab0c-fa4fc23aae6b errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 3e5d33f9-39d6-4f27-92cc-950ec7797de3 + request_id: 2d3f5b2c-fcf0-4e68-a41d-a97f9d93e92a errors: - code: not_found message: User Not Found @@ -2332,7 +2314,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22db25ae-469d-4946-ae8d-26f328b4c542 + request_id: a96276a1-bc96-4420-bb3d-95d7ca8c2230 errors: - code: unauthorized message: Access Token Invalid @@ -2370,13 +2352,13 @@ paths: data: - type: company company_id: '1' - id: 64021c7e4c21b4352588c48a - app_id: this_is_an_id173_that_should_be_at_least_ + id: 64a5d47e6406a57d91d9a7fc + app_id: this_is_an_id171_that_should_be_at_least_ name: company25 - remote_created_at: 1677859966 - created_at: 1677859966 - updated_at: 1677859966 - last_request_at: 1677687166 + remote_created_at: 1688589438 + created_at: 1688589438 + updated_at: 1688589438 + last_request_at: 1688416638 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2405,7 +2387,7 @@ paths: Contact not found: value: type: error.list - request_id: 8476e1e2-e9b8-407a-865a-ffdd0f2952cc + request_id: faf63126-85e2-4624-8b3f-243dc4306fc2 errors: - code: not_found message: User Not Found @@ -2419,7 +2401,7 @@ paths: Unauthorized: value: type: error.list - request_id: b5732e6e-e3e8-4e99-950d-eaa9900b1bfb + request_id: aedc143b-51ed-4a5c-bb95-eb986c31ca92 errors: - code: unauthorized message: Access Token Invalid @@ -2455,44 +2437,44 @@ paths: type: list data: - type: note - id: '26' - created_at: 1677255173 + id: '402593' + created_at: 1687984641 contact: type: contact - id: 64021c844c21b4352588c495 + id: 64a5d4816406a57d91d9a807 author: type: admin - id: '991266790' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '25' - created_at: 1677168773 + id: '402592' + created_at: 1687898241 contact: type: contact - id: 64021c844c21b4352588c495 + id: 64a5d4816406a57d91d9a807 author: type: admin - id: '991266790' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '24' - created_at: 1677168772 + id: '402591' + created_at: 1687898241 contact: type: contact - id: 64021c844c21b4352588c495 + id: 64a5d4816406a57d91d9a807 author: type: admin - id: '991266790' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2513,7 +2495,7 @@ paths: Contact not found: value: type: error.list - request_id: 0fd75c5d-cb2d-4a30-99bd-3535e17893db + request_id: 7366df67-918b-4f8c-b541-8ad4b254fdc2 errors: - code: not_found message: User Not Found @@ -2547,16 +2529,16 @@ paths: Successful response: value: type: note - id: '31' - created_at: 1677859975 + id: '402598' + created_at: 1688589443 contact: type: contact - id: 64021c864c21b4352588c497 + id: 64a5d4836406a57d91d9a809 author: type: admin - id: '991266792' - name: Ciaran119 Lee - email: admin119@email.com + id: '991266332' + name: Ciaran118 Lee + email: admin118@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2570,14 +2552,14 @@ paths: Admin not found: value: type: error.list - request_id: 28ab0dc5-42ec-4ded-8b13-ed1a3ba192a1 + request_id: 2878dc22-be1f-4405-aa06-a3c60240f093 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 33b300b8-29e2-4197-bed0-85b7d43b3c9b + request_id: 0507ca53-909d-4d15-9c3d-66eca6a06a89 errors: - code: not_found message: User Not Found @@ -2607,20 +2589,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 64021c864c21b4352588c497 - admin_id: 991266792 + contact_id: 64a5d4836406a57d91d9a809 + admin_id: 991266332 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 64021c874c21b4352588c498 + contact_id: 64a5d4836406a57d91d9a80a admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991266794 + admin_id: 991266334 body: Hello "/contacts/{contact_id}/segments": get: @@ -2653,10 +2635,10 @@ paths: type: list data: - type: segment - id: 64021c894c21b4352588c49a + id: 64a5d4846406a57d91d9a80c name: segment - created_at: 1677859977 - updated_at: 1677859977 + created_at: 1688589444 + updated_at: 1688589444 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2668,7 +2650,7 @@ paths: Contact not found: value: type: error.list - request_id: eee98ec1-1c4a-4bcf-9d8a-819350862277 + request_id: fac51773-817e-47b6-b812-eb6d9ef4b17f errors: - code: not_found message: User Not Found @@ -2682,7 +2664,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9c55cf09-32bd-4f41-b7e8-0c563d9d5916 + request_id: 86d697a9-82f9-44c3-be88-c3a391eaa8f5 errors: - code: unauthorized message: Access Token Invalid @@ -2726,7 +2708,7 @@ paths: type: list data: - type: subscription - id: '47' + id: '437906' state: live consent_type: opt_out default_translation: @@ -2740,7 +2722,7 @@ paths: content_types: - email - type: subscription - id: '49' + id: '437908' state: live consent_type: opt_in default_translation: @@ -2763,7 +2745,7 @@ paths: Contact not found: value: type: error.list - request_id: 06eb2a2b-651f-420b-b234-6f6f2c3ac31c + request_id: 55c59a3a-f14c-4090-a2b2-c5a5710b8b88 errors: - code: not_found message: User Not Found @@ -2777,7 +2759,7 @@ paths: Unauthorized: value: type: error.list - request_id: ff33fc67-c277-4582-b61e-6859ed5e3deb + request_id: ab7b1581-e61e-48bf-99ef-96888f95ec92 errors: - code: unauthorized message: Access Token Invalid @@ -2818,7 +2800,7 @@ paths: Successful: value: type: subscription - id: '62' + id: '437921' state: live consent_type: opt_in default_translation: @@ -2841,14 +2823,14 @@ paths: Contact not found: value: type: error.list - request_id: b74936a7-7e0c-4d69-bc0c-f93372d68703 + request_id: 9a12166f-c240-4f2e-af8b-cd1079d01d59 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 19338cd3-c967-4116-b74b-9c6115f34389 + request_id: 0cec7282-5f9f-4baf-be11-914d957d82ee errors: - code: not_found message: Resource Not Found @@ -2862,7 +2844,7 @@ paths: Unauthorized: value: type: error.list - request_id: 41380476-dbff-409e-8cdb-927951e9ce43 + request_id: 887d49cd-c04a-4819-9a0e-f910863fd1ba errors: - code: unauthorized message: Access Token Invalid @@ -2890,12 +2872,12 @@ paths: successful: summary: Successful value: - id: 62 + id: 437921 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 66 + id: 437925 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2941,7 +2923,7 @@ paths: Successful: value: type: subscription - id: '78' + id: '437937' state: live consent_type: opt_in default_translation: @@ -2964,14 +2946,14 @@ paths: Contact not found: value: type: error.list - request_id: 5a31c184-a4d8-491d-ab22-761c1dabf4f3 + request_id: 703f811a-a2e5-4906-8d5a-9103601ba360 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 7856b32f-d31a-4ed9-b43d-0876972fe232 + request_id: 75ad10b4-ab9b-4af1-b1ae-a89de4e23850 errors: - code: not_found message: Resource Not Found @@ -2985,7 +2967,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8eb861d4-a7a2-4fde-a11a-6ac40f65e59f + request_id: 1c98132d-7ef4-49ac-872e-1b2d9bbea3ab errors: - code: unauthorized message: Access Token Invalid @@ -3023,7 +3005,7 @@ paths: type: list data: - type: tag - id: '56' + id: '318846' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3035,7 +3017,7 @@ paths: Contact not found: value: type: error.list - request_id: 8932550d-7924-4d66-b387-d66a1091c336 + request_id: 1ec94c46-c897-418c-a404-93d72e4bc254 errors: - code: not_found message: User Not Found @@ -3049,7 +3031,7 @@ paths: Unauthorized: value: type: error.list - request_id: f5132a08-f94d-4787-a4ca-88805552fac9 + request_id: be13b0e4-277e-48bc-9e6a-ae7e35db388a errors: - code: unauthorized message: Access Token Invalid @@ -3084,7 +3066,7 @@ paths: successful: value: type: tag - id: '57' + id: '318847' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3096,14 +3078,14 @@ paths: Contact not found: value: type: error.list - request_id: '08010015-dc06-4272-871c-1147b183d97c' + request_id: c80f23ca-c2b2-448c-914b-644624b84430 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: b9a793d9-fb4e-4972-ab6e-b97392566a2a + request_id: d1b801df-8845-43c7-886d-1a0120dd16c7 errors: - code: not_found message: Resource Not Found @@ -3117,7 +3099,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5826ba84-fec5-4ac4-9ee9-5dbd652a545a + request_id: 59948685-bb30-4b82-b92d-dc684f197e1f errors: - code: unauthorized message: Access Token Invalid @@ -3140,11 +3122,11 @@ paths: successful: summary: successful value: - id: 57 + id: 318847 contact_not_found: summary: Contact not found value: - id: 58 + id: 318848 tag_not_found: summary: Tag not found value: @@ -3186,7 +3168,7 @@ paths: successful: value: type: tag - id: '60' + id: '318850' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3198,14 +3180,14 @@ paths: Contact not found: value: type: error.list - request_id: c70a88cc-1515-49ca-aa3c-0625dd8b7325 + request_id: 569f9792-8337-4770-81bb-55640efff042 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 562cf733-f964-47cf-9778-9bdb4d87ddc0 + request_id: 200002d0-e483-4357-998a-c8bf93e8ba94 errors: - code: not_found message: Resource Not Found @@ -3219,7 +3201,7 @@ paths: Unauthorized: value: type: error.list - request_id: 94094494-1747-420b-b3c8-adf89afec07d + request_id: 262b9070-06aa-4040-ab65-8d0be6aa172d errors: - code: unauthorized message: Access Token Invalid @@ -3253,13 +3235,13 @@ paths: successful: value: type: contact - id: 64021ca14c21b4352588c4b1 - workspace_id: this_is_an_id239_that_should_be_at_least_ + id: 64a5d4956406a57d91d9a823 + workspace_id: this_is_an_id237_that_should_be_at_least_ external_id: '70' role: user - email: joe@bloggs.com + email: joebloggs@intercom.io phone: - name: Joe Bloggs + name: joe bloggs avatar: owner_id: social_profiles: @@ -3268,9 +3250,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677860001 - updated_at: 1677860001 - signed_up_at: 1677860001 + created_at: 1688589461 + updated_at: 1688589462 + signed_up_at: 1688589461 last_seen_at: last_replied_at: last_contacted_at: @@ -3304,31 +3286,31 @@ paths: tags: type: list data: [] - url: "/contacts/64021ca14c21b4352588c4b1/tags" + url: "/contacts/64a5d4956406a57d91d9a823/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64021ca14c21b4352588c4b1/notes" + url: "/contacts/64a5d4956406a57d91d9a823/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64021ca14c21b4352588c4b1/companies" + url: "/contacts/64a5d4956406a57d91d9a823/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64021ca14c21b4352588c4b1/subscriptions" + url: "/contacts/64a5d4956406a57d91d9a823/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64021ca14c21b4352588c4b1/subscriptions" + url: "/contacts/64a5d4956406a57d91d9a823/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3347,12 +3329,24 @@ paths: Unauthorized: value: type: error.list - request_id: f0ebf84f-1b41-4af1-91e0-df00e905ad8e + request_id: 92a20b86-5f4d-44ac-ac86-0d09f4ad3630 errors: - code: unauthorized message: Access Token Invalid schema: "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + oneOf: + - "$ref": "#/components/schemas/update_contact_request" + examples: + successful: + summary: successful + value: + email: joebloggs@intercom.io + name: joe bloggs get: summary: Get a contact parameters: @@ -3380,8 +3374,8 @@ paths: successful: value: type: contact - id: 64021ca34c21b4352588c4b2 - workspace_id: this_is_an_id243_that_should_be_at_least_ + id: 64a5d4976406a57d91d9a824 + workspace_id: this_is_an_id241_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3395,9 +3389,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677860003 - updated_at: 1677860003 - signed_up_at: 1677860003 + created_at: 1688589463 + updated_at: 1688589463 + signed_up_at: 1688589463 last_seen_at: last_replied_at: last_contacted_at: @@ -3431,31 +3425,31 @@ paths: tags: type: list data: [] - url: "/contacts/64021ca34c21b4352588c4b2/tags" + url: "/contacts/64a5d4976406a57d91d9a824/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64021ca34c21b4352588c4b2/notes" + url: "/contacts/64a5d4976406a57d91d9a824/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64021ca34c21b4352588c4b2/companies" + url: "/contacts/64a5d4976406a57d91d9a824/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64021ca34c21b4352588c4b2/subscriptions" + url: "/contacts/64a5d4976406a57d91d9a824/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64021ca34c21b4352588c4b2/subscriptions" + url: "/contacts/64a5d4976406a57d91d9a824/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3474,7 +3468,7 @@ paths: Unauthorized: value: type: error.list - request_id: 35cb1e23-eeb5-44ec-a928-8ba14cc9d2d8 + request_id: 51d9f61b-50ca-42a7-8b45-2f72fee8172d errors: - code: unauthorized message: Access Token Invalid @@ -3505,7 +3499,7 @@ paths: examples: successful: value: - id: 64021ca74c21b4352588c4b3 + id: 64a5d4996406a57d91d9a825 object: contact deleted: true schema: @@ -3518,7 +3512,7 @@ paths: Unauthorized: value: type: error.list - request_id: e38bf5c6-9cd9-44d9-a6aa-f58041d4094d + request_id: e57c28d0-c6a1-4884-b529-2ff840f73ef5 errors: - code: unauthorized message: Access Token Invalid @@ -3546,8 +3540,8 @@ paths: successful: value: type: contact - id: 64021caa4c21b4352588c4b5 - workspace_id: this_is_an_id251_that_should_be_at_least_ + id: 64a5d49b6406a57d91d9a827 + workspace_id: this_is_an_id249_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3561,9 +3555,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677860010 - updated_at: 1677860010 - signed_up_at: 1677860010 + created_at: 1688589467 + updated_at: 1688589468 + signed_up_at: 1688589467 last_seen_at: last_replied_at: last_contacted_at: @@ -3597,31 +3591,31 @@ paths: tags: type: list data: [] - url: "/contacts/64021caa4c21b4352588c4b5/tags" + url: "/contacts/64a5d49b6406a57d91d9a827/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64021caa4c21b4352588c4b5/notes" + url: "/contacts/64a5d49b6406a57d91d9a827/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64021caa4c21b4352588c4b5/companies" + url: "/contacts/64a5d49b6406a57d91d9a827/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64021caa4c21b4352588c4b5/subscriptions" + url: "/contacts/64a5d49b6406a57d91d9a827/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64021caa4c21b4352588c4b5/subscriptions" + url: "/contacts/64a5d49b6406a57d91d9a827/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3640,7 +3634,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4bcac09e-d907-476b-8c0b-ac7a6ecd9133 + request_id: 0214ab7f-c419-4691-b16e-37110c8f7be1 errors: - code: unauthorized message: Access Token Invalid @@ -3655,8 +3649,8 @@ paths: successful: summary: successful value: - from: 64021caa4c21b4352588c4b4 - into: 64021caa4c21b4352588c4b5 + from: 64a5d49b6406a57d91d9a826 + into: 64a5d49b6406a57d91d9a827 "/contacts/search": post: summary: Search contacts @@ -3706,6 +3700,7 @@ paths: \ | String |\n| owner_id \ | Integer |\n| email | String |\n| phone | String + \ |\n| formatted_phone | String \ |\n| external_id | String \ |\n| created_at | Date (UNIX Timestamp) |\n| signed_up_at | Date (UNIX Timestamp) @@ -3764,7 +3759,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5d0519ce-4a1e-4bdd-be93-6c4d470b412b + request_id: eeaf947b-ca8d-4d83-bf78-ede4e722ed78 errors: - code: unauthorized message: Access Token Invalid @@ -3784,15 +3779,15 @@ paths: value: - field: id operator: "=" - value: 64021cad4c21b4352588c4b8 + value: 64a5d49d6406a57d91d9a82a - operator: OR value: - field: id operator: "=" - value: 64021cad4c21b4352588c4b8 + value: 64a5d49d6406a57d91d9a82a - field: id operator: "=" - value: 64021cad4c21b4352588c4b8 + value: 64a5d49d6406a57d91d9a82a "/contacts": get: summary: List all contacts @@ -3831,7 +3826,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2696d16a-c761-44b4-a91f-0309f364b9b8 + request_id: 87597d1c-fdf3-4860-8818-c25e356c1a8f errors: - code: unauthorized message: Access Token Invalid @@ -3857,8 +3852,8 @@ paths: successful: value: type: contact - id: 64021cb34c21b4352588c4ba - workspace_id: this_is_an_id263_that_should_be_at_least_ + id: 64a5d4a26406a57d91d9a82c + workspace_id: this_is_an_id261_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3872,8 +3867,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1677860019 - updated_at: 1677860019 + created_at: 1688589474 + updated_at: 1688589474 signed_up_at: last_seen_at: last_replied_at: @@ -3908,31 +3903,31 @@ paths: tags: type: list data: [] - url: "/contacts/64021cb34c21b4352588c4ba/tags" + url: "/contacts/64a5d4a26406a57d91d9a82c/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/64021cb34c21b4352588c4ba/notes" + url: "/contacts/64a5d4a26406a57d91d9a82c/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/64021cb34c21b4352588c4ba/companies" + url: "/contacts/64a5d4a26406a57d91d9a82c/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/64021cb34c21b4352588c4ba/subscriptions" + url: "/contacts/64a5d4a26406a57d91d9a82c/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/64021cb34c21b4352588c4ba/subscriptions" + url: "/contacts/64a5d4a26406a57d91d9a82c/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3951,7 +3946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 387c0c7d-9e59-4f45-a164-d41a6777b2a9 + request_id: fd92e471-9c1a-4ea4-a37c-3d9af2bb48ee errors: - code: unauthorized message: Access Token Invalid @@ -3995,7 +3990,7 @@ paths: examples: successful: value: - id: 64021cb54c21b4352588c4bb + id: 64a5d4a36406a57d91d9a82d object: contact archived: true schema: @@ -4027,7 +4022,7 @@ paths: examples: successful: value: - id: 64021cb64c21b4352588c4bc + id: 64a5d4a46406a57d91d9a82e object: contact archived: false schema: @@ -4062,7 +4057,7 @@ paths: successful: value: type: tag - id: '62' + id: '318852' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4074,7 +4069,7 @@ paths: Conversation not found: value: type: error.list - request_id: fecacc02-29c3-4af2-a790-0ad5e1e2bb0f + request_id: 554feb96-6d7e-4dc7-8987-5f5f9506e921 errors: - code: not_found message: Conversation not found @@ -4088,7 +4083,7 @@ paths: Unauthorized: value: type: error.list - request_id: b34fc7bc-5b7d-47a4-a406-8015a6cad3f9 + request_id: 7554f3fb-22e6-416a-bee2-808965cb74f2 errors: - code: unauthorized message: Access Token Invalid @@ -4117,13 +4112,13 @@ paths: successful: summary: successful value: - id: 62 - admin_id: 991266825 + id: 318852 + admin_id: 991266365 conversation_not_found: summary: Conversation not found value: - id: 63 - admin_id: 991266827 + id: 318853 + admin_id: 991266367 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4161,7 +4156,7 @@ paths: successful: value: type: tag - id: '65' + id: '318855' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4173,14 +4168,14 @@ paths: Conversation not found: value: type: error.list - request_id: 8c39dd69-e586-4128-b7a6-262a3cb305b7 + request_id: 7ebad4a9-e41f-4b1f-a34d-70b00286b41a errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 759e300c-1982-4ee7-94d7-ba47665800e0 + request_id: 7f886ac6-e95a-4b44-b304-cdeef895cd59 errors: - code: tag_not_found message: Tag not found @@ -4194,7 +4189,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8658f87f-dcf6-461f-9704-7c99d0186f40 + request_id: 50cbd431-d994-4ebe-9d84-19303ede8200 errors: - code: unauthorized message: Access Token Invalid @@ -4217,15 +4212,15 @@ paths: successful: summary: successful value: - admin_id: 991266829 + admin_id: 991266369 conversation_not_found: summary: Conversation not found value: - admin_id: 991266831 + admin_id: 991266371 tag_not_found: summary: Tag not found value: - admin_id: 991266832 + admin_id: 991266372 "/conversations": get: summary: List all conversations @@ -4272,22 +4267,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '148' - created_at: 1677860034 - updated_at: 1677860034 + id: '712358' + created_at: 1688589484 + updated_at: 1688589484 waiting_since: snoozed_until: source: type: conversation - id: '403918149' + id: '403918065' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266835' - name: Ciaran159 Lee - email: admin159@email.com + id: '991266375' + name: Ciaran158 Lee + email: admin158@email.com attachments: [] url: redacted: false @@ -4295,7 +4290,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021cc14c21b4352588c4c0 + id: 64a5d4ac6406a57d91d9a832 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4323,7 +4318,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1dd7ff23-4ff9-4c1a-ba6a-3508c6938b60 + request_id: bfcc001e-1b90-4587-a96e-1e8bcd039833 errors: - code: unauthorized message: Access Token Invalid @@ -4337,7 +4332,7 @@ paths: API plan restricted: value: type: error.list - request_id: aefa6c41-f7bb-48c3-b86c-5bfc9ebdcc79 + request_id: 1d70be85-a4ac-447b-a475-f0440bb718eb errors: - code: api_plan_restricted message: Active subscription needed. @@ -4369,11 +4364,11 @@ paths: conversation created: value: type: user_message - id: '403918159' - created_at: 1677860062 + id: '403918075' + created_at: 1688589509 body: Hello there message_type: inapp - conversation_id: '173' + conversation_id: '712383' schema: "$ref": "#/components/schemas/message" '404': @@ -4384,7 +4379,7 @@ paths: Contact Not Found: value: type: error.list - request_id: 4d9acdd8-46c2-4b5e-9bc9-61db597471ea + request_id: 557ef3ab-1018-4c59-a7a9-a531c2ed5e09 errors: - code: not_found message: User Not Found @@ -4398,7 +4393,7 @@ paths: Unauthorized: value: type: error.list - request_id: b0a55bad-14a9-42de-8e5e-4eeb13fcbb1a + request_id: 67696841-6fb6-4d89-93e5-3176d70e1f92 errors: - code: unauthorized message: Access Token Invalid @@ -4412,7 +4407,7 @@ paths: API plan restricted: value: type: error.list - request_id: e67c4ded-52e6-4c5f-bf4d-3c7ed2370742 + request_id: 49e14f15-784c-4139-b4ec-607e0f63e967 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4429,7 +4424,7 @@ paths: value: from: type: user - id: 64021cdd4c21b4352588c4d5 + id: 64a5d4c36406a57d91d9a847 body: Hello there contact_not_found: summary: Contact Not Found @@ -4467,7 +4462,11 @@ paths: will return a single Conversation model with all its conversation parts.\n\n> \U0001F6A7 Hard limit of 500 parts\n>\n> The maximum number of conversation parts that can be returned via the API is 500. If you have more than that - we will return the 500 most recent conversation parts.\n\n" + we will return the 500 most recent conversation parts.\n\n> \U0001F4D8 Bot + name in conversation parts\n>\n> For conversation parts generated by a bot, + bot name will depend on the following:\n- Customers that never turned on AI + answers will have `operator` as the bot name\n- Customers that have turned + on AI answers at some point will have `fin` as the bot name\n" responses: '200': description: conversation found @@ -4477,22 +4476,22 @@ paths: conversation found: value: type: conversation - id: '177' - created_at: 1677860071 - updated_at: 1677860071 + id: '712387' + created_at: 1688589517 + updated_at: 1688589517 waiting_since: snoozed_until: source: type: conversation - id: '403918163' + id: '403918079' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266849' - name: Ciaran166 Lee - email: admin166@email.com + id: '991266389' + name: Ciaran165 Lee + email: admin165@email.com attachments: [] url: redacted: false @@ -4500,7 +4499,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021ce64c21b4352588c4d9 + id: 64a5d4cd6406a57d91d9a84b first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4532,7 +4531,7 @@ paths: Not found: value: type: error.list - request_id: ba633a29-3fcf-4f6f-b105-6ea45f77740b + request_id: d04df5c7-4f51-42c2-bcd3-004c287ad278 errors: - code: not_found message: Resource Not Found @@ -4546,7 +4545,7 @@ paths: Unauthorized: value: type: error.list - request_id: b2035e8c-c55e-45c0-9550-644c0834703c + request_id: 51728fd3-cded-43dd-a3f2-864a22d6e421 errors: - code: unauthorized message: Access Token Invalid @@ -4560,7 +4559,7 @@ paths: API plan restricted: value: type: error.list - request_id: 9ba521a4-1950-48d6-a523-37f1b2e2273a + request_id: a8a711a2-7387-4957-b3c9-edc33bfd5638 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4603,22 +4602,22 @@ paths: conversation found: value: type: conversation - id: '181' - created_at: 1677860080 - updated_at: 1677860082 + id: '712391' + created_at: 1688589525 + updated_at: 1688589528 waiting_since: snoozed_until: source: type: conversation - id: '403918167' + id: '403918083' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266857' - name: Ciaran170 Lee - email: admin170@email.com + id: '991266397' + name: Ciaran169 Lee + email: admin169@email.com attachments: [] url: redacted: false @@ -4626,7 +4625,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021cef4c21b4352588c4dd + id: 64a5d4d56406a57d91d9a84f first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4650,34 +4649,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '28' + id: '708321' part_type: conversation_attribute_updated_by_admin body: - created_at: 1677860082 - updated_at: 1677860082 - notified_at: 1677860082 + created_at: 1688589528 + updated_at: 1688589528 + notified_at: 1688589528 assigned_to: author: - id: '991266858' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '29' + id: '708322' part_type: conversation_attribute_updated_by_admin body: - created_at: 1677860082 - updated_at: 1677860082 - notified_at: 1677860082 + created_at: 1688589528 + updated_at: 1688589528 + notified_at: 1688589528 assigned_to: author: - id: '991266858' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4692,7 +4691,7 @@ paths: Not found: value: type: error.list - request_id: 7a3f7e62-17d4-46d8-b05d-28735f0794ee + request_id: c89fc0c7-37d9-476e-8a86-bd5eaabbdd62 errors: - code: not_found message: Resource Not Found @@ -4706,7 +4705,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7f9d75c2-645f-4c8a-94e0-92f40c818baa + request_id: bbaa6d13-da3d-4c57-9d18-b49611ff0855 errors: - code: unauthorized message: Access Token Invalid @@ -4720,7 +4719,7 @@ paths: API plan restricted: value: type: error.list - request_id: 8c01da67-1449-4f19-aa15-e4d6ae3842df + request_id: ba6e4c13-7930-483d-bfb8-38c1255d3d40 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4839,22 +4838,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '185' - created_at: 1677860093 - updated_at: 1677860093 + id: '712395' + created_at: 1688589537 + updated_at: 1688589537 waiting_since: snoozed_until: source: type: conversation - id: '403918171' + id: '403918087' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266881' - name: Ciaran190 Lee - email: admin190@email.com + id: '991266421' + name: Ciaran189 Lee + email: admin189@email.com attachments: [] url: redacted: false @@ -4862,7 +4861,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021cfc4c21b4352588c4e1 + id: 64a5d4e06406a57d91d9a853 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4896,15 +4895,15 @@ paths: value: - field: id operator: "=" - value: '185' + value: '712395' - operator: OR value: - field: id operator: "=" - value: '185' + value: '712395' - field: id operator: "=" - value: '185' + value: '712395' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4943,22 +4942,22 @@ paths: User reply: value: type: conversation - id: '193' - created_at: 1677860100 - updated_at: 1677860102 - waiting_since: 1677860102 + id: '712403' + created_at: 1688589545 + updated_at: 1688589547 + waiting_since: 1688589547 snoozed_until: source: type: conversation - id: '403918174' + id: '403918090' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266883' - name: Ciaran191 Lee - email: admin191@email.com + id: '991266423' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -4966,9 +4965,9 @@ paths: type: contact.list contacts: - type: contact - id: 64021d044c21b4352588c4e8 + id: 64a5d4e96406a57d91d9a85a first_contact_reply: - created_at: 1677860102 + created_at: 1688589547 type: conversation url: admin_assignee_id: @@ -4991,15 +4990,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '31' + id: '708324' part_type: comment body: "

    Thanks again :)

    " - created_at: 1677860102 - updated_at: 1677860102 - notified_at: 1677860102 + created_at: 1688589547 + updated_at: 1688589547 + notified_at: 1688589547 assigned_to: author: - id: 64021d044c21b4352588c4e8 + id: 64a5d4e96406a57d91d9a85a type: user name: Joe Bloggs email: joe@bloggs.com @@ -5010,22 +5009,22 @@ paths: Admin note reply: value: type: conversation - id: '194' - created_at: 1677860105 - updated_at: 1677860106 + id: '712404' + created_at: 1688589548 + updated_at: 1688589549 waiting_since: snoozed_until: source: type: conversation - id: '403918175' + id: '403918091' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266885' - name: Ciaran192 Lee - email: admin192@email.com + id: '991266425' + name: Ciaran191 Lee + email: admin191@email.com attachments: [] url: redacted: false @@ -5033,7 +5032,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021d084c21b4352588c4e9 + id: 64a5d4ec6406a57d91d9a85b first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5055,7 +5054,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '32' + id: '708325' part_type: note body: |-

    An Unordered HTML List

    @@ -5070,15 +5069,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1677860106 - updated_at: 1677860106 - notified_at: 1677860106 + created_at: 1688589549 + updated_at: 1688589549 + notified_at: 1688589549 assigned_to: author: - id: '991266885' + id: '991266425' type: admin - name: Ciaran192 Lee - email: admin192@email.com + name: Ciaran191 Lee + email: admin191@email.com attachments: [] external_id: redacted: false @@ -5086,22 +5085,22 @@ paths: User last conversation reply: value: type: conversation - id: '196' - created_at: 1677860110 - updated_at: 1677860111 - waiting_since: 1677860111 + id: '712406' + created_at: 1688589553 + updated_at: 1688589554 + waiting_since: 1688589554 snoozed_until: source: type: conversation - id: '403918177' + id: '403918093' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266889' - name: Ciaran194 Lee - email: admin194@email.com + id: '991266429' + name: Ciaran193 Lee + email: admin193@email.com attachments: [] url: redacted: false @@ -5109,9 +5108,9 @@ paths: type: contact.list contacts: - type: contact - id: 64021d0d4c21b4352588c4eb + id: 64a5d4f06406a57d91d9a85d first_contact_reply: - created_at: 1677860111 + created_at: 1688589554 type: conversation url: admin_assignee_id: @@ -5134,15 +5133,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '33' + id: '708326' part_type: comment body: "

    Thanks again :)

    " - created_at: 1677860111 - updated_at: 1677860111 - notified_at: 1677860111 + created_at: 1688589554 + updated_at: 1688589554 + notified_at: 1688589554 assigned_to: author: - id: 64021d0d4c21b4352588c4eb + id: 64a5d4f06406a57d91d9a85d type: user name: Joe Bloggs email: joe@bloggs.com @@ -5160,7 +5159,7 @@ paths: Not found: value: type: error.list - request_id: e1b65dc0-1921-4f14-b65d-ddfb3f1eff34 + request_id: c7dbbaba-dc9c-4875-86c4-fea33446ea05 errors: - code: not_found message: Resource Not Found @@ -5174,7 +5173,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2c889292-0099-434f-a129-87eecda417de + request_id: 77d881c1-06e5-466a-bc2a-23d1eaba5ff3 errors: - code: unauthorized message: Access Token Invalid @@ -5188,7 +5187,7 @@ paths: API plan restricted: value: type: error.list - request_id: d3b9075a-276b-4e0d-8d54-88a4317902a6 + request_id: 4f3eefa5-b9b2-4f61-8459-79603df9b877 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5205,14 +5204,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 64021d044c21b4352588c4e8 + intercom_user_id: 64a5d4e96406a57d91d9a85a body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991266885 + admin_id: 991266425 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5222,14 +5221,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 64021d0d4c21b4352588c4eb + intercom_user_id: 64a5d4f06406a57d91d9a85d body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 64021d124c21b4352588c4ec + intercom_user_id: 64a5d4f46406a57d91d9a85e body: Thanks again :) "/conversations/{id}/parts": post: @@ -5263,22 +5262,22 @@ paths: Close a conversation: value: type: conversation - id: '200' - created_at: 1677860122 - updated_at: 1677860123 + id: '712410' + created_at: 1688589562 + updated_at: 1688589563 waiting_since: snoozed_until: source: type: conversation - id: '403918181' + id: '403918097' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266897' - name: Ciaran198 Lee - email: admin198@email.com + id: '991266437' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5286,7 +5285,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021d194c21b4352588c4ef + id: 64a5d4fa6406a57d91d9a861 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5308,18 +5307,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '34' + id: '708327' part_type: close body: "

    Goodbye :)

    " - created_at: 1677860123 - updated_at: 1677860123 - notified_at: 1677860123 + created_at: 1688589563 + updated_at: 1688589563 + notified_at: 1688589563 assigned_to: author: - id: '991266897' + id: '991266437' type: admin - name: Ciaran198 Lee - email: admin198@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5327,22 +5326,22 @@ paths: Snooze a conversation: value: type: conversation - id: '201' - created_at: 1677860126 - updated_at: 1677860127 + id: '712411' + created_at: 1688589565 + updated_at: 1688589566 waiting_since: - snoozed_until: 1677863726 + snoozed_until: 1688593166 source: type: conversation - id: '403918182' + id: '403918098' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266899' - name: Ciaran199 Lee - email: admin199@email.com + id: '991266439' + name: Ciaran198 Lee + email: admin198@email.com attachments: [] url: redacted: false @@ -5350,7 +5349,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021d1d4c21b4352588c4f0 + id: 64a5d4fd6406a57d91d9a862 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5372,18 +5371,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '35' + id: '708328' part_type: snoozed body: - created_at: 1677860127 - updated_at: 1677860127 - notified_at: 1677860127 + created_at: 1688589566 + updated_at: 1688589566 + notified_at: 1688589566 assigned_to: author: - id: '991266899' + id: '991266439' type: admin - name: Ciaran199 Lee - email: admin199@email.com + name: Ciaran198 Lee + email: admin198@email.com attachments: [] external_id: redacted: false @@ -5391,22 +5390,22 @@ paths: Open a conversation: value: type: conversation - id: '206' - created_at: 1677860126 - updated_at: 1677860135 + id: '712416' + created_at: 1688589565 + updated_at: 1688589575 waiting_since: snoozed_until: source: type: conversation - id: '403918183' + id: '403918099' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266901' - name: Ciaran200 Lee - email: admin200@email.com + id: '991266441' + name: Ciaran199 Lee + email: admin199@email.com attachments: [] url: redacted: false @@ -5414,7 +5413,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021d234c21b4352588c4f5 + id: 64a5d5036406a57d91d9a867 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5436,18 +5435,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '37' + id: '708330' part_type: open body: - created_at: 1677860135 - updated_at: 1677860135 - notified_at: 1677860135 + created_at: 1688589575 + updated_at: 1688589575 + notified_at: 1688589575 assigned_to: author: - id: '991266901' + id: '991266441' type: admin - name: Ciaran200 Lee - email: admin200@email.com + name: Ciaran199 Lee + email: admin199@email.com attachments: [] external_id: redacted: false @@ -5455,22 +5454,22 @@ paths: Assign a conversation: value: type: conversation - id: '210' - created_at: 1677860137 - updated_at: 1677860138 + id: '712420' + created_at: 1688589577 + updated_at: 1688589578 waiting_since: snoozed_until: source: type: conversation - id: '403918186' + id: '403918102' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266903' - name: Ciaran201 Lee - email: admin201@email.com + id: '991266443' + name: Ciaran200 Lee + email: admin200@email.com attachments: [] url: redacted: false @@ -5478,9 +5477,9 @@ paths: type: contact.list contacts: - type: contact - id: 64021d294c21b4352588c4f8 + id: 64a5d5086406a57d91d9a86a first_contact_reply: - admin_assignee_id: 991266903 + admin_assignee_id: 991266443 team_assignee_id: open: true state: open @@ -5500,20 +5499,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '38' + id: '708331' part_type: assign_and_reopen body: - created_at: 1677860139 - updated_at: 1677860139 - notified_at: 1677860139 + created_at: 1688589578 + updated_at: 1688589578 + notified_at: 1688589578 assigned_to: type: admin - id: '991266903' + id: '991266443' author: - id: '991266903' + id: '991266443' type: admin - name: Ciaran201 Lee - email: admin201@email.com + name: Ciaran200 Lee + email: admin200@email.com attachments: [] external_id: redacted: false @@ -5528,7 +5527,7 @@ paths: Not found: value: type: error.list - request_id: 055ccd3c-0c7e-4d1b-bae9-6e6af44ac989 + request_id: 2ded0add-8f68-4f54-b981-0be50232a3cb errors: - code: not_found message: Resource Not Found @@ -5542,7 +5541,7 @@ paths: Unauthorized: value: type: error.list - request_id: f3c039f5-2a06-4750-8976-927f72a8a4f7 + request_id: 14a94eb6-8ee6-4aff-9fbb-a303dd74b824 errors: - code: unauthorized message: Access Token Invalid @@ -5556,7 +5555,7 @@ paths: API plan restricted: value: type: error.list - request_id: 7768f8fb-8f63-47cf-ab30-ee77f2c49473 + request_id: 23f6504a-571d-4ec2-bbb9-188317b1b683 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5577,32 +5576,32 @@ paths: value: message_type: close type: admin - admin_id: 991266897 + admin_id: 991266437 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991266899 - snoozed_until: 1677863726 + admin_id: 991266439 + snoozed_until: 1688593166 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991266901 + admin_id: 991266441 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991266903 - assignee_id: 991266903 + admin_id: 991266443 + assignee_id: 991266443 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991266905 + admin_id: 991266445 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5633,22 +5632,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '214' - created_at: 1677860149 - updated_at: 1677860151 + id: '712424' + created_at: 1688589586 + updated_at: 1688589587 waiting_since: snoozed_until: source: type: conversation - id: '403918190' + id: '403918106' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266911' - name: Ciaran205 Lee - email: admin205@email.com + id: '991266451' + name: Ciaran204 Lee + email: admin204@email.com attachments: [] url: redacted: false @@ -5656,7 +5655,7 @@ paths: type: contact.list contacts: - type: contact - id: 64021d344c21b4352588c4fc + id: 64a5d5116406a57d91d9a86e first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5678,20 +5677,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '39' + id: '708332' part_type: default_assignment body: - created_at: 1677860151 - updated_at: 1677860151 - notified_at: 1677860151 + created_at: 1688589587 + updated_at: 1688589587 + notified_at: 1688589587 assigned_to: type: nobody_admin id: author: - id: '991266912' + id: '991266452' type: bot name: Operator - email: operator+this_is_an_id345_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id343_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5706,7 +5705,7 @@ paths: Not found: value: type: error.list - request_id: 40a535e4-e4cc-4c40-9d62-4616d731681e + request_id: 2b8f0d4f-618c-4af8-b32c-d5edc6b998b0 errors: - code: not_found message: Resource Not Found @@ -5720,7 +5719,7 @@ paths: Unauthorized: value: type: error.list - request_id: 980fc47d-5681-43f9-90aa-a537d3f7310d + request_id: 9f87c07c-862d-40d2-918e-fffdd02cf6fc errors: - code: unauthorized message: Access Token Invalid @@ -5734,7 +5733,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6e4fa8b5-0ea9-429b-87e8-73e765829e28 + request_id: 5e663529-5b57-490c-ac66-467fddc42d83 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5773,7 +5772,7 @@ paths: value: customers: - type: user - id: 64021d3f4c21b4352588c500 + id: 64a5d51b6406a57d91d9a872 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5784,7 +5783,7 @@ paths: Not found: value: type: error.list - request_id: d1d219d9-5684-4f17-b4e8-d7810a1f7c19 + request_id: 2397bd6f-7dc4-4dcf-ad80-efcdff13a731 errors: - code: not_found message: Resource Not Found @@ -5798,7 +5797,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4f07bfba-8d8c-4d82-a796-6a57949eb54b + request_id: 0a982d8e-e341-48c8-bc78-b8b9f0a6d161 errors: - code: unauthorized message: Access Token Invalid @@ -5812,7 +5811,7 @@ paths: API plan restricted: value: type: error.list - request_id: feb9929d-8902-4913-ac20-0a68b4e65a1a + request_id: f8974e78-db12-4266-a502-74efe673c743 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5827,15 +5826,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991266919 + admin_id: 991266459 customer: - intercom_user_id: 64021d3f4c21b4352588c500 + intercom_user_id: 64a5d51b6406a57d91d9a872 not_found: summary: Not found value: - admin_id: 991266921 + admin_id: 991266461 customer: - intercom_user_id: 64021d414c21b4352588c501 + intercom_user_id: 64a5d51d6406a57d91d9a873 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5876,7 +5875,7 @@ paths: value: customers: - type: user - id: 64021d4f4c21b4352588c50b + id: 64a5d52a6406a57d91d9a87d schema: "$ref": "#/components/schemas/conversation" '404': @@ -5887,14 +5886,14 @@ paths: Conversation not found: value: type: error.list - request_id: 52fd4ec8-9ac2-44d2-ab83-56fb729aa375 + request_id: 1da05544-5728-46ac-b752-fd5855741f57 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: cae1d589-4f86-4d9e-906f-846e9d2aec7d + request_id: b1c074cf-4dbc-4ce5-908e-eac76a74ace3 errors: - code: not_found message: User Not Found @@ -5908,7 +5907,7 @@ paths: Last customer: value: type: error.list - request_id: 8f240ce9-0227-444d-b459-925dae826a55 + request_id: 0a29ffe0-5ae1-4dae-8222-9eada2b39ae6 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5922,7 +5921,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2a7b12f1-dcf3-4745-829c-99bb3f81b39a + request_id: e4618e28-5f56-48b6-8fb3-f7a25afa2573 errors: - code: unauthorized message: Access Token Invalid @@ -5936,7 +5935,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6e07134f-98c6-4e41-a01b-4866d0395c67 + request_id: 0f75b39c-e274-4d63-8a32-4cebcc110fc7 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5951,27 +5950,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991266927 + admin_id: 991266467 customer: - intercom_user_id: 64021d494c21b4352588c504 + intercom_user_id: 64a5d5236406a57d91d9a876 conversation_not_found: summary: Conversation not found value: - admin_id: 991266929 + admin_id: 991266469 customer: - intercom_user_id: 64021d514c21b4352588c50c + intercom_user_id: 64a5d52c6406a57d91d9a87e contact_not_found: summary: Contact not found value: - admin_id: 991266931 + admin_id: 991266471 customer: - intercom_user_id: 64021d5a4c21b4352588c513 + intercom_user_id: 64a5d5336406a57d91d9a885 last_customer: summary: Last customer value: - admin_id: 991266933 + admin_id: 991266473 customer: - intercom_user_id: 64021d624c21b4352588c51a + intercom_user_id: 64a5d53b6406a57d91d9a88c "/conversations/redact": post: summary: Redact a conversation part @@ -5998,22 +5997,22 @@ paths: Redact a conversation part: value: type: conversation - id: '270' - created_at: 1677860220 - updated_at: 1677860223 - waiting_since: 1677860221 + id: '712480' + created_at: 1688589652 + updated_at: 1688589655 + waiting_since: 1688589654 snoozed_until: source: type: conversation - id: '403918216' + id: '403918132' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266939' - name: Ciaran219 Lee - email: admin219@email.com + id: '991266479' + name: Ciaran218 Lee + email: admin218@email.com attachments: [] url: redacted: false @@ -6021,9 +6020,9 @@ paths: type: contact.list contacts: - type: contact - id: 64021d7c4c21b4352588c52f + id: 64a5d5546406a57d91d9a8a1 first_contact_reply: - created_at: 1677860221 + created_at: 1688589654 type: conversation url: admin_assignee_id: @@ -6046,15 +6045,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '47' + id: '708340' part_type: comment body: "

    This message was deleted

    " - created_at: 1677860221 - updated_at: 1677860223 - notified_at: 1677860221 + created_at: 1688589654 + updated_at: 1688589655 + notified_at: 1688589654 assigned_to: author: - id: 64021d7c4c21b4352588c52f + id: 64a5d5546406a57d91d9a8a1 type: user name: Joe Bloggs email: joe@bloggs.com @@ -6072,7 +6071,7 @@ paths: Not found: value: type: error.list - request_id: 8fc4a3db-df4a-47a7-bd98-23ef336538ad + request_id: 920bd56e-5411-4003-8b82-3dd8ac3ff7ad errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6086,7 +6085,7 @@ paths: Unauthorized: value: type: error.list - request_id: 26dcfb3a-041c-4fa0-af0f-8b0a8aaabd4e + request_id: 2fb8f481-556b-4a3f-97df-01f041b14a5a errors: - code: unauthorized message: Access Token Invalid @@ -6102,8 +6101,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 270 - conversation_part_id: 47 + conversation_id: 712480 + conversation_part_id: 708340 not_found: summary: Not found value: @@ -6279,7 +6278,7 @@ paths: custom: false archived: false model: company - - id: 33 + - id: 187681 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6291,9 +6290,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266945' - created_at: 1677860230 - updated_at: 1677860230 + admin_id: '991266485' + created_at: 1688589661 + updated_at: 1688589661 model: company - type: data_attribute name: id @@ -6360,7 +6359,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9d56881e-583f-413f-bb6a-beaaabe717da + request_id: 157c2121-05ed-457c-91fc-96aee4aaf1b5 errors: - code: unauthorized message: Access Token Invalid @@ -6385,7 +6384,7 @@ paths: examples: Successful: value: - id: 36 + id: 187684 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6395,9 +6394,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266947' - created_at: 1677860231 - updated_at: 1677860231 + admin_id: '991266487' + created_at: 1688589662 + updated_at: 1688589662 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6409,7 +6408,7 @@ paths: Same name already exists: value: type: error.list - request_id: 9e83ed4b-ed41-4277-816c-f0851c7ed403 + request_id: b1b24866-3847-43b1-9b56-0a7b9bcdfbbf errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6417,7 +6416,7 @@ paths: Invalid name: value: type: error.list - request_id: 0cc466f6-a0f6-40e2-afd5-1de39a725228 + request_id: 58011b06-9b22-468b-a5b3-2683f298b91d errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6425,7 +6424,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 87d716ab-903c-4887-9103-f3c844ddf2e7 + request_id: 69f06e28-1330-4ffa-962c-77b2aaa6f451 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6433,14 +6432,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: 73817dcd-15d9-4c5a-9201-bbd7ccfb13e6 + request_id: '09d895fe-a002-4add-ac72-01731c653afd' errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: c56ba85a-b06d-42a3-b27a-071fe024889d + request_id: f6ed7a1a-02a5-41d2-afa0-0a3ce4e6bed4 errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6455,7 +6454,7 @@ paths: Unauthorized: value: type: error.list - request_id: add27613-7188-4e32-b9c5-77d5af2f6124 + request_id: ca6eacba-f219-4886-aad8-6b7bdd992d65 errors: - code: unauthorized message: Access Token Invalid @@ -6534,7 +6533,7 @@ paths: examples: Successful: value: - id: 43 + id: 187691 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6548,9 +6547,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266954' - created_at: 1677860237 - updated_at: 1677860237 + admin_id: '991266494' + created_at: 1688589666 + updated_at: 1688589666 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6562,7 +6561,7 @@ paths: Too few options in list: value: type: error.list - request_id: d7576bbe-419c-4434-b70a-dd9c6367c877 + request_id: f8116535-bced-45a4-8292-540542dbfb3d errors: - code: parameter_invalid message: Options isn't an array @@ -6576,7 +6575,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: ef25edb9-5fbc-4891-af3c-5d2501a3a442 + request_id: 96cfb48a-054b-48e8-9156-ccd7450c389d errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6590,7 +6589,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 4db3e028-8a6b-464e-9ff9-d187b1730a57 + request_id: 1eb65753-574d-4941-bcff-c6251c3f0588 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6605,7 +6604,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5be79865-e4c0-404e-b673-2ab0dec0e4e2 + request_id: 458d306c-c7f2-41da-bd87-234488a26016 errors: - code: unauthorized message: Access Token Invalid @@ -6724,7 +6723,7 @@ paths: Unauthorized: value: type: error.list - request_id: 65a87f9f-b894-4dc9-aec6-af16f7c9e9ab + request_id: fb5d12d1-0f5e-4318-a273-d9eb082db75b errors: - code: unauthorized message: Access Token Invalid @@ -6811,7 +6810,7 @@ paths: pages: next: http://api.intercom.test/events?next page email: user24@email.com - intercom_user_id: 64021d9c4c21b4352588c546 + intercom_user_id: 64a5d56c6406a57d91d9a8b8 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6823,7 +6822,7 @@ paths: Unauthorized: value: type: error.list - request_id: d604ec3b-5511-4261-aece-6d17fc206ab9 + request_id: 78f23ff6-00b8-444d-9897-7c07e53287c4 errors: - code: unauthorized message: Access Token Invalid @@ -6854,7 +6853,7 @@ paths: Unauthorized: value: type: error.list - request_id: 554234b2-3d53-4cd1-9183-c86ac9b67612 + request_id: 9055c9e6-6721-4ebe-bdec-066a4c5ff5c2 errors: - code: unauthorized message: Access Token Invalid @@ -6898,7 +6897,7 @@ paths: examples: successful: value: - job_identifier: z150moqpbt5v46e6 + job_identifier: bfq7lmki8kxusga3 status: pending download_url: '' download_expires_at: '' @@ -6913,8 +6912,8 @@ paths: successful: summary: successful value: - created_at_after: 1677842255 - created_at_before: 1677860255 + created_at_after: 1688571678 + created_at_before: 1688589678 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -6948,7 +6947,7 @@ paths: examples: successful: value: - job_identifier: trx0d92ocdv2esxq + job_identifier: ibwuaw4jkz2ds2lj status: pending download_url: '' download_expires_at: '' @@ -6980,7 +6979,7 @@ paths: examples: successful: value: - job_identifier: l4qv3q6taskx2m6z + job_identifier: lfpi6ei1iyniicw7 status: canceled download_url: '' download_expires_at: '' @@ -7041,32 +7040,32 @@ paths: user message created: value: type: user_message - id: '403918225' - created_at: 1677860313 + id: '403918141' + created_at: 1688589717 body: heyy message_type: inapp - conversation_id: '284' + conversation_id: '712494' lead message created: value: type: user_message - id: '403918226' - created_at: 1677860315 + id: '403918142' + created_at: 1688589718 body: heyy message_type: inapp - conversation_id: '285' + conversation_id: '712495' admin message created: value: type: admin_message - id: '8' - created_at: 1677860317 + id: '467170' + created_at: 1688589719 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991266983' - name: Ciaran252 Lee - email: admin252@email.com + id: '991266523' + name: Ciaran251 Lee + email: admin251@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7079,14 +7078,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 0a873022-3acc-4084-ad4e-ec02d0d6fba8 + request_id: a7ba7082-8309-4beb-93e3-73ffe31800f1 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 6df31f91-1c45-42a6-a780-94aca096ce77 + request_id: c1a7dbf1-b248-4555-8cbc-f54b46f416db errors: - code: parameter_invalid message: Body is required @@ -7100,7 +7099,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 11499893-4e15-48dd-b216-a9dd200ed3fe + request_id: e8e7c0bc-0cac-432a-8f03-2369fadca574 errors: - code: parameter_not_found message: No subject supplied for email message @@ -7114,7 +7113,7 @@ paths: Unauthorized: value: type: error.list - request_id: 20cbc3bb-2b30-4ae2-ad2f-76cde093ba6d + request_id: 28386e83-55c9-473e-8588-7318e00d97bd errors: - code: unauthorized message: Access Token Invalid @@ -7128,7 +7127,7 @@ paths: API plan restricted: value: type: error.list - request_id: 9ffe0f8c-6192-463a-8aec-060aff1f601c + request_id: ec59d715-8ac1-47cb-8879-eb7a43448d0d errors: - code: api_plan_restricted message: Active subscription needed. @@ -7145,7 +7144,7 @@ paths: value: from: type: user - id: 64021dd84c21b4352588c59b + id: 64a5d5946406a57d91d9a90d body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7153,7 +7152,7 @@ paths: value: from: type: lead - id: 64021dda4c21b4352588c59c + id: 64a5d5966406a57d91d9a90e body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7161,10 +7160,10 @@ paths: value: from: type: admin - id: '991266983' + id: '991266523' to: type: user - id: 64021ddc4c21b4352588c59d + id: 64a5d5976406a57d91d9a90f message_type: conversation body: heyy no_body_supplied_for_message: @@ -7172,10 +7171,10 @@ paths: value: from: type: admin - id: '991266984' + id: '991266524' to: type: user - id: 64021ddd4c21b4352588c59e + id: 64a5d5986406a57d91d9a910 message_type: inapp body: subject: heyy @@ -7184,7 +7183,7 @@ paths: value: from: type: admin - id: '991266985' + id: '991266525' to: type: user user_id: '70' @@ -7195,10 +7194,10 @@ paths: value: from: type: admin - id: '991266986' + id: '991266526' to: type: user - id: 64021ddf4c21b4352588c5a0 + id: 64a5d5996406a57d91d9a912 message_type: email body: subject: heyy @@ -7229,12 +7228,12 @@ paths: total_pages: 1 type: pages data: - - id: '15' + - id: '395528' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266991 + sender_id: 991266531 state: draft labels: [] cover_image_url: @@ -7244,15 +7243,15 @@ paths: - - deliver_silently: false - created_at: 1677860322 - updated_at: 1677860322 + created_at: 1688589723 + updated_at: 1688589723 newsfeed_assignments: [] - - id: '16' + - id: '395529' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266993 + sender_id: 991266533 state: draft labels: [] cover_image_url: @@ -7262,8 +7261,8 @@ paths: - - deliver_silently: false - created_at: 1677860322 - updated_at: 1677860322 + created_at: 1688589723 + updated_at: 1688589723 newsfeed_assignments: [] total_count: 2 schema: @@ -7276,7 +7275,7 @@ paths: Unauthorized: value: type: error.list - request_id: d32bfed4-efde-4e24-9a48-d53068fa77ca + request_id: 28c2df85-d1df-4e8b-b770-8b172b379816 errors: - code: unauthorized message: Access Token Invalid @@ -7301,12 +7300,12 @@ paths: examples: successful: value: - id: '19' + id: '395532' type: news-item - workspace_id: this_is_an_id449_that_should_be_at_least_ + workspace_id: this_is_an_id447_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991267000 + sender_id: 991266540 state: live labels: - New @@ -7317,10 +7316,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1677860326 - updated_at: 1677860326 + created_at: 1688589725 + updated_at: 1688589725 newsfeed_assignments: - - newsfeed_id: 28 + - newsfeed_id: 400575 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7332,7 +7331,7 @@ paths: Unauthorized: value: type: error.list - request_id: c9fc7fdc-51cd-49df-8369-51cded3d0995 + request_id: ec0e8ba2-7a39-43bd-b3a0-02dcfb5470e4 errors: - code: unauthorized message: Access Token Invalid @@ -7353,14 +7352,14 @@ paths: - Product - Update - New - sender_id: 991267000 + sender_id: 991266540 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 28 + - newsfeed_id: 400575 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7389,12 +7388,12 @@ paths: examples: successful: value: - id: '20' + id: '395533' type: news-item - workspace_id: this_is_an_id453_that_should_be_at_least_ + workspace_id: this_is_an_id451_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267003 + sender_id: 991266543 state: live labels: [] cover_image_url: @@ -7404,11 +7403,11 @@ paths: - - deliver_silently: false - created_at: 1677860328 - updated_at: 1677860328 + created_at: 1688589727 + updated_at: 1688589727 newsfeed_assignments: - - newsfeed_id: 30 - published_at: 1677860329 + - newsfeed_id: 400577 + published_at: 1688589727 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7419,7 +7418,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 8332bdff-250e-4e56-a283-1e89fc097ba7 + request_id: 342f7963-1f5b-4670-b46b-8c0d7a0b8f3b errors: - code: not_found message: Resource Not Found @@ -7433,7 +7432,7 @@ paths: Unauthorized: value: type: error.list - request_id: 66128d41-5ce7-4204-9066-fa22ca25197a + request_id: d4cb986c-affa-4281-b3a2-3cdc1a3eb27e errors: - code: unauthorized message: Access Token Invalid @@ -7464,12 +7463,12 @@ paths: examples: successful: value: - id: '23' + id: '395536' type: news-item - workspace_id: this_is_an_id459_that_should_be_at_least_ + workspace_id: this_is_an_id457_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267011 + sender_id: 991266551 state: live labels: [] cover_image_url: @@ -7477,8 +7476,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1677860332 - updated_at: 1677860332 + created_at: 1688589729 + updated_at: 1688589729 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7490,7 +7489,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 4cb70daf-e942-4d76-8caa-677f0a264567 + request_id: bfd98cea-e5b4-4a33-9b63-3106e76441df errors: - code: not_found message: Resource Not Found @@ -7504,7 +7503,7 @@ paths: Unauthorized: value: type: error.list - request_id: b2180ba7-903a-42ac-b4bb-f24c1f164158 + request_id: b44bc18e-9b92-4739-a97a-7582874b5cf2 errors: - code: unauthorized message: Access Token Invalid @@ -7521,7 +7520,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267011 + sender_id: 991266551 reactions: - "\U0001F61D" - "\U0001F602" @@ -7530,7 +7529,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267014 + sender_id: 991266554 reactions: - "\U0001F61D" - "\U0001F602" @@ -7560,7 +7559,7 @@ paths: examples: successful: value: - id: '26' + id: '395539' object: news-item deleted: true schema: @@ -7573,7 +7572,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 9b88c8c9-bb80-4b32-bbae-83632ed1e3f7 + request_id: 89705d8f-fad8-44e5-8c76-a39af0e3238d errors: - code: not_found message: Resource Not Found @@ -7587,7 +7586,7 @@ paths: Unauthorized: value: type: error.list - request_id: d552a33c-cbcb-4629-b075-7d38a1cc6ef5 + request_id: 6d06f207-7e07-4b2a-8cd1-f8537f3f6391 errors: - code: unauthorized message: Access Token Invalid @@ -7640,7 +7639,7 @@ paths: Unauthorized: value: type: error.list - request_id: b85e83dd-6580-48c8-b598-9ab96bc0cab1 + request_id: 991a7a64-3de6-4513-ae95-d164f5f15a0a errors: - code: unauthorized message: Access Token Invalid @@ -7673,16 +7672,16 @@ paths: total_pages: 1 type: pages data: - - id: '43' + - id: '400590' type: newsfeed name: Visitor Feed - created_at: 1677860341 - updated_at: 1677860341 - - id: '44' + created_at: 1688589736 + updated_at: 1688589736 + - id: '400591' type: newsfeed name: Visitor Feed - created_at: 1677860341 - updated_at: 1677860341 + created_at: 1688589736 + updated_at: 1688589736 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7694,7 +7693,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0f82672f-5994-4964-b57f-12240c47db2e + request_id: 576096b1-4f2a-4126-8487-f57ff3a3530c errors: - code: unauthorized message: Access Token Invalid @@ -7728,11 +7727,11 @@ paths: examples: successful: value: - id: '47' + id: '400594' type: newsfeed name: Visitor Feed - created_at: 1677860343 - updated_at: 1677860343 + created_at: 1688589737 + updated_at: 1688589737 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7743,7 +7742,7 @@ paths: Unauthorized: value: type: error.list - request_id: 21ef16cd-0ff9-4c82-a655-b24a73470d2c + request_id: 5078c03f-b498-4fc9-9966-d90ca6f3ffc3 errors: - code: unauthorized message: Access Token Invalid @@ -7777,16 +7776,16 @@ paths: Note found: value: type: note - id: '44' - created_at: 1677169150 + id: '402611' + created_at: 1687898541 contact: type: contact - id: 64021dfe4c21b4352588c5ab + id: 64a5d5ad6406a57d91d9a91d author: type: admin - id: '991267030' - name: Ciaran299 Lee - email: admin299@email.com + id: '991266570' + name: Ciaran298 Lee + email: admin298@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7800,7 +7799,7 @@ paths: Note not found: value: type: error.list - request_id: 9047d4a4-7d09-4810-8155-3c8691e1ee3d + request_id: 89e7db70-e961-4693-8a66-446d9cd38b0d errors: - code: not_found message: Resource Not Found @@ -7814,7 +7813,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7158d416-7701-4201-be69-068d428f266d + request_id: 4d65d4b9-f5bf-4042-a5c5-0aabbd6ec1df errors: - code: unauthorized message: Access Token Invalid @@ -7850,16 +7849,16 @@ paths: type: segment.list segments: - type: segment - id: 64021e064c21b4352588c5b3 + id: 64a5d5b26406a57d91d9a925 name: Jane segment - created_at: 1677860358 - updated_at: 1677860358 + created_at: 1688589746 + updated_at: 1688589746 person_type: user - type: segment - id: 64021e064c21b4352588c5b2 + id: 64a5d5b16406a57d91d9a924 name: John segment - created_at: 1677860358 - updated_at: 1677860358 + created_at: 1688589746 + updated_at: 1688589746 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7871,7 +7870,7 @@ paths: Unauthorized: value: type: error.list - request_id: b6dfa03f-6865-4b55-933d-e40066e40d02 + request_id: 9611cbc3-7309-478c-a4e1-2817e6ac93be errors: - code: unauthorized message: Access Token Invalid @@ -7905,10 +7904,10 @@ paths: Successful response: value: type: segment - id: 64021e084c21b4352588c5b6 + id: 64a5d5b36406a57d91d9a928 name: John segment - created_at: 1677860360 - updated_at: 1677860360 + created_at: 1688589747 + updated_at: 1688589747 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -7920,7 +7919,7 @@ paths: Segment not found: value: type: error.list - request_id: 202c721c-84a0-4d04-8c32-2fe13de384a7 + request_id: 3f3212bf-4f89-4e0c-9ac4-d5fbe1ccf81a errors: - code: not_found message: Resource Not Found @@ -7934,7 +7933,7 @@ paths: Unauthorized: value: type: error.list - request_id: 50226ef6-0edf-4fb7-8f02-d8039c24f680 + request_id: 12e62ef5-8407-435b-aabc-a49d76a29a1c errors: - code: unauthorized message: Access Token Invalid @@ -7964,7 +7963,7 @@ paths: type: list data: - type: subscription - id: '91' + id: '437950' state: live consent_type: opt_out default_translation: @@ -7987,7 +7986,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7d1d50c5-9db1-4393-8e6c-38c0db57e5ca + request_id: 0231c2ff-d53f-413e-ad20-159b0c5ef268 errors: - code: unauthorized message: Access Token Invalid @@ -8017,7 +8016,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/3019c4be-85a2-490e-a1e6-b411402aac23 + url: http://via.intercom.io/msgr/fed0d543-52be-43e6-a7b3-fab3391271c6 type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8050,7 +8049,7 @@ paths: Unauthorized: value: type: error.list - request_id: 887022b0-8487-4240-a0a0-6607db92fc40 + request_id: 62381358-6425-41f2-a46a-b7d763ee6b67 errors: - code: unauthorized message: Access Token Invalid @@ -8113,7 +8112,7 @@ paths: type: list data: - type: tag - id: '86' + id: '318876' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8125,7 +8124,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9964bae9-4b32-4079-a091-e431e5e86e68 + request_id: afd0c647-3546-45bf-ab86-cf8e186e2141 errors: - code: unauthorized message: Access Token Invalid @@ -8164,7 +8163,7 @@ paths: Action successful: value: type: tag - id: '89' + id: '318879' name: test schema: "$ref": "#/components/schemas/tag" @@ -8176,7 +8175,7 @@ paths: Invalid parameters: value: type: error.list - request_id: 5810c0aa-de68-4e62-9cfe-c9ee93de04fa + request_id: dd56d071-4dfd-4b19-956c-11e5b8e8ac36 errors: - code: parameter_invalid message: invalid tag parameters @@ -8190,14 +8189,14 @@ paths: Company not found: value: type: error.list - request_id: 9b32cd5c-f6cb-4d82-8a48-b6852babc6ac + request_id: 1c8a87c4-d3d9-4d83-83ff-606caca2868b errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 5c5576e5-08bd-4e52-a19e-57fac339889e + request_id: 32b9ad20-88cd-45a4-ae25-621c2acef543 errors: - code: not_found message: User Not Found @@ -8211,7 +8210,7 @@ paths: Unauthorized: value: type: error.list - request_id: d0473ad6-7862-41cc-94ec-2faf19aacb1a + request_id: adb0bf00-b2b6-4680-9917-afa152a5de9b errors: - code: unauthorized message: Access Token Invalid @@ -8277,7 +8276,7 @@ paths: Tag found: value: type: tag - id: '97' + id: '318887' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8289,7 +8288,7 @@ paths: Tag not found: value: type: error.list - request_id: 82b8a053-36d4-4a0f-bab4-c73830892942 + request_id: edec4ea6-073a-4d61-b5ce-7f20ff187f13 errors: - code: not_found message: Resource Not Found @@ -8303,7 +8302,7 @@ paths: Unauthorized: value: type: error.list - request_id: 187ae68a-d737-4b3c-92cd-81e4807d9afb + request_id: 754df9a7-bf57-42b3-8aa0-f7a1285fde04 errors: - code: unauthorized message: Access Token Invalid @@ -8339,7 +8338,7 @@ paths: Resource not found: value: type: error.list - request_id: 7d48e2c5-27db-41c1-9601-642e41c3b284 + request_id: 81c06135-f98f-4ef5-8e18-eb25915bb7a1 errors: - code: not_found message: Resource Not Found @@ -8353,7 +8352,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 015036c4-b653-4d9e-a916-64f02bacc85a + request_id: a49a33eb-2136-44e2-ac6f-6f5d6f484464 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8368,7 +8367,7 @@ paths: Unauthorized: value: type: error.list - request_id: f4865e98-0d37-45c0-91fa-17b10bf69316 + request_id: 4e9ac5ec-261e-4733-9c4a-aba88d903725 errors: - code: unauthorized message: Access Token Invalid @@ -8406,7 +8405,7 @@ paths: Unauthorized: value: type: error.list - request_id: d922f560-c30d-4768-8cce-b05ba8017bdc + request_id: fc3ba5ac-899a-4b47-ab3e-d84287634bed errors: - code: unauthorized message: Access Token Invalid @@ -8441,7 +8440,7 @@ paths: successful: value: type: team - id: '991267074' + id: '991266614' name: team 1 admin_ids: [] schema: @@ -8454,7 +8453,7 @@ paths: Team not found: value: type: error.list - request_id: d6625e97-8a6b-406a-b82b-087aee4ca485 + request_id: f0448487-d972-4db8-b4bf-32ff787a792b errors: - code: team_not_found message: Team not found @@ -8468,7 +8467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 291be624-ecce-483a-b46e-c05dadb6c497 + request_id: 70522407-f98f-43b2-acfe-05197f5e8c5a errors: - code: unauthorized message: Access Token Invalid @@ -8500,26 +8499,26 @@ paths: successful: value: type: visitor - id: 64021e9b4c21b4352588c6cf + id: 64a5d6146406a57d91d9aa41 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Cyan Car + pseudonym: Rose Clover avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/cyan-car.png - app_id: this_is_an_id561_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/rose-clover.png + app_id: this_is_an_id570_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677860507 - remote_created_at: 1677860507 - signed_up_at: 1677860507 - updated_at: 1677860508 + created_at: 1688589844 + remote_created_at: 1688589844 + signed_up_at: 1688589844 + updated_at: 1688589845 session_count: 0 social_profiles: type: social_profile.list @@ -8552,7 +8551,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 8f1ba926-9b92-49d3-807d-382e83623e8e + request_id: aff8c1cd-6e8a-4888-b010-bf4f50cc3ea1 errors: - code: not_found message: Visitor Not Found @@ -8566,7 +8565,7 @@ paths: Unauthorized: value: type: error.list - request_id: 29f4be5d-038c-429d-9747-7047d2473302 + request_id: 143ab61f-eb71-46b3-a57f-39ab44a3a9c0 errors: - code: unauthorized message: Access Token Invalid @@ -8581,7 +8580,7 @@ paths: successful: summary: successful value: - id: 64021e9b4c21b4352588c6cf + id: 64a5d6146406a57d91d9aa41 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -8614,7 +8613,7 @@ paths: successful: value: type: visitor - id: 64021e9e4c21b4352588c6d2 + id: 64a5d6176406a57d91d9aa44 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8624,16 +8623,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id567_that_should_be_at_least_ + app_id: this_is_an_id576_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677860510 - remote_created_at: 1677860510 - signed_up_at: 1677860510 - updated_at: 1677860510 + created_at: 1688589847 + remote_created_at: 1688589847 + signed_up_at: 1688589847 + updated_at: 1688589847 session_count: 0 social_profiles: type: social_profile.list @@ -8666,7 +8665,7 @@ paths: Visitor not found: value: type: error.list - request_id: 81f0ec51-f2e2-493a-bb73-15628c1b0ff8 + request_id: 4fd1b517-5fe8-48d4-a72f-4d14c9c64697 errors: - code: not_found message: Visitor Not Found @@ -8680,7 +8679,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3f26faf2-f4a1-4dce-b554-11d20b340b64 + request_id: 07b5c70f-3390-4f47-b279-453915adad3b errors: - code: unauthorized message: Access Token Invalid @@ -8714,7 +8713,7 @@ paths: successful: value: type: visitor - id: 64021ea04c21b4352588c6d5 + id: 64a5d6186406a57d91d9aa47 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8724,16 +8723,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id573_that_should_be_at_least_ + app_id: this_is_an_id582_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677860512 - remote_created_at: 1677860512 - signed_up_at: 1677860512 - updated_at: 1677860512 + created_at: 1688589848 + remote_created_at: 1688589848 + signed_up_at: 1688589848 + updated_at: 1688589848 session_count: 0 social_profiles: type: social_profile.list @@ -8766,7 +8765,7 @@ paths: Visitor not found: value: type: error.list - request_id: '0558614c-8a1a-4f94-b8bd-abd135cc2b94' + request_id: 19bc92de-a3f3-4e9b-9d56-6487a1814c6e errors: - code: not_found message: Visitor Not Found @@ -8780,7 +8779,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2ba5252c-6f61-47b6-b4c4-0a562c2e93a2 + request_id: e0fa3344-2a7c-43a0-9ac3-3ea742ca535c errors: - code: unauthorized message: Access Token Invalid @@ -8813,7 +8812,7 @@ paths: successful: value: type: visitor - id: 64021ea24c21b4352588c6d8 + id: 64a5d61a6406a57d91d9aa4a user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8823,16 +8822,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id579_that_should_be_at_least_ + app_id: this_is_an_id588_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677860515 - remote_created_at: 1677860515 - signed_up_at: 1677860515 - updated_at: 1677860515 + created_at: 1688589850 + remote_created_at: 1688589850 + signed_up_at: 1688589850 + updated_at: 1688589850 session_count: 0 social_profiles: type: social_profile.list @@ -8865,7 +8864,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 851c6b8e-69f9-4514-86cd-1acafad690b5 + request_id: 260c9174-5e3d-41ea-8617-ebb1dde89381 errors: - code: not_found message: User Not Found @@ -8879,7 +8878,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0c4316b2-5cbe-418e-b636-0e39d98e798a + request_id: db714384-06cf-4da3-89f3-e9bb421a7e84 errors: - code: unauthorized message: Access Token Invalid @@ -8910,26 +8909,26 @@ paths: successful: value: type: visitor - id: 64021ea54c21b4352588c6db + id: 64a5d61c6406a57d91d9aa4d user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: - pseudonym: Violet Microphone + pseudonym: Rose Moon avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/violet-microphone.png - app_id: this_is_an_id585_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/rose-moon.png + app_id: this_is_an_id594_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1677860517 - remote_created_at: 1677860518 - signed_up_at: 1677860518 - updated_at: 1677860518 + created_at: 1688589852 + remote_created_at: 1688589852 + signed_up_at: 1688589852 + updated_at: 1688589852 session_count: 0 social_profiles: type: social_profile.list @@ -8962,7 +8961,7 @@ paths: Unauthorized: value: type: error.list - request_id: adb33430-3a98-4e5b-a309-70fa3a3cde91 + request_id: '0813f7e2-647c-48b5-ad98-90c1932e6279' errors: - code: unauthorized message: Access Token Invalid @@ -9732,9 +9731,9 @@ components: example: '4324241' body: type: string - description: Optionally you can leave a note in the conversation for additional - context to other teammates. - example: Please take a look at this conversation. + description: Optionally you can send a response in the conversation when + it is assigned. + example: Let me pass you over to one of my colleagues. required: - message_type - type @@ -10147,6 +10146,11 @@ components: nullable: true description: The contacts phone. example: "+1123456789" + formatted_phone: + type: string + nullable: true + description: The contacts phone number normalized to the E164 format + example: "+1123456789" name: type: string nullable: true @@ -11233,11 +11237,9 @@ components: required: - name create_contact_request: - description: Conversations are how you can communicate with users in Intercom. - They are created when a contact replies to an outbound message, or when one - admin directly sends a message to a single contact. + description: Payload to create a contact type: object - title: Create Conversation Request Payload + title: Create Contact Request Payload properties: role: type: string @@ -11680,77 +11682,27 @@ components: required: - name - parent_id - create_ticket_request: - description: You can create a Ticket + create_ticket_reply_request: + title: Create Ticket Reply Request Payload type: object - title: Create Ticket Request Payload + description: You can create a reply on a ticket. properties: - ticket_type_id: - type: string - description: The ID of the type of ticket you want to create - example: '1234' - contacts: - type: array - description: The list of contacts (users or leads) affected by this ticket. - Currently only one is allowed - items: - type: object - oneOf: - - title: ID - properties: - id: - type: string - description: The identifier for the contact as given by Intercom. - required: - - id - - title: External ID - properties: - external_id: - type: string - description: The external_id you have defined for the contact who - is being added as a participant. - required: - - external_id - - title: Email - properties: - email: - type: string - description: The email you have defined for the contact who is being - added as a participant. If a contact with this email does not - exist, one will be created. - required: - - email - example: - - id: '1234' - custom_attributes: - "$ref": "#/components/schemas/ticket_request_custom_attributes" - required: - - ticket_type_id - - contacts - create_ticket_type_request: - description: | - The request payload for creating a ticket type. - The `name` property is required. - The `icon` property can be copied easy from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/). - type: object - title: Create Ticket Type Request Payload - nullable: true - properties: - name: + body: type: string - description: The name of the ticket type. - example: Bug - description: + description: The message body of the note, which may contain HTML. + example: "

    Okay!

    " + message_type: type: string - description: The description of the ticket type. - example: A bug has been occured - icon: + description: The type of the reply. Only `note` is supported at the moment. + example: note + default: note + admin_id: type: string - description: The icon of the ticket type. - example: "\U0001F41E" - default: "\U0001F39F️" + description: The id of the admin who is making the note. + example: '1234' required: - - name + - body + - admin_id cursor_pages: title: Cursor based pages type: object @@ -12543,7 +12495,7 @@ components: set in the app package. type: string example: Unstable - default: '2.8' + default: '2.9' enum: - '1.0' - '1.1' @@ -12559,6 +12511,7 @@ components: - '2.6' - '2.7' - '2.8' + - '2.9' - Unstable merge_contacts_request: description: Merge contact data. @@ -13598,326 +13551,6 @@ components: - 493881 items: type: integer - ticket_contacts: - title: Contacts - type: object - description: The list of contacts (users or leads) affected by a ticket. - properties: - type: - type: string - description: always contact.list - enum: - - contact.list - example: contact.list - contacts: - type: array - description: The list of contacts (users or leads) affected by this ticket. - items: - type: object - properties: - type: - type: string - description: The type of contact (user or lead) - enum: - - lead - - user - example: user - id: - type: string - description: The unique identifier for the contact which is given - by Intercom. - example: 5ba682d23d7cf92bef87bfd4 - ticket_custom_attributes: - title: Custom Attributes - type: object - description: An object containing the different custom attributes associated - to the ticket as key-value pairs. For the default title and description attributes, - the keys are `_default_title_` and `_default_description_`. - additionalProperties: - anyOf: - - type: string - nullable: true - - type: number - - type: boolean - - type: array - - "$ref": "#/components/schemas/file_attribute" - example: - name: example - question: Can I have some help? - ticket_part: - title: Ticket Part - type: object - description: A Ticket Part represents a message in the ticket. - properties: - type: - type: string - description: Always ticket_part - example: ticket_part - id: - type: string - description: The id representing the ticket part. - example: '3' - part_type: - type: string - description: The type of ticket part. - example: comment - body: - type: string - nullable: true - description: The message body, which may contain HTML. - example: "

    Okay!

    " - previous_ticket_state: - type: string - enum: - - submitted - - in_progress - - waiting_on_customer - - resolved - description: The previous state of the ticket. - example: submitted - ticket_state: - type: string - enum: - - submitted - - in_progress - - waiting_on_customer - - resolved - description: The state of the ticket. - example: submitted - created_at: - type: integer - format: date-time - description: The time the ticket part was created. - example: 1663597223 - updated_at: - type: integer - format: date-time - description: The last time the ticket part was updated. - example: 1663597260 - assigned_to: - "$ref": "#/components/schemas/reference" - nullable: true - description: The id of the admin that was assigned the ticket by this ticket_part - (null if there has been no change in assignment.) - author: - "$ref": "#/components/schemas/ticket_part_author" - attachments: - title: Ticket part attachments - type: array - description: A list of attachments for the part. - items: - "$ref": "#/components/schemas/part_attachment" - external_id: - type: string - nullable: true - description: The external id of the ticket part - example: abcd1234 - redacted: - type: boolean - description: Whether or not the ticket part has been redacted. - example: false - ticket_part_author: - title: Ticket part author - type: object - description: The author that wrote or triggered the part. Can be a bot or an - admin. - properties: - type: - type: string - description: The type of the author - example: admin - enum: - - admin - - bot - - team - id: - type: string - description: The id of the author - example: '274' - name: - type: string - description: The name of the author - example: Operator - email: - type: string - format: email - description: The email of the author - example: operator+abcd1234@intercom.io - ticket_parts: - title: Ticket Parts - type: object - description: A list of Ticket Part objects for each note and event in the ticket. - There is a limit of 500 parts. - properties: - type: - type: string - description: '' - enum: - - ticket_part.list - example: ticket_part.list - ticket_parts: - title: Tickt Parts - type: array - description: A list of Ticket Part objects for each note and even in the - ticket. There is a limit of 500 parts. - items: - "$ref": "#/components/schemas/ticket_part" - total_count: - type: integer - description: '' - example: 2 - ticket_request_custom_attributes: - title: Custom Attributes - type: object - description: The custom attributes set on the ticket. For the default title - and description attributes, the keys are `_default_title_` and `_default_description_`. - additionalProperties: - anyOf: - - type: string - nullable: true - - type: number - - type: boolean - - type: array - example: - name: example - question: Can I have some help? - ticket_type: - title: Ticket Type - type: object - description: A ticket type, used to define the data fields to be captured in - a ticket. - nullable: true - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type`. - example: ticket_type - id: - type: string - description: The id representing the ticket type. - example: '1295' - name: - type: string - description: The name of the ticket type - example: Bug - description: - type: string - description: The description of the ticket type - example: A bug that has been reported. - icon: - type: string - description: The icon of the ticket type - example: "\U0001F41E" - workspace_id: - type: string - description: The id of the workspace that the ticket type belongs to. - example: ecahpwf5 - archived: - type: boolean - description: Whether the ticket type is archived or not. - example: false - created_at: - type: integer - format: timestamp - description: The date and time the ticket type was created. - updated_at: - type: integer - format: timestamp - description: The date and time the ticket type was last updated. - ticket_type_attribute: - title: Ticket Type Attribute - type: object - description: Ticket type attribute, used to define each data field to be captured - in a ticket. - nullable: true - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type_attribute`. - example: ticket_type_attribute - id: - type: string - description: The id representing the ticket type attribute. - example: '1' - workspace_id: - type: string - description: The id of the workspace that the ticket type attribute belongs - to. - example: ecahpwf5 - name: - type: string - description: The name of the ticket type attribute - example: Title - description: - type: string - description: The description of the ticket type attribute - example: Bug title. - data_type: - type: string - description: The type of the data attribute - example: string - input_options: - type: object - description: Input options for the attribute - example: 'multiline: true' - order: - type: integer - description: The order of the attribute against other attributes - example: 1 - required: - type: boolean - description: Whether the attribute is required or not. - example: false - default: - type: boolean - description: Whether the attribute is built in or not. - example: true - ticket_type_id: - type: integer - description: The id of the ticket type that the attribute belongs to. - example: 42 - archived: - type: boolean - description: Whether the ticket type attribute is archived or not. - example: false - created_at: - type: integer - format: timestamp - description: The date and time the ticket type attribute was created. - updated_at: - type: integer - format: timestamp - description: The date and time the ticket type attribute was last updated. - ticket_type_attribute_list: - title: TicketTypeAttributes - type: object - description: A list of attributes associated with a given ticket type. - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type_attributes.list`. - ticket_type_attributes: - type: array - description: A list of ticket type attributes associated with a given ticket. - items: - "$ref": "#/components/schemas/ticket_type_attribute" - ticket_type_list: - title: TicketTypes - type: object - description: A list of ticket types associated with a given workspace. - properties: - type: - type: string - description: String representing the object's type. Always has the value - `ticket_type.list`. - ticket_types: - type: array - description: A list of ticket_types associated with a given workspace. - items: - "$ref": "#/components/schemas/ticket_type" translation: title: Translation type: object @@ -14032,6 +13665,64 @@ components: translated_content: nullable: true "$ref": "#/components/schemas/group_translated_content" + update_contact_request: + description: You can update a contact + type: object + title: Update Contact Request Payload + properties: + role: + type: string + description: The role of the contact. + external_id: + type: string + description: A unique identifier for the contact which is given to Intercom + email: + type: string + description: The contacts email + example: jdoe@example.com + phone: + type: string + nullable: true + description: The contacts phone + example: "+353871234567" + name: + type: string + nullable: true + description: The contacts name + example: John Doe + avatar: + type: string + nullable: true + description: An image URL containing the avatar of a contact + example: https://www.example.com/avatar_image.jpg + signed_up_at: + type: integer + format: date-time + nullable: true + description: The time specified for when a contact signed up + example: 1571672154 + last_seen_at: + type: integer + format: date-time + nullable: true + description: The time when the contact was last seen (either where the Intercom + Messenger was installed or when specified manually) + example: 1571672154 + owner_id: + type: integer + nullable: true + description: The id of an admin that has been assigned account ownership + of the contact + example: 123 + unsubscribed_from_emails: + type: boolean + nullable: true + description: Whether the contact is unsubscribed from emails + example: true + custom_attributes: + type: object + nullable: true + description: The custom attributes which are set for the contact update_conversation_request: title: Update Conversation Request type: object @@ -14082,37 +13773,97 @@ components: translated_content: nullable: true "$ref": "#/components/schemas/group_translated_content" - update_ticket_request: - description: You can update a Ticket + update_ticket_type_attribute_request: + description: You can update a Ticket Type Attribute type: object - title: Update Ticket Request Payload + title: Update Ticket Type Attribute Request Payload properties: - custom_attributes: - type: object - description: The custom attributes set on the ticket. - example: - title: example - description: having a problem - state: + name: type: string - enum: - - in_progress - - waiting_on_customer - - resolved - description: The state of the ticket. - example: submitted - assignment: - type: object - properties: - admin_id: - type: string - description: The ID of the admin performing the action. - example: '123' - assignee_id: - type: string - description: The ID of the admin or team to which the ticket is assigned. - Set this 0 to unassign it. - example: '123' + description: The name of the ticket type attribute + example: Bug Priority + description: + type: string + description: The description of the attribute presented to the teammate + or contact + example: Priority level of the bug + required_to_create: + type: boolean + description: Whether the attribute is required to be filled in when teammates + are creating the ticket in Inbox. + default: false + example: false + required_to_create_for_contacts: + type: boolean + description: Whether the attribute is required to be filled in when contacts + are creating the ticket in Messenger. + default: false + example: false + visible_on_create: + type: boolean + description: Whether the attribute is visible to teammates when creating + a ticket in Inbox. + default: true + example: true + visible_to_contacts: + type: boolean + description: Whether the attribute is visible to contacts when creating + a ticket in Messenger. + default: true + example: true + multiline: + type: boolean + description: Whether the attribute allows multiple lines of text (only applicable + to string attributes) + example: false + list_items: + type: string + description: A comma delimited list of items for the attribute value (only + applicable to list attributes) + example: Low Priority,Medium Priority,High Priority + allow_multiple_values: + type: boolean + description: Whether the attribute allows multiple files to be attached + to it (only applicable to file attributes) + example: false + archived: + type: boolean + description: Whether the attribute should be archived and not shown during + creation of the ticket (it will still be present on previously created + tickets) + example: false + update_ticket_type_request: + description: | + The request payload for updating a ticket type. + You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) + type: object + title: Update Ticket Type Request Payload + nullable: true + properties: + name: + type: string + description: The name of the ticket type. + example: Bug + description: + type: string + description: The description of the ticket type. + example: A bug has been occured + icon: + type: string + description: The icon of the ticket type. + example: "\U0001F41E" + default: "\U0001F39F️" + archived: + type: boolean + description: The archived status of the ticket type. + example: false + is_internal: + type: boolean + description: Whether the tickets associated with this ticket type are intended + for internal use only or will be shared with customers. This is currently + a limited attribute. + example: false + default: false update_visitor_request: description: Update an existing visitor. type: object diff --git a/descriptions/2.9/api.intercom.io.yaml b/descriptions/2.9/api.intercom.io.yaml index 4aae292..5f470b3 100644 --- a/descriptions/2.9/api.intercom.io.yaml +++ b/descriptions/2.9/api.intercom.io.yaml @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1683886464 + created_at: 1688589930 secure: false identity_verification: false timezone: America/Los_Angeles @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 11b06bd4-b6de-4e77-8922-c32946c1aa22 + request_id: fa0218f4-3c06-4b78-a608-ff59d97381d9 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: d48c25c0-62be-4034-a751-2523e476cbe5 + request_id: cdd2a476-cc37-44ec-adc4-a95f7a1bc47a errors: - code: unauthorized message: Access Token Invalid @@ -201,7 +201,7 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: 8737147a-8a45-406d-8dfb-4b1428f0dc37 + - id: 7996a8d0-e4d5-4853-bbad-aa048573b4b1 performed_by: type: admin id: '991266219' @@ -213,12 +213,12 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1683886471 + created_at: 1688589937 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message title. - - id: c0ea3086-d25a-4171-93c9-a8d98414c39b + - id: 67e38cac-5fa3-4aab-8db1-e2ae595b5998 performed_by: type: admin id: '991266219' @@ -227,7 +227,7 @@ paths: metadata: before: before after: after - created_at: 1683886471 + created_at: 1688589937 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: 12f9fb8b-c2b3-4887-b6e6-3057640f3068 + request_id: d421e858-87be-43f5-881d-41157b462560 errors: - code: unauthorized message: Access Token Invalid @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 60b6abc4-acf6-4f0a-b6c8-ce253b6714d8 + request_id: e8bd2bc0-6be2-4cd5-8f8c-b22e58881666 errors: - code: unauthorized message: Access Token Invalid @@ -338,7 +338,7 @@ paths: Admin not found: value: type: error.list - request_id: 6922de6f-d9af-4a79-8f61-9a48d992ee27 + request_id: dd74b3f5-6fb5-4f16-a322-ed9d8f163750 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1b4fed06-48c4-4d23-945a-ac6391e6852d + request_id: 419294f4-6e1a-4a72-8738-ba00b041c72b errors: - code: unauthorized message: Access Token Invalid @@ -390,19 +390,19 @@ paths: total_pages: 1 total_count: 1 data: - - id: '88792' + - id: '92828' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 83747 + parent_id: 87783 parent_type: collection title: This is the article title description: '' body: '' author_id: 991266226 state: published - created_at: 1683886477 - updated_at: 1683886477 - url: http://help-center.test/myapp-22/en/articles/88792-this-is-the-article-title + created_at: 1688589942 + updated_at: 1688589942 + url: http://help-center.test/myapp-22/en/articles/92828-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -413,7 +413,7 @@ paths: Unauthorized: value: type: error.list - request_id: caa1ac0f-8de8-433c-82cc-39174fe342cf + request_id: 1a12c6f0-592b-40e2-9bd5-bb1f8467702e errors: - code: unauthorized message: Access Token Invalid @@ -438,10 +438,10 @@ paths: examples: article created: value: - id: '88795' + id: '92831' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 83749 + parent_id: 87785 parent_type: collection statistics: type: article_statistics @@ -456,9 +456,9 @@ paths: body:

    Body of the Article

    author_id: 991266234 state: published - created_at: 1683886479 - updated_at: 1683886479 - url: http://help-center.test/myapp-26/en/articles/88795-thanks-for-everything + created_at: 1688589944 + updated_at: 1688589944 + url: http://help-center.test/myapp-26/en/articles/92831-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -469,7 +469,7 @@ paths: Bad Request: value: type: error.list - request_id: 8e30f311-55ac-4aab-9a5b-67adb6be9d53 + request_id: 2a059358-4a3c-41cd-a02d-ffbe3ed9be68 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -484,7 +484,7 @@ paths: Unauthorized: value: type: error.list - request_id: ca2752df-b1b9-436c-92de-c8bf3b0308f9 + request_id: 7e1657e9-429f-4da4-83a4-ddca3fefe94c errors: - code: unauthorized message: Access Token Invalid @@ -504,7 +504,7 @@ paths: body: Body of the Article author_id: 991266234 state: published - parent_id: 83749 + parent_id: 87785 parent_type: collection translated_content: fr: @@ -548,10 +548,10 @@ paths: examples: Article found: value: - id: '88798' + id: '92834' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 83752 + parent_id: 87788 parent_type: collection statistics: type: article_statistics @@ -566,9 +566,9 @@ paths: body: '' author_id: 991266241 state: published - created_at: 1683886482 - updated_at: 1683886482 - url: http://help-center.test/myapp-32/en/articles/88798-this-is-the-article-title + created_at: 1688589947 + updated_at: 1688589947 + url: http://help-center.test/myapp-32/en/articles/92834-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -579,7 +579,7 @@ paths: Article not found: value: type: error.list - request_id: 8677e96f-9683-452a-86d9-c920d9349827 + request_id: 0cf5fc92-d9f8-4e58-8bba-a9714316f353 errors: - code: not_found message: Resource Not Found @@ -593,7 +593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8d0608de-aad9-4238-87d9-01b350c3f087 + request_id: 14c00f86-b0fd-4f1f-b95b-b87f6bd4b559 errors: - code: unauthorized message: Access Token Invalid @@ -626,10 +626,10 @@ paths: examples: successful: value: - id: '88801' + id: '92837' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 83755 + parent_id: 87791 parent_type: collection statistics: type: article_statistics @@ -644,9 +644,9 @@ paths: body:

    New gifts in store for the jolly season

    author_id: 991266250 state: published - created_at: 1683886484 - updated_at: 1683886485 - url: http://help-center.test/myapp-38/en/articles/88801-christmas-is-here + created_at: 1688589949 + updated_at: 1688589950 + url: http://help-center.test/myapp-38/en/articles/92837-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -657,7 +657,7 @@ paths: Article Not Found: value: type: error.list - request_id: 1dee632c-3836-4978-b6b1-fa8799ad410d + request_id: a60db8be-9485-4e3b-9e5a-2de81d01bb56 errors: - code: not_found message: Resource Not Found @@ -671,7 +671,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9d536562-60df-4e3e-9c6c-a8ab9d792bc6 + request_id: a3a17355-11e8-465f-883b-f5e760e52a98 errors: - code: unauthorized message: Access Token Invalid @@ -719,7 +719,7 @@ paths: examples: successful: value: - id: '88804' + id: '92840' object: article deleted: true schema: @@ -732,7 +732,7 @@ paths: Article Not Found: value: type: error.list - request_id: 9da93bdb-3d4d-4c02-ab20-41ed76b4588d + request_id: 4e355942-78ea-49ab-9f2e-a06746f2204c errors: - code: not_found message: Resource Not Found @@ -746,7 +746,7 @@ paths: Unauthorized: value: type: error.list - request_id: 471bb825-4a2e-4d25-8aa8-1bea1b50c6f2 + request_id: 55476b8d-a87c-4a91-bd4f-1c9d0d2f7479 errors: - code: unauthorized message: Access Token Invalid @@ -779,13 +779,13 @@ paths: value: type: list data: - - id: '83761' + - id: '87797' workspace_id: this_is_an_id50_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-50/collection-15 order: 15 - created_at: 1683886489 - updated_at: 1683886489 + created_at: 1688589953 + updated_at: 1688589953 description: english collection description icon: bookmark type: collection @@ -805,7 +805,7 @@ paths: Unauthorized: value: type: error.list - request_id: bc2fd8b8-c381-4569-958c-0029c5d6f679 + request_id: 2d911f08-0dd5-49cb-9908-bfc386f527dd errors: - code: unauthorized message: Access Token Invalid @@ -830,14 +830,14 @@ paths: examples: collection created: value: - id: '83767' + id: '87803' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-54/ order: 1 - created_at: 1683886491 - updated_at: 1683886491 - description: + created_at: 1688589955 + updated_at: 1688589955 + description: '' icon: book-bookmark type: collection schema: @@ -850,7 +850,7 @@ paths: Bad Request: value: type: error.list - request_id: 71e9b4e7-4edc-4924-9d5c-02a5cfc3b1a3 + request_id: 161d0161-ae41-4ff9-b48b-4cb494196ba1 errors: - code: parameter_not_found message: Name is a required parameter. @@ -864,7 +864,7 @@ paths: Unauthorized: value: type: error.list - request_id: '038a68d1-78e3-43c1-ac0f-47cc3e02184a' + request_id: 8835a6e1-d0f7-46d8-9582-cced50afda0b errors: - code: unauthorized message: Access Token Invalid @@ -912,13 +912,13 @@ paths: examples: Collection found: value: - id: '83772' + id: '87808' workspace_id: this_is_an_id60_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-60/collection-20 order: 20 - created_at: 1683886493 - updated_at: 1683886493 + created_at: 1688589957 + updated_at: 1688589957 description: english collection description icon: bookmark type: collection @@ -932,7 +932,7 @@ paths: Collection not found: value: type: error.list - request_id: c2a89868-751d-43fa-b8ec-a122e5993fb9 + request_id: 72cf314e-bd8b-4405-bfa0-551d738c7eff errors: - code: not_found message: Resource Not Found @@ -946,7 +946,7 @@ paths: Unauthorized: value: type: error.list - request_id: b964cd76-f5a7-4481-990e-cf7f5e7ab2a3 + request_id: a292c50d-d05e-44bf-82fc-6a66346426b0 errors: - code: unauthorized message: Access Token Invalid @@ -979,15 +979,15 @@ paths: examples: successful: value: - id: '83778' + id: '87814' workspace_id: this_is_an_id66_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-66/collection-23 order: 23 - created_at: 1683886495 - updated_at: 1683886495 + created_at: 1688589958 + updated_at: 1688589959 description: english collection description - icon: bookmark + icon: folder type: collection schema: "$ref": "#/components/schemas/collection" @@ -999,7 +999,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 44fef2ea-fd55-4916-9e1f-c9be259bcd96 + request_id: 9e0c0d73-d49d-4678-824c-d4160ef19f50 errors: - code: not_found message: Resource Not Found @@ -1013,7 +1013,7 @@ paths: Unauthorized: value: type: error.list - request_id: c2bff208-aa1d-4e72-a3b3-1323b0a79af1 + request_id: a199c9ba-8721-482b-997d-e3e071258267 errors: - code: unauthorized message: Access Token Invalid @@ -1060,7 +1060,7 @@ paths: examples: successful: value: - id: '83784' + id: '87820' object: collection deleted: true schema: @@ -1073,7 +1073,7 @@ paths: collection Not Found: value: type: error.list - request_id: a8c9ea69-00fd-49e4-be60-7b7b48009fd7 + request_id: 86675768-2c7f-4156-a0d9-d5b81f627ada errors: - code: not_found message: Resource Not Found @@ -1087,7 +1087,7 @@ paths: Unauthorized: value: type: error.list - request_id: bbf63242-3874-4379-ad43-1b46f76151c6 + request_id: 28ff3450-8839-4eda-aefc-23d181e9c2c5 errors: - code: unauthorized message: Access Token Invalid @@ -1119,15 +1119,15 @@ paths: value: type: list data: - - id: '83791' + - id: '87827' workspace_id: this_is_an_id78_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-78/section-15 order: 15 - created_at: 1683886498 - updated_at: 1683886498 + created_at: 1688589962 + updated_at: 1688589962 type: section - parent_id: 83790 + parent_id: 87826 total_count: 1 pages: type: pages @@ -1144,7 +1144,7 @@ paths: Unauthorized: value: type: error.list - request_id: 75bcc7f3-3b33-4e4a-a92e-b7092470d04a + request_id: 1aef1c68-a7f6-4157-bdbd-abfd182d9682 errors: - code: unauthorized message: Access Token Invalid @@ -1169,35 +1169,17 @@ paths: examples: section created: value: - id: '83796' + id: '87832' workspace_id: this_is_an_id82_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-82/ order: 1 - created_at: 1683886500 - updated_at: 1683886500 + created_at: 1688589963 + updated_at: 1688589963 type: section - parent_id: '83794' + parent_id: '87830' schema: "$ref": "#/components/schemas/section" - '400': - description: Bad Request - content: - application/json: - examples: - Bad Request: - value: - id: '83799' - workspace_id: this_is_an_id84_that_should_be_at_least_4 - name: Missing required parameter - url: http://help-center.test/myapp-84/ - order: 1 - created_at: 1683886501 - updated_at: 1683886501 - type: section - parent_id: home - schema: - "$ref": "#/components/schemas/error" '401': description: Unauthorized content: @@ -1206,7 +1188,7 @@ paths: Unauthorized: value: type: error.list - request_id: 43cac576-57e9-455a-9f50-7f61a58c7b73 + request_id: df45df2f-6d7a-4a62-b5ea-96740088fc39 errors: - code: unauthorized message: Access Token Invalid @@ -1222,11 +1204,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 83794 - bad_request: - summary: Bad Request - value: - name: Missing required parameter + parent_id: 87830 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1255,15 +1233,15 @@ paths: examples: Section found: value: - id: '83803' - workspace_id: this_is_an_id88_that_should_be_at_least_4 + id: '87836' + workspace_id: this_is_an_id86_that_should_be_at_least_4 name: English section title - url: http://help-center.test/myapp-88/section-20 - order: 20 - created_at: 1683886501 - updated_at: 1683886501 + url: http://help-center.test/myapp-86/section-19 + order: 19 + created_at: 1688589964 + updated_at: 1688589964 type: section - parent_id: 83802 + parent_id: 87835 schema: "$ref": "#/components/schemas/section" '404': @@ -1274,7 +1252,7 @@ paths: Section not found: value: type: error.list - request_id: 8791243a-61eb-40ec-ab40-7bd23ae8f1a7 + request_id: f0068be7-d690-47a5-8785-c05beb9bdc58 errors: - code: not_found message: Resource Not Found @@ -1288,7 +1266,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8fb1595b-0f3e-4d6d-87e4-c1536f21f230 + request_id: cdcbdc54-4f25-479a-80b0-9931d8a1628b errors: - code: unauthorized message: Access Token Invalid @@ -1321,15 +1299,15 @@ paths: examples: successful: value: - id: '83809' - workspace_id: this_is_an_id94_that_should_be_at_least_4 + id: '87842' + workspace_id: this_is_an_id92_that_should_be_at_least_4 name: Update section name - url: http://help-center.test/myapp-94/section-23 - order: 23 - created_at: 1683886503 - updated_at: 1683886504 + url: http://help-center.test/myapp-92/section-22 + order: 22 + created_at: 1688589965 + updated_at: 1688589965 type: section - parent_id: '83808' + parent_id: '87841' schema: "$ref": "#/components/schemas/section" '404': @@ -1340,7 +1318,7 @@ paths: Section Not Found: value: type: error.list - request_id: 9e034b52-e299-4768-b1bc-7029094e08d0 + request_id: 3c202b96-2d15-4353-891b-98e1b116f6f4 errors: - code: not_found message: Resource Not Found @@ -1354,7 +1332,7 @@ paths: Unauthorized: value: type: error.list - request_id: ccc32bb7-97dc-40ef-8291-f3e5eaa6f275 + request_id: 4d38adc0-9ea1-49bb-8f32-141b31aa5d36 errors: - code: unauthorized message: Access Token Invalid @@ -1370,12 +1348,12 @@ paths: summary: successful value: name: Update section name - parent_id: 83808 + parent_id: 87841 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 83810 + parent_id: 87843 delete: summary: Delete a section parameters: @@ -1402,7 +1380,7 @@ paths: examples: successful: value: - id: '83815' + id: '87848' object: section deleted: true schema: @@ -1415,7 +1393,7 @@ paths: section Not Found: value: type: error.list - request_id: f7e9bfc0-4620-46b2-8bca-be8cbcc2d6ad + request_id: 73f99e54-7c68-40e3-979e-9e5b85082195 errors: - code: not_found message: Resource Not Found @@ -1429,7 +1407,7 @@ paths: Unauthorized: value: type: error.list - request_id: 716b51a1-41e1-4beb-bc6b-905848c815a9 + request_id: c7c360ab-5c86-4c25-b55c-7b6320229ba6 errors: - code: unauthorized message: Access Token Invalid @@ -1461,12 +1439,12 @@ paths: value: type: company company_id: company_remote_id - id: 645e11b105a7e7570bfa4b35 - app_id: this_is_an_id109_that_should_be_at_least_ + id: 64a5d6956406a50266e920a2 + app_id: this_is_an_id107_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1683886513 - updated_at: 1683886513 + created_at: 1688589973 + updated_at: 1688589973 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1503,7 +1481,7 @@ paths: Unauthorized: value: type: error.list - request_id: be922183-9fd8-48ad-9056-0666289f8f3d + request_id: 571f68c1-e04f-49e1-8572-a080560c4109 errors: - code: unauthorized message: Access Token Invalid @@ -1574,12 +1552,12 @@ paths: value: type: company company_id: '1' - id: 645e11b505a7e7570bfa4b3f - app_id: this_is_an_id115_that_should_be_at_least_ + id: 64a5d6986406a50266e920ac + app_id: this_is_an_id113_that_should_be_at_least_ name: company2 - remote_created_at: 1683886517 - created_at: 1683886517 - updated_at: 1683886517 + remote_created_at: 1688589976 + created_at: 1688589976 + updated_at: 1688589976 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1601,7 +1579,7 @@ paths: Company Not Found: value: type: error.list - request_id: 82f3ea92-e3c1-4fd4-8f82-2f417e22c423 + request_id: 4d36f06f-9207-4101-865e-262e18de1358 errors: - code: company_not_found message: Company Not Found @@ -1615,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: '0861d4c8-9cec-43af-8920-31ec1541f2b5' + request_id: aa5c2992-c90c-4c03-8803-8ebb69b9f5cc errors: - code: unauthorized message: Access Token Invalid @@ -1650,12 +1628,12 @@ paths: value: type: company company_id: '1' - id: 645e11b805a7e7570bfa4b4a - app_id: this_is_an_id121_that_should_be_at_least_ + id: 64a5d69b6406a50266e920b7 + app_id: this_is_an_id119_that_should_be_at_least_ name: company4 - remote_created_at: 1683886520 - created_at: 1683886520 - updated_at: 1683886520 + remote_created_at: 1688589979 + created_at: 1688589979 + updated_at: 1688589979 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1677,7 +1655,7 @@ paths: Company Not Found: value: type: error.list - request_id: 710a9b1e-10cd-4ac2-b8eb-172fc16c8dff + request_id: 15238e1e-1045-4963-91ad-f7e4bd7887b0 errors: - code: company_not_found message: Company Not Found @@ -1691,7 +1669,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8a59a586-802c-413b-85e0-87c2bd1f1b96 + request_id: 832aa711-4ae0-489e-9c76-bfa1329a4fa2 errors: - code: unauthorized message: Access Token Invalid @@ -1725,12 +1703,12 @@ paths: value: type: company company_id: '1' - id: 645e11bc05a7e7570bfa4b54 - app_id: this_is_an_id127_that_should_be_at_least_ + id: 64a5d69e6406a50266e920c1 + app_id: this_is_an_id125_that_should_be_at_least_ name: company5 - remote_created_at: 1683886524 - created_at: 1683886524 - updated_at: 1683886524 + remote_created_at: 1688589982 + created_at: 1688589982 + updated_at: 1688589982 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1752,7 +1730,7 @@ paths: Company Not Found: value: type: error.list - request_id: fd499658-76fc-4afc-9fdd-cdb795dae8a9 + request_id: 7aacc721-999d-46a6-aeef-9d73545dcf30 errors: - code: company_not_found message: Company Not Found @@ -1766,7 +1744,7 @@ paths: Unauthorized: value: type: error.list - request_id: 84c09ecd-5e45-4944-8502-2f2363d75f9e + request_id: dfa9617b-df3d-4262-85f6-16bd460ac9d1 errors: - code: unauthorized message: Access Token Invalid @@ -1798,7 +1776,7 @@ paths: examples: Successful: value: - id: 645e11c005a7e7570bfa4b5e + id: 64a5d6a26406a50266e920cb object: company deleted: true schema: @@ -1811,7 +1789,7 @@ paths: Company Not Found: value: type: error.list - request_id: 67570082-5256-4bab-820b-7de9ac43a34f + request_id: 78d5d15a-93d7-4ad0-ba61-d821bb39d2a6 errors: - code: company_not_found message: Company Not Found @@ -1825,7 +1803,7 @@ paths: Unauthorized: value: type: error.list - request_id: aa224a9e-1b07-4033-b1c1-c7e6a6c75dc9 + request_id: 5819151f-7bdb-4599-b5fa-d8377ae04123 errors: - code: unauthorized message: Access Token Invalid @@ -1877,7 +1855,7 @@ paths: Company Not Found: value: type: error.list - request_id: 1a705fa2-db77-4b33-828d-c4cb58edc977 + request_id: 690e5721-d6a6-4d99-868c-bf7d38df0177 errors: - code: company_not_found message: Company Not Found @@ -1891,7 +1869,7 @@ paths: Unauthorized: value: type: error.list - request_id: b886c042-98e0-4653-85d3-4f5de8443344 + request_id: 8ed48693-a269-4ec0-85fc-44ddf7d46fbc errors: - code: unauthorized message: Access Token Invalid @@ -1936,7 +1914,7 @@ paths: Company Not Found: value: type: error.list - request_id: 68ed0808-811a-43b1-bb07-a39d56061a9e + request_id: f5d4d2f2-6865-4e01-b858-328e4e9833e1 errors: - code: company_not_found message: Company Not Found @@ -1950,7 +1928,7 @@ paths: Unauthorized: value: type: error.list - request_id: 78acace3-25c8-46d2-aac1-5db2d8dd0c59 + request_id: 5f265413-7885-406c-a764-204d832e2f44 errors: - code: unauthorized message: Access Token Invalid @@ -2031,12 +2009,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 645e11ca05a7e7570bfa4b7a - app_id: this_is_an_id151_that_should_be_at_least_ + id: 64a5d6ab6406a50266e920e7 + app_id: this_is_an_id149_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1683886538 - created_at: 1683886538 - updated_at: 1683886538 + remote_created_at: 1688589995 + created_at: 1688589995 + updated_at: 1688589995 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2065,7 +2043,7 @@ paths: Unauthorized: value: type: error.list - request_id: '028df9bd-d82a-49b8-bec1-97da220c8975' + request_id: f2e580e0-bc6d-45f2-a7d3-26a60bd22306 errors: - code: unauthorized message: Access Token Invalid @@ -2117,12 +2095,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 645e11ce05a7e7570bfa4b82 - app_id: this_is_an_id155_that_should_be_at_least_ + id: 64a5d6ad6406a50266e920ef + app_id: this_is_an_id153_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1683886542 - created_at: 1683886542 - updated_at: 1683886542 + remote_created_at: 1688589997 + created_at: 1688589997 + updated_at: 1688589997 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2136,7 +2114,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 83c40c41-727a-41ff-96fe-c48131b005b2 + scroll_param: 2bc2e24e-cda9-44b0-8acb-3bd603a3f9e3 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2147,7 +2125,7 @@ paths: Unauthorized: value: type: error.list - request_id: b44b27c4-2010-4bbe-8b55-f3e459031d53 + request_id: 1d8773dc-4063-4e13-9324-2cc8dfc91375 errors: - code: unauthorized message: Access Token Invalid @@ -2182,12 +2160,12 @@ paths: value: type: company company_id: '1' - id: 645e11d105a7e7570bfa4b8b - app_id: this_is_an_id159_that_should_be_at_least_ + id: 64a5d6af6406a50266e920f8 + app_id: this_is_an_id157_that_should_be_at_least_ name: company9 - remote_created_at: 1683886545 - created_at: 1683886545 - updated_at: 1683886545 + remote_created_at: 1688589999 + created_at: 1688589999 + updated_at: 1688589999 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2209,7 +2187,7 @@ paths: Company Not Found: value: type: error.list - request_id: d8a57a9c-ef66-4e31-9302-326dc660fba6 + request_id: aaea68e9-c41c-47ff-a121-2fb3e8f85c5f errors: - code: not_found message: User Not Found @@ -2223,7 +2201,7 @@ paths: Unauthorized: value: type: error.list - request_id: 70c82dcf-257a-45b2-9961-66601fcf3f51 + request_id: 6f73408c-3bda-47f8-bfb9-262751fef3e2 errors: - code: unauthorized message: Access Token Invalid @@ -2246,11 +2224,11 @@ paths: successful: summary: Successful value: - id: 645e11d105a7e7570bfa4b8b + id: 64a5d6af6406a50266e920f8 company_not_found: summary: Company Not Found value: - id: 645e11d205a7e7570bfa4b8f + id: 64a5d6b06406a50266e920fc "/contacts/{contact_id}/companies/{id}": delete: summary: Detach a contact from a company @@ -2276,7 +2254,7 @@ paths: tags: - Companies - Contacts - operationId: dettachContactFromACompany + operationId: detachContactFromACompany description: You can detach a company from a single contact. responses: '200': @@ -2288,12 +2266,12 @@ paths: value: type: company company_id: '1' - id: 645e11d505a7e7570bfa4b97 - app_id: this_is_an_id165_that_should_be_at_least_ + id: 64a5d6b26406a50266e92104 + app_id: this_is_an_id163_that_should_be_at_least_ name: company12 - remote_created_at: 1683886549 - created_at: 1683886549 - updated_at: 1683886549 + remote_created_at: 1688590002 + created_at: 1688590002 + updated_at: 1688590003 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2315,14 +2293,14 @@ paths: Company Not Found: value: type: error.list - request_id: 249f45fa-60ed-49a6-9563-ec93b27a0c81 + request_id: c0dc2c1a-cf51-4409-bbc7-785d8715350f errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: cccf4188-5b7f-4f92-aeb2-fca85b647955 + request_id: dc4d9351-5217-4063-a72e-9d3846062f63 errors: - code: not_found message: User Not Found @@ -2336,7 +2314,7 @@ paths: Unauthorized: value: type: error.list - request_id: 16f3bf99-e7bc-4014-8df7-44c43a761c9c + request_id: 7cfdbbb3-861d-47cb-a33d-fefd174f0a4f errors: - code: unauthorized message: Access Token Invalid @@ -2374,13 +2352,13 @@ paths: data: - type: company company_id: '1' - id: 645e11e705a7e7570bfa4bbd - app_id: this_is_an_id173_that_should_be_at_least_ + id: 64a5d6c26406a50266e9212a + app_id: this_is_an_id171_that_should_be_at_least_ name: company25 - remote_created_at: 1683886567 - created_at: 1683886567 - updated_at: 1683886567 - last_request_at: 1683713767 + remote_created_at: 1688590018 + created_at: 1688590018 + updated_at: 1688590018 + last_request_at: 1688417218 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2409,7 +2387,7 @@ paths: Contact not found: value: type: error.list - request_id: 97b9dc4e-aa12-435a-9058-3eeefb8d0462 + request_id: cca268d4-345e-446d-81c7-77a19e745acf errors: - code: not_found message: User Not Found @@ -2423,7 +2401,7 @@ paths: Unauthorized: value: type: error.list - request_id: de1a77f0-6671-4ade-be65-f358eaeed7aa + request_id: 927b7da0-aede-42af-b770-8c34f8507091 errors: - code: unauthorized message: Access Token Invalid @@ -2459,44 +2437,44 @@ paths: type: list data: - type: note - id: '393512' - created_at: 1683281771 + id: '402593' + created_at: 1687985222 contact: type: contact - id: 645e11eb05a7e7570bfa4bc8 + id: 64a5d6c66406a50266e92135 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '393511' - created_at: 1683195371 + id: '402592' + created_at: 1687898822 contact: type: contact - id: 645e11eb05a7e7570bfa4bc8 + id: 64a5d6c66406a50266e92135 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '393510' - created_at: 1683195371 + id: '402591' + created_at: 1687898822 contact: type: contact - id: 645e11eb05a7e7570bfa4bc8 + id: 64a5d6c66406a50266e92135 author: type: admin - id: '991266331' - name: Ciaran117 Lee - email: admin117@email.com + id: '991266330' + name: Ciaran116 Lee + email: admin116@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2517,7 +2495,7 @@ paths: Contact not found: value: type: error.list - request_id: f51676ca-e4ae-4e3c-aeb0-d411cb359ca0 + request_id: 40022207-4710-49fc-a304-c2e5cf7e9d0a errors: - code: not_found message: User Not Found @@ -2551,16 +2529,16 @@ paths: Successful response: value: type: note - id: '393517' - created_at: 1683886573 + id: '402598' + created_at: 1688590024 contact: type: contact - id: 645e11ed05a7e7570bfa4bca + id: 64a5d6c86406a50266e92137 author: type: admin - id: '991266333' - name: Ciaran119 Lee - email: admin119@email.com + id: '991266332' + name: Ciaran118 Lee + email: admin118@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2574,14 +2552,14 @@ paths: Admin not found: value: type: error.list - request_id: d7b0c684-e441-4690-ba35-3ad0597fba16 + request_id: 239b70d1-f121-4a89-a1ab-0c4d6e9f7174 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 8fe7b521-895b-4cdf-8289-5f34e2997eb2 + request_id: 42ef301d-ec8d-4c98-ae6f-9fc818adb305 errors: - code: not_found message: User Not Found @@ -2611,20 +2589,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 645e11ed05a7e7570bfa4bca - admin_id: 991266333 + contact_id: 64a5d6c86406a50266e92137 + admin_id: 991266332 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 645e11ee05a7e7570bfa4bcb + contact_id: 64a5d6c86406a50266e92138 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991266335 + admin_id: 991266334 body: Hello "/contacts/{contact_id}/segments": get: @@ -2657,10 +2635,10 @@ paths: type: list data: - type: segment - id: 645e11ef05a7e7570bfa4bcd + id: 64a5d6ca6406a50266e9213a name: segment - created_at: 1683886575 - updated_at: 1683886575 + created_at: 1688590026 + updated_at: 1688590026 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2672,7 +2650,7 @@ paths: Contact not found: value: type: error.list - request_id: e260024a-0cdf-46c6-a182-84ab28bcc4a4 + request_id: 3f3fa6d9-4893-4f45-954d-0e3cffbc7150 errors: - code: not_found message: User Not Found @@ -2686,7 +2664,7 @@ paths: Unauthorized: value: type: error.list - request_id: 419ba706-5552-48fa-9a27-30469aca2ca7 + request_id: 6aa1ad17-7b4f-41f6-8c60-75d42b841e3b errors: - code: unauthorized message: Access Token Invalid @@ -2730,7 +2708,7 @@ paths: type: list data: - type: subscription - id: '428825' + id: '437906' state: live consent_type: opt_out default_translation: @@ -2744,7 +2722,7 @@ paths: content_types: - email - type: subscription - id: '428827' + id: '437908' state: live consent_type: opt_in default_translation: @@ -2767,7 +2745,7 @@ paths: Contact not found: value: type: error.list - request_id: 5f1c2d8e-3409-446a-afa1-6a218136f0a0 + request_id: 2ed64ce3-f8df-44b6-b426-b25343bd56ae errors: - code: not_found message: User Not Found @@ -2781,7 +2759,7 @@ paths: Unauthorized: value: type: error.list - request_id: fdbaac8d-a9fe-40ec-92ab-3cf335775146 + request_id: a4d7bf2d-23d4-487e-8ff3-78688edcd272 errors: - code: unauthorized message: Access Token Invalid @@ -2822,7 +2800,7 @@ paths: Successful: value: type: subscription - id: '428840' + id: '437921' state: live consent_type: opt_in default_translation: @@ -2845,14 +2823,14 @@ paths: Contact not found: value: type: error.list - request_id: edc67c53-1b44-4774-b691-c46131682917 + request_id: 65672d84-cb5d-4ede-b811-89a601bcef40 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 7611a181-d144-4f62-8ffb-0e3535b11a5e + request_id: 11994cac-1d13-46c5-ba37-40e71c8a1bc5 errors: - code: not_found message: Resource Not Found @@ -2866,7 +2844,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2572dae6-1f1d-44f6-b3d1-73c1dba1fb3d + request_id: 1aac56f6-9ad1-4a12-b214-4e3bbccb45a5 errors: - code: unauthorized message: Access Token Invalid @@ -2894,12 +2872,12 @@ paths: successful: summary: Successful value: - id: 428840 + id: 437921 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 428844 + id: 437925 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2945,7 +2923,7 @@ paths: Successful: value: type: subscription - id: '428856' + id: '437937' state: live consent_type: opt_in default_translation: @@ -2968,14 +2946,14 @@ paths: Contact not found: value: type: error.list - request_id: 58702349-7ddb-48f0-b3e3-59e89b580524 + request_id: 294c785b-300b-45de-99b6-569f3b42ac6d errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: '092dfc56-f525-4b31-9995-fced94a187b1' + request_id: 6db28fd7-1254-49a7-8fa4-f198b2b99385 errors: - code: not_found message: Resource Not Found @@ -2989,7 +2967,7 @@ paths: Unauthorized: value: type: error.list - request_id: 556da63f-7554-4a13-8fa0-e5f93dabd0a4 + request_id: 6470e201-cb45-44b4-be15-d07a5f3de49b errors: - code: unauthorized message: Access Token Invalid @@ -3027,7 +3005,7 @@ paths: type: list data: - type: tag - id: '309765' + id: '318846' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3039,7 +3017,7 @@ paths: Contact not found: value: type: error.list - request_id: 657dc6f3-b6a4-4c7a-8337-faf149bafa29 + request_id: eabbfd8a-cf4f-4a86-ab46-7bd928da3a37 errors: - code: not_found message: User Not Found @@ -3053,7 +3031,7 @@ paths: Unauthorized: value: type: error.list - request_id: 15db8f69-41bd-4c6e-90b7-0abf9edaa0d3 + request_id: f9f6c672-101b-45af-bd7f-abd04fb4c273 errors: - code: unauthorized message: Access Token Invalid @@ -3088,7 +3066,7 @@ paths: successful: value: type: tag - id: '309766' + id: '318847' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3100,14 +3078,14 @@ paths: Contact not found: value: type: error.list - request_id: dcf770e9-7d2f-44fb-a77f-fe958800e0fe + request_id: 2c82872a-4aae-402a-b0bb-c67c60506ceb errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: d38b390c-571b-4c49-9b74-f169066ea365 + request_id: 70307ad4-d8af-4771-840e-f54808244c56 errors: - code: not_found message: Resource Not Found @@ -3121,7 +3099,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1991c184-65a7-4c55-b4f7-f962f7f25260 + request_id: b653d6ea-f7e7-48d0-bfb0-a17a8d554ae8 errors: - code: unauthorized message: Access Token Invalid @@ -3144,11 +3122,11 @@ paths: successful: summary: successful value: - id: 309766 + id: 318847 contact_not_found: summary: Contact not found value: - id: 309767 + id: 318848 tag_not_found: summary: Tag not found value: @@ -3190,7 +3168,7 @@ paths: successful: value: type: tag - id: '309769' + id: '318850' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3202,14 +3180,14 @@ paths: Contact not found: value: type: error.list - request_id: 03f1ab85-58c8-4e41-9ae3-d6f0e91b717d + request_id: 89bea155-39e2-4f0f-9851-a1a9e739fca5 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: def1c35a-8da5-452f-a02b-a56fea193599 + request_id: cf499865-f4c8-4b37-8c6a-62022b0c077b errors: - code: not_found message: Resource Not Found @@ -3223,7 +3201,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a3457e7-a7aa-4c96-bec7-40e206ae8734 + request_id: 46d6c84f-0b5c-48c6-bd8f-5afbe6eafedb errors: - code: unauthorized message: Access Token Invalid @@ -3257,8 +3235,8 @@ paths: successful: value: type: contact - id: 645e120205a7e7570bfa4be4 - workspace_id: this_is_an_id239_that_should_be_at_least_ + id: 64a5d6d96406a50266e92151 + workspace_id: this_is_an_id237_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3272,9 +3250,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1683886594 - updated_at: 1683886594 - signed_up_at: 1683886594 + created_at: 1688590041 + updated_at: 1688590041 + signed_up_at: 1688590041 last_seen_at: last_replied_at: last_contacted_at: @@ -3308,31 +3286,31 @@ paths: tags: type: list data: [] - url: "/contacts/645e120205a7e7570bfa4be4/tags" + url: "/contacts/64a5d6d96406a50266e92151/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/645e120205a7e7570bfa4be4/notes" + url: "/contacts/64a5d6d96406a50266e92151/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/645e120205a7e7570bfa4be4/companies" + url: "/contacts/64a5d6d96406a50266e92151/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/645e120205a7e7570bfa4be4/subscriptions" + url: "/contacts/64a5d6d96406a50266e92151/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/645e120205a7e7570bfa4be4/subscriptions" + url: "/contacts/64a5d6d96406a50266e92151/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3351,7 +3329,7 @@ paths: Unauthorized: value: type: error.list - request_id: c56bfc4e-533d-43cf-8fc4-1fc589bf716c + request_id: d6e86f42-8b01-4596-a566-a86b478cb756 errors: - code: unauthorized message: Access Token Invalid @@ -3396,8 +3374,8 @@ paths: successful: value: type: contact - id: 645e120405a7e7570bfa4be5 - workspace_id: this_is_an_id243_that_should_be_at_least_ + id: 64a5d6db6406a50266e92152 + workspace_id: this_is_an_id241_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3411,9 +3389,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1683886596 - updated_at: 1683886596 - signed_up_at: 1683886596 + created_at: 1688590043 + updated_at: 1688590043 + signed_up_at: 1688590043 last_seen_at: last_replied_at: last_contacted_at: @@ -3447,31 +3425,31 @@ paths: tags: type: list data: [] - url: "/contacts/645e120405a7e7570bfa4be5/tags" + url: "/contacts/64a5d6db6406a50266e92152/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/645e120405a7e7570bfa4be5/notes" + url: "/contacts/64a5d6db6406a50266e92152/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/645e120405a7e7570bfa4be5/companies" + url: "/contacts/64a5d6db6406a50266e92152/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/645e120405a7e7570bfa4be5/subscriptions" + url: "/contacts/64a5d6db6406a50266e92152/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/645e120405a7e7570bfa4be5/subscriptions" + url: "/contacts/64a5d6db6406a50266e92152/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3490,7 +3468,7 @@ paths: Unauthorized: value: type: error.list - request_id: 87d869b3-8208-4bbb-aec5-ce4bca90a0a1 + request_id: bbadc64b-8ceb-4eb4-9a9c-7f6efe8fda76 errors: - code: unauthorized message: Access Token Invalid @@ -3521,7 +3499,7 @@ paths: examples: successful: value: - id: 645e120605a7e7570bfa4be6 + id: 64a5d6dc6406a50266e92153 object: contact deleted: true schema: @@ -3534,7 +3512,7 @@ paths: Unauthorized: value: type: error.list - request_id: 59a2ff95-d0b2-4fcb-8f18-60add020c64b + request_id: 9172d980-a8a4-4023-8a3b-7a4fd90c7a53 errors: - code: unauthorized message: Access Token Invalid @@ -3562,8 +3540,8 @@ paths: successful: value: type: contact - id: 645e120805a7e7570bfa4be8 - workspace_id: this_is_an_id251_that_should_be_at_least_ + id: 64a5d6de6406a50266e92155 + workspace_id: this_is_an_id249_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3577,9 +3555,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1683886600 - updated_at: 1683886601 - signed_up_at: 1683886600 + created_at: 1688590046 + updated_at: 1688590047 + signed_up_at: 1688590046 last_seen_at: last_replied_at: last_contacted_at: @@ -3613,31 +3591,31 @@ paths: tags: type: list data: [] - url: "/contacts/645e120805a7e7570bfa4be8/tags" + url: "/contacts/64a5d6de6406a50266e92155/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/645e120805a7e7570bfa4be8/notes" + url: "/contacts/64a5d6de6406a50266e92155/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/645e120805a7e7570bfa4be8/companies" + url: "/contacts/64a5d6de6406a50266e92155/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/645e120805a7e7570bfa4be8/subscriptions" + url: "/contacts/64a5d6de6406a50266e92155/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/645e120805a7e7570bfa4be8/subscriptions" + url: "/contacts/64a5d6de6406a50266e92155/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3656,7 +3634,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6978a4b6-e887-4a31-9632-0bfb41a32238 + request_id: 0a7ebb7e-db2f-45c7-a1e4-bbd91722e861 errors: - code: unauthorized message: Access Token Invalid @@ -3671,8 +3649,8 @@ paths: successful: summary: successful value: - from: 645e120805a7e7570bfa4be7 - into: 645e120805a7e7570bfa4be8 + from: 64a5d6de6406a50266e92154 + into: 64a5d6de6406a50266e92155 "/contacts/search": post: summary: Search contacts @@ -3781,7 +3759,7 @@ paths: Unauthorized: value: type: error.list - request_id: '029c0cba-ee9b-4ba1-bd6e-12b1715a77dd' + request_id: ed56291b-c575-4d7f-a7bd-9a8a4fd131ae errors: - code: unauthorized message: Access Token Invalid @@ -3801,15 +3779,15 @@ paths: value: - field: id operator: "=" - value: 645e120b05a7e7570bfa4beb + value: 64a5d6e06406a50266e92158 - operator: OR value: - field: id operator: "=" - value: 645e120b05a7e7570bfa4beb + value: 64a5d6e06406a50266e92158 - field: id operator: "=" - value: 645e120b05a7e7570bfa4beb + value: 64a5d6e06406a50266e92158 "/contacts": get: summary: List all contacts @@ -3848,7 +3826,7 @@ paths: Unauthorized: value: type: error.list - request_id: 25ca2748-e6ed-4d71-a001-cade9796c3e0 + request_id: 1e0794e0-8eae-4821-b499-fa00e509534f errors: - code: unauthorized message: Access Token Invalid @@ -3874,8 +3852,8 @@ paths: successful: value: type: contact - id: 645e120f05a7e7570bfa4bed - workspace_id: this_is_an_id263_that_should_be_at_least_ + id: 64a5d6e46406a50266e9215a + workspace_id: this_is_an_id261_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3889,8 +3867,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1683886607 - updated_at: 1683886607 + created_at: 1688590052 + updated_at: 1688590052 signed_up_at: last_seen_at: last_replied_at: @@ -3925,31 +3903,31 @@ paths: tags: type: list data: [] - url: "/contacts/645e120f05a7e7570bfa4bed/tags" + url: "/contacts/64a5d6e46406a50266e9215a/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/645e120f05a7e7570bfa4bed/notes" + url: "/contacts/64a5d6e46406a50266e9215a/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/645e120f05a7e7570bfa4bed/companies" + url: "/contacts/64a5d6e46406a50266e9215a/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/645e120f05a7e7570bfa4bed/subscriptions" + url: "/contacts/64a5d6e46406a50266e9215a/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/645e120f05a7e7570bfa4bed/subscriptions" + url: "/contacts/64a5d6e46406a50266e9215a/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3968,7 +3946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5cc9c49b-519e-4db8-808b-fd227c77b1d7 + request_id: 61906aab-037d-4085-982d-49b5226feebb errors: - code: unauthorized message: Access Token Invalid @@ -4012,7 +3990,7 @@ paths: examples: successful: value: - id: 645e121105a7e7570bfa4bee + id: 64a5d6e66406a50266e9215b object: contact archived: true schema: @@ -4044,7 +4022,7 @@ paths: examples: successful: value: - id: 645e121305a7e7570bfa4bef + id: 64a5d6e76406a50266e9215c object: contact archived: false schema: @@ -4079,7 +4057,7 @@ paths: successful: value: type: tag - id: '309771' + id: '318852' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4091,7 +4069,7 @@ paths: Conversation not found: value: type: error.list - request_id: 6588769e-5993-4765-9603-421c1161f3bd + request_id: 1d6e4e8d-9eb4-4ebe-9cde-934046959755 errors: - code: not_found message: Conversation not found @@ -4105,7 +4083,7 @@ paths: Unauthorized: value: type: error.list - request_id: e8eaa3e5-1483-402e-9cbe-282c63dd1240 + request_id: cdd36300-1bff-48b4-950e-353d8ecf6732 errors: - code: unauthorized message: Access Token Invalid @@ -4134,13 +4112,13 @@ paths: successful: summary: successful value: - id: 309771 - admin_id: 991266366 + id: 318852 + admin_id: 991266365 conversation_not_found: summary: Conversation not found value: - id: 309772 - admin_id: 991266368 + id: 318853 + admin_id: 991266367 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4178,7 +4156,7 @@ paths: successful: value: type: tag - id: '309774' + id: '318855' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4190,14 +4168,14 @@ paths: Conversation not found: value: type: error.list - request_id: 83208301-e71b-43ca-abbe-905523d6b039 + request_id: 7139a053-e468-4015-84fd-b3844a8f15a0 errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 3fb775cf-0cae-4c0d-955a-9ca612bab237 + request_id: 743d5505-b455-4c56-8f36-a4da1a4b42ff errors: - code: tag_not_found message: Tag not found @@ -4211,7 +4189,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1da0ddff-2565-4594-8f8f-883aea1065db + request_id: 980d98ae-95f4-4484-97f4-ba80f9ab8ba6 errors: - code: unauthorized message: Access Token Invalid @@ -4234,15 +4212,15 @@ paths: successful: summary: successful value: - admin_id: 991266370 + admin_id: 991266369 conversation_not_found: summary: Conversation not found value: - admin_id: 991266372 + admin_id: 991266371 tag_not_found: summary: Tag not found value: - admin_id: 991266373 + admin_id: 991266372 "/conversations": get: summary: List all conversations @@ -4289,9 +4267,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '695205' - created_at: 1683886620 - updated_at: 1683886620 + id: '712358' + created_at: 1688590063 + updated_at: 1688590063 waiting_since: snoozed_until: source: @@ -4302,9 +4280,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266376' - name: Ciaran159 Lee - email: admin159@email.com + id: '991266375' + name: Ciaran158 Lee + email: admin158@email.com attachments: [] url: redacted: false @@ -4312,7 +4290,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e121c05a7e7570bfa4bf3 + id: 64a5d6ef6406a50266e92160 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4341,7 +4319,7 @@ paths: Unauthorized: value: type: error.list - request_id: 18481518-7283-4766-b459-dc58639a0715 + request_id: 9d43edda-e111-462f-bb5e-5f6d2d996812 errors: - code: unauthorized message: Access Token Invalid @@ -4355,7 +4333,7 @@ paths: API plan restricted: value: type: error.list - request_id: 92f2ef7e-a5c8-4216-afbe-44b029ffc2c2 + request_id: 2b73ca03-3dfe-43d4-8ecc-fc624d88164d errors: - code: api_plan_restricted message: Active subscription needed. @@ -4388,10 +4366,10 @@ paths: value: type: user_message id: '403918075' - created_at: 1683886650 + created_at: 1688590090 body: Hello there message_type: inapp - conversation_id: '695230' + conversation_id: '712383' schema: "$ref": "#/components/schemas/message" '404': @@ -4402,7 +4380,7 @@ paths: Contact Not Found: value: type: error.list - request_id: bdacdf35-e7a5-4e07-a816-b1172686205f + request_id: 543b4f44-0770-4bb7-b3f4-433869f9d1fc errors: - code: not_found message: User Not Found @@ -4416,7 +4394,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7c088f08-b2fa-4d1b-b3bf-d78be1331c3a + request_id: d9d999d8-5660-446b-a72f-301193e28208 errors: - code: unauthorized message: Access Token Invalid @@ -4430,7 +4408,7 @@ paths: API plan restricted: value: type: error.list - request_id: 24f579d3-ed3f-4048-9bcf-15e8361a5077 + request_id: 4bd404ce-3da9-4053-9efe-0004c78dc563 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4447,7 +4425,7 @@ paths: value: from: type: user - id: 645e123805a7e7570bfa4c08 + id: 64a5d7096406a50266e92175 body: Hello there contact_not_found: summary: Contact Not Found @@ -4485,7 +4463,11 @@ paths: will return a single Conversation model with all its conversation parts.\n\n> \U0001F6A7 Hard limit of 500 parts\n>\n> The maximum number of conversation parts that can be returned via the API is 500. If you have more than that - we will return the 500 most recent conversation parts.\n\n" + we will return the 500 most recent conversation parts.\n\n> \U0001F4D8 Bot + name in conversation parts\n>\n> For conversation parts generated by a bot, + bot name will depend on the following:\n- Customers that never turned on AI + answers will have `operator` as the bot name\n- Customers that have turned + on AI answers at some point will have `fin` as the bot name\n" responses: '200': description: conversation found @@ -4495,9 +4477,9 @@ paths: conversation found: value: type: conversation - id: '695234' - created_at: 1683886659 - updated_at: 1683886659 + id: '712387' + created_at: 1688590099 + updated_at: 1688590099 waiting_since: snoozed_until: source: @@ -4508,9 +4490,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266390' - name: Ciaran166 Lee - email: admin166@email.com + id: '991266389' + name: Ciaran165 Lee + email: admin165@email.com attachments: [] url: redacted: false @@ -4518,7 +4500,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e124305a7e7570bfa4c0c + id: 64a5d7136406a50266e92179 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4551,7 +4533,7 @@ paths: Not found: value: type: error.list - request_id: cfa735bb-c293-4297-8830-7372dc310a87 + request_id: d33c9804-0d9a-46b6-aee3-3f38cd80de64 errors: - code: not_found message: Resource Not Found @@ -4565,7 +4547,7 @@ paths: Unauthorized: value: type: error.list - request_id: a2385dde-397f-4061-8052-3f35666472e9 + request_id: be1a611c-cea8-4699-9a82-c0de7cc4ca46 errors: - code: unauthorized message: Access Token Invalid @@ -4579,7 +4561,7 @@ paths: API plan restricted: value: type: error.list - request_id: f3a0d295-018b-4313-8957-2a914b2a399e + request_id: 627b3a1c-6fc6-4ca8-8c45-124bc4bd33f7 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4622,9 +4604,9 @@ paths: conversation found: value: type: conversation - id: '695238' - created_at: 1683886669 - updated_at: 1683886671 + id: '712391' + created_at: 1688590107 + updated_at: 1688590110 waiting_since: snoozed_until: source: @@ -4635,9 +4617,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266398' - name: Ciaran170 Lee - email: admin170@email.com + id: '991266397' + name: Ciaran169 Lee + email: admin169@email.com attachments: [] url: redacted: false @@ -4645,7 +4627,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e124c05a7e7570bfa4c10 + id: 64a5d71b6406a50266e9217d first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4670,34 +4652,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138236' + id: '708321' part_type: conversation_attribute_updated_by_admin body: - created_at: 1683886671 - updated_at: 1683886671 - notified_at: 1683886671 + created_at: 1688590110 + updated_at: 1688590110 + notified_at: 1688590110 assigned_to: author: - id: '991266399' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '138237' + id: '708322' part_type: conversation_attribute_updated_by_admin body: - created_at: 1683886671 - updated_at: 1683886671 - notified_at: 1683886671 + created_at: 1688590110 + updated_at: 1688590110 + notified_at: 1688590110 assigned_to: author: - id: '991266399' + id: '991266398' type: bot name: Operator - email: operator+this_is_an_id307_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4712,7 +4694,7 @@ paths: Not found: value: type: error.list - request_id: 3312667a-ccc8-427a-b74b-7d66a3dd4ba0 + request_id: 26973c85-892a-4a4c-ac98-389caec5486d errors: - code: not_found message: Resource Not Found @@ -4726,7 +4708,7 @@ paths: Unauthorized: value: type: error.list - request_id: acd4974a-4c84-4e86-94a0-630d71fac58a + request_id: 8f35720f-44c2-4bf2-903e-0f6ec6c8c8f0 errors: - code: unauthorized message: Access Token Invalid @@ -4740,7 +4722,7 @@ paths: API plan restricted: value: type: error.list - request_id: 39849687-6c95-417e-971f-362a595d2633 + request_id: e096b271-5b0c-4f52-83a0-193939c453a8 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4859,9 +4841,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '695242' - created_at: 1683886681 - updated_at: 1683886681 + id: '712395' + created_at: 1688590119 + updated_at: 1688590119 waiting_since: snoozed_until: source: @@ -4872,9 +4854,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266422' - name: Ciaran190 Lee - email: admin190@email.com + id: '991266421' + name: Ciaran189 Lee + email: admin189@email.com attachments: [] url: redacted: false @@ -4882,7 +4864,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e125905a7e7570bfa4c14 + id: 64a5d7266406a50266e92181 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4917,15 +4899,15 @@ paths: value: - field: id operator: "=" - value: '695242' + value: '712395' - operator: OR value: - field: id operator: "=" - value: '695242' + value: '712395' - field: id operator: "=" - value: '695242' + value: '712395' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4964,10 +4946,10 @@ paths: User reply: value: type: conversation - id: '695250' - created_at: 1683886690 - updated_at: 1683886692 - waiting_since: 1683886692 + id: '712403' + created_at: 1688590127 + updated_at: 1688590128 + waiting_since: 1688590128 snoozed_until: source: type: conversation @@ -4977,9 +4959,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266424' - name: Ciaran191 Lee - email: admin191@email.com + id: '991266423' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -4987,9 +4969,9 @@ paths: type: contact.list contacts: - type: contact - id: 645e126205a7e7570bfa4c1b + id: 64a5d72f6406a50266e92188 first_contact_reply: - created_at: 1683886692 + created_at: 1688590128 type: conversation url: admin_assignee_id: @@ -5013,15 +4995,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138239' + id: '708324' part_type: comment body: "

    Thanks again :)

    " - created_at: 1683886692 - updated_at: 1683886692 - notified_at: 1683886692 + created_at: 1688590128 + updated_at: 1688590128 + notified_at: 1688590128 assigned_to: author: - id: 645e126205a7e7570bfa4c1b + id: 64a5d72f6406a50266e92188 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5032,9 +5014,9 @@ paths: Admin note reply: value: type: conversation - id: '695251' - created_at: 1683886694 - updated_at: 1683886696 + id: '712404' + created_at: 1688590130 + updated_at: 1688590131 waiting_since: snoozed_until: source: @@ -5045,9 +5027,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266426' - name: Ciaran192 Lee - email: admin192@email.com + id: '991266425' + name: Ciaran191 Lee + email: admin191@email.com attachments: [] url: redacted: false @@ -5055,7 +5037,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e126605a7e7570bfa4c1c + id: 64a5d7326406a50266e92189 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5078,7 +5060,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138240' + id: '708325' part_type: note body: |-

    An Unordered HTML List

    @@ -5093,15 +5075,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1683886696 - updated_at: 1683886696 - notified_at: 1683886696 + created_at: 1688590131 + updated_at: 1688590131 + notified_at: 1688590131 assigned_to: author: - id: '991266426' + id: '991266425' type: admin - name: Ciaran192 Lee - email: admin192@email.com + name: Ciaran191 Lee + email: admin191@email.com attachments: [] external_id: redacted: false @@ -5109,10 +5091,10 @@ paths: User last conversation reply: value: type: conversation - id: '695253' - created_at: 1683886699 - updated_at: 1683886701 - waiting_since: 1683886701 + id: '712406' + created_at: 1688590135 + updated_at: 1688590136 + waiting_since: 1688590136 snoozed_until: source: type: conversation @@ -5122,9 +5104,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266430' - name: Ciaran194 Lee - email: admin194@email.com + id: '991266429' + name: Ciaran193 Lee + email: admin193@email.com attachments: [] url: redacted: false @@ -5132,9 +5114,9 @@ paths: type: contact.list contacts: - type: contact - id: 645e126b05a7e7570bfa4c1e + id: 64a5d7376406a50266e9218b first_contact_reply: - created_at: 1683886701 + created_at: 1688590136 type: conversation url: admin_assignee_id: @@ -5158,15 +5140,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138241' + id: '708326' part_type: comment body: "

    Thanks again :)

    " - created_at: 1683886701 - updated_at: 1683886701 - notified_at: 1683886701 + created_at: 1688590136 + updated_at: 1688590136 + notified_at: 1688590136 assigned_to: author: - id: 645e126b05a7e7570bfa4c1e + id: 64a5d7376406a50266e9218b type: user name: Joe Bloggs email: joe@bloggs.com @@ -5184,7 +5166,7 @@ paths: Not found: value: type: error.list - request_id: 52a7a366-050c-431e-a5e3-7dfe78aee6fd + request_id: 42d83a76-0744-45d0-b789-47e4b95d05ab errors: - code: not_found message: Resource Not Found @@ -5198,7 +5180,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6b1ae85e-2504-408e-939b-4cd6f5e2ddf8 + request_id: '0029b5f7-6001-4faf-8852-deef1275bc2d' errors: - code: unauthorized message: Access Token Invalid @@ -5212,7 +5194,7 @@ paths: API plan restricted: value: type: error.list - request_id: 9fc6439e-d659-49d1-8cef-04ee4b21042a + request_id: 4adf4ecc-1d58-4105-b36e-5bff6d7c72e1 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5229,14 +5211,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 645e126205a7e7570bfa4c1b + intercom_user_id: 64a5d72f6406a50266e92188 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991266426 + admin_id: 991266425 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5246,14 +5228,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 645e126b05a7e7570bfa4c1e + intercom_user_id: 64a5d7376406a50266e9218b body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 645e126e05a7e7570bfa4c1f + intercom_user_id: 64a5d7396406a50266e9218c body: Thanks again :) "/conversations/{id}/parts": post: @@ -5287,9 +5269,9 @@ paths: Close a conversation: value: type: conversation - id: '695257' - created_at: 1683886710 - updated_at: 1683886711 + id: '712410' + created_at: 1688590146 + updated_at: 1688590147 waiting_since: snoozed_until: source: @@ -5300,9 +5282,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266438' - name: Ciaran198 Lee - email: admin198@email.com + id: '991266437' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5310,7 +5292,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e127505a7e7570bfa4c22 + id: 64a5d7416406a50266e9218f first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5333,18 +5315,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138242' + id: '708327' part_type: close body: "

    Goodbye :)

    " - created_at: 1683886711 - updated_at: 1683886711 - notified_at: 1683886711 + created_at: 1688590147 + updated_at: 1688590147 + notified_at: 1688590147 assigned_to: author: - id: '991266438' + id: '991266437' type: admin - name: Ciaran198 Lee - email: admin198@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5352,11 +5334,11 @@ paths: Snooze a conversation: value: type: conversation - id: '695258' - created_at: 1683886714 - updated_at: 1683886715 + id: '712411' + created_at: 1688590150 + updated_at: 1688590151 waiting_since: - snoozed_until: 1683890315 + snoozed_until: 1688593751 source: type: conversation id: '403918098' @@ -5365,9 +5347,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266440' - name: Ciaran199 Lee - email: admin199@email.com + id: '991266439' + name: Ciaran198 Lee + email: admin198@email.com attachments: [] url: redacted: false @@ -5375,7 +5357,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e127905a7e7570bfa4c23 + id: 64a5d7456406a50266e92190 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5398,18 +5380,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138243' + id: '708328' part_type: snoozed body: - created_at: 1683886715 - updated_at: 1683886715 - notified_at: 1683886715 + created_at: 1688590151 + updated_at: 1688590151 + notified_at: 1688590151 assigned_to: author: - id: '991266440' + id: '991266439' type: admin - name: Ciaran199 Lee - email: admin199@email.com + name: Ciaran198 Lee + email: admin198@email.com attachments: [] external_id: redacted: false @@ -5417,9 +5399,9 @@ paths: Open a conversation: value: type: conversation - id: '695263' - created_at: 1683886715 - updated_at: 1683886724 + id: '712416' + created_at: 1688590150 + updated_at: 1688590159 waiting_since: snoozed_until: source: @@ -5430,9 +5412,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266442' - name: Ciaran200 Lee - email: admin200@email.com + id: '991266441' + name: Ciaran199 Lee + email: admin199@email.com attachments: [] url: redacted: false @@ -5440,7 +5422,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e128005a7e7570bfa4c28 + id: 64a5d74b6406a50266e92195 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5463,18 +5445,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138245' + id: '708330' part_type: open body: - created_at: 1683886724 - updated_at: 1683886724 - notified_at: 1683886724 + created_at: 1688590159 + updated_at: 1688590159 + notified_at: 1688590159 assigned_to: author: - id: '991266442' + id: '991266441' type: admin - name: Ciaran200 Lee - email: admin200@email.com + name: Ciaran199 Lee + email: admin199@email.com attachments: [] external_id: redacted: false @@ -5482,9 +5464,9 @@ paths: Assign a conversation: value: type: conversation - id: '695267' - created_at: 1683886726 - updated_at: 1683886727 + id: '712420' + created_at: 1688590161 + updated_at: 1688590162 waiting_since: snoozed_until: source: @@ -5495,9 +5477,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266444' - name: Ciaran201 Lee - email: admin201@email.com + id: '991266443' + name: Ciaran200 Lee + email: admin200@email.com attachments: [] url: redacted: false @@ -5505,9 +5487,9 @@ paths: type: contact.list contacts: - type: contact - id: 645e128605a7e7570bfa4c2b + id: 64a5d7516406a50266e92198 first_contact_reply: - admin_assignee_id: 991266444 + admin_assignee_id: 991266443 team_assignee_id: open: true state: open @@ -5528,20 +5510,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138246' + id: '708331' part_type: assign_and_reopen body: - created_at: 1683886727 - updated_at: 1683886727 - notified_at: 1683886727 + created_at: 1688590163 + updated_at: 1688590163 + notified_at: 1688590163 assigned_to: type: admin - id: '991266444' + id: '991266443' author: - id: '991266444' + id: '991266443' type: admin - name: Ciaran201 Lee - email: admin201@email.com + name: Ciaran200 Lee + email: admin200@email.com attachments: [] external_id: redacted: false @@ -5556,7 +5538,7 @@ paths: Not found: value: type: error.list - request_id: f55f3655-f129-4a55-bdfc-38a7ef8d61e2 + request_id: bf41e693-cd73-4698-8033-bc006f49bf46 errors: - code: not_found message: Resource Not Found @@ -5570,7 +5552,7 @@ paths: Unauthorized: value: type: error.list - request_id: 19091601-74c9-4c8f-947a-6bf00a942292 + request_id: 2e2afcab-5143-45a0-9d82-18b145356bfc errors: - code: unauthorized message: Access Token Invalid @@ -5584,7 +5566,7 @@ paths: API plan restricted: value: type: error.list - request_id: 54b67701-9a18-46cc-b0bf-63d6e189652f + request_id: fac74bc4-7ab5-4071-99e8-111034ba71f6 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5605,32 +5587,32 @@ paths: value: message_type: close type: admin - admin_id: 991266438 + admin_id: 991266437 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991266440 - snoozed_until: 1683890315 + admin_id: 991266439 + snoozed_until: 1688593751 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991266442 + admin_id: 991266441 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991266444 - assignee_id: 991266444 + admin_id: 991266443 + assignee_id: 991266443 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991266446 + admin_id: 991266445 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5661,9 +5643,9 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '695271' - created_at: 1683886737 - updated_at: 1683886738 + id: '712424' + created_at: 1688590170 + updated_at: 1688590171 waiting_since: snoozed_until: source: @@ -5674,9 +5656,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266452' - name: Ciaran205 Lee - email: admin205@email.com + id: '991266451' + name: Ciaran204 Lee + email: admin204@email.com attachments: [] url: redacted: false @@ -5684,7 +5666,7 @@ paths: type: contact.list contacts: - type: contact - id: 645e129005a7e7570bfa4c2f + id: 64a5d75a6406a50266e9219c first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5707,20 +5689,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138247' + id: '708332' part_type: default_assignment body: - created_at: 1683886738 - updated_at: 1683886738 - notified_at: 1683886738 + created_at: 1688590171 + updated_at: 1688590171 + notified_at: 1688590171 assigned_to: type: nobody_admin id: author: - id: '991266453' + id: '991266452' type: bot name: Operator - email: operator+this_is_an_id345_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id343_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5735,7 +5717,7 @@ paths: Not found: value: type: error.list - request_id: 6d0ecc8b-bba1-4e63-9769-ac0131dea885 + request_id: 470a22f7-8331-418d-b5b3-61a0c1eaf020 errors: - code: not_found message: Resource Not Found @@ -5749,7 +5731,7 @@ paths: Unauthorized: value: type: error.list - request_id: 224f8992-b00f-4257-81d2-c2a4aba40527 + request_id: b9f07339-ce64-4938-bb8e-e5d6a4ee88dc errors: - code: unauthorized message: Access Token Invalid @@ -5763,7 +5745,7 @@ paths: API plan restricted: value: type: error.list - request_id: 5d838801-2a41-44c8-ac7a-ea1d1c987426 + request_id: df9bfc3c-cc53-404c-8cbc-dfe182469b1c errors: - code: api_plan_restricted message: Active subscription needed. @@ -5802,7 +5784,7 @@ paths: value: customers: - type: user - id: 645e129a05a7e7570bfa4c33 + id: 64a5d7636406a50266e921a0 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5813,7 +5795,7 @@ paths: Not found: value: type: error.list - request_id: 8b17c4d8-0082-40be-b741-21c4236c5f6d + request_id: 42a6389e-dafb-4ca4-8806-acb3fe522d8b errors: - code: not_found message: Resource Not Found @@ -5827,7 +5809,7 @@ paths: Unauthorized: value: type: error.list - request_id: a44b7140-8211-4968-a0b5-2c0b04525455 + request_id: fff989d4-9752-4965-b6a8-ffb21197a6b3 errors: - code: unauthorized message: Access Token Invalid @@ -5841,7 +5823,7 @@ paths: API plan restricted: value: type: error.list - request_id: 5363d46e-428b-4745-b597-1785394045e3 + request_id: ac814336-2fb3-4b47-a9cd-753a96778588 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5856,15 +5838,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991266460 + admin_id: 991266459 customer: - intercom_user_id: 645e129a05a7e7570bfa4c33 + intercom_user_id: 64a5d7636406a50266e921a0 not_found: summary: Not found value: - admin_id: 991266462 + admin_id: 991266461 customer: - intercom_user_id: 645e129d05a7e7570bfa4c34 + intercom_user_id: 64a5d7666406a50266e921a1 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5905,7 +5887,7 @@ paths: value: customers: - type: user - id: 645e12ac05a7e7570bfa4c3e + id: 64a5d7736406a50266e921ab schema: "$ref": "#/components/schemas/conversation" '404': @@ -5916,14 +5898,14 @@ paths: Conversation not found: value: type: error.list - request_id: 65867830-21fc-4155-be41-df3e7227b8f8 + request_id: c3b682cd-2eb0-4969-8401-614165148589 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 0f2776c0-5967-409d-bb4b-a87417c866cf + request_id: fb1ceffd-fdb3-4f5c-afbe-3d868621b4ea errors: - code: not_found message: User Not Found @@ -5937,7 +5919,7 @@ paths: Last customer: value: type: error.list - request_id: 8ae5efec-1c7a-4c6e-a501-9921b48cc3b6 + request_id: 4011083c-519a-4ce4-bd30-0e3bcd2ad917 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5951,7 +5933,7 @@ paths: Unauthorized: value: type: error.list - request_id: a4231ce1-acca-4045-bdc2-32e381d1f6b5 + request_id: 66f8bed3-91f5-42bc-873c-30fcede9825f errors: - code: unauthorized message: Access Token Invalid @@ -5965,7 +5947,7 @@ paths: API plan restricted: value: type: error.list - request_id: 12de62fb-81c4-4174-bf08-e663f7b4d1c2 + request_id: c3bdc9fa-9854-4d62-85c5-99089f4bf148 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5980,27 +5962,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991266468 + admin_id: 991266467 customer: - intercom_user_id: 645e12a405a7e7570bfa4c37 + intercom_user_id: 64a5d76c6406a50266e921a4 conversation_not_found: summary: Conversation not found value: - admin_id: 991266470 + admin_id: 991266469 customer: - intercom_user_id: 645e12ae05a7e7570bfa4c3f + intercom_user_id: 64a5d7746406a50266e921ac contact_not_found: summary: Contact not found value: - admin_id: 991266472 + admin_id: 991266471 customer: - intercom_user_id: 645e12b705a7e7570bfa4c46 + intercom_user_id: 64a5d77d6406a50266e921b3 last_customer: summary: Last customer value: - admin_id: 991266474 + admin_id: 991266473 customer: - intercom_user_id: 645e12c005a7e7570bfa4c4d + intercom_user_id: 64a5d7856406a50266e921ba "/conversations/redact": post: summary: Redact a conversation part @@ -6027,10 +6009,10 @@ paths: Redact a conversation part: value: type: conversation - id: '695327' - created_at: 1683886812 - updated_at: 1683886815 - waiting_since: 1683886813 + id: '712480' + created_at: 1688590239 + updated_at: 1688590241 + waiting_since: 1688590240 snoozed_until: source: type: conversation @@ -6040,9 +6022,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266480' - name: Ciaran219 Lee - email: admin219@email.com + id: '991266479' + name: Ciaran218 Lee + email: admin218@email.com attachments: [] url: redacted: false @@ -6050,9 +6032,9 @@ paths: type: contact.list contacts: - type: contact - id: 645e12dc05a7e7570bfa4c62 + id: 64a5d79f6406a50266e921cf first_contact_reply: - created_at: 1683886813 + created_at: 1688590240 type: conversation url: admin_assignee_id: @@ -6076,15 +6058,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '138255' + id: '708340' part_type: comment body: "

    This message was deleted

    " - created_at: 1683886813 - updated_at: 1683886815 - notified_at: 1683886813 + created_at: 1688590240 + updated_at: 1688590241 + notified_at: 1688590240 assigned_to: author: - id: 645e12dc05a7e7570bfa4c62 + id: 64a5d79f6406a50266e921cf type: user name: Joe Bloggs email: joe@bloggs.com @@ -6102,7 +6084,7 @@ paths: Not found: value: type: error.list - request_id: 8b06690e-69e9-4039-b46d-737bf16f825e + request_id: fd4d34ef-63b2-47c6-a69d-ab8249ac4605 errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6116,7 +6098,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7a3126e7-9b13-4684-b54b-1de423a37ba8 + request_id: 9264cbe8-0fb6-4148-83f4-e3e8c2f778f7 errors: - code: unauthorized message: Access Token Invalid @@ -6132,8 +6114,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 695327 - conversation_part_id: 138255 + conversation_id: 712480 + conversation_part_id: 708340 not_found: summary: Not found value: @@ -6309,7 +6291,7 @@ paths: custom: false archived: false model: company - - id: 181627 + - id: 187681 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6321,9 +6303,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266486' - created_at: 1683886821 - updated_at: 1683886821 + admin_id: '991266485' + created_at: 1688590246 + updated_at: 1688590246 model: company - type: data_attribute name: id @@ -6390,7 +6372,7 @@ paths: Unauthorized: value: type: error.list - request_id: 01b063ab-5dba-483b-a022-5b8d032faac3 + request_id: 15dc003b-8da5-425d-abcc-d8f2bd24743f errors: - code: unauthorized message: Access Token Invalid @@ -6415,7 +6397,7 @@ paths: examples: Successful: value: - id: 181630 + id: 187684 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6425,9 +6407,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266488' - created_at: 1683886823 - updated_at: 1683886823 + admin_id: '991266487' + created_at: 1688590248 + updated_at: 1688590248 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6439,7 +6421,7 @@ paths: Same name already exists: value: type: error.list - request_id: cf6737da-7770-4fc6-b4ad-25e6e9be8c04 + request_id: 72bda38f-38b9-47f7-8704-5e434b165b31 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6447,7 +6429,7 @@ paths: Invalid name: value: type: error.list - request_id: 2214526a-da45-4c47-89c4-fc17c5189f39 + request_id: 50eabfce-369a-401e-b370-04788dc9e01d errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6455,7 +6437,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 1bd54184-391f-41bb-bd50-873a632bc14e + request_id: 9d579dfa-78c2-4600-9384-d314bfc6a016 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6463,14 +6445,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: cc3b261b-1621-4eb8-a58b-01b1451509af + request_id: 3017cb11-6a45-4488-a15f-73a904fe8637 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: a0635481-723f-4af5-beb1-123bb3c4c0a2 + request_id: 0f33d85f-29c4-4947-b907-7bd76af9cfac errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6485,7 +6467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4d70aa8c-6c59-4d8b-bbae-9d981c567a4c + request_id: 26d60297-075b-4cca-881e-be185cc80ac2 errors: - code: unauthorized message: Access Token Invalid @@ -6564,7 +6546,7 @@ paths: examples: Successful: value: - id: 181637 + id: 187691 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6578,9 +6560,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266495' - created_at: 1683886827 - updated_at: 1683886828 + admin_id: '991266494' + created_at: 1688590251 + updated_at: 1688590251 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6592,7 +6574,7 @@ paths: Too few options in list: value: type: error.list - request_id: 2eaf6129-7c7f-40c6-af80-0c12723fdf97 + request_id: 454c660d-3b56-4deb-a104-14367b2f1a94 errors: - code: parameter_invalid message: Options isn't an array @@ -6606,7 +6588,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 5d61fc16-29d8-476e-ac79-204f31b6add1 + request_id: 5c834787-b3e8-4e66-aacd-fa887e72edba errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6620,7 +6602,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 8b2ab1e9-5ec9-4390-a388-7cd58c9b8281 + request_id: cac31576-e5a3-46a2-a99f-06db42fa9e4b errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6635,7 +6617,7 @@ paths: Unauthorized: value: type: error.list - request_id: 91100c76-32a4-4703-b926-8b59a824115b + request_id: 836fc7f3-e501-4034-bab1-86166bc06f1d errors: - code: unauthorized message: Access Token Invalid @@ -6754,7 +6736,7 @@ paths: Unauthorized: value: type: error.list - request_id: f748e5bb-ba1d-45eb-b257-b7667d0a2ef8 + request_id: 51d2690c-9783-4818-b3c1-3cea0d89ac47 errors: - code: unauthorized message: Access Token Invalid @@ -6841,7 +6823,7 @@ paths: pages: next: http://api.intercom.test/events?next page email: user24@email.com - intercom_user_id: 645e12f805a7e7570bfa4c79 + intercom_user_id: 64a5d7b56406a50266e921e6 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6853,7 +6835,7 @@ paths: Unauthorized: value: type: error.list - request_id: d214d110-2bed-44af-bea6-62ec1e350cc1 + request_id: db995e8a-1a10-40fe-bab8-2e597b3b5d12 errors: - code: unauthorized message: Access Token Invalid @@ -6884,7 +6866,7 @@ paths: Unauthorized: value: type: error.list - request_id: dd2f22f2-5ef0-460f-afc4-49319e2ba1d0 + request_id: 87903ade-b8b1-4fae-ad0f-f27d804a9068 errors: - code: unauthorized message: Access Token Invalid @@ -6928,7 +6910,7 @@ paths: examples: successful: value: - job_identifier: pse61dal22ohjitj + job_identifier: np9nmp941sph26vv status: pending download_url: '' download_expires_at: '' @@ -6943,8 +6925,8 @@ paths: successful: summary: successful value: - created_at_after: 1683868843 - created_at_before: 1683886843 + created_at_after: 1688572264 + created_at_before: 1688590264 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -6978,7 +6960,7 @@ paths: examples: successful: value: - job_identifier: kxh2bd1826ycmfp6 + job_identifier: e65quw96426faznp status: pending download_url: '' download_expires_at: '' @@ -7010,7 +6992,7 @@ paths: examples: successful: value: - job_identifier: c9drnr4m95b4ekpo + job_identifier: r6sb0z7ah6kxoes1 status: canceled download_url: '' download_expires_at: '' @@ -7072,31 +7054,31 @@ paths: value: type: user_message id: '403918141' - created_at: 1683886892 + created_at: 1688590303 body: heyy message_type: inapp - conversation_id: '695341' + conversation_id: '712494' lead message created: value: type: user_message id: '403918142' - created_at: 1683886893 + created_at: 1688590304 body: heyy message_type: inapp - conversation_id: '695342' + conversation_id: '712495' admin message created: value: type: admin_message - id: '458089' - created_at: 1683886895 + id: '467170' + created_at: 1688590306 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991266524' - name: Ciaran252 Lee - email: admin252@email.com + id: '991266523' + name: Ciaran251 Lee + email: admin251@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7109,14 +7091,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 40016fba-2910-4f9c-98c9-c5dd9def41cb + request_id: f97909d4-c024-4bad-9efd-e80efa0b183b errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: f66621c7-f100-4e71-a7cf-d20074bec450 + request_id: ccb063c9-e98f-47c6-bca1-2de363d036bb errors: - code: parameter_invalid message: Body is required @@ -7130,7 +7112,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: c35b746b-5306-49d4-ba59-6dc71c28d3c1 + request_id: fc46eb75-fdd4-4267-bccb-d2e92303aa5f errors: - code: parameter_not_found message: No subject supplied for email message @@ -7144,7 +7126,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9f3b0d7a-cab2-4f6a-87f4-f760c809bf0c + request_id: 0c747b7f-6799-44d6-9a45-bb22374369b5 errors: - code: unauthorized message: Access Token Invalid @@ -7158,7 +7140,7 @@ paths: API plan restricted: value: type: error.list - request_id: 7c1134f9-0db5-405d-bffb-26cb01333031 + request_id: 8194a6af-4766-4fa0-b7e2-29bf89774079 errors: - code: api_plan_restricted message: Active subscription needed. @@ -7175,7 +7157,7 @@ paths: value: from: type: user - id: 645e132b05a7e7570bfa4cce + id: 64a5d7df6406a50266e9223b body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7183,7 +7165,7 @@ paths: value: from: type: lead - id: 645e132d05a7e7570bfa4ccf + id: 64a5d7e06406a50266e9223c body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7191,10 +7173,10 @@ paths: value: from: type: admin - id: '991266524' + id: '991266523' to: type: user - id: 645e132e05a7e7570bfa4cd0 + id: 64a5d7e26406a50266e9223d message_type: conversation body: heyy no_body_supplied_for_message: @@ -7202,10 +7184,10 @@ paths: value: from: type: admin - id: '991266525' + id: '991266524' to: type: user - id: 645e132f05a7e7570bfa4cd1 + id: 64a5d7e36406a50266e9223e message_type: inapp body: subject: heyy @@ -7214,7 +7196,7 @@ paths: value: from: type: admin - id: '991266526' + id: '991266525' to: type: user user_id: '70' @@ -7225,10 +7207,10 @@ paths: value: from: type: admin - id: '991266527' + id: '991266526' to: type: user - id: 645e133105a7e7570bfa4cd3 + id: 64a5d7e56406a50266e92240 message_type: email body: subject: heyy @@ -7259,12 +7241,12 @@ paths: total_pages: 1 type: pages data: - - id: '386447' + - id: '395529' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266532 + sender_id: 991266533 state: draft labels: [] cover_image_url: @@ -7274,15 +7256,15 @@ paths: - - deliver_silently: false - created_at: 1683886899 - updated_at: 1683886899 + created_at: 1688590311 + updated_at: 1688590311 newsfeed_assignments: [] - - id: '386448' + - id: '395528' type: news-item - workspace_id: this_is_an_id445_that_should_be_at_least_ + workspace_id: this_is_an_id443_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266534 + sender_id: 991266531 state: draft labels: [] cover_image_url: @@ -7292,8 +7274,8 @@ paths: - - deliver_silently: false - created_at: 1683886899 - updated_at: 1683886899 + created_at: 1688590310 + updated_at: 1688590310 newsfeed_assignments: [] total_count: 2 schema: @@ -7306,7 +7288,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2fbd985e-f124-4a68-bd46-6d09505aaadd + request_id: ad2ea5e4-cdb9-44d7-92cb-08655a42a341 errors: - code: unauthorized message: Access Token Invalid @@ -7331,12 +7313,12 @@ paths: examples: successful: value: - id: '386451' + id: '395532' type: news-item - workspace_id: this_is_an_id449_that_should_be_at_least_ + workspace_id: this_is_an_id447_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991266541 + sender_id: 991266540 state: live labels: - New @@ -7347,10 +7329,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1683886903 - updated_at: 1683886903 + created_at: 1688590313 + updated_at: 1688590313 newsfeed_assignments: - - newsfeed_id: 391494 + - newsfeed_id: 400575 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7362,7 +7344,7 @@ paths: Unauthorized: value: type: error.list - request_id: 58bc1356-2987-4217-9fab-42aa7ebd4474 + request_id: 3c6179e7-8267-4f9e-ae54-b01ce3665b65 errors: - code: unauthorized message: Access Token Invalid @@ -7383,14 +7365,14 @@ paths: - Product - Update - New - sender_id: 991266541 + sender_id: 991266540 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 391494 + - newsfeed_id: 400575 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7419,12 +7401,12 @@ paths: examples: successful: value: - id: '386452' + id: '395533' type: news-item - workspace_id: this_is_an_id453_that_should_be_at_least_ + workspace_id: this_is_an_id451_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266544 + sender_id: 991266543 state: live labels: [] cover_image_url: @@ -7434,11 +7416,11 @@ paths: - - deliver_silently: false - created_at: 1683886905 - updated_at: 1683886905 + created_at: 1688590314 + updated_at: 1688590314 newsfeed_assignments: - - newsfeed_id: 391496 - published_at: 1683886905 + - newsfeed_id: 400577 + published_at: 1688590314 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7449,7 +7431,7 @@ paths: News Item Not Found: value: type: error.list - request_id: d1056a7d-84f5-49b1-a6eb-4ab7d80d48cd + request_id: 5eebcf7c-0666-4637-9d87-be4443cc77cc errors: - code: not_found message: Resource Not Found @@ -7463,7 +7445,7 @@ paths: Unauthorized: value: type: error.list - request_id: 28e9debc-dd5b-4844-9fa9-725200381bd9 + request_id: 645b176b-22ec-4165-843e-1d4da3039033 errors: - code: unauthorized message: Access Token Invalid @@ -7494,12 +7476,12 @@ paths: examples: successful: value: - id: '386455' + id: '395536' type: news-item - workspace_id: this_is_an_id459_that_should_be_at_least_ + workspace_id: this_is_an_id457_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266552 + sender_id: 991266551 state: live labels: [] cover_image_url: @@ -7507,8 +7489,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1683886907 - updated_at: 1683886908 + created_at: 1688590317 + updated_at: 1688590318 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7520,7 +7502,7 @@ paths: News Item Not Found: value: type: error.list - request_id: df1dcd92-950b-4ea6-bf53-946a01032102 + request_id: 518a30ee-face-44ac-8aa7-d63f4d9114fe errors: - code: not_found message: Resource Not Found @@ -7534,7 +7516,7 @@ paths: Unauthorized: value: type: error.list - request_id: a9a4b8da-64b9-457d-bc97-a968a0952b6c + request_id: 87b7c6a1-de9a-4aa7-91c4-438a538e9924 errors: - code: unauthorized message: Access Token Invalid @@ -7551,7 +7533,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266552 + sender_id: 991266551 reactions: - "\U0001F61D" - "\U0001F602" @@ -7560,7 +7542,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266555 + sender_id: 991266554 reactions: - "\U0001F61D" - "\U0001F602" @@ -7590,7 +7572,7 @@ paths: examples: successful: value: - id: '386458' + id: '395539' object: news-item deleted: true schema: @@ -7603,7 +7585,7 @@ paths: News Item Not Found: value: type: error.list - request_id: f2e329e0-2724-4f49-a3d1-424f858f1866 + request_id: 480aaa2b-fc57-4cee-98e9-b3def8d6d9cf errors: - code: not_found message: Resource Not Found @@ -7617,7 +7599,7 @@ paths: Unauthorized: value: type: error.list - request_id: cd323871-97dd-4d78-bde7-42c56221758c + request_id: 5e18b051-96fd-4605-be06-5a4bf70cf306 errors: - code: unauthorized message: Access Token Invalid @@ -7670,7 +7652,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6c3fb5cd-6662-49e0-93c7-789976e38e6f + request_id: 1e11114f-162d-4227-ad32-7cb9a07bbca8 errors: - code: unauthorized message: Access Token Invalid @@ -7703,16 +7685,16 @@ paths: total_pages: 1 type: pages data: - - id: '391509' + - id: '400590' type: newsfeed name: Visitor Feed - created_at: 1683886914 - updated_at: 1683886914 - - id: '391510' + created_at: 1688590323 + updated_at: 1688590323 + - id: '400591' type: newsfeed name: Visitor Feed - created_at: 1683886914 - updated_at: 1683886914 + created_at: 1688590323 + updated_at: 1688590323 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7724,7 +7706,7 @@ paths: Unauthorized: value: type: error.list - request_id: febc79bb-f27b-4dd4-a11b-8b0a5f1b6c1d + request_id: 1fca2155-2e09-4de6-81eb-7c7ac976423f errors: - code: unauthorized message: Access Token Invalid @@ -7758,11 +7740,11 @@ paths: examples: successful: value: - id: '391513' + id: '400594' type: newsfeed name: Visitor Feed - created_at: 1683886916 - updated_at: 1683886916 + created_at: 1688590324 + updated_at: 1688590324 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7773,7 +7755,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1b310958-28d1-44e6-bdc2-aea3e7573e59 + request_id: 0107d2ff-ae40-4ec0-9134-3cc88bd82c0d errors: - code: unauthorized message: Access Token Invalid @@ -7807,16 +7789,16 @@ paths: Note found: value: type: note - id: '393530' - created_at: 1683195720 + id: '402611' + created_at: 1687899128 contact: type: contact - id: 645e134905a7e7570bfa4cde + id: 64a5d7f86406a50266e9224b author: type: admin - id: '991266571' - name: Ciaran299 Lee - email: admin299@email.com + id: '991266570' + name: Ciaran298 Lee + email: admin298@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7830,7 +7812,7 @@ paths: Note not found: value: type: error.list - request_id: a9e9069a-64ee-4858-9e60-86fc03535729 + request_id: e8fba4a9-149f-4670-8c74-aec56dbe6182 errors: - code: not_found message: Resource Not Found @@ -7844,7 +7826,7 @@ paths: Unauthorized: value: type: error.list - request_id: b51b74e4-9fd2-403a-85ff-914397d4dfde + request_id: 75db4348-ac39-4c78-8b12-d86f54b31870 errors: - code: unauthorized message: Access Token Invalid @@ -7880,16 +7862,16 @@ paths: type: segment.list segments: - type: segment - id: 645e135005a7e7570bfa4ce6 + id: 64a5d7fd6406a50266e92253 name: Jane segment - created_at: 1683886928 - updated_at: 1683886928 + created_at: 1688590333 + updated_at: 1688590333 person_type: user - type: segment - id: 645e135005a7e7570bfa4ce5 + id: 64a5d7fd6406a50266e92252 name: John segment - created_at: 1683886928 - updated_at: 1683886928 + created_at: 1688590333 + updated_at: 1688590333 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7901,7 +7883,7 @@ paths: Unauthorized: value: type: error.list - request_id: 58ad8f82-dad9-4d09-bb07-43f1c57d54ef + request_id: 77e1173c-6dc4-4373-bc4c-ffca4d71c5e6 errors: - code: unauthorized message: Access Token Invalid @@ -7935,10 +7917,10 @@ paths: Successful response: value: type: segment - id: 645e135105a7e7570bfa4ce9 + id: 64a5d7fe6406a50266e92256 name: John segment - created_at: 1683886929 - updated_at: 1683886929 + created_at: 1688590334 + updated_at: 1688590334 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -7950,7 +7932,7 @@ paths: Segment not found: value: type: error.list - request_id: f430bafd-cd0e-43ca-8210-62135a66722b + request_id: 53ed6828-580f-4b0b-afdf-362961f1c35d errors: - code: not_found message: Resource Not Found @@ -7964,7 +7946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1616860e-0b75-4131-b880-97839c0893b2 + request_id: 73cf9d7f-f3b1-4d08-abbb-d9f1ea297d2b errors: - code: unauthorized message: Access Token Invalid @@ -7994,7 +7976,7 @@ paths: type: list data: - type: subscription - id: '428869' + id: '437950' state: live consent_type: opt_out default_translation: @@ -8017,7 +7999,7 @@ paths: Unauthorized: value: type: error.list - request_id: c954d983-ff38-410f-a633-33595297ba19 + request_id: 3874aa6d-1252-4f6b-b93d-4a1807aceb0a errors: - code: unauthorized message: Access Token Invalid @@ -8047,7 +8029,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/11c8092e-988f-4143-bbdd-a545878c28bc + url: http://via.intercom.io/msgr/6891f473-1a0e-41dd-978a-12bba7400125 type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8080,7 +8062,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7ea108d1-a75d-467c-9ec1-786f4631f6d4 + request_id: 1c636897-27b0-4e46-8290-8f75bb39949c errors: - code: unauthorized message: Access Token Invalid @@ -8143,7 +8125,7 @@ paths: type: list data: - type: tag - id: '309795' + id: '318876' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8155,7 +8137,7 @@ paths: Unauthorized: value: type: error.list - request_id: cf8280d9-e3d6-4a1d-a074-1cfbbcaa6a44 + request_id: '0814dc8b-f842-43b9-9ec8-e4b991f6eb46' errors: - code: unauthorized message: Access Token Invalid @@ -8194,7 +8176,7 @@ paths: Action successful: value: type: tag - id: '309798' + id: '318879' name: test schema: "$ref": "#/components/schemas/tag" @@ -8206,7 +8188,7 @@ paths: Invalid parameters: value: type: error.list - request_id: 8584a076-9f74-4e24-8b96-97afb6d81187 + request_id: 210a2e8e-2b09-4aec-b96d-cfb0904dba1b errors: - code: parameter_invalid message: invalid tag parameters @@ -8220,14 +8202,14 @@ paths: Company not found: value: type: error.list - request_id: ea5e2e28-88b4-4f38-a8d3-7553e9c8b5c2 + request_id: 221aeae2-071e-478b-93bf-738c9186e701 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 78827a79-e59d-4591-a0f7-23a111734719 + request_id: e188620a-1811-43b4-a177-9fcbaad2e026 errors: - code: not_found message: User Not Found @@ -8241,7 +8223,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9334aa8b-e7bb-4695-91f1-2c8c5a6329ee + request_id: 20cc702e-668b-46fd-87e7-d06e5543eb9f errors: - code: unauthorized message: Access Token Invalid @@ -8307,7 +8289,7 @@ paths: Tag found: value: type: tag - id: '309806' + id: '318887' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8319,7 +8301,7 @@ paths: Tag not found: value: type: error.list - request_id: 8fab7a0c-5bd8-465f-93ab-2039c36c0106 + request_id: e4af6640-816a-4fde-9dc1-d5783a8b3269 errors: - code: not_found message: Resource Not Found @@ -8333,7 +8315,7 @@ paths: Unauthorized: value: type: error.list - request_id: f417082f-94a3-42ca-8dff-bdc214368447 + request_id: 5719a54e-d149-43ee-baf6-68bc10c85f28 errors: - code: unauthorized message: Access Token Invalid @@ -8369,7 +8351,7 @@ paths: Resource not found: value: type: error.list - request_id: 14095040-5b54-461a-9e4e-d154695853dd + request_id: 9b9c8d21-5162-499c-8389-18bf5c40ad09 errors: - code: not_found message: Resource Not Found @@ -8383,7 +8365,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 5e6a3f0d-4d50-45d6-a009-dd8bfc84f364 + request_id: 610dc457-eb15-48ab-9203-5abf9c498412 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8398,7 +8380,7 @@ paths: Unauthorized: value: type: error.list - request_id: f209e13d-ecff-4e73-b065-fba67ffb3310 + request_id: 9bb74496-1fa4-4118-9524-8f0a7cc91eac errors: - code: unauthorized message: Access Token Invalid @@ -8436,7 +8418,7 @@ paths: Unauthorized: value: type: error.list - request_id: d59ec96f-42bb-4e5e-99da-10de98edb1e6 + request_id: 2909e441-5a8d-4de7-b423-0c589677a1fe errors: - code: unauthorized message: Access Token Invalid @@ -8471,7 +8453,7 @@ paths: successful: value: type: team - id: '991266615' + id: '991266614' name: team 1 admin_ids: [] schema: @@ -8484,7 +8466,7 @@ paths: Team not found: value: type: error.list - request_id: 3270706c-bfa3-49da-8eed-c5f49af6da7c + request_id: e16e2e50-7f5c-4d08-8a8f-541ac0ba4166 errors: - code: team_not_found message: Team not found @@ -8498,7 +8480,7 @@ paths: Unauthorized: value: type: error.list - request_id: b6fe7b0b-d261-443f-bfd6-234020bcf835 + request_id: 5017c362-9262-44c3-b933-02ceeccfcc66 errors: - code: unauthorized message: Access Token Invalid @@ -8531,8 +8513,8 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '157422' - workspace_id: this_is_an_id551_that_should_be_at_least_ + id: '163476' + workspace_id: this_is_an_id549_that_should_be_at_least_ name: Attribute Title description: Attribute Description data_type: string @@ -8544,10 +8526,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 744642 + ticket_type_id: 763813 archived: false - created_at: 1683886962 - updated_at: 1683886962 + created_at: 1688590362 + updated_at: 1688590362 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8558,7 +8540,7 @@ paths: Unauthorized: value: type: error.list - request_id: f5d7ecba-87e0-495f-931b-411ffbd7f55d + request_id: 9f08c9c3-133a-4501-b09a-9c9b3bcf8864 errors: - code: unauthorized message: Access Token Invalid @@ -8611,8 +8593,8 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '157423' - workspace_id: this_is_an_id555_that_should_be_at_least_ + id: '163477' + workspace_id: this_is_an_id553_that_should_be_at_least_ name: name description: New Attribute Description data_type: string @@ -8622,10 +8604,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 744644 + ticket_type_id: 763815 archived: false - created_at: 1683886963 - updated_at: 1683886963 + created_at: 1688590363 + updated_at: 1688590364 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8636,7 +8618,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1fcfdf39-54ff-4ff1-a309-d4733ce0dcce + request_id: 191c210b-e90b-4783-9d6e-cf05ddf96f0f errors: - code: unauthorized message: Access Token Invalid @@ -8674,21 +8656,21 @@ paths: type: list data: - type: ticket_type - id: '744646' + id: '763817' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id559_that_should_be_at_least_ + workspace_id: this_is_an_id557_that_should_be_at_least_ archived: false - created_at: 1683886964 - updated_at: 1683886964 + created_at: 1688590364 + updated_at: 1688590364 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157424' - workspace_id: this_is_an_id559_that_should_be_at_least_ + id: '163478' + workspace_id: this_is_an_id557_that_should_be_at_least_ name: name description: description data_type: string @@ -8699,10 +8681,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 744646 + ticket_type_id: 763817 archived: false - created_at: 1683886964 - updated_at: 1683886964 + created_at: 1688590364 + updated_at: 1688590364 schema: "$ref": "#/components/schemas/ticket_type_list" '401': @@ -8713,7 +8695,7 @@ paths: Unauthorized: value: type: error.list - request_id: b66d2d76-8653-4200-8fe2-8c0d50329f91 + request_id: 73b8e4d2-9525-4011-b4a2-95dbaae524a5 errors: - code: unauthorized message: Access Token Invalid @@ -8741,14 +8723,14 @@ paths: Ticket type created: value: type: ticket_type - id: '744649' + id: '763820' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id563_that_should_be_at_least_ + workspace_id: this_is_an_id561_that_should_be_at_least_ archived: false - created_at: 1683886966 - updated_at: 1683886966 + created_at: 1688590366 + updated_at: 1688590366 is_internal: false ticket_type_attributes: type: list @@ -8763,7 +8745,7 @@ paths: Unauthorized: value: type: error.list - request_id: 04ffe2db-1f87-444c-a15c-eb1ceae0adc1 + request_id: 2cdae452-8c65-4b88-a7bb-f82f63acfeec errors: - code: unauthorized message: Access Token Invalid @@ -8807,21 +8789,21 @@ paths: Ticket type found: value: type: ticket_type - id: '744651' + id: '763822' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id567_that_should_be_at_least_ + workspace_id: this_is_an_id565_that_should_be_at_least_ archived: false - created_at: 1683886967 - updated_at: 1683886967 + created_at: 1688590367 + updated_at: 1688590367 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157428' - workspace_id: this_is_an_id567_that_should_be_at_least_ + id: '163482' + workspace_id: this_is_an_id565_that_should_be_at_least_ name: name description: description data_type: string @@ -8832,10 +8814,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 744651 + ticket_type_id: 763822 archived: false - created_at: 1683886967 - updated_at: 1683886967 + created_at: 1688590367 + updated_at: 1688590367 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8846,7 +8828,7 @@ paths: Unauthorized: value: type: error.list - request_id: e9d2a12b-1dc9-482a-b0ae-20eaaa2bb2ec + request_id: '08bb8b97-8374-4efa-99e4-69294b6d1ca3' errors: - code: unauthorized message: Access Token Invalid @@ -8878,21 +8860,21 @@ paths: Ticket type updated: value: type: ticket_type - id: '744653' + id: '763824' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id571_that_should_be_at_least_ + workspace_id: this_is_an_id569_that_should_be_at_least_ archived: false - created_at: 1683886969 - updated_at: 1683886970 + created_at: 1688590368 + updated_at: 1688590368 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157430' - workspace_id: this_is_an_id571_that_should_be_at_least_ + id: '163484' + workspace_id: this_is_an_id569_that_should_be_at_least_ name: name description: description data_type: string @@ -8903,10 +8885,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 744653 + ticket_type_id: 763824 archived: false - created_at: 1683886969 - updated_at: 1683886969 + created_at: 1688590368 + updated_at: 1688590368 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8917,7 +8899,7 @@ paths: Unauthorized: value: type: error.list - request_id: f427579a-7430-4cb4-84c4-2d8f8064bcc2 + request_id: 290f1121-a766-4736-9d1d-7d62a15eadc7 errors: - code: unauthorized message: Access Token Invalid @@ -8969,16 +8951,16 @@ paths: Successful response: value: type: ticket_part - id: '138258' + id: '708343' part_type: note body: "

    This is a body

    " - created_at: 1683886973 - updated_at: 1683886973 + created_at: 1688590371 + updated_at: 1688590371 author: - id: '991266637' + id: '991266636' type: admin - name: Ciaran360 Lee - email: admin360@email.com + name: Ciaran359 Lee + email: admin359@email.com attachments: [] redacted: false schema: @@ -8991,7 +8973,7 @@ paths: Unauthorized: value: type: error.list - request_id: ee0b1f58-f25e-441e-b63a-f210d029ff6d + request_id: f565d530-b260-40df-86c0-fbe6d798807a errors: - code: unauthorized message: Access Token Invalid @@ -9007,7 +8989,7 @@ paths: summary: Successful response value: body: This is a body - admin_id: 991266637 + admin_id: 991266636 message_type: note "/tickets": post: @@ -9029,28 +9011,28 @@ paths: Successful response: value: type: ticket - id: '695346' + id: '712499' ticket_attributes: title: example description: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '744657' + id: '763828' name: my-ticket-type-3 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id579_that_should_be_at_least_ + workspace_id: this_is_an_id577_that_should_be_at_least_ archived: false - created_at: 1683886976 - updated_at: 1683886976 + created_at: 1688590374 + updated_at: 1688590374 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157436' - workspace_id: this_is_an_id579_that_should_be_at_least_ + id: '163490' + workspace_id: this_is_an_id577_that_should_be_at_least_ name: title description: ola data_type: string @@ -9061,13 +9043,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744657 + ticket_type_id: 763828 archived: false - created_at: 1683886976 - updated_at: 1683886976 + created_at: 1688590374 + updated_at: 1688590374 - type: ticket_type_attribute - id: '157437' - workspace_id: this_is_an_id579_that_should_be_at_least_ + id: '163491' + workspace_id: this_is_an_id577_that_should_be_at_least_ name: description description: ola data_type: string @@ -9078,34 +9060,34 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744657 + ticket_type_id: 763828 archived: false - created_at: 1683886977 - updated_at: 1683886977 + created_at: 1688590374 + updated_at: 1688590374 contacts: type: contact.list contacts: - - id: 645e138105a7e7570bfa4d19 + - id: 64a5d8266406a50266e92286 role: user admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1683886978 - updated_at: 1683886976 + created_at: 1688590375 + updated_at: 1688590374 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '138260' + id: '708345' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1683886978 - updated_at: 1683886978 + created_at: 1688590375 + updated_at: 1688590375 author: - id: '991266650' + id: '991266649' type: bot name: Operator - email: operator+this_is_an_id579_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id577_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 1 @@ -9119,7 +9101,7 @@ paths: Unauthorized: value: type: error.list - request_id: c12608bf-cc39-494d-a822-981eeb4ff8d3 + request_id: 1f6b3652-f791-433b-b1d2-1bb8a751fdf9 errors: - code: unauthorized message: Access Token Invalid @@ -9134,9 +9116,9 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 744657 + ticket_type_id: 763828 contacts: - - id: 645e138105a7e7570bfa4d19 + - id: 64a5d8266406a50266e92286 ticket_attributes: title: example description: there is a problem @@ -9166,28 +9148,28 @@ paths: Successful response: value: type: ticket - id: '695347' + id: '712500' ticket_attributes: title: example description: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '744659' + id: '763830' name: my-ticket-type-5 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id583_that_should_be_at_least_ + workspace_id: this_is_an_id581_that_should_be_at_least_ archived: false - created_at: 1683886980 - updated_at: 1683886980 + created_at: 1688590378 + updated_at: 1688590378 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157441' - workspace_id: this_is_an_id583_that_should_be_at_least_ + id: '163495' + workspace_id: this_is_an_id581_that_should_be_at_least_ name: title description: ola data_type: string @@ -9198,13 +9180,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744659 + ticket_type_id: 763830 archived: false - created_at: 1683886980 - updated_at: 1683886980 + created_at: 1688590378 + updated_at: 1688590378 - type: ticket_type_attribute - id: '157442' - workspace_id: this_is_an_id583_that_should_be_at_least_ + id: '163496' + workspace_id: this_is_an_id581_that_should_be_at_least_ name: description description: ola data_type: string @@ -9215,87 +9197,87 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744659 + ticket_type_id: 763830 archived: false - created_at: 1683886980 - updated_at: 1683886980 + created_at: 1688590378 + updated_at: 1688590378 contacts: type: contact.list contacts: - - id: 645e138505a7e7570bfa4d1a + - id: 64a5d82a6406a50266e92287 role: lead - admin_assignee_id: '991266664' + admin_assignee_id: '991266663' team_assignee_id: '0' - created_at: 1683886981 - updated_at: 1683886980 + created_at: 1688590379 + updated_at: 1688590378 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '138261' + id: '708346' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1683886981 - updated_at: 1683886981 + created_at: 1688590379 + updated_at: 1688590379 author: - id: '991266662' + id: '991266661' type: admin - name: Ciaran382 Lee - email: admin382@email.com + name: Ciaran381 Lee + email: admin381@email.com attachments: [] redacted: false - type: ticket_part - id: '138262' + id: '708347' part_type: ticket_attribute_updated_by_admin - created_at: 1683886983 - updated_at: 1683886983 + created_at: 1688590380 + updated_at: 1688590380 author: - id: '991266663' + id: '991266662' type: bot name: Operator - email: operator+this_is_an_id583_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id581_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '138263' + id: '708348' part_type: ticket_attribute_updated_by_admin - created_at: 1683886983 - updated_at: 1683886983 + created_at: 1688590381 + updated_at: 1688590381 author: - id: '991266663' + id: '991266662' type: bot name: Operator - email: operator+this_is_an_id583_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id581_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '138264' + id: '708349' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1683886983 - updated_at: 1683886983 + created_at: 1688590381 + updated_at: 1688590381 author: - id: '991266663' + id: '991266662' type: bot name: Operator - email: operator+this_is_an_id583_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id581_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '138265' + id: '708350' part_type: assignment - created_at: 1683886984 - updated_at: 1683886984 + created_at: 1688590382 + updated_at: 1688590382 assigned_to: type: admin - id: '991266664' + id: '991266663' author: - id: '991266662' + id: '991266661' type: admin - name: Ciaran382 Lee - email: admin382@email.com + name: Ciaran381 Lee + email: admin381@email.com attachments: [] redacted: false total_count: 5 @@ -9309,14 +9291,14 @@ paths: Admin not found: value: type: error.list - request_id: '00034590-4796-454f-a627-5434861e3389' + request_id: 48efe485-a72c-4fd1-ba23-061dab393f58 errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: e54f3f54-c8a9-40bd-976e-d9c34a052596 + request_id: 522c246d-b344-4746-a37f-1e7c6d336a83 errors: - code: assignee_not_found message: Assignee not found @@ -9328,7 +9310,7 @@ paths: Unauthorized: value: type: error.list - request_id: addeafe4-ee30-4d84-8d56-7e56c0f1e0fe + request_id: 24abcfd0-26a4-4139-9e05-10e814109e5c errors: - code: unauthorized message: Access Token Invalid @@ -9348,8 +9330,9 @@ paths: description: there is a problem state: in_progress assignment: - admin_id: '991266662' - assignee_id: '991266664' + admin_id: '991266661' + assignee_id: '991266663' + open: true admin_not_found: summary: Admin not found value: @@ -9359,7 +9342,7 @@ paths: state: in_progress assignment: admin_id: '123' - assignee_id: '991266672' + assignee_id: '991266671' assignee_not_found: summary: Assignee not found value: @@ -9368,7 +9351,7 @@ paths: description: there is a problem state: in_progress assignment: - admin_id: '991266678' + admin_id: '991266677' assignee_id: '456' get: summary: Retrieve a ticket @@ -9395,28 +9378,28 @@ paths: Ticket found: value: type: ticket - id: '695350' + id: '712503' ticket_attributes: title: attribute_value description: ticket_state: submitted ticket_type: type: ticket_type - id: '744663' + id: '763834' name: my-ticket-type-9 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id591_that_should_be_at_least_ + workspace_id: this_is_an_id589_that_should_be_at_least_ archived: false - created_at: 1683886992 - updated_at: 1683886992 + created_at: 1688590389 + updated_at: 1688590389 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '157452' - workspace_id: this_is_an_id591_that_should_be_at_least_ + id: '163506' + workspace_id: this_is_an_id589_that_should_be_at_least_ name: title description: ola data_type: string @@ -9427,13 +9410,13 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744663 + ticket_type_id: 763834 archived: false - created_at: 1683886993 - updated_at: 1683886993 + created_at: 1688590389 + updated_at: 1688590389 - type: ticket_type_attribute - id: '157453' - workspace_id: this_is_an_id591_that_should_be_at_least_ + id: '163507' + workspace_id: this_is_an_id589_that_should_be_at_least_ name: description description: ola data_type: string @@ -9444,34 +9427,34 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 744663 + ticket_type_id: 763834 archived: false - created_at: 1683886993 - updated_at: 1683886993 + created_at: 1688590389 + updated_at: 1688590389 contacts: type: contact.list contacts: - - id: 645e139105a7e7570bfa4d1d + - id: 64a5d8356406a50266e9228a role: lead admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1683886993 - updated_at: 1683886992 + created_at: 1688590390 + updated_at: 1688590389 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '138268' + id: '708353' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1683886994 - updated_at: 1683886994 + created_at: 1688590390 + updated_at: 1688590390 author: - id: '991266691' + id: '991266690' type: admin - name: Ciaran408 Lee - email: admin408@email.com + name: Ciaran407 Lee + email: admin407@email.com attachments: [] redacted: false total_count: 1 @@ -9485,12 +9468,91 @@ paths: Unauthorized: value: type: error.list - request_id: db18806c-5659-4a44-9125-b07c74d3d56d + request_id: e7db5053-3daf-494c-8f2d-3ea46cfa8851 errors: - code: unauthorized message: Access Token Invalid schema: "$ref": "#/components/schemas/error" + "/tickets/search": + post: + summary: Search tickets + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Tickets + description: "You can search for multiple tickets by the value of their attributes + in order to fetch exactly which ones you want.\n\nTo search for tickets, you + send a POST request to https://api.intercom.io/tickets/search. This will accept + a query object in the body which will define your filters.\n\n> \U0001F6A7 + Nesting & Limitations\n>\n> You can nest these filters in order to get even + more granular insights that pinpoint exactly what you need. Example: (1 OR + 2) AND (3 OR 4).\n> There are some limitations to the amount of multiples + there can be:\n> - There's a limit of max 2 nested filters\n> - There's a + limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost + keys listed as part of the Ticket model are searchable, whether writeable + or not. The value you search for has to match the accepted type, otherwise + the query will fail (ie. as `created_at` accepts a date, the `value` cannot + be a string such as `\"foobar\"`).\n\n| Field | + Type |\n| + :---------------------------------------- | :--------------------------------------------------------------------------------------- + |\n| id | String |\n| + created_at | Date (UNIX timestamp) |\n| + updated_at | Date (UNIX timestamp) |\n| + title | String |\n| + description | String |\n| + ticket_type_id | String |\n| + contact_ids | String |\n| + teammate_ids | String |\n| + admin_assignee_id | String |\n| + team_assignee_id | String |\n| + open | Boolean |\n| + state | String |\n| + snoozed_until | Date (UNIX timestamp) |\n| + ticket_attribute.{id} | String or Boolean or Date (UNIX + timestamp) or Float or Integer |\n\n" + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + type: error.list + request_id: c7571913-7db2-486c-86b1-112645be7ff2 + errors: + - code: intercom_version_invalid + message: Requested resource is not available in current API + version + schema: + "$ref": "#/components/schemas/ticket_list" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/search_request" + examples: + successful: + summary: successful + value: + query: + operator: AND + value: + - field: id + operator: "=" + value: '712504' + - operator: OR + value: + - field: id + operator: "=" + value: '712504' + - field: id + operator: "=" + value: '712504' "/visitors": put: summary: Update a visitor @@ -9517,26 +9579,26 @@ paths: successful: value: type: visitor - id: 645e13e305a7e7570bfa4e09 + id: 64a5d87c6406a50266e92377 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Violet Plane + pseudonym: Blue Cactus avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/violet-plane.png + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/blue-cactus.png app_id: this_is_an_id597_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1683887075 - remote_created_at: 1683887075 - signed_up_at: 1683887075 - updated_at: 1683887075 + created_at: 1688590460 + remote_created_at: 1688590460 + signed_up_at: 1688590460 + updated_at: 1688590461 session_count: 0 social_profiles: type: social_profile.list @@ -9569,7 +9631,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 2c9e2795-293e-4577-a6b4-81d15ecd5b41 + request_id: fb3fc80d-e6dd-48b8-bde2-81204e1090fc errors: - code: not_found message: Visitor Not Found @@ -9583,7 +9645,7 @@ paths: Unauthorized: value: type: error.list - request_id: a1f12991-a3cf-4c51-bdc0-577943d1dbf6 + request_id: 0ae9fce1-aab2-4b94-ae08-1abbd2a89d09 errors: - code: unauthorized message: Access Token Invalid @@ -9598,7 +9660,7 @@ paths: successful: summary: successful value: - id: 645e13e305a7e7570bfa4e09 + id: 64a5d87c6406a50266e92377 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -9631,7 +9693,7 @@ paths: successful: value: type: visitor - id: 645e13e505a7e7570bfa4e0c + id: 64a5d87e6406a50266e9237a user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9647,10 +9709,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1683887077 - remote_created_at: 1683887077 - signed_up_at: 1683887077 - updated_at: 1683887077 + created_at: 1688590462 + remote_created_at: 1688590462 + signed_up_at: 1688590462 + updated_at: 1688590462 session_count: 0 social_profiles: type: social_profile.list @@ -9683,7 +9745,7 @@ paths: Visitor not found: value: type: error.list - request_id: 8999943b-f286-42c6-bc3b-34c699bd60db + request_id: a53a18d2-9260-47fe-a494-9443eb8c4524 errors: - code: not_found message: Visitor Not Found @@ -9697,7 +9759,7 @@ paths: Unauthorized: value: type: error.list - request_id: 54492ca7-caa3-49ea-8bc5-d570d596723b + request_id: ca055618-0d5a-457c-9d39-087164728838 errors: - code: unauthorized message: Access Token Invalid @@ -9731,7 +9793,7 @@ paths: successful: value: type: visitor - id: 645e13e705a7e7570bfa4e0f + id: 64a5d8806406a50266e9237d user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9747,10 +9809,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1683887079 - remote_created_at: 1683887079 - signed_up_at: 1683887079 - updated_at: 1683887079 + created_at: 1688590464 + remote_created_at: 1688590464 + signed_up_at: 1688590464 + updated_at: 1688590464 session_count: 0 social_profiles: type: social_profile.list @@ -9783,7 +9845,7 @@ paths: Visitor not found: value: type: error.list - request_id: 5b48b901-43b4-4454-b748-5b780f84f68c + request_id: 3214e81e-908b-44ef-b46d-0e61651c1ff9 errors: - code: not_found message: Visitor Not Found @@ -9797,7 +9859,7 @@ paths: Unauthorized: value: type: error.list - request_id: 54e8534f-a1f2-4153-935a-07773426fdb3 + request_id: 1bacaae7-0f9a-4d47-bd87-8d1d3e7b50e4 errors: - code: unauthorized message: Access Token Invalid @@ -9830,7 +9892,7 @@ paths: successful: value: type: visitor - id: 645e13ea05a7e7570bfa4e12 + id: 64a5d8816406a50266e92380 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9846,10 +9908,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1683887082 - remote_created_at: 1683887082 - signed_up_at: 1683887082 - updated_at: 1683887083 + created_at: 1688590466 + remote_created_at: 1688590465 + signed_up_at: 1688590465 + updated_at: 1688590466 session_count: 0 social_profiles: type: social_profile.list @@ -9882,7 +9944,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 8d80cbba-7dcb-4702-b752-4a36c590ada5 + request_id: ee36206c-9027-4eeb-be30-3d3084ef00d0 errors: - code: not_found message: User Not Found @@ -9896,7 +9958,7 @@ paths: Unauthorized: value: type: error.list - request_id: 553fafcd-dbb7-4f99-b124-010fa02ea896 + request_id: d5617dd5-dc14-4f47-91e1-d1f02ebc8f68 errors: - code: unauthorized message: Access Token Invalid @@ -9927,26 +9989,26 @@ paths: successful: value: type: visitor - id: 645e13ec05a7e7570bfa4e15 + id: 64a5d8836406a50266e92383 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: - pseudonym: Indigo Lightning + pseudonym: Turquoise Bird avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/indigo-lightning.png + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/turquoise-bird.png app_id: this_is_an_id621_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1683887084 - remote_created_at: 1683887085 - signed_up_at: 1683887085 - updated_at: 1683887085 + created_at: 1688590467 + remote_created_at: 1688590468 + signed_up_at: 1688590468 + updated_at: 1688590468 session_count: 0 social_profiles: type: social_profile.list @@ -9979,7 +10041,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3525c961-a7d7-4c41-a980-1e40170d257a + request_id: 5bfdd874-5fd5-406a-9008-14db6e3df6a4 errors: - code: unauthorized message: Access Token Invalid @@ -10749,9 +10811,9 @@ components: example: '4324241' body: type: string - description: Optionally you can leave a note in the conversation for additional - context to other teammates. - example: Please take a look at this conversation. + description: Optionally you can send a response in the conversation when + it is assigned. + example: Let me pass you over to one of my colleagues. required: - message_type - type @@ -12719,6 +12781,7 @@ components: description: The id of the admin who is making the note. example: '1234' required: + - body - admin_id create_ticket_request: description: You can create a Ticket @@ -14757,12 +14820,12 @@ components: created_at: type: integer format: date-time - description: The time the ticket was created. + description: The time the ticket was created as a UTC Unix timestamp. example: 1663597223 updated_at: type: integer format: date-time - description: The last time the ticket was updated. + description: The last time the ticket was updated as a UTC Unix timestamp. example: 1663597260 ticket_parts: "$ref": "#/components/schemas/ticket_parts"