From 98f6e404ee671f4aca8486ceea3977e8a01feb36 Mon Sep 17 00:00:00 2001 From: Kamil Chodorek Date: Thu, 13 Jul 2023 12:57:57 +0200 Subject: [PATCH] Update v0 schema --- descriptions/0/api.intercom.io.yaml | 1777 ++++++++++++++------------- 1 file changed, 908 insertions(+), 869 deletions(-) diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index b2d8259..30b1f39 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/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: 1688476252 + created_at: 1689243935 secure: false identity_verification: false timezone: America/Los_Angeles @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 69e33939-71e3-4225-adf8-949b3ad95c58 + request_id: ee95fcdb-7963-411d-9660-fa16f38cb4d4 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3a196218-94e7-4f86-a864-2576d87b0f4c + request_id: 10b96817-4c12-4468-9271-4b6b5aee410d errors: - code: unauthorized message: Access Token Invalid @@ -201,7 +201,7 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: f6d57cb1-52de-46ad-a83e-be4a7d34d212 + - id: e0002f5a-0a9f-413a-b3b1-22815b72197d 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: 1687966696 + created_at: 1689243943 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message title. - - id: 69a4825e-c4c0-4f53-b1de-9abde02ab625 + - id: cc625e1e-5ed5-4638-990c-3f8228cc41d0 performed_by: type: admin id: '991266219' @@ -227,7 +227,7 @@ paths: metadata: before: before after: after - created_at: 1687966696 + created_at: 1689243943 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: 126588d6-2696-4762-b057-32574d4e96ff + request_id: 21a112e7-b38d-422b-ab2c-5ce4c7f1a8f3 errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991266221' + id: '991266222' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: dfc61055-3224-4796-a255-695a5a58c683 + request_id: e7f52322-d411-4902-93f2-476dbe947f7d errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991266223' + id: '991266224' 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: 514a11ca-95a0-4aae-96e8-d3f67483411d + request_id: c44752d5-82bd-4e4b-80ab-9280afa0d3e5 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0bed011a-045c-45e6-b8e2-9279351806c1 + request_id: 4841c759-e649-47b6-94f3-7e738e648ed7 errors: - code: unauthorized message: Access Token Invalid @@ -398,11 +398,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991266226 + author_id: 991266227 state: published - created_at: 1687966701 - updated_at: 1687966701 - url: http://help-center.test/myapp-22/en/articles/91819-this-is-the-article-title + created_at: 1689243950 + updated_at: 1689243950 + 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: e137da90-e6f8-43e1-b405-93fe277d3f79 + request_id: 2b8b1cfb-d6be-4bd8-bf7e-365f6f971e4c errors: - code: unauthorized message: Access Token Invalid @@ -454,11 +454,11 @@ paths: title: Thanks for everything description: Description of the Article body:

Body of the Article

- author_id: 991266234 + author_id: 991266232 state: published - created_at: 1687966703 - updated_at: 1687966703 - url: http://help-center.test/myapp-26/en/articles/91822-thanks-for-everything + created_at: 1689243954 + updated_at: 1689243954 + 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: 729dd272-1987-4e0e-80cc-4025e5ce059b + request_id: 7df4c1b1-9f4f-4f77-aa2d-5640510c7737 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: e83030f1-262d-4a07-a0df-31c8320ca593 + request_id: 7f0639d2-41ae-442f-96d7-5bd1579303a2 errors: - code: unauthorized message: Access Token Invalid @@ -502,7 +502,7 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991266234 + author_id: 991266232 state: published parent_id: 87785 parent_type: collection @@ -511,7 +511,7 @@ paths: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991266234 + author_id: 991266232 state: published bad_request: summary: Bad Request @@ -564,11 +564,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991266241 + author_id: 991266237 state: published - created_at: 1687966706 - updated_at: 1687966706 - url: http://help-center.test/myapp-32/en/articles/91825-this-is-the-article-title + created_at: 1689243957 + updated_at: 1689243957 + 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: b24c2f52-06ff-4eb0-9327-6b8706f61247 + request_id: 5181ab2d-2f6e-491b-a6bd-9743ee6094e5 errors: - code: not_found message: Resource Not Found @@ -593,7 +593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3ba1f2e4-2d39-497f-a9a0-e1bdb73842af + request_id: 9b58668b-b813-43f6-b8b5-dd0174f8288d errors: - code: unauthorized message: Access Token Invalid @@ -642,11 +642,11 @@ paths: title: Christmas is here! description: '' body:

New gifts in store for the jolly season

- author_id: 991266250 + author_id: 991266243 state: published - created_at: 1687966709 - updated_at: 1687966710 - url: http://help-center.test/myapp-38/en/articles/91828-christmas-is-here + created_at: 1689243959 + updated_at: 1689243960 + 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: a5f8490e-794e-420c-bf51-f8885ae46a51 + request_id: b1eeefc7-f4bf-4d44-aa92-db54a4b39e69 errors: - code: not_found message: Resource Not Found @@ -671,7 +671,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2b4fb240-1669-4adb-9f6b-10e168864b7e + request_id: 2e392b5a-740c-45c7-834b-9e815e056eee errors: - code: unauthorized message: Access Token Invalid @@ -732,7 +732,7 @@ paths: Article Not Found: value: type: error.list - request_id: a25cb760-7405-4925-8fc3-ba6378f5a4a8 + request_id: da791754-3d1b-499b-86d2-ab43e51f3fe2 errors: - code: not_found message: Resource Not Found @@ -746,7 +746,7 @@ paths: Unauthorized: value: type: error.list - request_id: d3e155b5-4768-4428-af89-699d92a06674 + request_id: 8b490b14-b6ba-48f1-869e-0516cc250e0c errors: - code: unauthorized message: Access Token Invalid @@ -778,23 +778,13 @@ paths: Successful: value: type: list - data: - - 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: 1687966715 - updated_at: 1687966715 - description: english collection description - icon: bookmark - parent_id: - total_count: 1 + data: [] + total_count: 0 pages: type: pages page: 1 per_page: 20 - total_pages: 1 + total_pages: 0 schema: "$ref": "#/components/schemas/collection_list" '401': @@ -805,7 +795,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b112064-8c79-41e5-9f06-05365eb18633 + request_id: 9002c40c-4a9e-49a0-b4bc-43e3ee45acb2 errors: - code: unauthorized message: Access Token Invalid @@ -835,8 +825,8 @@ paths: name: Thanks for everything url: http://help-center.test/myapp-54/ order: 1 - created_at: 1687966716 - updated_at: 1687966716 + created_at: 1689243968 + updated_at: 1689243968 description: '' icon: book-bookmark parent_id: @@ -850,7 +840,7 @@ paths: Bad Request: value: type: error.list - request_id: 372dc4b5-f5a4-4d99-bb55-4e2e5c787c85 + request_id: bc41c785-6b1a-40d2-bc02-60a024a658bf errors: - code: parameter_not_found message: Name is a required parameter. @@ -864,7 +854,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9d49cfcd-6f8c-44dc-aa86-86feb89ecd2d + request_id: fd7f209a-0da1-4d61-943f-228c8139edcc errors: - code: unauthorized message: Access Token Invalid @@ -917,8 +907,8 @@ paths: name: English collection title url: http://help-center.test/myapp-60/collection-20 order: 20 - created_at: 1687966718 - updated_at: 1687966718 + created_at: 1689243969 + updated_at: 1689243969 description: english collection description icon: bookmark parent_id: @@ -932,7 +922,7 @@ paths: Collection not found: value: type: error.list - request_id: f5cded43-7636-44e9-a21e-28c1d0e71102 + request_id: 7a2c5de2-7c17-4dfe-b2ce-756f0f8b3921 errors: - code: not_found message: Resource Not Found @@ -946,7 +936,7 @@ paths: Unauthorized: value: type: error.list - request_id: cae932e1-76f3-47e4-9a3b-ebf40c55f91d + request_id: d111f6e8-c952-4fe3-831d-23038822410a errors: - code: unauthorized message: Access Token Invalid @@ -984,8 +974,8 @@ paths: name: Update collection name url: http://help-center.test/myapp-66/collection-23 order: 23 - created_at: 1687966720 - updated_at: 1687966720 + created_at: 1689243971 + updated_at: 1689243972 description: english collection description icon: folder parent_id: @@ -999,7 +989,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 88998713-7875-48d6-b884-3593d6edc96c + request_id: d6bbd2f3-f6aa-4a61-bada-d049d7e34d40 errors: - code: not_found message: Resource Not Found @@ -1013,7 +1003,7 @@ paths: Unauthorized: value: type: error.list - request_id: 72e7ec92-a11c-424d-b100-ba46c6540b3e + request_id: d11f66e9-c1c6-42ee-8013-4a23db1d32b8 errors: - code: unauthorized message: Access Token Invalid @@ -1073,7 +1063,7 @@ paths: collection Not Found: value: type: error.list - request_id: 61807bf3-ed5a-4572-81e0-dc11be25c568 + request_id: '049b539a-b2d6-4c07-91c5-d51500ff9a0a' errors: - code: not_found message: Resource Not Found @@ -1087,7 +1077,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22e0e426-323b-43ad-8300-f4edede8e766 + request_id: c6132f9c-3a86-4113-aabd-23a3520d833e errors: - code: unauthorized message: Access Token Invalid @@ -1119,12 +1109,12 @@ paths: value: type: company company_id: company_remote_id - id: 649c540b85b35b2332e7ef23 - app_id: this_is_an_id95_that_should_be_at_least_4 + id: 64afd1505e902942bec857c2 + app_id: this_is_an_id94_that_should_be_at_least_4 name: my company remote_created_at: 1374138000 - created_at: 1687966731 - updated_at: 1687966731 + created_at: 1689243984 + updated_at: 1689243984 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1161,7 +1151,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7481051a-cd61-4a67-8acf-06d4d35cae6a + request_id: e4631f5d-9c2c-4a09-a9fb-1a3ecc99190e errors: - code: unauthorized message: Access Token Invalid @@ -1232,12 +1222,12 @@ paths: value: type: company company_id: '1' - id: 649c540e85b35b2332e7ef2d - app_id: this_is_an_id101_that_should_be_at_least_ + id: 64afd1545e902942bec857cc + app_id: this_is_an_id100_that_should_be_at_least_ name: company2 - remote_created_at: 1687966734 - created_at: 1687966734 - updated_at: 1687966734 + remote_created_at: 1689243988 + created_at: 1689243988 + updated_at: 1689243988 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1259,7 +1249,7 @@ paths: Company Not Found: value: type: error.list - request_id: 2172ed7f-54e0-4b5f-a08b-6d5177bb386c + request_id: bca1b86e-433a-4ac2-9d2f-ec02eac44c13 errors: - code: company_not_found message: Company Not Found @@ -1273,7 +1263,7 @@ paths: Unauthorized: value: type: error.list - request_id: 318ad022-f85a-49f0-b79f-2da06b29bd93 + request_id: e98561d4-c314-42b1-a467-d64074d02eaf errors: - code: unauthorized message: Access Token Invalid @@ -1308,12 +1298,12 @@ paths: value: type: company company_id: '1' - id: 649c541185b35b2332e7ef38 - app_id: this_is_an_id107_that_should_be_at_least_ + id: 64afd1585e902942bec857d7 + app_id: this_is_an_id106_that_should_be_at_least_ name: company4 - remote_created_at: 1687966737 - created_at: 1687966738 - updated_at: 1687966738 + remote_created_at: 1689243992 + created_at: 1689243992 + updated_at: 1689243992 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1335,7 +1325,7 @@ paths: Company Not Found: value: type: error.list - request_id: efe207cc-333f-46a9-8084-87269cba8066 + request_id: 96d5dd5c-143a-4e35-9f0c-e03ed7b23367 errors: - code: company_not_found message: Company Not Found @@ -1349,7 +1339,7 @@ paths: Unauthorized: value: type: error.list - request_id: e8b20b70-9901-4908-ab3e-9b81b20809f6 + request_id: 9ad90ce4-4bb8-482a-b8d3-862dbd8c677e errors: - code: unauthorized message: Access Token Invalid @@ -1383,12 +1373,12 @@ paths: value: type: company company_id: '1' - id: 649c541585b35b2332e7ef42 - app_id: this_is_an_id113_that_should_be_at_least_ + id: 64afd15c5e902942bec857e1 + app_id: this_is_an_id112_that_should_be_at_least_ name: company5 - remote_created_at: 1687966741 - created_at: 1687966741 - updated_at: 1687966741 + remote_created_at: 1689243996 + created_at: 1689243996 + updated_at: 1689243996 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1410,7 +1400,7 @@ paths: Company Not Found: value: type: error.list - request_id: 5e6d9ab1-e938-4554-98a2-bc81588d5b74 + request_id: 10b9deb6-e96d-4ea8-a6c3-128e20e34cfb errors: - code: company_not_found message: Company Not Found @@ -1424,7 +1414,7 @@ paths: Unauthorized: value: type: error.list - request_id: 51e22ef8-0155-4858-80b8-0346fa69a77d + request_id: 3d1c1252-b47b-4732-9885-9bb77311e3e5 errors: - code: unauthorized message: Access Token Invalid @@ -1456,7 +1446,7 @@ paths: examples: Successful: value: - id: 649c541885b35b2332e7ef4c + id: 64afd1615e902942bec857eb object: company deleted: true schema: @@ -1469,7 +1459,7 @@ paths: Company Not Found: value: type: error.list - request_id: 1e2e9dcf-0c09-4146-b4cd-f9303139d7cc + request_id: 7251a10b-2a34-46c0-9d66-560049895820 errors: - code: company_not_found message: Company Not Found @@ -1483,7 +1473,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2c6f16f1-317b-4d5c-81da-baae03a0a222 + request_id: e4a95b97-0e24-438b-9283-910c356b0073 errors: - code: unauthorized message: Access Token Invalid @@ -1535,7 +1525,7 @@ paths: Company Not Found: value: type: error.list - request_id: aea47031-7d96-4013-981f-4871a4e4c57d + request_id: 00145ae8-3ed2-4113-b022-2f774b193bd7 errors: - code: company_not_found message: Company Not Found @@ -1549,7 +1539,7 @@ paths: Unauthorized: value: type: error.list - request_id: ef45ba1a-1986-4c82-bee2-816169af0e9c + request_id: 8f17de1b-a254-4eae-8479-1c898e7f99cb errors: - code: unauthorized message: Access Token Invalid @@ -1594,7 +1584,7 @@ paths: Company Not Found: value: type: error.list - request_id: b94fafe5-5e7b-45f2-98bc-7e8df8944b7b + request_id: 499dbfcc-7ac8-46f6-9ddf-41bb5c8833d3 errors: - code: company_not_found message: Company Not Found @@ -1608,7 +1598,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5bd2c388-8f58-4d03-b6e8-30f6b1fd71af + request_id: 8c41f6cf-6e18-4e13-a77a-4b34addabdbb errors: - code: unauthorized message: Access Token Invalid @@ -1689,12 +1679,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 649c542385b35b2332e7ef68 - app_id: this_is_an_id137_that_should_be_at_least_ + id: 64afd16d5e902942bec85807 + app_id: this_is_an_id136_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1687966755 - created_at: 1687966755 - updated_at: 1687966755 + remote_created_at: 1689244013 + created_at: 1689244013 + updated_at: 1689244013 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1723,7 +1713,7 @@ paths: Unauthorized: value: type: error.list - request_id: a97fa6b2-fedc-4488-909a-42939a8edd6b + request_id: 1b0839a5-c0d1-4be5-ad72-46ae486e135c errors: - code: unauthorized message: Access Token Invalid @@ -1775,12 +1765,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 649c542585b35b2332e7ef70 - app_id: this_is_an_id141_that_should_be_at_least_ + id: 64afd1705e902942bec8580f + app_id: this_is_an_id140_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1687966757 - created_at: 1687966757 - updated_at: 1687966757 + remote_created_at: 1689244016 + created_at: 1689244016 + updated_at: 1689244016 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1794,7 +1784,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 9ecbc878-5d48-499a-8499-de82bc1bffb6 + scroll_param: ed335376-f4a0-44a4-ba0c-607c44bc2316 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -1805,7 +1795,7 @@ paths: Unauthorized: value: type: error.list - request_id: f2caebd7-b764-4d92-b872-85831c2b2fa7 + request_id: fecb7050-a65b-487b-ad8a-9816ece2036d errors: - code: unauthorized message: Access Token Invalid @@ -1840,12 +1830,12 @@ paths: value: type: company company_id: '1' - id: 649c542885b35b2332e7ef79 - app_id: this_is_an_id145_that_should_be_at_least_ + id: 64afd1735e902942bec85818 + app_id: this_is_an_id144_that_should_be_at_least_ name: company9 - remote_created_at: 1687966760 - created_at: 1687966760 - updated_at: 1687966760 + remote_created_at: 1689244019 + created_at: 1689244019 + updated_at: 1689244019 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1867,7 +1857,7 @@ paths: Company Not Found: value: type: error.list - request_id: 6a2cff36-0567-4a2e-964b-8c246248a2d1 + request_id: d50dff19-55c8-4c17-bab0-36a1b62d3109 errors: - code: not_found message: User Not Found @@ -1881,7 +1871,7 @@ paths: Unauthorized: value: type: error.list - request_id: 95be315c-fdbe-42d2-8c8c-6ff8d5973d89 + request_id: 344d6b32-4836-4dd4-bed8-a6b6d2f99926 errors: - code: unauthorized message: Access Token Invalid @@ -1904,11 +1894,11 @@ paths: successful: summary: Successful value: - id: 649c542885b35b2332e7ef79 + id: 64afd1735e902942bec85818 company_not_found: summary: Company Not Found value: - id: 649c542a85b35b2332e7ef7d + id: 64afd1755e902942bec8581c "/contacts/{contact_id}/companies/{id}": delete: summary: Detach a contact from a company @@ -1946,12 +1936,12 @@ paths: value: type: company company_id: '1' - id: 649c542c85b35b2332e7ef85 - app_id: this_is_an_id151_that_should_be_at_least_ + id: 64afd1795e902942bec85824 + app_id: this_is_an_id150_that_should_be_at_least_ name: company12 - remote_created_at: 1687966764 - created_at: 1687966764 - updated_at: 1687966765 + remote_created_at: 1689244025 + created_at: 1689244025 + updated_at: 1689244026 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1973,14 +1963,14 @@ paths: Company Not Found: value: type: error.list - request_id: e61c205f-83c0-4293-902c-6bf7587f70d9 + request_id: a3c6a293-70c0-4544-8a4d-ca13defc088f errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: abfd36f1-3445-4b6a-bad0-f3f17514090b + request_id: e2a1f450-bbd1-429f-88ab-a3dd37718659 errors: - code: not_found message: User Not Found @@ -1994,7 +1984,7 @@ paths: Unauthorized: value: type: error.list - request_id: 85a103b3-ed9c-4607-ba86-ab6f7827d02c + request_id: ea2a8f89-92e8-454f-a65e-95ffb66e4585 errors: - code: unauthorized message: Access Token Invalid @@ -2032,13 +2022,13 @@ paths: data: - type: company company_id: '1' - id: 649c543e85b35b2332e7efab - app_id: this_is_an_id159_that_should_be_at_least_ + id: 64afd18d5e902942bec8584a + app_id: this_is_an_id158_that_should_be_at_least_ name: company25 - remote_created_at: 1687966782 - created_at: 1687966782 - updated_at: 1687966782 - last_request_at: 1687793982 + remote_created_at: 1689244045 + created_at: 1689244045 + updated_at: 1689244045 + last_request_at: 1689071245 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2067,7 +2057,7 @@ paths: Contact not found: value: type: error.list - request_id: 7bef1afe-6473-4217-9da5-7639d8a28f0f + request_id: dfa8c154-6b8a-4f9b-91b5-4a34f23b1a42 errors: - code: not_found message: User Not Found @@ -2081,7 +2071,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4bd7a1d8-926e-4257-ac33-99c30f182a6d + request_id: d3b5f527-421d-4031-89a3-2508606113b5 errors: - code: unauthorized message: Access Token Invalid @@ -2117,44 +2107,44 @@ paths: type: list data: - type: note - id: '401584' - created_at: 1687361986 + id: '403602' + created_at: 1688639250 contact: type: contact - id: 649c544285b35b2332e7efb6 + id: 64afd1925e902942bec85855 author: type: admin - id: '991266317' - name: Ciaran103 Lee - email: admin103@email.com + id: '991266304' + name: Ciaran89 Lee + email: admin89@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" - type: note - id: '401583' - created_at: 1687275586 + id: '403601' + created_at: 1688552850 contact: type: contact - id: 649c544285b35b2332e7efb6 + id: 64afd1925e902942bec85855 author: type: admin - id: '991266317' - name: Ciaran103 Lee - email: admin103@email.com + id: '991266304' + name: Ciaran89 Lee + email: admin89@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" - type: note - id: '401582' - created_at: 1687275586 + id: '403600' + created_at: 1688552850 contact: type: contact - id: 649c544285b35b2332e7efb6 + id: 64afd1925e902942bec85855 author: type: admin - id: '991266317' - name: Ciaran103 Lee - email: admin103@email.com + id: '991266304' + name: Ciaran89 Lee + email: admin89@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" @@ -2175,7 +2165,7 @@ paths: Contact not found: value: type: error.list - request_id: 159271b1-15f6-4a45-80c2-823c6b92e61e + request_id: 661c0c5f-2ed7-426d-850c-1a2ebe92f5b9 errors: - code: not_found message: User Not Found @@ -2209,16 +2199,16 @@ paths: Successful response: value: type: note - id: '401589' - created_at: 1687966788 + id: '403607' + created_at: 1689244053 contact: type: contact - id: 649c544485b35b2332e7efb8 + id: 64afd1945e902942bec85857 author: type: admin - id: '991266319' - name: Ciaran105 Lee - email: admin105@email.com + id: '991266306' + name: Ciaran91 Lee + email: admin91@email.com away_mode_enabled: false away_mode_reassign: false body: "

Hello

" @@ -2232,14 +2222,14 @@ paths: Admin not found: value: type: error.list - request_id: '038e378b-1e05-46c8-b872-e051e3f4bd44' + request_id: acd06ae4-dcd9-4850-b0e4-d0300dfeb485 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: a7f21ef8-33fc-4756-8539-66ba01252663 + request_id: 356501d7-3937-45f0-8728-427544dd269c errors: - code: not_found message: User Not Found @@ -2269,20 +2259,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 649c544485b35b2332e7efb8 - admin_id: 991266319 + contact_id: 64afd1945e902942bec85857 + admin_id: 991266306 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 649c544485b35b2332e7efb9 + contact_id: 64afd1955e902942bec85858 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991266321 + admin_id: 991266308 body: Hello "/contacts/{contact_id}/segments": get: @@ -2315,10 +2305,10 @@ paths: type: list data: - type: segment - id: 649c544685b35b2332e7efbb + id: 64afd1975e902942bec8585a name: segment - created_at: 1687966790 - updated_at: 1687966790 + created_at: 1689244055 + updated_at: 1689244055 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2330,7 +2320,7 @@ paths: Contact not found: value: type: error.list - request_id: a8c57010-331d-4c1f-8054-e82a0159bbed + request_id: c77f8d6a-13a1-4896-b936-8a861af250b4 errors: - code: not_found message: User Not Found @@ -2344,7 +2334,7 @@ paths: Unauthorized: value: type: error.list - request_id: eb6b8805-8d93-4dbb-a16b-506baf0d931c + request_id: 0f03c339-b755-4496-b2b5-e3f883591210 errors: - code: unauthorized message: Access Token Invalid @@ -2388,7 +2378,7 @@ paths: type: list data: - type: subscription - id: '437906' + id: '438915' state: live consent_type: opt_out default_translation: @@ -2402,7 +2392,7 @@ paths: content_types: - email - type: subscription - id: '437908' + id: '438917' state: live consent_type: opt_in default_translation: @@ -2425,7 +2415,7 @@ paths: Contact not found: value: type: error.list - request_id: be296f9f-aaae-4682-9899-15543b8ed24e + request_id: 2cb47a77-af5f-4d1c-b3e9-953256ca6502 errors: - code: not_found message: User Not Found @@ -2439,7 +2429,7 @@ paths: Unauthorized: value: type: error.list - request_id: cb15ed8a-ec21-4a91-8e1e-a565ae5555e8 + request_id: 17252204-c601-41bb-9f94-55c1de6c03fd errors: - code: unauthorized message: Access Token Invalid @@ -2480,7 +2470,7 @@ paths: Successful: value: type: subscription - id: '437921' + id: '438930' state: live consent_type: opt_in default_translation: @@ -2503,14 +2493,14 @@ paths: Contact not found: value: type: error.list - request_id: 464c02ee-64c8-4e1a-ac96-2db785b498cc + request_id: 0b76a172-f989-4d1d-bb18-8676fb3a7aaa errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 162151de-b841-40df-9c52-d88254ba1c96 + request_id: 1aa0ff8b-1432-464d-9da2-5af8ea040581 errors: - code: not_found message: Resource Not Found @@ -2524,7 +2514,7 @@ paths: Unauthorized: value: type: error.list - request_id: 41ee9de2-5fc4-4715-8873-820bc21778f5 + request_id: 9039e8ad-cfb6-42c1-8bed-57e5bcb92916 errors: - code: unauthorized message: Access Token Invalid @@ -2552,12 +2542,12 @@ paths: successful: summary: Successful value: - id: 437921 + id: 438930 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 437925 + id: 438934 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2603,7 +2593,7 @@ paths: Successful: value: type: subscription - id: '437937' + id: '438946' state: live consent_type: opt_in default_translation: @@ -2626,14 +2616,14 @@ paths: Contact not found: value: type: error.list - request_id: bc43ebc9-7c12-414d-8bab-8e3d17f367d7 + request_id: 59360219-0130-456a-93d0-4b0a6cb7301e errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 7a44f599-41f6-4a1c-9644-29f60c98f291 + request_id: 70faf13d-95d0-4a05-9ec6-8e2877d35b1a errors: - code: not_found message: Resource Not Found @@ -2647,7 +2637,7 @@ paths: Unauthorized: value: type: error.list - request_id: c7711cb0-af89-4d13-92c8-8b6e8c7ed407 + request_id: 853f8846-50d8-4fe0-ae5d-a16f2bd54383 errors: - code: unauthorized message: Access Token Invalid @@ -2685,7 +2675,7 @@ paths: type: list data: - type: tag - id: '318846' + id: '319855' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -2697,7 +2687,7 @@ paths: Contact not found: value: type: error.list - request_id: e1255249-e8d0-4949-88ac-4e75086cf317 + request_id: 9fe2384c-5015-42d5-bc26-ec3b29b00b87 errors: - code: not_found message: User Not Found @@ -2711,7 +2701,7 @@ paths: Unauthorized: value: type: error.list - request_id: 00baa6f6-17c9-45d9-b500-4dea5bc24828 + request_id: 99928fe9-8260-40de-983b-8c974f9eee3e errors: - code: unauthorized message: Access Token Invalid @@ -2746,7 +2736,7 @@ paths: successful: value: type: tag - id: '318847' + id: '319856' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -2758,14 +2748,14 @@ paths: Contact not found: value: type: error.list - request_id: 23339994-c2bf-42ea-8684-304b0dec3cf2 + request_id: 2940a2aa-76da-43c4-aee5-698a6f2cd268 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: e1c60292-672a-47f6-9289-e488f132f565 + request_id: 62e35bc8-1695-4dd3-8846-80648c77c74b errors: - code: not_found message: Resource Not Found @@ -2779,7 +2769,7 @@ paths: Unauthorized: value: type: error.list - request_id: fe2e480c-7c86-4ee1-9011-c04863581bd8 + request_id: 770c3a96-68d7-4b05-b1e3-6f6c81f45d55 errors: - code: unauthorized message: Access Token Invalid @@ -2802,11 +2792,11 @@ paths: successful: summary: successful value: - id: 318847 + id: 319856 contact_not_found: summary: Contact not found value: - id: 318848 + id: 319857 tag_not_found: summary: Tag not found value: @@ -2848,7 +2838,7 @@ paths: successful: value: type: tag - id: '318850' + id: '319859' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -2860,14 +2850,14 @@ paths: Contact not found: value: type: error.list - request_id: bac56153-7f77-472f-bbe9-cfb18d824fe5 + request_id: d2e291d4-be1e-487a-9f01-69e8562c04fc errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 4f691c9e-7337-447e-89e6-222ed90919b0 + request_id: d69c7f96-d9de-46f9-958b-c08b9e109cbd errors: - code: not_found message: Resource Not Found @@ -2881,7 +2871,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b7bda60-f41a-4832-9825-7aee3652691c + request_id: 148981a6-e80d-43a4-84af-ff57a248c8c5 errors: - code: unauthorized message: Access Token Invalid @@ -2915,8 +2905,8 @@ paths: successful: value: type: contact - id: 649c545885b35b2332e7efd2 - workspace_id: this_is_an_id225_that_should_be_at_least_ + id: 64afd1ac5e902942bec85871 + workspace_id: this_is_an_id224_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -2931,9 +2921,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1687966808 - updated_at: 1687966808 - signed_up_at: 1687966808 + created_at: 1689244076 + updated_at: 1689244077 + signed_up_at: 1689244076 last_seen_at: last_replied_at: last_contacted_at: @@ -2967,31 +2957,31 @@ paths: tags: type: list data: [] - url: "/contacts/649c545885b35b2332e7efd2/tags" + url: "/contacts/64afd1ac5e902942bec85871/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/649c545885b35b2332e7efd2/notes" + url: "/contacts/64afd1ac5e902942bec85871/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/649c545885b35b2332e7efd2/companies" + url: "/contacts/64afd1ac5e902942bec85871/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/649c545885b35b2332e7efd2/subscriptions" + url: "/contacts/64afd1ac5e902942bec85871/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/649c545885b35b2332e7efd2/subscriptions" + url: "/contacts/64afd1ac5e902942bec85871/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3010,7 +3000,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3d4f051b-eeb2-4605-91ff-cc3fa6122c41 + request_id: 52e8a16f-ead5-43e8-9373-7b49fab22e11 errors: - code: unauthorized message: Access Token Invalid @@ -3055,8 +3045,8 @@ paths: successful: value: type: contact - id: 649c545a85b35b2332e7efd3 - workspace_id: this_is_an_id229_that_should_be_at_least_ + id: 64afd1af5e902942bec85872 + workspace_id: this_is_an_id228_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3071,9 +3061,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1687966810 - updated_at: 1687966810 - signed_up_at: 1687966810 + created_at: 1689244079 + updated_at: 1689244079 + signed_up_at: 1689244079 last_seen_at: last_replied_at: last_contacted_at: @@ -3107,31 +3097,31 @@ paths: tags: type: list data: [] - url: "/contacts/649c545a85b35b2332e7efd3/tags" + url: "/contacts/64afd1af5e902942bec85872/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/649c545a85b35b2332e7efd3/notes" + url: "/contacts/64afd1af5e902942bec85872/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/649c545a85b35b2332e7efd3/companies" + url: "/contacts/64afd1af5e902942bec85872/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/649c545a85b35b2332e7efd3/subscriptions" + url: "/contacts/64afd1af5e902942bec85872/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/649c545a85b35b2332e7efd3/subscriptions" + url: "/contacts/64afd1af5e902942bec85872/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3150,7 +3140,7 @@ paths: Unauthorized: value: type: error.list - request_id: ae7c7e33-c10c-4851-8c41-d13d6fb07dc1 + request_id: 11ca2524-79d2-4d51-82c4-5c77cc5c47b7 errors: - code: unauthorized message: Access Token Invalid @@ -3181,8 +3171,9 @@ paths: examples: successful: value: - id: 649c545c85b35b2332e7efd4 - object: contact + id: 64afd1b15e902942bec85873 + external_id: '70' + type: contact deleted: true schema: "$ref": "#/components/schemas/contact_deleted" @@ -3194,7 +3185,7 @@ paths: Unauthorized: value: type: error.list - request_id: 195a5c6e-e178-4dce-ba98-30782a244a0f + request_id: abd4d2d0-4cbb-49c2-ba59-5126812b6449 errors: - code: unauthorized message: Access Token Invalid @@ -3222,8 +3213,8 @@ paths: successful: value: type: contact - id: 649c545e85b35b2332e7efd6 - workspace_id: this_is_an_id237_that_should_be_at_least_ + id: 64afd1b45e902942bec85875 + workspace_id: this_is_an_id236_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3238,9 +3229,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1687966814 - updated_at: 1687966815 - signed_up_at: 1687966814 + created_at: 1689244085 + updated_at: 1689244085 + signed_up_at: 1689244084 last_seen_at: last_replied_at: last_contacted_at: @@ -3274,31 +3265,31 @@ paths: tags: type: list data: [] - url: "/contacts/649c545e85b35b2332e7efd6/tags" + url: "/contacts/64afd1b45e902942bec85875/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/649c545e85b35b2332e7efd6/notes" + url: "/contacts/64afd1b45e902942bec85875/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/649c545e85b35b2332e7efd6/companies" + url: "/contacts/64afd1b45e902942bec85875/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/649c545e85b35b2332e7efd6/subscriptions" + url: "/contacts/64afd1b45e902942bec85875/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/649c545e85b35b2332e7efd6/subscriptions" + url: "/contacts/64afd1b45e902942bec85875/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3317,7 +3308,7 @@ paths: Unauthorized: value: type: error.list - request_id: c6c24aba-4b27-49e8-b41a-70ca3ad5ebe4 + request_id: 838c0ba2-4d31-4748-b3cb-1a1cd12b4d02 errors: - code: unauthorized message: Access Token Invalid @@ -3332,8 +3323,8 @@ paths: successful: summary: successful value: - from: 649c545e85b35b2332e7efd5 - into: 649c545e85b35b2332e7efd6 + from: 64afd1b45e902942bec85874 + into: 64afd1b45e902942bec85875 "/contacts/search": post: summary: Search contacts @@ -3442,7 +3433,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3259829b-e411-49d3-8722-bb673bff3f85 + request_id: 5305c4e5-55bb-4b8c-b013-209f543ad393 errors: - code: unauthorized message: Access Token Invalid @@ -3462,15 +3453,15 @@ paths: value: - field: id operator: "=" - value: 649c546185b35b2332e7efd9 + value: 64afd1b75e902942bec85878 - operator: OR value: - field: id operator: "=" - value: 649c546185b35b2332e7efd9 + value: 64afd1b75e902942bec85878 - field: id operator: "=" - value: 649c546185b35b2332e7efd9 + value: 64afd1b75e902942bec85878 "/contacts": get: summary: List all contacts @@ -3509,7 +3500,7 @@ paths: Unauthorized: value: type: error.list - request_id: 17c37777-1be5-40d3-8c48-e4343352a90d + request_id: cca7b409-7617-4e61-8ffc-cce1df7baf24 errors: - code: unauthorized message: Access Token Invalid @@ -3535,8 +3526,8 @@ paths: successful: value: type: contact - id: 649c546585b35b2332e7efdb - workspace_id: this_is_an_id249_that_should_be_at_least_ + id: 64afd1bc5e902942bec8587a + workspace_id: this_is_an_id248_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3551,8 +3542,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1687966821 - updated_at: 1687966821 + created_at: 1689244093 + updated_at: 1689244093 signed_up_at: last_seen_at: last_replied_at: @@ -3587,31 +3578,31 @@ paths: tags: type: list data: [] - url: "/contacts/649c546585b35b2332e7efdb/tags" + url: "/contacts/64afd1bc5e902942bec8587a/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/649c546585b35b2332e7efdb/notes" + url: "/contacts/64afd1bc5e902942bec8587a/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/649c546585b35b2332e7efdb/companies" + url: "/contacts/64afd1bc5e902942bec8587a/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/649c546585b35b2332e7efdb/subscriptions" + url: "/contacts/64afd1bc5e902942bec8587a/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/649c546585b35b2332e7efdb/subscriptions" + url: "/contacts/64afd1bc5e902942bec8587a/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3630,7 +3621,7 @@ paths: Unauthorized: value: type: error.list - request_id: 56063235-8f36-40d3-ad4b-b59368f3be78 + request_id: c5469731-537c-48f3-8d28-af44d7a474bd errors: - code: unauthorized message: Access Token Invalid @@ -3674,8 +3665,9 @@ paths: examples: successful: value: - id: 649c546785b35b2332e7efdc - object: contact + id: 64afd1bf5e902942bec8587b + external_id: '70' + type: contact archived: true schema: "$ref": "#/components/schemas/contact_archived" @@ -3706,8 +3698,9 @@ paths: examples: successful: value: - id: 649c546885b35b2332e7efdd - object: contact + id: 64afd1c05e902942bec8587c + external_id: '70' + type: contact archived: false schema: "$ref": "#/components/schemas/contact_unarchived" @@ -3741,7 +3734,7 @@ paths: successful: value: type: tag - id: '318852' + id: '319861' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3753,7 +3746,7 @@ paths: Conversation not found: value: type: error.list - request_id: 94e93a8f-1543-43e7-b12e-8d7541c9473d + request_id: 5fe1956a-7bdb-4593-8103-b58b60882b27 errors: - code: not_found message: Conversation not found @@ -3767,7 +3760,7 @@ paths: Unauthorized: value: type: error.list - request_id: 83302d03-c5fe-4a6c-82b6-8a7afb482c68 + request_id: 6cf60f03-7e8b-4ced-b435-9ad64c9b2062 errors: - code: unauthorized message: Access Token Invalid @@ -3796,13 +3789,13 @@ paths: successful: summary: successful value: - id: 318852 - admin_id: 991266352 + id: 319861 + admin_id: 991266339 conversation_not_found: summary: Conversation not found value: - id: 318853 - admin_id: 991266354 + id: 319862 + admin_id: 991266341 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -3840,7 +3833,7 @@ paths: successful: value: type: tag - id: '318855' + id: '319864' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3852,14 +3845,14 @@ paths: Conversation not found: value: type: error.list - request_id: b7194981-e6c4-4bae-bdab-95c8b7b488bd + request_id: 4549a385-cc84-48cb-8ad5-e3e263cd575e errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 69e811d3-47ad-489a-99b2-a51df6f5db9a + request_id: 701516e2-9ef3-45ae-b26c-d68254db5ea7 errors: - code: tag_not_found message: Tag not found @@ -3873,7 +3866,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6a396fe9-ccb8-44ee-9eb7-f2ab11698b24 + request_id: afd095ec-fc5a-44d9-971b-1a5bc679fc24 errors: - code: unauthorized message: Access Token Invalid @@ -3896,15 +3889,15 @@ paths: successful: summary: successful value: - admin_id: 991266356 + admin_id: 991266343 conversation_not_found: summary: Conversation not found value: - admin_id: 991266358 + admin_id: 991266345 tag_not_found: summary: Tag not found value: - admin_id: 991266359 + admin_id: 991266346 "/conversations": get: summary: List all conversations @@ -3951,9 +3944,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '710340' - created_at: 1687966834 - updated_at: 1687966834 + id: '713367' + created_at: 1689244109 + updated_at: 1689244109 waiting_since: snoozed_until: source: @@ -3964,9 +3957,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266362' - name: Ciaran145 Lee - email: admin145@email.com + id: '991266349' + name: Ciaran131 Lee + email: admin131@email.com attachments: [] url: redacted: false @@ -3974,7 +3967,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c547185b35b2332e7efe1 + id: 64afd1cc5e902942bec85880 + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4008,7 +4002,7 @@ paths: Unauthorized: value: type: error.list - request_id: ea12b20d-d749-41be-a991-fabf799389c5 + request_id: cb4efa00-d24c-466d-a0b9-e33473b1c038 errors: - code: unauthorized message: Access Token Invalid @@ -4022,7 +4016,7 @@ paths: API plan restricted: value: type: error.list - request_id: 07e2bc1e-c313-434c-81c0-05464a5dc410 + request_id: 34d83126-f185-44dc-a211-2490591e6c9a errors: - code: api_plan_restricted message: Active subscription needed. @@ -4055,10 +4049,10 @@ paths: value: type: user_message id: '403918075' - created_at: 1687966862 + created_at: 1689244145 body: Hello there message_type: inapp - conversation_id: '712383' + conversation_id: '713392' schema: "$ref": "#/components/schemas/message" '404': @@ -4069,7 +4063,7 @@ paths: Contact Not Found: value: type: error.list - request_id: 961b113f-72a0-45e2-8f89-0100d21897b0 + request_id: 7369f713-50b9-4d9b-a503-15c6114ab978 errors: - code: not_found message: User Not Found @@ -4083,7 +4077,7 @@ paths: Unauthorized: value: type: error.list - request_id: 02dd49f8-b651-48b1-8377-6ea186996cf6 + request_id: 075e3a2f-ac41-4fb0-a488-33f8041e2b03 errors: - code: unauthorized message: Access Token Invalid @@ -4097,7 +4091,7 @@ paths: API plan restricted: value: type: error.list - request_id: 3c19fe6d-abf2-45c1-8243-89313460b502 + request_id: a408c51a-c395-400d-a0b2-53abac2587fd errors: - code: api_plan_restricted message: Active subscription needed. @@ -4114,7 +4108,7 @@ paths: value: from: type: user - id: 649c548d85b35b2332e7eff6 + id: 64afd1ee5e902942bec85895 body: Hello there contact_not_found: summary: Contact Not Found @@ -4166,9 +4160,9 @@ paths: conversation found: value: type: conversation - id: '710369' - created_at: 1687966871 - updated_at: 1687966871 + id: '713396' + created_at: 1689244156 + updated_at: 1689244156 waiting_since: snoozed_until: source: @@ -4179,9 +4173,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266376' - name: Ciaran152 Lee - email: admin152@email.com + id: '991266363' + name: Ciaran138 Lee + email: admin138@email.com attachments: [] url: redacted: false @@ -4189,7 +4183,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c549785b35b2332e7effa + id: 64afd1fb5e902942bec85899 + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4227,7 +4222,7 @@ paths: Not found: value: type: error.list - request_id: d4c24633-990e-4022-9216-e6b6cb32942c + request_id: 95e801b3-8745-4253-9c10-e2cb6ff65683 errors: - code: not_found message: Resource Not Found @@ -4241,7 +4236,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1c31bd4a-4bca-4dd9-b826-283098cd1e80 + request_id: b429fd30-a5f7-4134-bc4e-4bf9d9da22dd errors: - code: unauthorized message: Access Token Invalid @@ -4255,7 +4250,7 @@ paths: API plan restricted: value: type: error.list - request_id: de47c812-0b72-4259-86b5-ec6f6cb7fea1 + request_id: b8b36fa0-9c36-437e-833e-e625b15d8fa2 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4298,9 +4293,9 @@ paths: conversation found: value: type: conversation - id: '710373' - created_at: 1687966881 - updated_at: 1687966883 + id: '713400' + created_at: 1689244166 + updated_at: 1689244170 waiting_since: snoozed_until: source: @@ -4311,9 +4306,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266384' - name: Ciaran156 Lee - email: admin156@email.com + id: '991266371' + name: Ciaran142 Lee + email: admin142@email.com attachments: [] url: redacted: false @@ -4321,7 +4316,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54a185b35b2332e7effe + id: 64afd2065e902942bec8589d + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4351,15 +4347,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708321' + id: '709330' part_type: conversation_attribute_updated_by_admin body: - created_at: 1687966883 - updated_at: 1687966883 - notified_at: 1687966883 + created_at: 1689244169 + updated_at: 1689244169 + notified_at: 1689244169 assigned_to: author: - id: '991266385' + id: '991266372' type: bot name: Operator email: operator+this_is_an_id292_that_should_be_at_least_@intercom.io @@ -4368,15 +4364,15 @@ paths: redacted: false metadata: {} - type: conversation_part - id: '708322' + id: '709331' part_type: conversation_attribute_updated_by_admin body: - created_at: 1687966883 - updated_at: 1687966883 - notified_at: 1687966883 + created_at: 1689244170 + updated_at: 1689244170 + notified_at: 1689244170 assigned_to: author: - id: '991266385' + id: '991266372' type: bot name: Operator email: operator+this_is_an_id292_that_should_be_at_least_@intercom.io @@ -4395,7 +4391,7 @@ paths: Not found: value: type: error.list - request_id: d0533b84-ad22-4c4c-9b3a-f058000bd87d + request_id: 6f4b1090-12e3-4eb3-9b11-9bdd4d4352fb errors: - code: not_found message: Resource Not Found @@ -4409,7 +4405,7 @@ paths: Unauthorized: value: type: error.list - request_id: abf8443c-4f4f-4db0-b550-9e35b79c9ade + request_id: 28450da3-7179-4c0f-8d79-44414e588366 errors: - code: unauthorized message: Access Token Invalid @@ -4423,7 +4419,7 @@ paths: API plan restricted: value: type: error.list - request_id: 83b95bd4-243c-462a-a824-3dcf98730745 + request_id: 6b526e7c-afa3-49cf-9df5-915ac458f42d errors: - code: api_plan_restricted message: Active subscription needed. @@ -4542,9 +4538,9 @@ paths: total_count: 1 conversations: - type: conversation - id: '710377' - created_at: 1687966893 - updated_at: 1687966893 + id: '713404' + created_at: 1689244180 + updated_at: 1689244180 waiting_since: snoozed_until: source: @@ -4555,9 +4551,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266408' - name: Ciaran176 Lee - email: admin176@email.com + id: '991266395' + name: Ciaran162 Lee + email: admin162@email.com attachments: [] url: redacted: false @@ -4565,7 +4561,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54ad85b35b2332e7f002 + id: 64afd2135e902942bec858a1 + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4605,15 +4602,15 @@ paths: value: - field: id operator: "=" - value: '712395' + value: '713404' - operator: OR value: - field: id operator: "=" - value: '712395' + value: '713404' - field: id operator: "=" - value: '712395' + value: '713404' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4652,10 +4649,10 @@ paths: User reply: value: type: conversation - id: '710385' - created_at: 1687966902 - updated_at: 1687966903 - waiting_since: 1687966903 + id: '713412' + created_at: 1689244191 + updated_at: 1689244193 + waiting_since: 1689244193 snoozed_until: source: type: conversation @@ -4665,9 +4662,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266410' - name: Ciaran177 Lee - email: admin177@email.com + id: '991266397' + name: Ciaran163 Lee + email: admin163@email.com attachments: [] url: redacted: false @@ -4675,9 +4672,10 @@ paths: type: contact.list contacts: - type: contact - id: 649c54b585b35b2332e7f009 + id: 64afd21f5e902942bec858a8 + external_id: '70' first_contact_reply: - created_at: 1687966903 + created_at: 1689244193 type: conversation url: admin_assignee_id: @@ -4706,15 +4704,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708324' + id: '709333' part_type: comment body: "

Thanks again :)

" - created_at: 1687966903 - updated_at: 1687966903 - notified_at: 1687966903 + created_at: 1689244193 + updated_at: 1689244193 + notified_at: 1689244193 assigned_to: author: - id: 649c54b585b35b2332e7f009 + id: 64afd21f5e902942bec858a8 type: user name: Joe Bloggs email: joe@bloggs.com @@ -4726,9 +4724,9 @@ paths: Admin note reply: value: type: conversation - id: '710386' - created_at: 1687966906 - updated_at: 1687966907 + id: '713413' + created_at: 1689244195 + updated_at: 1689244196 waiting_since: snoozed_until: source: @@ -4739,9 +4737,9 @@ paths: body: "

this is the message body

" author: type: admin - id: '991266412' - name: Ciaran178 Lee - email: admin178@email.com + id: '991266399' + name: Ciaran164 Lee + email: admin164@email.com attachments: [] url: redacted: false @@ -4749,7 +4747,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54b985b35b2332e7f00a + id: 64afd2235e902942bec858a9 + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4777,7 +4776,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708325' + id: '709334' part_type: note body: |-

An Unordered HTML List

@@ -4792,15 +4791,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1687966907 - updated_at: 1687966907 - notified_at: 1687966907 + created_at: 1689244196 + updated_at: 1689244196 + notified_at: 1689244196 assigned_to: author: - id: '991266412' + id: '991266399' type: admin - name: Ciaran178 Lee - email: admin178@email.com + name: Ciaran164 Lee + email: admin164@email.com attachments: [] external_id: redacted: false @@ -4809,9 +4808,9 @@ paths: Admin quick_reply reply: value: type: conversation - id: '710387' - created_at: 1687966909 - updated_at: 1687966910 + id: '713414' + created_at: 1689244198 + updated_at: 1689244200 waiting_since: snoozed_until: source: @@ -4822,9 +4821,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266414' - name: Ciaran179 Lee - email: admin179@email.com + id: '991266401' + name: Ciaran165 Lee + email: admin165@email.com attachments: [] url: redacted: false @@ -4832,7 +4831,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54bd85b35b2332e7f00b + id: 64afd2265e902942bec858aa + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4860,18 +4860,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708326' + id: '709335' part_type: quick_reply body: - created_at: 1687966910 - updated_at: 1687966910 - notified_at: 1687966910 + created_at: 1689244200 + updated_at: 1689244200 + notified_at: 1689244200 assigned_to: author: - id: '991266414' + id: '991266401' type: admin - name: Ciaran179 Lee - email: admin179@email.com + name: Ciaran165 Lee + email: admin165@email.com attachments: [] external_id: redacted: false @@ -4880,10 +4880,10 @@ paths: User last conversation reply: value: type: conversation - id: '710388' - created_at: 1687966912 - updated_at: 1687966913 - waiting_since: 1687966913 + id: '713415' + created_at: 1689244202 + updated_at: 1689244204 + waiting_since: 1689244204 snoozed_until: source: type: conversation @@ -4893,9 +4893,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266416' - name: Ciaran180 Lee - email: admin180@email.com + id: '991266403' + name: Ciaran166 Lee + email: admin166@email.com attachments: [] url: redacted: false @@ -4903,9 +4903,10 @@ paths: type: contact.list contacts: - type: contact - id: 649c54c085b35b2332e7f00c + id: 64afd2295e902942bec858ab + external_id: '70' first_contact_reply: - created_at: 1687966913 + created_at: 1689244204 type: conversation url: admin_assignee_id: @@ -4934,15 +4935,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708327' + id: '709336' part_type: comment body: "

    Thanks again :)

    " - created_at: 1687966913 - updated_at: 1687966913 - notified_at: 1687966913 + created_at: 1689244204 + updated_at: 1689244204 + notified_at: 1689244204 assigned_to: author: - id: 649c54c085b35b2332e7f00c + id: 64afd2295e902942bec858ab type: user name: Joe Bloggs email: joe@bloggs.com @@ -4961,7 +4962,7 @@ paths: Not found: value: type: error.list - request_id: c5ff0b03-9b8c-4802-9e9f-580af6a36e65 + request_id: 9458a15c-bc06-4bed-a903-296a3407aaf7 errors: - code: not_found message: Resource Not Found @@ -4975,7 +4976,7 @@ paths: Unauthorized: value: type: error.list - request_id: aa37b4bb-407d-4375-9e76-34388b1bcff7 + request_id: 8d5e2a63-0971-4ea3-86f0-2f3a93afd1d5 errors: - code: unauthorized message: Access Token Invalid @@ -4989,7 +4990,7 @@ paths: API plan restricted: value: type: error.list - request_id: 21397db5-4ab4-42ad-adac-c021e4a2ba91 + request_id: 51d14cd0-e9a0-4dd2-a28a-4c3c76f6b87f errors: - code: api_plan_restricted message: Active subscription needed. @@ -5006,14 +5007,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 649c54b585b35b2332e7f009 + intercom_user_id: 64afd21f5e902942bec858a8 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991266412 + admin_id: 991266399 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5023,25 +5024,25 @@ paths: value: message_type: quick_reply type: admin - admin_id: 991266414 + admin_id: 991266401 reply_options: - text: 'Yes' - uuid: 9e1263d9-78b8-4b89-9509-72ddbfdcf3ba + uuid: '021286b8-c041-44ca-b3e7-73b08ce3085d' - text: 'No' - uuid: cfcbe915-13c2-4b19-9aa3-868d51833c34 + uuid: e68de2ac-0e7b-4101-bfbc-deaabcad2dc6 user_last_conversation_reply: summary: User last conversation reply value: message_type: comment type: user - intercom_user_id: 649c54c085b35b2332e7f00c + intercom_user_id: 64afd2295e902942bec858ab body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 649c54c385b35b2332e7f00d + intercom_user_id: 64afd22e5e902942bec858ac body: Thanks again :) "/conversations/{id}/parts": post: @@ -5075,9 +5076,9 @@ paths: Close a conversation: value: type: conversation - id: '710392' - created_at: 1687966922 - updated_at: 1687966923 + id: '713419' + created_at: 1689244215 + updated_at: 1689244217 waiting_since: snoozed_until: source: @@ -5088,9 +5089,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266424' - name: Ciaran184 Lee - email: admin184@email.com + id: '991266411' + name: Ciaran170 Lee + email: admin170@email.com attachments: [] url: redacted: false @@ -5098,7 +5099,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54ca85b35b2332e7f010 + id: 64afd2375e902942bec858af + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5126,18 +5128,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708328' + id: '709337' part_type: close body: "

    Goodbye :)

    " - created_at: 1687966923 - updated_at: 1687966923 - notified_at: 1687966923 + created_at: 1689244217 + updated_at: 1689244217 + notified_at: 1689244217 assigned_to: author: - id: '991266424' + id: '991266411' type: admin - name: Ciaran184 Lee - email: admin184@email.com + name: Ciaran170 Lee + email: admin170@email.com attachments: [] external_id: redacted: false @@ -5146,11 +5148,11 @@ paths: Snooze a conversation: value: type: conversation - id: '710393' - created_at: 1687966926 - updated_at: 1687966927 + id: '713420' + created_at: 1689244219 + updated_at: 1689244221 waiting_since: - snoozed_until: 1687970527 + snoozed_until: 1689247820 source: type: conversation id: '403918098' @@ -5159,9 +5161,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266426' - name: Ciaran185 Lee - email: admin185@email.com + id: '991266413' + name: Ciaran171 Lee + email: admin171@email.com attachments: [] url: redacted: false @@ -5169,7 +5171,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54cd85b35b2332e7f011 + id: 64afd23b5e902942bec858b0 + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5197,18 +5200,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708329' + id: '709338' part_type: snoozed body: - created_at: 1687966927 - updated_at: 1687966927 - notified_at: 1687966927 + created_at: 1689244221 + updated_at: 1689244221 + notified_at: 1689244221 assigned_to: author: - id: '991266426' + id: '991266413' type: admin - name: Ciaran185 Lee - email: admin185@email.com + name: Ciaran171 Lee + email: admin171@email.com attachments: [] external_id: redacted: false @@ -5217,9 +5220,9 @@ paths: Open a conversation: value: type: conversation - id: '710398' - created_at: 1687966927 - updated_at: 1687966937 + id: '713425' + created_at: 1689244221 + updated_at: 1689244231 waiting_since: snoozed_until: source: @@ -5230,9 +5233,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266428' - name: Ciaran186 Lee - email: admin186@email.com + id: '991266415' + name: Ciaran172 Lee + email: admin172@email.com attachments: [] url: redacted: false @@ -5240,7 +5243,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54d485b35b2332e7f016 + id: 64afd2435e902942bec858b5 + external_id: '74' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5268,18 +5272,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708331' + id: '709340' part_type: open body: - created_at: 1687966937 - updated_at: 1687966937 - notified_at: 1687966937 + created_at: 1689244231 + updated_at: 1689244231 + notified_at: 1689244231 assigned_to: author: - id: '991266428' + id: '991266415' type: admin - name: Ciaran186 Lee - email: admin186@email.com + name: Ciaran172 Lee + email: admin172@email.com attachments: [] external_id: redacted: false @@ -5288,9 +5292,9 @@ paths: Assign a conversation: value: type: conversation - id: '710402' - created_at: 1687966939 - updated_at: 1687966940 + id: '713429' + created_at: 1689244233 + updated_at: 1689244235 waiting_since: snoozed_until: source: @@ -5301,9 +5305,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266430' - name: Ciaran187 Lee - email: admin187@email.com + id: '991266417' + name: Ciaran173 Lee + email: admin173@email.com attachments: [] url: redacted: false @@ -5311,9 +5315,10 @@ paths: type: contact.list contacts: - type: contact - id: 649c54da85b35b2332e7f019 + id: 64afd2495e902942bec858b8 + external_id: '70' first_contact_reply: - admin_assignee_id: 991266430 + admin_assignee_id: 991266417 team_assignee_id: open: true state: open @@ -5339,20 +5344,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708332' + id: '709341' part_type: assign_and_reopen body: - created_at: 1687966940 - updated_at: 1687966940 - notified_at: 1687966940 + created_at: 1689244235 + updated_at: 1689244235 + notified_at: 1689244235 assigned_to: type: admin - id: '991266430' + id: '991266417' author: - id: '991266430' + id: '991266417' type: admin - name: Ciaran187 Lee - email: admin187@email.com + name: Ciaran173 Lee + email: admin173@email.com attachments: [] external_id: redacted: false @@ -5368,7 +5373,7 @@ paths: Not found: value: type: error.list - request_id: 5b3f04de-52fa-4b49-bab7-29df3d9c31e6 + request_id: 5bf3c2d4-5e85-403b-a43b-a25d3c1485d0 errors: - code: not_found message: Resource Not Found @@ -5382,7 +5387,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0a6b22a9-6c40-441e-8046-5171944aa81b + request_id: 8ccc7faf-785c-43e3-9fee-04b125c0de17 errors: - code: unauthorized message: Access Token Invalid @@ -5396,7 +5401,7 @@ paths: API plan restricted: value: type: error.list - request_id: 49c94dce-bc16-4d63-ae5b-676f9376888d + request_id: 27973677-9a37-4b64-8472-5600e6ffdf4a errors: - code: api_plan_restricted message: Active subscription needed. @@ -5417,32 +5422,32 @@ paths: value: message_type: close type: admin - admin_id: 991266424 + admin_id: 991266411 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991266426 - snoozed_until: 1687970527 + admin_id: 991266413 + snoozed_until: 1689247820 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991266428 + admin_id: 991266415 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991266430 - assignee_id: 991266430 + admin_id: 991266417 + assignee_id: 991266417 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991266432 + admin_id: 991266419 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5473,9 +5478,9 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '710406' - created_at: 1687966949 - updated_at: 1687966950 + id: '713433' + created_at: 1689244246 + updated_at: 1689244247 waiting_since: snoozed_until: source: @@ -5486,9 +5491,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266438' - name: Ciaran191 Lee - email: admin191@email.com + id: '991266425' + name: Ciaran177 Lee + email: admin177@email.com attachments: [] url: redacted: false @@ -5496,7 +5501,8 @@ paths: type: contact.list contacts: - type: contact - id: 649c54e585b35b2332e7f01d + id: 64afd2555e902942bec858bc + external_id: '70' first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5524,17 +5530,17 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708333' + id: '709342' part_type: default_assignment body: - created_at: 1687966950 - updated_at: 1687966950 - notified_at: 1687966950 + created_at: 1689244248 + updated_at: 1689244248 + notified_at: 1689244248 assigned_to: type: nobody_admin id: author: - id: '991266439' + id: '991266426' type: bot name: Operator email: operator+this_is_an_id330_that_should_be_at_least_@intercom.io @@ -5553,7 +5559,7 @@ paths: Not found: value: type: error.list - request_id: 92bd02a3-ad5e-4012-aef9-92be9115fb13 + request_id: d95d41bd-cff9-432a-901f-bfa02c3e15ce errors: - code: not_found message: Resource Not Found @@ -5567,7 +5573,7 @@ paths: Unauthorized: value: type: error.list - request_id: aa51462c-7edb-4fc3-90b3-215171b1d770 + request_id: 0ac4693c-e907-4608-943d-78a5970aed1e errors: - code: unauthorized message: Access Token Invalid @@ -5581,7 +5587,7 @@ paths: API plan restricted: value: type: error.list - request_id: 0beb4ae9-b398-48a1-9615-a8544b5c018e + request_id: ef8d2142-f0e2-404c-8fda-0d126f20a72d errors: - code: api_plan_restricted message: Active subscription needed. @@ -5620,7 +5626,7 @@ paths: value: customers: - type: user - id: 649c54ef85b35b2332e7f021 + id: 64afd2625e902942bec858c0 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5631,7 +5637,7 @@ paths: Not found: value: type: error.list - request_id: 3cec102f-0fff-47bd-9d88-b273b3fc2275 + request_id: 07ae4ffa-3f8b-4981-b7d3-8d0f973117ec errors: - code: not_found message: Resource Not Found @@ -5645,7 +5651,7 @@ paths: Unauthorized: value: type: error.list - request_id: 95e6bed9-8f93-40aa-8371-584a7cb5df14 + request_id: b0b6ebca-d0f3-46e5-a42e-569aae0498d0 errors: - code: unauthorized message: Access Token Invalid @@ -5659,7 +5665,7 @@ paths: API plan restricted: value: type: error.list - request_id: a741f1ca-d98c-4091-b5c5-7316114e0e52 + request_id: 83912b5c-c8ba-4413-b557-2c56cdbba2d0 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5674,15 +5680,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991266446 + admin_id: 991266433 customer: - intercom_user_id: 649c54ef85b35b2332e7f021 + intercom_user_id: 64afd2625e902942bec858c0 not_found: summary: Not found value: - admin_id: 991266448 + admin_id: 991266435 customer: - intercom_user_id: 649c54f285b35b2332e7f022 + intercom_user_id: 64afd2655e902942bec858c1 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5723,7 +5729,7 @@ paths: value: customers: - type: user - id: 649c550185b35b2332e7f02c + id: 64afd2775e902942bec858cb schema: "$ref": "#/components/schemas/conversation" '404': @@ -5734,14 +5740,14 @@ paths: Conversation not found: value: type: error.list - request_id: 0f469ee0-11cd-49b5-83aa-6568790657f9 + request_id: cb4a99b2-b562-4a80-879b-631a7fb2f006 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: f1b72868-02e4-47c4-814d-acaaf7a9da57 + request_id: e7bd3e2d-759e-4b27-8c19-1778b87fc0ca errors: - code: not_found message: User Not Found @@ -5755,7 +5761,7 @@ paths: Last customer: value: type: error.list - request_id: dd8c3962-9526-4615-a1ab-8952cea44a78 + request_id: adb7b053-0d92-4d1e-9885-235bdee7ddd3 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5769,7 +5775,7 @@ paths: Unauthorized: value: type: error.list - request_id: 798b53e3-f1db-4f5f-b29a-10b0941a1ed7 + request_id: f161d3f5-dde8-4bbb-b814-76e0eefcf558 errors: - code: unauthorized message: Access Token Invalid @@ -5783,7 +5789,7 @@ paths: API plan restricted: value: type: error.list - request_id: a89c84b5-3ec5-435a-b272-0063c5e93377 + request_id: 4372ac2f-421b-424f-a962-9493a156325b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5798,27 +5804,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991266454 + admin_id: 991266441 customer: - intercom_user_id: 649c54f985b35b2332e7f025 + intercom_user_id: 64afd26d5e902942bec858c4 conversation_not_found: summary: Conversation not found value: - admin_id: 991266456 + admin_id: 991266443 customer: - intercom_user_id: 649c550385b35b2332e7f02d + intercom_user_id: 64afd2785e902942bec858cc contact_not_found: summary: Contact not found value: - admin_id: 991266458 + admin_id: 991266445 customer: - intercom_user_id: 649c550c85b35b2332e7f034 + intercom_user_id: 64afd2825e902942bec858d3 last_customer: summary: Last customer value: - admin_id: 991266460 + admin_id: 991266447 customer: - intercom_user_id: 649c551585b35b2332e7f03b + intercom_user_id: 64afd28d5e902942bec858da "/conversations/redact": post: summary: Redact a conversation part @@ -5845,10 +5851,10 @@ paths: Redact a conversation part: value: type: conversation - id: '710462' - created_at: 1687967025 - updated_at: 1687967028 - waiting_since: 1687967027 + id: '713489' + created_at: 1689244334 + updated_at: 1689244337 + waiting_since: 1689244335 snoozed_until: source: type: conversation @@ -5858,9 +5864,9 @@ paths: body: "

    this is the message body

    " author: type: admin - id: '991266466' - name: Ciaran205 Lee - email: admin205@email.com + id: '991266453' + name: Ciaran191 Lee + email: admin191@email.com attachments: [] url: redacted: false @@ -5868,9 +5874,10 @@ paths: type: contact.list contacts: - type: contact - id: 649c553185b35b2332e7f050 + id: 64afd2ad5e902942bec858ef + external_id: '70' first_contact_reply: - created_at: 1687967027 + created_at: 1689244335 type: conversation url: admin_assignee_id: @@ -5899,15 +5906,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '708341' + id: '709350' part_type: comment body: "

    This message was deleted

    " - created_at: 1687967027 - updated_at: 1687967028 - notified_at: 1687967027 + created_at: 1689244335 + updated_at: 1689244336 + notified_at: 1689244335 assigned_to: author: - id: 649c553185b35b2332e7f050 + id: 64afd2ad5e902942bec858ef type: user name: Joe Bloggs email: joe@bloggs.com @@ -5926,7 +5933,7 @@ paths: Not found: value: type: error.list - request_id: 984790b2-6abc-4090-baad-a4ac22b138aa + request_id: 66b9ac29-cde9-4486-b9ca-81bdd39218ac errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -5940,7 +5947,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0ab8a27d-1ffd-45c5-92ae-6596de833642 + request_id: cca34679-c375-45cf-8223-8e49acd6deb7 errors: - code: unauthorized message: Access Token Invalid @@ -5956,8 +5963,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 712480 - conversation_part_id: 708341 + conversation_id: 713489 + conversation_part_id: 709350 not_found: summary: Not found value: @@ -6133,7 +6140,7 @@ paths: custom: false archived: false model: company - - id: 187681 + - id: 188690 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6145,9 +6152,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266472' - created_at: 1687967034 - updated_at: 1687967034 + admin_id: '991266459' + created_at: 1689244343 + updated_at: 1689244343 model: company - type: data_attribute name: id @@ -6214,7 +6221,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0a30410e-023a-47af-bd20-cb94143ca957 + request_id: e6d7f82b-7e65-436c-a7d3-2f01761a7c2f errors: - code: unauthorized message: Access Token Invalid @@ -6239,7 +6246,7 @@ paths: examples: Successful: value: - id: 187684 + id: 188693 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6249,9 +6256,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266474' - created_at: 1687967036 - updated_at: 1687967036 + admin_id: '991266461' + created_at: 1689244345 + updated_at: 1689244345 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6263,7 +6270,7 @@ paths: Same name already exists: value: type: error.list - request_id: da2796e3-65ff-4d44-9104-0594e969e0bc + request_id: 9d648010-aa77-4b71-812f-49b2697491dd errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6271,7 +6278,7 @@ paths: Invalid name: value: type: error.list - request_id: 4a449715-22b8-4f9a-95de-d7a5c2ca6367 + request_id: a5fbe464-1213-43c8-a1f4-732d7a3cc6c8 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6279,7 +6286,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 4641d099-110e-4a66-b390-6b9e635cabff + request_id: f20b67e0-f024-46fd-8df8-7319185fb87f errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6287,14 +6294,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: 8ec0f234-296f-4df6-ba21-08caa995bde4 + request_id: 28646d3a-5cd8-42a2-bb48-5e76912486f7 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: 8458fe2a-42a3-4c0f-aa30-2175e4d570e1 + request_id: a43184fd-961b-4843-b4d9-301408ca02f4 errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6309,7 +6316,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7affcbf1-7270-42fa-8b5a-a60581c50869 + request_id: db9d5517-733a-47e2-a374-372045b421cc errors: - code: unauthorized message: Access Token Invalid @@ -6388,7 +6395,7 @@ paths: examples: Successful: value: - id: 187691 + id: 188700 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6402,9 +6409,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991266481' - created_at: 1687967040 - updated_at: 1687967040 + admin_id: '991266468' + created_at: 1689244351 + updated_at: 1689244352 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6416,7 +6423,7 @@ paths: Too few options in list: value: type: error.list - request_id: 127a14d0-346f-43d3-993e-36ac17842df9 + request_id: 947b078d-f739-4964-9c5a-2f7360083b31 errors: - code: parameter_invalid message: Options isn't an array @@ -6430,7 +6437,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: e1837b29-5153-4282-ba07-8ae2d3e4dff7 + request_id: 7648e828-f021-41d8-8ea3-ff4e962c0fdb errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6444,7 +6451,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 93645a6b-967a-4c79-ae4c-46edf8356eeb + request_id: 4e6642d2-95bc-4f32-9432-f8d1a33e471f errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6459,7 +6466,7 @@ paths: Unauthorized: value: type: error.list - request_id: ecdd5d05-79e7-4c37-80c8-50181fd85f70 + request_id: 29ae8b66-b004-4ebe-9fef-46f06de24d00 errors: - code: unauthorized message: Access Token Invalid @@ -6578,7 +6585,7 @@ paths: Unauthorized: value: type: error.list - request_id: fa7dbc97-3ff0-4ee7-92a2-c9b74bda8923 + request_id: c9943337-0d95-46ac-a9a6-3a95aa32479d errors: - code: unauthorized message: Access Token Invalid @@ -6665,7 +6672,7 @@ paths: pages: next: http://api.intercom.test/events?next page email: user24@email.com - intercom_user_id: 649c554c85b35b2332e7f067 + intercom_user_id: 64afd2cd5e902942bec85906 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6677,7 +6684,7 @@ paths: Unauthorized: value: type: error.list - request_id: b7bdf228-ab5e-47c3-ab29-388cc04352d5 + request_id: 62b4b8bb-4f9e-4448-a1dd-00f1efa979f4 errors: - code: unauthorized message: Access Token Invalid @@ -6708,7 +6715,7 @@ paths: Unauthorized: value: type: error.list - request_id: b21e8e94-ddfb-4442-926b-24f8f853fa35 + request_id: 9d829e24-e8f6-4555-bb68-d961112a4a84 errors: - code: unauthorized message: Access Token Invalid @@ -6752,7 +6759,7 @@ paths: examples: successful: value: - job_identifier: 9pgbxtov1omupfpz + job_identifier: h5hkkod6zkpcpg97 status: pending download_url: '' download_expires_at: '' @@ -6767,8 +6774,8 @@ paths: successful: summary: successful value: - created_at_after: 1687949056 - created_at_before: 1687967056 + created_at_after: 1689226368 + created_at_before: 1689244368 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -6802,7 +6809,7 @@ paths: examples: successful: value: - job_identifier: 3jnqlbmn0719x601 + job_identifier: mh3gazow86ot5e9j status: pending download_url: '' download_expires_at: '' @@ -6834,7 +6841,7 @@ paths: examples: successful: value: - job_identifier: f283xlz3wvmdh9cd + job_identifier: sz4trcptzu763vsr status: canceled download_url: '' download_expires_at: '' @@ -6896,31 +6903,31 @@ paths: value: type: user_message id: '403918141' - created_at: 1687967103 + created_at: 1689244420 body: heyy message_type: inapp - conversation_id: '712494' + conversation_id: '713503' lead message created: value: type: user_message id: '403918142' - created_at: 1687967104 + created_at: 1689244422 body: heyy message_type: inapp - conversation_id: '712495' + conversation_id: '713504' admin message created: value: type: admin_message - id: '466161' - created_at: 1687967106 + id: '468179' + created_at: 1689244424 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991266510' - name: Ciaran238 Lee - email: admin238@email.com + id: '991266497' + name: Ciaran224 Lee + email: admin224@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -6933,14 +6940,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 1c718141-c4c1-4339-af0f-c3e96a7a7dcd + request_id: 405700f3-1d0b-43a0-8dfe-0f98024b5f25 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: d9cd9d7a-30b2-472a-bbfc-9b9928c6fefe + request_id: 1ad6ab78-431a-462f-869e-abfb11a7e9ab errors: - code: parameter_invalid message: Body is required @@ -6954,7 +6961,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 8821d66f-2ec4-4d90-986a-d61f327473fa + request_id: 21e696e3-84cc-47df-bd8f-cdf5144923f3 errors: - code: parameter_not_found message: No subject supplied for email message @@ -6968,7 +6975,7 @@ paths: Unauthorized: value: type: error.list - request_id: ea3a5462-0907-4e54-82f8-6032a7f99a20 + request_id: 7ababbe4-5ba2-4688-9346-f60cf5acaac1 errors: - code: unauthorized message: Access Token Invalid @@ -6982,7 +6989,7 @@ paths: API plan restricted: value: type: error.list - request_id: 65ff9029-b3cf-48ef-a0ef-475163d54770 + request_id: a3ba8b2d-b674-499f-b023-c1f5509447ac errors: - code: api_plan_restricted message: Active subscription needed. @@ -6999,7 +7006,7 @@ paths: value: from: type: user - id: 649c557f85b35b2332e7f0bc + id: 64afd3045e902942bec8595b body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7007,7 +7014,7 @@ paths: value: from: type: lead - id: 649c558085b35b2332e7f0bd + id: 64afd3065e902942bec8595c body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7015,10 +7022,10 @@ paths: value: from: type: admin - id: '991266510' + id: '991266497' to: type: user - id: 649c558285b35b2332e7f0be + id: 64afd3075e902942bec8595d message_type: conversation body: heyy no_body_supplied_for_message: @@ -7026,10 +7033,10 @@ paths: value: from: type: admin - id: '991266511' + id: '991266498' to: type: user - id: 649c558385b35b2332e7f0bf + id: 64afd3085e902942bec8595e message_type: inapp body: subject: heyy @@ -7038,7 +7045,7 @@ paths: value: from: type: admin - id: '991266512' + id: '991266499' to: type: user user_id: '70' @@ -7049,10 +7056,10 @@ paths: value: from: type: admin - id: '991266513' + id: '991266500' to: type: user - id: 649c558485b35b2332e7f0c1 + id: 64afd30a5e902942bec85960 message_type: email body: subject: heyy @@ -7083,12 +7090,12 @@ paths: total_pages: 1 type: pages data: - - id: '394519' + - id: '396538' type: news-item workspace_id: this_is_an_id430_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266520 + sender_id: 991266507 state: draft labels: [] cover_image_url: @@ -7098,15 +7105,15 @@ paths: - - deliver_silently: false - created_at: 1687967110 - updated_at: 1687967110 + created_at: 1689244429 + updated_at: 1689244429 newsfeed_assignments: [] - - id: '394520' + - id: '396537' type: news-item workspace_id: this_is_an_id430_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266518 + sender_id: 991266505 state: draft labels: [] cover_image_url: @@ -7116,8 +7123,8 @@ paths: - - deliver_silently: false - created_at: 1687967110 - updated_at: 1687967110 + created_at: 1689244428 + updated_at: 1689244428 newsfeed_assignments: [] total_count: 2 schema: @@ -7130,7 +7137,7 @@ paths: Unauthorized: value: type: error.list - request_id: c0eb3905-7841-435d-8054-9b2d8b67598f + request_id: f47fabe8-2b98-4db2-b4d5-44dd809fb856 errors: - code: unauthorized message: Access Token Invalid @@ -7155,12 +7162,12 @@ paths: examples: successful: value: - id: '395532' + id: '396541' type: news-item 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 + sender_id: 991266514 state: live labels: - New @@ -7171,10 +7178,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1687967113 - updated_at: 1687967113 + created_at: 1689244432 + updated_at: 1689244432 newsfeed_assignments: - - newsfeed_id: 400575 + - newsfeed_id: 401584 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7186,7 +7193,7 @@ paths: Unauthorized: value: type: error.list - request_id: 86d6ec6f-ea76-4d03-a6fc-608cb9ce0fcb + request_id: 5002af2d-ee4f-411e-9e9a-2860dfcf8b3c errors: - code: unauthorized message: Access Token Invalid @@ -7207,14 +7214,14 @@ paths: - Product - Update - New - sender_id: 991266527 + sender_id: 991266514 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 400575 + - newsfeed_id: 401584 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7243,12 +7250,12 @@ paths: examples: successful: value: - id: '395533' + id: '396542' type: news-item workspace_id: this_is_an_id438_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991266530 + sender_id: 991266517 state: live labels: [] cover_image_url: @@ -7258,11 +7265,11 @@ paths: - - deliver_silently: false - created_at: 1687967115 - updated_at: 1687967115 + created_at: 1689244434 + updated_at: 1689244434 newsfeed_assignments: - - newsfeed_id: 399568 - published_at: 1687967115 + - newsfeed_id: 401586 + published_at: 1689244434 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7273,7 +7280,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 3bb5c3de-2966-4f27-b306-5cddfde114f5 + request_id: a4e4bbf6-485a-4d69-98f4-5d873cc1f0bf errors: - code: not_found message: Resource Not Found @@ -7287,7 +7294,7 @@ paths: Unauthorized: value: type: error.list - request_id: 37cc0052-3ab0-46c4-a6dc-81fad70fc043 + request_id: db82aaeb-409f-475c-8fa2-1ce80b4006f2 errors: - code: unauthorized message: Access Token Invalid @@ -7318,12 +7325,12 @@ paths: examples: successful: value: - id: '395536' + id: '396545' type: news-item 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 + sender_id: 991266525 state: live labels: [] cover_image_url: @@ -7331,8 +7338,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1687967117 - updated_at: 1687967117 + created_at: 1689244437 + updated_at: 1689244438 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7344,7 +7351,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 9b32336c-5a1e-47d9-9821-767bdadea4d8 + request_id: 60f44f0d-4d50-4b77-a6c1-60c574a69406 errors: - code: not_found message: Resource Not Found @@ -7358,7 +7365,7 @@ paths: Unauthorized: value: type: error.list - request_id: a4e493bc-e5a0-4c3f-9674-888d30421428 + request_id: 6194937e-5af8-4d97-892e-c9540f885e54 errors: - code: unauthorized message: Access Token Invalid @@ -7375,7 +7382,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266538 + sender_id: 991266525 reactions: - "\U0001F61D" - "\U0001F602" @@ -7384,7 +7391,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991266541 + sender_id: 991266528 reactions: - "\U0001F61D" - "\U0001F602" @@ -7414,7 +7421,7 @@ paths: examples: successful: value: - id: '395539' + id: '396548' object: news-item deleted: true schema: @@ -7427,7 +7434,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 8ab9b84a-4372-4f01-88a9-6e7174cdcb36 + request_id: 8760b52c-0e35-4d92-a011-1046ce67838d errors: - code: not_found message: Resource Not Found @@ -7441,7 +7448,7 @@ paths: Unauthorized: value: type: error.list - request_id: a1458538-82a9-4e3d-9f80-4900b280e397 + request_id: a71eeb2d-2e67-4e25-82db-06296364d197 errors: - code: unauthorized message: Access Token Invalid @@ -7494,7 +7501,7 @@ paths: Unauthorized: value: type: error.list - request_id: 60a0849d-c84a-4b34-9db8-aa639b2cd440 + request_id: c9c0885b-ca7b-4457-8b87-c197d8107334 errors: - code: unauthorized message: Access Token Invalid @@ -7527,16 +7534,16 @@ paths: total_pages: 1 type: pages data: - - id: '400590' + - id: '401599' type: newsfeed name: Visitor Feed - created_at: 1687967125 - updated_at: 1687967125 - - id: '399582' + created_at: 1689244446 + updated_at: 1689244446 + - id: '401600' type: newsfeed name: Visitor Feed - created_at: 1687967125 - updated_at: 1687967125 + created_at: 1689244446 + updated_at: 1689244446 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7548,7 +7555,7 @@ paths: Unauthorized: value: type: error.list - request_id: bf50a0d1-6576-46c7-a07c-3d35a9ad8553 + request_id: b9dc1ce9-cc25-437f-8523-c3fd65c775e4 errors: - code: unauthorized message: Access Token Invalid @@ -7582,11 +7589,11 @@ paths: examples: successful: value: - id: '400594' + id: '401603' type: newsfeed name: Visitor Feed - created_at: 1687967126 - updated_at: 1687967126 + created_at: 1689244447 + updated_at: 1689244447 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7597,7 +7604,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b550bb9-85ce-47de-bb45-c4bb671ac23e + request_id: 3bfc8d04-27b3-48a4-b349-9af2f102672b errors: - code: unauthorized message: Access Token Invalid @@ -7631,16 +7638,16 @@ paths: Note found: value: type: note - id: '401602' - created_at: 1687275931 + id: '403620' + created_at: 1688553252 contact: type: contact - id: 649c559b85b35b2332e7f0cc + id: 64afd3245e902942bec8596b author: type: admin - id: '991266557' - name: Ciaran285 Lee - email: admin285@email.com + id: '991266544' + name: Ciaran271 Lee + email: admin271@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7654,7 +7661,7 @@ paths: Note not found: value: type: error.list - request_id: f2208aec-0a54-400b-b8b1-0cc2b350388c + request_id: 98ab3bca-8178-4237-a036-e65b1ef3f763 errors: - code: not_found message: Resource Not Found @@ -7668,7 +7675,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1e9242c4-736b-4581-96ee-648376042295 + request_id: de1769af-77cf-4e69-b3ed-2a9b64ddbf72 errors: - code: unauthorized message: Access Token Invalid @@ -7704,16 +7711,16 @@ paths: type: segment.list segments: - type: segment - id: 649c55a185b35b2332e7f0d4 + id: 64afd32b5e902942bec85973 name: Jane segment - created_at: 1687967137 - updated_at: 1687967137 + created_at: 1689244459 + updated_at: 1689244459 person_type: user - type: segment - id: 649c55a185b35b2332e7f0d3 + id: 64afd32b5e902942bec85972 name: John segment - created_at: 1687967137 - updated_at: 1687967137 + created_at: 1689244459 + updated_at: 1689244459 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7725,7 +7732,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6284b9c1-1a67-460b-9499-209ded59e8ac + request_id: 8ff9c493-5974-4a80-88c7-302b60547a5d errors: - code: unauthorized message: Access Token Invalid @@ -7759,10 +7766,10 @@ paths: Successful response: value: type: segment - id: 649c55a285b35b2332e7f0d7 + id: 64afd32d5e902942bec85976 name: John segment - created_at: 1687967138 - updated_at: 1687967138 + created_at: 1689244461 + updated_at: 1689244461 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -7774,7 +7781,7 @@ paths: Segment not found: value: type: error.list - request_id: c9bfdc95-504f-4024-9b79-02f575bfd7e3 + request_id: 9fa4734d-e7b4-40b9-b473-c7dce5914746 errors: - code: not_found message: Resource Not Found @@ -7788,7 +7795,7 @@ paths: Unauthorized: value: type: error.list - request_id: 88084650-c677-47ff-bc32-13c498147114 + request_id: 50d7abbd-4e9e-42b2-8f92-e5f236d93d22 errors: - code: unauthorized message: Access Token Invalid @@ -7818,7 +7825,7 @@ paths: type: list data: - type: subscription - id: '437950' + id: '438959' state: live consent_type: opt_out default_translation: @@ -7841,7 +7848,7 @@ paths: Unauthorized: value: type: error.list - request_id: 95ebcb6f-3b1c-4e74-ba5f-2a82c6f523f5 + request_id: f378bff6-b911-43ab-b895-93d037443c5e errors: - code: unauthorized message: Access Token Invalid @@ -7871,7 +7878,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/ea4e2d8a-e1c2-4d20-a701-5ffcf077ad82 + url: http://via.intercom.io/msgr/bd90e018-2a48-44d9-b1e5-fa442b2e86f4 type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -7904,7 +7911,7 @@ paths: Unauthorized: value: type: error.list - request_id: a041ad85-8f1f-43d0-939e-f9c8369437c0 + request_id: 4c23cbfb-6234-418e-87d3-11eeddcf412a errors: - code: unauthorized message: Access Token Invalid @@ -7967,7 +7974,7 @@ paths: type: list data: - type: tag - id: '318876' + id: '319885' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -7979,7 +7986,7 @@ paths: Unauthorized: value: type: error.list - request_id: cf7ea691-f365-4fe2-ac86-414b97989e1f + request_id: 3767ab5a-66cd-4569-bf77-29722f7b2f4d errors: - code: unauthorized message: Access Token Invalid @@ -8018,7 +8025,7 @@ paths: Action successful: value: type: tag - id: '318879' + id: '319888' name: test schema: "$ref": "#/components/schemas/tag" @@ -8030,7 +8037,7 @@ paths: Invalid parameters: value: type: error.list - request_id: ae4ab2d5-e1ad-441b-b0c3-85216625cb93 + request_id: d1c5e26d-aab2-43a3-bc99-da0c997cd014 errors: - code: parameter_invalid message: invalid tag parameters @@ -8044,14 +8051,14 @@ paths: Company not found: value: type: error.list - request_id: fb333542-e005-4f6f-b0d8-9f65866dab2a + request_id: 4d773090-813b-482a-9ab5-a7517e77c007 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 3ca9a828-1a77-4eef-94d1-2c0d35190d3a + request_id: 3dbeced6-40e8-43f7-851f-6536cc978b17 errors: - code: not_found message: User Not Found @@ -8065,7 +8072,7 @@ paths: Unauthorized: value: type: error.list - request_id: c45b432d-3ab0-42a7-b7eb-bc5275944582 + request_id: 51816c6d-3219-49b2-80f3-d3f472189d34 errors: - code: unauthorized message: Access Token Invalid @@ -8131,7 +8138,7 @@ paths: Tag found: value: type: tag - id: '318887' + id: '319896' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8143,7 +8150,7 @@ paths: Tag not found: value: type: error.list - request_id: 0fba7229-6c33-454d-bcaa-7e6584093a28 + request_id: b6f6dfb2-a405-49bc-a7c0-1d70f22d0332 errors: - code: not_found message: Resource Not Found @@ -8157,7 +8164,7 @@ paths: Unauthorized: value: type: error.list - request_id: dc95358c-f98a-4e34-96c0-91ce8987c02a + request_id: 8beedc3e-1991-4bba-aa76-3c2f7123d91d errors: - code: unauthorized message: Access Token Invalid @@ -8193,7 +8200,7 @@ paths: Resource not found: value: type: error.list - request_id: 544febe9-1f08-46ef-a81b-087aa0e553a4 + request_id: 380fe8af-cf59-46b2-9ca3-5c98c8156915 errors: - code: not_found message: Resource Not Found @@ -8207,7 +8214,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 7d22234d-0401-4730-9bc8-5aded7194084 + request_id: 241fa684-62c8-4c73-a3b4-89d00f4b9f13 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8222,7 +8229,7 @@ paths: Unauthorized: value: type: error.list - request_id: 232bc7f8-fab2-41fd-92fb-246fe9228e2d + request_id: dc64b4ba-e9c6-475f-a8f8-8de6a1185736 errors: - code: unauthorized message: Access Token Invalid @@ -8260,7 +8267,7 @@ paths: Unauthorized: value: type: error.list - request_id: ff7abb53-b453-4ccb-ba0e-b232abb7539e + request_id: 25a80092-800f-48f3-b462-3cf54dfa9fbe errors: - code: unauthorized message: Access Token Invalid @@ -8295,7 +8302,7 @@ paths: successful: value: type: team - id: '991266601' + id: '991266588' name: team 1 admin_ids: [] schema: @@ -8308,7 +8315,7 @@ paths: Team not found: value: type: error.list - request_id: f9c41c29-ccfd-4c8f-b158-6bc8539a2633 + request_id: 9b49b0d4-6329-4aba-aced-e5d4330d8a9a errors: - code: team_not_found message: Team not found @@ -8322,7 +8329,7 @@ paths: Unauthorized: value: type: error.list - request_id: 76a5d0e8-6a88-4bfb-adf4-e6b749709745 + request_id: e18ce874-0dc3-4e8d-a51e-ad180ba8632c errors: - code: unauthorized message: Access Token Invalid @@ -8355,7 +8362,7 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '163476' + id: '164485' workspace_id: this_is_an_id536_that_should_be_at_least_ name: Attribute Title description: Attribute Description @@ -8368,10 +8375,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 763813 + ticket_type_id: 764822 archived: false - created_at: 1687967172 - updated_at: 1687967172 + created_at: 1689244498 + updated_at: 1689244498 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8382,7 +8389,7 @@ paths: Unauthorized: value: type: error.list - request_id: f99554ee-6599-411c-aaa2-2f6e898f13bf + request_id: cb32debe-d9d1-4f93-a192-45a09f12dd32 errors: - code: unauthorized message: Access Token Invalid @@ -8435,7 +8442,7 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '163477' + id: '164486' workspace_id: this_is_an_id540_that_should_be_at_least_ name: name description: New Attribute Description @@ -8446,10 +8453,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 763815 + ticket_type_id: 764824 archived: false - created_at: 1687967173 - updated_at: 1687967173 + created_at: 1689244499 + updated_at: 1689244499 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8460,7 +8467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 48a16966-b189-49c6-b499-abac47ffc8a3 + request_id: a544727c-f0da-4600-a237-33dcf2e902ea errors: - code: unauthorized message: Access Token Invalid @@ -8498,20 +8505,20 @@ paths: type: list data: - type: ticket_type - id: '763817' + id: '764826' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" workspace_id: this_is_an_id544_that_should_be_at_least_ archived: false - created_at: 1687967174 - updated_at: 1687967174 + created_at: 1689244500 + updated_at: 1689244500 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163478' + id: '164487' workspace_id: this_is_an_id544_that_should_be_at_least_ name: name description: description @@ -8523,10 +8530,11 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 763817 + ticket_type_id: 764826 archived: false - created_at: 1687967174 - updated_at: 1687967174 + created_at: 1689244500 + updated_at: 1689244500 + category: Back-office schema: "$ref": "#/components/schemas/ticket_type_list" '401': @@ -8537,7 +8545,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2d1bec39-3f2c-48ea-899c-54b5be91b36c + request_id: afef061a-985d-4265-991c-8cd9ff26f1b7 errors: - code: unauthorized message: Access Token Invalid @@ -8565,18 +8573,19 @@ paths: Ticket type created: value: type: ticket_type - id: '763820' + id: '764829' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" workspace_id: this_is_an_id548_that_should_be_at_least_ archived: false - created_at: 1687967176 - updated_at: 1687967176 + created_at: 1689244502 + updated_at: 1689244502 is_internal: false ticket_type_attributes: type: list data: [] + category: Back-office schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8587,7 +8596,7 @@ paths: Unauthorized: value: type: error.list - request_id: 23eea240-6e65-47c7-8312-6f65cef13b37 + request_id: '09e44bfe-1a5b-4082-afd6-b7e14e746213' errors: - code: unauthorized message: Access Token Invalid @@ -8631,20 +8640,20 @@ paths: Ticket type found: value: type: ticket_type - id: '763822' + id: '764831' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" workspace_id: this_is_an_id552_that_should_be_at_least_ archived: false - created_at: 1687967177 - updated_at: 1687967177 + created_at: 1689244503 + updated_at: 1689244503 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163482' + id: '164491' workspace_id: this_is_an_id552_that_should_be_at_least_ name: name description: description @@ -8656,10 +8665,11 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 763822 + ticket_type_id: 764831 archived: false - created_at: 1687967177 - updated_at: 1687967177 + created_at: 1689244503 + updated_at: 1689244503 + category: Back-office schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8670,7 +8680,7 @@ paths: Unauthorized: value: type: error.list - request_id: c4be6d89-7d86-4b6b-a1c7-c8cb5cdc30a3 + request_id: 7d3235e2-b893-4bf8-a6b6-adcc2cdae9c7 errors: - code: unauthorized message: Access Token Invalid @@ -8702,20 +8712,20 @@ paths: Ticket type updated: value: type: ticket_type - id: '763824' + id: '764833' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" workspace_id: this_is_an_id556_that_should_be_at_least_ archived: false - created_at: 1687967178 - updated_at: 1687967179 + created_at: 1689244504 + updated_at: 1689244505 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163484' + id: '164493' workspace_id: this_is_an_id556_that_should_be_at_least_ name: name description: description @@ -8727,10 +8737,11 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 763824 + ticket_type_id: 764833 archived: false - created_at: 1687967178 - updated_at: 1687967178 + created_at: 1689244504 + updated_at: 1689244504 + category: Back-office schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8741,7 +8752,7 @@ paths: Unauthorized: value: type: error.list - request_id: f49ee358-8860-4331-9571-a43cf16c45e8 + request_id: d058b298-3a34-487d-a3b7-802dbe153eb8 errors: - code: unauthorized message: Access Token Invalid @@ -8793,16 +8804,16 @@ paths: Successful response: value: type: ticket_part - id: '708344' + id: '709353' part_type: note body: "

    This is a body

    " - created_at: 1687967182 - updated_at: 1687967182 + created_at: 1689244509 + updated_at: 1689244509 author: - id: '991266623' + id: '991266610' type: admin - name: Ciaran346 Lee - email: admin346@email.com + name: Ciaran332 Lee + email: admin332@email.com attachments: [] redacted: false schema: @@ -8815,7 +8826,7 @@ paths: Unauthorized: value: type: error.list - request_id: 306d610c-210a-47d7-8622-1439a37ed682 + request_id: 50e4fd4c-006d-4dab-8800-9a9b5a9e7e6e errors: - code: unauthorized message: Access Token Invalid @@ -8831,7 +8842,7 @@ paths: summary: Successful response value: body: This is a body - admin_id: 991266623 + admin_id: 991266610 message_type: note "/tickets": post: @@ -8853,27 +8864,27 @@ paths: Successful response: value: type: ticket - id: '712499' + id: '713508' ticket_attributes: title: example description: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '763828' + id: '764837' name: my-ticket-type-3 description: my ticket type description is awesome. icon: "\U0001F981" workspace_id: this_is_an_id564_that_should_be_at_least_ archived: false - created_at: 1687967185 - updated_at: 1687967185 + created_at: 1689244512 + updated_at: 1689244512 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163490' + id: '164499' workspace_id: this_is_an_id564_that_should_be_at_least_ name: title description: ola @@ -8885,12 +8896,12 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763828 + ticket_type_id: 764837 archived: false - created_at: 1687967185 - updated_at: 1687967185 + created_at: 1689244513 + updated_at: 1689244513 - type: ticket_type_attribute - id: '163491' + id: '164500' workspace_id: this_is_an_id564_that_should_be_at_least_ name: description description: ola @@ -8902,31 +8913,33 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763828 + ticket_type_id: 764837 archived: false - created_at: 1687967185 - updated_at: 1687967185 + created_at: 1689244513 + updated_at: 1689244513 + category: Back-office contacts: type: contact.list contacts: - - id: 649c55d285b35b2332e7f107 - role: user + - type: contact + id: 64afd3615e902942bec859a6 + external_id: '70' admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1687967186 - updated_at: 1687967185 + created_at: 1689244514 + updated_at: 1689244512 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '708346' + id: '709355' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1687967187 - updated_at: 1687967187 + created_at: 1689244515 + updated_at: 1689244515 author: - id: '991266636' + id: '991266623' type: bot name: Operator email: operator+this_is_an_id564_that_should_be_at_least_@intercom.io @@ -8939,6 +8952,7 @@ paths: data: [] total_count: 0 has_more: false + category: Back-office schema: "$ref": "#/components/schemas/ticket" '401': @@ -8949,7 +8963,7 @@ paths: Unauthorized: value: type: error.list - request_id: d2682e87-6446-4e0b-894a-796367752f28 + request_id: 40c236f0-8140-464a-8972-f2b3e2c4869e errors: - code: unauthorized message: Access Token Invalid @@ -8964,9 +8978,9 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 763828 + ticket_type_id: 764837 contacts: - - id: 649c55d285b35b2332e7f107 + - id: 64afd3615e902942bec859a6 ticket_attributes: title: example description: there is a problem @@ -8996,27 +9010,27 @@ paths: Successful response: value: type: ticket - id: '712500' + id: '713509' ticket_attributes: title: example description: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '763830' + id: '764839' name: my-ticket-type-5 description: my ticket type description is awesome. icon: "\U0001F981" workspace_id: this_is_an_id568_that_should_be_at_least_ archived: false - created_at: 1687967190 - updated_at: 1687967190 + created_at: 1689244517 + updated_at: 1689244517 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163495' + id: '164504' workspace_id: this_is_an_id568_that_should_be_at_least_ name: title description: ola @@ -9028,12 +9042,12 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763830 + ticket_type_id: 764839 archived: false - created_at: 1687967190 - updated_at: 1687967190 + created_at: 1689244517 + updated_at: 1689244517 - type: ticket_type_attribute - id: '163496' + id: '164505' workspace_id: this_is_an_id568_that_should_be_at_least_ name: description description: ola @@ -9045,87 +9059,89 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763830 + ticket_type_id: 764839 archived: false - created_at: 1687967190 - updated_at: 1687967190 + created_at: 1689244517 + updated_at: 1689244517 + category: Back-office contacts: type: contact.list contacts: - - id: 649c55d685b35b2332e7f108 - role: lead - admin_assignee_id: '991266650' + - type: contact + id: 64afd3665e902942bec859a7 + external_id: 325816f3-7593-4278-b16f-8b64847dbfef + admin_assignee_id: '991266637' team_assignee_id: '0' - created_at: 1687967191 - updated_at: 1687967190 + created_at: 1689244518 + updated_at: 1689244517 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '708347' + id: '709356' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1687967191 - updated_at: 1687967191 + created_at: 1689244518 + updated_at: 1689244518 author: - id: '991266648' + id: '991266635' type: admin - name: Ciaran368 Lee - email: admin368@email.com + name: Ciaran354 Lee + email: admin354@email.com attachments: [] redacted: false - type: ticket_part - id: '708348' + id: '709357' part_type: ticket_attribute_updated_by_admin - created_at: 1687967192 - updated_at: 1687967192 + created_at: 1689244520 + updated_at: 1689244520 author: - id: '991266649' + id: '991266636' type: bot name: Operator email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '708349' + id: '709358' part_type: ticket_attribute_updated_by_admin - created_at: 1687967193 - updated_at: 1687967193 + created_at: 1689244520 + updated_at: 1689244520 author: - id: '991266649' + id: '991266636' type: bot name: Operator email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '708350' + id: '709359' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1687967193 - updated_at: 1687967193 + created_at: 1689244521 + updated_at: 1689244521 author: - id: '991266649' + id: '991266636' type: bot name: Operator email: operator+this_is_an_id568_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '708351' + id: '709360' part_type: assignment - created_at: 1687967193 - updated_at: 1687967193 + created_at: 1689244521 + updated_at: 1689244521 assigned_to: type: admin - id: '991266650' + id: '991266637' author: - id: '991266648' + id: '991266635' type: admin - name: Ciaran368 Lee - email: admin368@email.com + name: Ciaran354 Lee + email: admin354@email.com attachments: [] redacted: false total_count: 5 @@ -9135,6 +9151,7 @@ paths: data: [] total_count: 0 has_more: false + category: Back-office schema: "$ref": "#/components/schemas/ticket" '404': @@ -9145,14 +9162,14 @@ paths: Admin not found: value: type: error.list - request_id: 3fe0dbf3-0613-4037-9b22-62ce6e68c170 + request_id: 52bd4e1d-7854-4e84-ad3b-4360b7f6a270 errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: 0b2cf7cb-0fd4-445c-9538-79ec6a5b8661 + request_id: b775b78f-f653-4f85-b4cb-ca800d0f4b18 errors: - code: assignee_not_found message: Assignee not found @@ -9164,7 +9181,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9ec26490-7646-4c34-a5c4-065948af68cc + request_id: 3172fb0f-0200-407d-a15f-33f8e3b1d257 errors: - code: unauthorized message: Access Token Invalid @@ -9184,8 +9201,8 @@ paths: description: there is a problem state: in_progress assignment: - admin_id: '991266648' - assignee_id: '991266650' + admin_id: '991266635' + assignee_id: '991266637' open: true admin_not_found: summary: Admin not found @@ -9196,7 +9213,7 @@ paths: state: in_progress assignment: admin_id: '123' - assignee_id: '991266658' + assignee_id: '991266645' assignee_not_found: summary: Assignee not found value: @@ -9205,7 +9222,7 @@ paths: description: there is a problem state: in_progress assignment: - admin_id: '991266664' + admin_id: '991266651' assignee_id: '456' get: summary: Retrieve a ticket @@ -9232,27 +9249,27 @@ paths: Ticket found: value: type: ticket - id: '712503' + id: '713512' ticket_attributes: title: attribute_value description: ticket_state: submitted ticket_type: type: ticket_type - id: '763834' + id: '764843' name: my-ticket-type-9 description: my ticket type description is awesome. icon: "\U0001F981" workspace_id: this_is_an_id576_that_should_be_at_least_ archived: false - created_at: 1687967201 - updated_at: 1687967201 + created_at: 1689244530 + updated_at: 1689244530 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163506' + id: '164515' workspace_id: this_is_an_id576_that_should_be_at_least_ name: title description: ola @@ -9264,12 +9281,12 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763834 + ticket_type_id: 764843 archived: false - created_at: 1687967201 - updated_at: 1687967201 + created_at: 1689244530 + updated_at: 1689244530 - type: ticket_type_attribute - id: '163507' + id: '164516' workspace_id: this_is_an_id576_that_should_be_at_least_ name: description description: ola @@ -9281,34 +9298,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763834 + ticket_type_id: 764843 archived: false - created_at: 1687967202 - updated_at: 1687967202 + created_at: 1689244531 + updated_at: 1689244531 + category: Back-office contacts: type: contact.list contacts: - - id: 649c55e285b35b2332e7f10b - role: lead + - type: contact + id: 64afd3735e902942bec859aa + external_id: 9f0fe58b-b51b-4648-9e6f-ca699196f8c3 admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1687967202 - updated_at: 1687967201 + created_at: 1689244531 + updated_at: 1689244530 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '708354' + id: '709363' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1687967203 - updated_at: 1687967203 + created_at: 1689244532 + updated_at: 1689244532 author: - id: '991266677' + id: '991266664' type: admin - name: Ciaran394 Lee - email: admin394@email.com + name: Ciaran380 Lee + email: admin380@email.com attachments: [] redacted: false total_count: 1 @@ -9318,6 +9337,7 @@ paths: data: [] total_count: 0 has_more: false + category: Back-office schema: "$ref": "#/components/schemas/ticket" '401': @@ -9328,7 +9348,7 @@ paths: Unauthorized: value: type: error.list - request_id: e97e42b0-1790-4110-90a6-a1459e1e1fb5 + request_id: ffa0f371-6d8d-4433-8f99-64f532d742bc errors: - code: unauthorized message: Access Token Invalid @@ -9391,27 +9411,27 @@ paths: total_count: 1 tickets: - type: ticket - id: '712504' + id: '713513' ticket_attributes: title: attribute_value description: ticket_state: submitted ticket_type: type: ticket_type - id: '763836' + id: '764845' name: my-ticket-type-11 description: my ticket type description is awesome. icon: "\U0001F981" workspace_id: this_is_an_id580_that_should_be_at_least_ archived: false - created_at: 1687967206 - updated_at: 1687967206 + created_at: 1689244534 + updated_at: 1689244534 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '163511' + id: '164520' workspace_id: this_is_an_id580_that_should_be_at_least_ name: title description: ola @@ -9423,12 +9443,12 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763836 + ticket_type_id: 764845 archived: false - created_at: 1687967206 - updated_at: 1687967206 + created_at: 1689244535 + updated_at: 1689244535 - type: ticket_type_attribute - id: '163512' + id: '164521' workspace_id: this_is_an_id580_that_should_be_at_least_ name: description description: ola @@ -9440,34 +9460,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 763836 + ticket_type_id: 764845 archived: false - created_at: 1687967206 - updated_at: 1687967206 + created_at: 1689244535 + updated_at: 1689244535 + category: Back-office contacts: type: contact.list contacts: - - id: 649c55e785b35b2332e7f10c - role: lead + - type: contact + id: 64afd3775e902942bec859ab + external_id: bda5da12-923d-48b9-bf07-9db9380f627d admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1687967207 - updated_at: 1687967206 + created_at: 1689244536 + updated_at: 1689244534 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '708355' + id: '709364' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1687967208 - updated_at: 1687967208 + created_at: 1689244536 + updated_at: 1689244536 author: - id: '991266690' + id: '991266677' type: admin - name: Ciaran406 Lee - email: admin406@email.com + name: Ciaran392 Lee + email: admin392@email.com attachments: [] redacted: false total_count: 1 @@ -9477,6 +9499,7 @@ paths: data: [] total_count: 0 has_more: false + category: Back-office schema: "$ref": "#/components/schemas/ticket_list" requestBody: @@ -9493,15 +9516,15 @@ paths: value: - field: id operator: "=" - value: '712504' + value: '713513' - operator: OR value: - field: id operator: "=" - value: '712504' + value: '713513' - field: id operator: "=" - value: '712504' + value: '713513' "/visitors": put: summary: Update a visitor @@ -9528,26 +9551,26 @@ paths: successful: value: type: visitor - id: 649c563485b35b2332e7f1f8 + id: 64afd3cf5e902942bec85a97 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Orange Fish + pseudonym: Indigo Bow avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/orange-fish.png - app_id: this_is_an_id585_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/indigo-bow.png + app_id: this_is_an_id584_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1687967284 - remote_created_at: 1687967284 - signed_up_at: 1687967284 - updated_at: 1687967284 + created_at: 1689244623 + remote_created_at: 1689244623 + signed_up_at: 1689244623 + updated_at: 1689244623 session_count: 0 social_profiles: type: social_profile.list @@ -9580,7 +9603,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 7f25c0f1-c8cf-4196-b27a-e042b102f9ca + request_id: 0bea3d19-7f30-4a69-a9f4-3e7728a20046 errors: - code: not_found message: Visitor Not Found @@ -9594,7 +9617,7 @@ paths: Unauthorized: value: type: error.list - request_id: 554865a5-3569-4247-b0d0-2a941c1bcebd + request_id: d24214b2-3e5e-4aba-ac80-1cc6c830986b errors: - code: unauthorized message: Access Token Invalid @@ -9609,7 +9632,7 @@ paths: successful: summary: successful value: - id: 649c563485b35b2332e7f1f8 + id: 64afd3cf5e902942bec85a97 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -9642,7 +9665,7 @@ paths: successful: value: type: visitor - id: 649c563685b35b2332e7f1fb + id: 64afd3d15e902942bec85a9a user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9658,10 +9681,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1687967286 - remote_created_at: 1687967286 - signed_up_at: 1687967286 - updated_at: 1687967286 + created_at: 1689244625 + remote_created_at: 1689244625 + signed_up_at: 1689244625 + updated_at: 1689244625 session_count: 0 social_profiles: type: social_profile.list @@ -9694,7 +9717,7 @@ paths: Visitor not found: value: type: error.list - request_id: 766ec1e1-b352-42fd-bb3e-5bd458f623de + request_id: 9733e2bf-a9f7-4d4b-8ebd-81c17de6970b errors: - code: not_found message: Visitor Not Found @@ -9708,7 +9731,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3b9d2376-896b-4808-a0d2-246ee3f77b58 + request_id: 247510ac-c65b-4713-b2bf-d119c71c96ce errors: - code: unauthorized message: Access Token Invalid @@ -9742,7 +9765,7 @@ paths: successful: value: type: visitor - id: 649c563785b35b2332e7f1fe + id: 64afd3d35e902942bec85a9d user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9758,10 +9781,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1687967288 - remote_created_at: 1687967287 - signed_up_at: 1687967287 - updated_at: 1687967288 + created_at: 1689244627 + remote_created_at: 1689244627 + signed_up_at: 1689244627 + updated_at: 1689244627 session_count: 0 social_profiles: type: social_profile.list @@ -9794,7 +9817,7 @@ paths: Visitor not found: value: type: error.list - request_id: c0a5416a-a3d8-4e76-812e-6d71c44f4aaf + request_id: 2e2d3b9b-8900-48b8-b02f-aa529e3dbac9 errors: - code: not_found message: Visitor Not Found @@ -9808,7 +9831,7 @@ paths: Unauthorized: value: type: error.list - request_id: cbfa7019-d6c0-4aa0-a206-ec6c926ec247 + request_id: 88926977-4047-45aa-8ca8-df5f2f84920f errors: - code: unauthorized message: Access Token Invalid @@ -9841,7 +9864,7 @@ paths: successful: value: type: visitor - id: 649c563a85b35b2332e7f201 + id: 64afd3d55e902942bec85aa0 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9857,10 +9880,10 @@ paths: companies: [] location_data: {} last_request_at: - created_at: 1687967290 - remote_created_at: 1687967290 - signed_up_at: 1687967290 - updated_at: 1687967290 + created_at: 1689244629 + remote_created_at: 1689244629 + signed_up_at: 1689244629 + updated_at: 1689244630 session_count: 0 social_profiles: type: social_profile.list @@ -9893,7 +9916,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: d8093125-c04c-49db-a1e6-7681c9128cc9 + request_id: f5b3ceea-ccfc-43e6-8c52-01f9e96fc658 errors: - code: not_found message: User Not Found @@ -9907,7 +9930,7 @@ paths: Unauthorized: value: type: error.list - request_id: 26a38bc1-3200-45bd-a943-28c8902d1703 + request_id: 56cd7c69-edcd-4c24-a762-8bf47161600e errors: - code: unauthorized message: Access Token Invalid @@ -9938,26 +9961,26 @@ paths: successful: value: type: visitor - id: 649c563c85b35b2332e7f204 + id: 64afd3d75e902942bec85aa3 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: - pseudonym: Orange Bear + pseudonym: Silver Tent avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/orange-bear.png - app_id: this_is_an_id609_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/silver-tent.png + app_id: this_is_an_id608_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1687967292 - remote_created_at: 1687967292 - signed_up_at: 1687967292 - updated_at: 1687967292 + created_at: 1689244631 + remote_created_at: 1689244632 + signed_up_at: 1689244632 + updated_at: 1689244632 session_count: 0 social_profiles: type: social_profile.list @@ -9990,7 +10013,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0ad20baa-a85e-4bd8-af82-f5e732757d1f + request_id: 97c218c0-b0ef-4861-a1e5-2d7ac1ecc2ee errors: - code: unauthorized message: Access Token Invalid @@ -14916,6 +14939,14 @@ components: type: string description: The id representing the ticket. example: '1295' + category: + type: string + description: Category of the Ticket. + enum: + - Customer + - Back-office + - Tracker + example: Customer ticket_attributes: "$ref": "#/components/schemas/ticket_custom_attributes" ticket_state: @@ -15226,6 +15257,14 @@ components: type: string description: The id representing the ticket type. example: '1295' + category: + type: string + description: Category of the Ticket Type. + enum: + - Customer + - Back-office + - Tracker + example: Customer name: type: string description: The name of the ticket type