diff --git a/descriptions/0/api.intercom.io.yaml b/descriptions/0/api.intercom.io.yaml index afded43..35f5c32 100644 --- a/descriptions/0/api.intercom.io.yaml +++ b/descriptions/0/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991268888' + id: '991270949' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1704903635 + created_at: 1706115139 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991268889' + id: '991270950' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 1332be41-e8ca-4d01-8db8-d66435747992 + request_id: 31951f3c-e164-42ec-a57d-fd3bc40cc57a errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9abff7fa-90f8-4e19-824a-b4e2925cbc8c + request_id: 8fb5850c-2d3f-484d-b64e-fc9a0b3db3f5 errors: - code: unauthorized message: Access Token Invalid @@ -201,23 +201,23 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: 39cfa672-b5d6-4fc3-aaf5-058f070f25c7 + - id: 3c3dbbbd-f57d-4610-a751-ecfa854ec1c2 performed_by: type: admin - id: '991268893' + id: '991270954' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1704903639 + created_at: 1706115144 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. - - id: f2383f45-3d84-4744-8d32-947e987e7196 + - id: 9497305b-477b-4e3c-a386-f710564018f5 performed_by: type: admin - id: '991268893' + id: '991270954' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -226,7 +226,7 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1704903639 + created_at: 1706115144 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: dc0ce667-50ea-41d8-a305-7efc5fea8712 + request_id: 0e721541-75f8-4085-8885-3f4fee043ccf errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991268896' + id: '991270956' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6eef037c-9cf5-4bba-a2d5-00edacbefdeb + request_id: edfabbb8-74ac-4ac7-a0ef-6f80577d9864 errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991268898' + id: '991270958' 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: e48612e5-93fe-4864-8ff8-728e160ed37e + request_id: a06e709d-d1e0-4445-9377-ba8d21234c20 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 46db883b-14cb-4a8f-b12f-c20970f4e227 + request_id: '01028b8f-e25d-4dd4-8750-42859291006f' errors: - code: unauthorized message: Access Token Invalid @@ -379,30 +379,30 @@ paths: successful: value: data: - - id: 1 + - id: 17 type: content_import_source - last_synced_at: 1704903641 + last_synced_at: 1706115147 status: active url: https://support.example.com/us/1 sync_behavior: automatic - created_at: 1704903641 - updated_at: 1704903641 - - id: 2 + created_at: 1706115147 + updated_at: 1706115147 + - id: 18 type: content_import_source - last_synced_at: 1704903641 + last_synced_at: 1706115147 status: active url: https://support.example.com/us/2 sync_behavior: automatic - created_at: 1704903641 - updated_at: 1704903641 - - id: 3 + created_at: 1706115147 + updated_at: 1706115147 + - id: 19 type: content_import_source - last_synced_at: 1704903641 + last_synced_at: 1706115147 status: active url: https://support.example.com/us/3 sync_behavior: automatic - created_at: 1704903641 - updated_at: 1704903641 + created_at: 1706115147 + updated_at: 1706115147 pages: type: pages page: 1 @@ -420,7 +420,7 @@ paths: Unauthorized: value: type: error.list - request_id: f6f82c24-7e01-4137-ab42-9de9e8fa4f4c + request_id: 05e9ad07-1329-4b3f-92e2-b3f6b49f6559 errors: - code: unauthorized message: Access Token Invalid @@ -446,14 +446,14 @@ paths: examples: successful: value: - id: 4 + id: 20 type: content_import_source - last_synced_at: 1704903642 + last_synced_at: 1706115148 status: active url: https://www.example.com sync_behavior: api - created_at: 1704903642 - updated_at: 1704903642 + created_at: 1706115148 + updated_at: 1706115148 schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -464,7 +464,7 @@ paths: Unauthorized: value: type: error.list - request_id: 69d852ea-2747-45ff-976b-486841c520b0 + request_id: 03251d1f-af6e-4138-8b88-48c55936db01 errors: - code: unauthorized message: Access Token Invalid @@ -514,7 +514,7 @@ paths: Unauthorized: value: type: error.list - request_id: 327461a7-738c-4145-858a-6774518bb554 + request_id: 7fb44510-bbd7-40d1-b91a-2f08e001fb9d errors: - code: unauthorized message: Access Token Invalid @@ -538,14 +538,14 @@ paths: examples: successful: value: - id: 6 + id: 22 type: content_import_source - last_synced_at: 1704903644 + last_synced_at: 1706115149 status: active url: https://support.example.com/us/5 sync_behavior: api - created_at: 1704903644 - updated_at: 1704903644 + created_at: 1706115149 + updated_at: 1706115149 schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -556,7 +556,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5f47e25e-eb1b-4ab1-8b55-a8501c4f694b + request_id: 66d109c9-b712-4787-9327-751dc523f067 errors: - code: unauthorized message: Access Token Invalid @@ -581,14 +581,14 @@ paths: examples: successful: value: - id: 7 + id: 23 type: content_import_source - last_synced_at: 1704903645 + last_synced_at: 1706115150 status: active url: https://www.example.com sync_behavior: api - created_at: 1704903645 - updated_at: 1704903645 + created_at: 1706115150 + updated_at: 1706115150 schema: "$ref": "#/components/schemas/content_import_source" '401': @@ -599,7 +599,7 @@ paths: Unauthorized: value: type: error.list - request_id: adfdaae0-0e8c-4234-8a40-dbe12b71d15d + request_id: 5af8acf7-1201-4621-9ba4-7b3317d5f82e errors: - code: unauthorized message: Access Token Invalid @@ -637,42 +637,42 @@ paths: successful: value: data: - - id: '3' + - id: '11' type: external_page title: My External Content html: "

Hello world

This is external content

" url: https://support.example.com/us/3 fin_availability: true locale: en - source_id: 10 + source_id: 26 external_id: '3' - created_at: 1704903646 - updated_at: 1704903646 - last_ingested_at: 1704903646 - - id: '2' + created_at: 1706115151 + updated_at: 1706115151 + last_ingested_at: 1706115151 + - id: '10' type: external_page title: My External Content html: "

Hello world

This is external content

" url: https://support.example.com/us/2 fin_availability: true locale: en - source_id: 9 + source_id: 25 external_id: '2' - created_at: 1704903646 - updated_at: 1704903646 - last_ingested_at: 1704903646 - - id: '1' + created_at: 1706115151 + updated_at: 1706115151 + last_ingested_at: 1706115151 + - id: '9' type: external_page title: My External Content html: "

Hello world

This is external content

" url: https://support.example.com/us/1 fin_availability: true locale: en - source_id: 8 + source_id: 24 external_id: '1' - created_at: 1704903646 - updated_at: 1704903646 - last_ingested_at: 1704903646 + created_at: 1706115151 + updated_at: 1706115151 + last_ingested_at: 1706115151 pages: type: pages page: 1 @@ -690,7 +690,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4dd5a6a5-4385-4005-abaa-c1f38d882f54 + request_id: d5ef02b0-6fcd-4392-882b-16bb6a82839a errors: - code: unauthorized message: Access Token Invalid @@ -717,18 +717,18 @@ paths: examples: successful: value: - id: '5' + id: '13' type: external_page title: Test html: "

Test

" url: https://www.example.com fin_availability: true locale: en - source_id: 12 + source_id: 28 external_id: abc1234 - created_at: 1704903647 - updated_at: 1704903647 - last_ingested_at: 1704903647 + created_at: 1706115152 + updated_at: 1706115152 + last_ingested_at: 1706115152 schema: "$ref": "#/components/schemas/external_page" '401': @@ -739,7 +739,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7adc9043-6d6c-4d91-9b3e-f3d43b52b9db + request_id: 57657d1c-4a84-4392-bbfe-a2088677d7ac errors: - code: unauthorized message: Access Token Invalid @@ -757,7 +757,7 @@ paths: external_id: abc1234 html: "

Test

" locale: en - source_id: 12 + source_id: 28 title: Test url: https://www.example.com "/ai/external_pages/{id}": @@ -788,18 +788,18 @@ paths: examples: successful: value: - id: '6' + id: '14' type: external_page title: My External Content html: "

Hello world

This is external content

" url: https://support.example.com/us/5 fin_availability: true locale: en - source_id: 13 + source_id: 29 external_id: '4' - created_at: 1704903648 - updated_at: 1704903648 - last_ingested_at: 1704903648 + created_at: 1706115153 + updated_at: 1706115153 + last_ingested_at: 1706115153 schema: "$ref": "#/components/schemas/external_page" '401': @@ -810,7 +810,7 @@ paths: Unauthorized: value: type: error.list - request_id: d3aa8bce-bb2b-4459-a224-f59915d6128c + request_id: 6884e70f-c203-408e-8f6b-6af42db1474f errors: - code: unauthorized message: Access Token Invalid @@ -835,18 +835,18 @@ paths: examples: successful: value: - id: '7' + id: '15' type: external_page title: My External Content html: "

Hello world

This is external content

" url: https://support.example.com/us/6 fin_availability: true locale: en - source_id: 14 + source_id: 30 external_id: '5' - created_at: 1704903648 - updated_at: 1704903648 - last_ingested_at: 1704903648 + created_at: 1706115153 + updated_at: 1706115153 + last_ingested_at: 1706115153 schema: "$ref": "#/components/schemas/external_page" '401': @@ -857,7 +857,7 @@ paths: Unauthorized: value: type: error.list - request_id: eeccd81c-53a5-403f-bb42-df9edb9c3f00 + request_id: 5e14d0b4-58e3-4d78-9122-a07051f28440 errors: - code: unauthorized message: Access Token Invalid @@ -883,18 +883,18 @@ paths: examples: successful: value: - id: '8' + id: '16' type: external_page title: Test html: "

Test

" url: https://www.example.com fin_availability: true locale: en - source_id: 15 + source_id: 31 external_id: '5678' - created_at: 1704903649 - updated_at: 1704903649 - last_ingested_at: 1704903649 + created_at: 1706115154 + updated_at: 1706115154 + last_ingested_at: 1706115154 schema: "$ref": "#/components/schemas/external_page" '401': @@ -905,7 +905,7 @@ paths: Unauthorized: value: type: error.list - request_id: '049a769a-f598-49ab-825a-559d69ec0c6f' + request_id: afcd7dc1-139b-42c6-af86-9101f9b48b5f errors: - code: unauthorized message: Access Token Invalid @@ -923,7 +923,7 @@ paths: external_id: '5678' html: "

Test

" locale: en - source_id: 15 + source_id: 31 title: Test url: https://www.example.com "/articles": @@ -958,20 +958,20 @@ paths: total_pages: 1 total_count: 1 data: - - id: '105' + - id: '160' type: article workspace_id: this_is_an_id64_that_should_be_at_least_4 - parent_id: 432 + parent_id: 646 parent_type: collection parent_ids: [] title: This is the article title description: '' body: '' - author_id: 991268922 + author_id: 991270982 state: published - created_at: 1704903651 - updated_at: 1704903651 - url: http://help-center.test/myapp-64/en/articles/105-this-is-the-article-title + created_at: 1706115155 + updated_at: 1706115155 + url: http://help-center.test/myapp-64/en/articles/160-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -982,7 +982,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3df4a247-ada9-421f-9834-dd3acb3e28c3 + request_id: 9d7dea59-fb2a-4575-a2b2-8a2fbc67e6bf errors: - code: unauthorized message: Access Token Invalid @@ -1007,10 +1007,10 @@ paths: examples: article created: value: - id: '108' + id: '163' type: article workspace_id: this_is_an_id68_that_should_be_at_least_4 - parent_id: 434 + parent_id: 648 parent_type: collection parent_ids: [] statistics: @@ -1024,11 +1024,11 @@ paths: title: Thanks for everything description: Description of the Article body:

Body of the Article

- author_id: 991268927 + author_id: 991270987 state: published - created_at: 1704903653 - updated_at: 1704903653 - url: http://help-center.test/myapp-68/en/articles/108-thanks-for-everything + created_at: 1706115157 + updated_at: 1706115157 + url: http://help-center.test/myapp-68/en/articles/163-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -1039,7 +1039,7 @@ paths: Bad Request: value: type: error.list - request_id: 036acaa5-7c5f-4042-8815-08c070dd66e8 + request_id: 9c59221a-8d89-4577-913d-704b03471c96 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -1054,7 +1054,7 @@ paths: Unauthorized: value: type: error.list - request_id: a759579e-da92-48b4-aa06-3a40e7bc1c97 + request_id: d4cb2b58-6488-4897-ade9-d0cd40c0aef4 errors: - code: unauthorized message: Access Token Invalid @@ -1072,16 +1072,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991268927 + author_id: 991270987 state: published - parent_id: 434 + parent_id: 648 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991268927 + author_id: 991270987 state: published bad_request: summary: Bad Request @@ -1118,10 +1118,10 @@ paths: examples: Article found: value: - id: '111' + id: '166' type: article workspace_id: this_is_an_id74_that_should_be_at_least_4 - parent_id: 437 + parent_id: 651 parent_type: collection parent_ids: [] statistics: @@ -1135,11 +1135,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991268932 + author_id: 991270992 state: published - created_at: 1704903654 - updated_at: 1704903654 - url: http://help-center.test/myapp-74/en/articles/111-this-is-the-article-title + created_at: 1706115159 + updated_at: 1706115159 + url: http://help-center.test/myapp-74/en/articles/166-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -1150,7 +1150,7 @@ paths: Article not found: value: type: error.list - request_id: fdcde47c-c572-498e-b0aa-79c7fa386496 + request_id: 3edde43a-c02a-4eed-a0b3-320d4f2aea89 errors: - code: not_found message: Resource Not Found @@ -1164,7 +1164,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4375a7e2-cc8f-4da2-a335-2d6dadf87e91 + request_id: c463df72-8acf-4f6a-a35e-89cb6b8a8dd9 errors: - code: unauthorized message: Access Token Invalid @@ -1197,10 +1197,10 @@ paths: examples: successful: value: - id: '114' + id: '169' type: article workspace_id: this_is_an_id80_that_should_be_at_least_4 - parent_id: 440 + parent_id: 654 parent_type: collection parent_ids: [] statistics: @@ -1214,11 +1214,11 @@ paths: title: Christmas is here! description: '' body:

New gifts in store for the jolly season

- author_id: 991268938 + author_id: 991270998 state: published - created_at: 1704903656 - updated_at: 1704903657 - url: http://help-center.test/myapp-80/en/articles/114-christmas-is-here + created_at: 1706115161 + updated_at: 1706115161 + url: http://help-center.test/myapp-80/en/articles/169-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -1229,7 +1229,7 @@ paths: Article Not Found: value: type: error.list - request_id: 7ac09d01-753b-44a6-ba4e-0f37495b3c14 + request_id: bde76765-ac3e-4f88-9b58-3d35e846529e errors: - code: not_found message: Resource Not Found @@ -1243,7 +1243,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2e17bd20-98d7-4e5b-abf8-c18e4cc98d19 + request_id: 5ef59f51-b3cb-4ec0-8849-9101b2ac4742 errors: - code: unauthorized message: Access Token Invalid @@ -1291,7 +1291,7 @@ paths: examples: successful: value: - id: '117' + id: '172' object: article deleted: true schema: @@ -1304,7 +1304,7 @@ paths: Article Not Found: value: type: error.list - request_id: 97c15472-ade6-4cf8-b16b-15116a5771df + request_id: 970c2446-a005-400f-8af5-64315b7d7a2d errors: - code: not_found message: Resource Not Found @@ -1318,7 +1318,7 @@ paths: Unauthorized: value: type: error.list - request_id: d80dc162-a5ed-49ed-8540-9164955f5ab0 + request_id: 56e42875-7950-434b-adc3-716bed8c6cb7 errors: - code: unauthorized message: Access Token Invalid @@ -1378,7 +1378,7 @@ paths: total_count: 1 data: articles: - - id: '121' + - id: '176' type: article workspace_id: this_is_an_id92_that_should_be_at_least_4 parent_id: @@ -1387,10 +1387,10 @@ paths: title: Title 1 description: '' body: '' - author_id: 991268951 + author_id: 991271011 state: draft - created_at: 1704903660 - updated_at: 1704903660 + created_at: 1706115165 + updated_at: 1706115165 url: highlights: [] pages: @@ -1408,7 +1408,7 @@ paths: Unauthorized: value: type: error.list - request_id: e66eef28-becd-4bac-af2e-bca433e90fd2 + request_id: e264627e-6431-4b5e-b3ce-7d227f8e53c3 errors: - code: unauthorized message: Access Token Invalid @@ -1441,27 +1441,27 @@ paths: value: type: list data: - - id: '448' + - id: '662' workspace_id: this_is_an_id96_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-96/collection-17 order: 17 - created_at: 1704903662 - updated_at: 1704903662 + created_at: 1706115166 + updated_at: 1706115166 description: english collection description icon: bookmark parent_id: - help_center_id: 228 - - id: '449' + help_center_id: 326 + - id: '663' workspace_id: this_is_an_id96_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-96/section-1 order: 1 - created_at: 1704903662 - updated_at: 1704903662 + created_at: 1706115166 + updated_at: 1706115166 description: icon: bookmark - parent_id: '448' + parent_id: '662' help_center_id: total_count: 2 pages: @@ -1479,7 +1479,7 @@ paths: Unauthorized: value: type: error.list - request_id: '098c2d8f-1c20-48df-9725-652cfa09e382' + request_id: 215ff136-af7c-43b4-b55e-cbebbc9aa450 errors: - code: unauthorized message: Access Token Invalid @@ -1504,17 +1504,17 @@ paths: examples: collection created: value: - id: '454' + id: '668' workspace_id: this_is_an_id100_that_should_be_at_least_ name: Thanks for everything url: http://help-center.test/myapp-100/ order: 1 - created_at: 1704903663 - updated_at: 1704903663 + created_at: 1706115168 + updated_at: 1706115168 description: '' icon: book-bookmark parent_id: - help_center_id: 230 + help_center_id: 328 schema: "$ref": "#/components/schemas/collection" '400': @@ -1525,7 +1525,7 @@ paths: Bad Request: value: type: error.list - request_id: 460a1ee0-294a-47f8-bb0c-5fb6748a1934 + request_id: fc166fa4-63d4-4ccc-8f69-7108e4d463bc errors: - code: parameter_not_found message: Name is a required parameter. @@ -1539,7 +1539,7 @@ paths: Unauthorized: value: type: error.list - request_id: 708ead40-48f4-46d6-a891-6e9816685e34 + request_id: 6ef5a1e2-400f-4be4-9fb2-dd5282e0dffb errors: - code: unauthorized message: Access Token Invalid @@ -1587,17 +1587,17 @@ paths: examples: Collection found: value: - id: '459' + id: '673' workspace_id: this_is_an_id106_that_should_be_at_least_ name: English collection title url: http://help-center.test/myapp-106/collection-22 order: 22 - created_at: 1704903664 - updated_at: 1704903664 + created_at: 1706115169 + updated_at: 1706115169 description: english collection description icon: bookmark parent_id: - help_center_id: 233 + help_center_id: 331 schema: "$ref": "#/components/schemas/collection" '404': @@ -1608,7 +1608,7 @@ paths: Collection not found: value: type: error.list - request_id: 1a69ed78-bb1d-4b43-a46b-de34bbadb729 + request_id: 540e6586-fa6d-4f72-8812-eeaee9d6fb82 errors: - code: not_found message: Resource Not Found @@ -1622,7 +1622,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5322973b-2866-42aa-8018-c7ddc4a4b885 + request_id: 7ad0c0cd-304f-4773-8612-859450470e3f errors: - code: unauthorized message: Access Token Invalid @@ -1655,17 +1655,17 @@ paths: examples: successful: value: - id: '465' + id: '679' workspace_id: this_is_an_id112_that_should_be_at_least_ name: Update collection name url: http://help-center.test/myapp-112/collection-25 order: 25 - created_at: 1704903665 - updated_at: 1704903665 + created_at: 1706115170 + updated_at: 1706115170 description: english collection description icon: folder parent_id: - help_center_id: 236 + help_center_id: 334 schema: "$ref": "#/components/schemas/collection" '404': @@ -1676,7 +1676,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 5b0890a4-b421-47a9-ac56-ea210e6cdf93 + request_id: d96590d5-5c9e-4621-a3a8-4a753cb486eb errors: - code: not_found message: Resource Not Found @@ -1690,7 +1690,7 @@ paths: Unauthorized: value: type: error.list - request_id: d25bb08c-8b41-43e7-ad97-12f7472e803e + request_id: 6b23a96c-2b25-4263-b6b6-9d9c5e791d95 errors: - code: unauthorized message: Access Token Invalid @@ -1737,7 +1737,7 @@ paths: examples: successful: value: - id: '471' + id: '685' object: collection deleted: true schema: @@ -1750,7 +1750,7 @@ paths: collection Not Found: value: type: error.list - request_id: 3a14434d-128c-41ba-b25a-fd3592d20e55 + request_id: 001e151b-0f27-42d3-9dfd-59d18f22ed56 errors: - code: not_found message: Resource Not Found @@ -1764,7 +1764,7 @@ paths: Unauthorized: value: type: error.list - request_id: b8d2b528-a98e-448d-a4e4-7ecfca3cfd1d + request_id: c6fc870a-69ef-402b-b619-b0645bca24c8 errors: - code: unauthorized message: Access Token Invalid @@ -1798,10 +1798,10 @@ paths: examples: Collection found: value: - id: '242' + id: '340' workspace_id: this_is_an_id124_that_should_be_at_least_ - created_at: 1704903668 - updated_at: 1704903668 + created_at: 1706115172 + updated_at: 1706115172 identifier: help-center-1 website_turned_on: false display_name: Intercom Help Center @@ -1815,7 +1815,7 @@ paths: Collection not found: value: type: error.list - request_id: 45379c71-719b-4a67-bb79-55d395a216cd + request_id: 1e7b2002-46b3-42e3-be32-b60765df5c2a errors: - code: not_found message: Resource Not Found @@ -1829,7 +1829,7 @@ paths: Unauthorized: value: type: error.list - request_id: d652bb77-d93b-4b95-b725-9ead2caa673e + request_id: 65a97b5d-8481-4458-a062-ea4a5270bda5 errors: - code: unauthorized message: Access Token Invalid @@ -1867,7 +1867,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0bdf09b9-50ea-4123-82e8-faf64726faed + request_id: 962b1c4b-c0e5-48dd-a75f-7b95fa172164 errors: - code: unauthorized message: Access Token Invalid @@ -1900,12 +1900,12 @@ paths: value: type: company company_id: company_remote_id - id: 659ec3fb6abd0164c0288596 - app_id: this_is_an_id150_that_should_be_at_least_ + id: 65b140696abd0117178b5569 + app_id: this_is_an_id147_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1704903675 - updated_at: 1704903675 + created_at: 1706115177 + updated_at: 1706115177 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1942,7 +1942,7 @@ paths: Unauthorized: value: type: error.list - request_id: e1eaf92e-119b-4af0-923b-0249e1aefb9b + request_id: b1b5378d-ab85-4e5f-b909-17bb772755d7 errors: - code: unauthorized message: Access Token Invalid @@ -2016,11 +2016,18 @@ paths: tags: - Companies operationId: retrieveCompany - description: "You can fetch a single company by passing in `company_id` or `name`.\n\n - \ `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou - can fetch all companies and filter by `segment_id` or `tag_id` as a query - parameter.\n \n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n - \ `https://api.intercom.io/companies?segment_id={segment_id}`\n" + description: | + You can fetch a single company by passing in `company_id` or `name`. + + `https://api.intercom.io/companies?name={name}` + + `https://api.intercom.io/companies?company_id={company_id}` + + You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. + + `https://api.intercom.io/companies?tag_id={tag_id}` + + `https://api.intercom.io/companies?segment_id={segment_id}` responses: '200': description: Successful @@ -2033,12 +2040,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec3fd6abd0164c028859e - app_id: this_is_an_id156_that_should_be_at_least_ + id: 65b1406a6abd0117178b5571 + app_id: this_is_an_id153_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903677 - created_at: 1704903677 - updated_at: 1704903677 + remote_created_at: 1706115178 + created_at: 1706115178 + updated_at: 1706115178 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2067,7 +2074,7 @@ paths: Company Not Found: value: type: error.list - request_id: 77fbf5d1-a878-4d84-8364-a6ed743d34c6 + request_id: 59d86596-9e49-408c-9d32-ad1fb7585dec errors: - code: company_not_found message: Company Not Found @@ -2081,7 +2088,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4e489a52-e9da-4a0d-bf9a-201444e4f4ff + request_id: 81349414-8ad7-465f-b115-51d17fb91da8 errors: - code: unauthorized message: Access Token Invalid @@ -2116,12 +2123,12 @@ paths: value: type: company company_id: '1' - id: 659ec3ff6abd0164c02885a9 - app_id: this_is_an_id162_that_should_be_at_least_ - name: company2 - remote_created_at: 1704903679 - created_at: 1704903679 - updated_at: 1704903679 + id: 65b1406c6abd0117178b557c + app_id: this_is_an_id159_that_should_be_at_least_ + name: company1 + remote_created_at: 1706115180 + created_at: 1706115180 + updated_at: 1706115180 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2143,7 +2150,7 @@ paths: Company Not Found: value: type: error.list - request_id: d6024d8b-76d2-4112-ba9d-1252082d6698 + request_id: 547012a6-d7b3-4b86-b151-5a662a471b4e errors: - code: company_not_found message: Company Not Found @@ -2157,7 +2164,7 @@ paths: Unauthorized: value: type: error.list - request_id: 37496e75-3e3e-414a-b149-b043c8772f1d + request_id: 3be83439-8985-4915-be73-08fb94617538 errors: - code: unauthorized message: Access Token Invalid @@ -2191,12 +2198,12 @@ paths: value: type: company company_id: '1' - id: 659ec4006abd0164c02885b3 - app_id: this_is_an_id168_that_should_be_at_least_ - name: company3 - remote_created_at: 1704903680 - created_at: 1704903680 - updated_at: 1704903680 + id: 65b1406e6abd0117178b5586 + app_id: this_is_an_id165_that_should_be_at_least_ + name: company2 + remote_created_at: 1706115182 + created_at: 1706115182 + updated_at: 1706115182 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2218,7 +2225,7 @@ paths: Company Not Found: value: type: error.list - request_id: c3403cfb-ae3c-45dc-8b19-351586d7958d + request_id: 87cd4928-3456-462e-8cd2-08acef032d61 errors: - code: company_not_found message: Company Not Found @@ -2232,7 +2239,7 @@ paths: Unauthorized: value: type: error.list - request_id: d8425b98-40bf-4f24-9875-84e82848eb9e + request_id: 54c158c2-ce12-4c6f-9d2e-4e6db5c48a4d errors: - code: unauthorized message: Access Token Invalid @@ -2264,7 +2271,7 @@ paths: examples: Successful: value: - id: 659ec4026abd0164c02885bd + id: 65b1406f6abd0117178b5590 object: company deleted: true schema: @@ -2277,7 +2284,7 @@ paths: Company Not Found: value: type: error.list - request_id: 76645705-a892-41ce-adc4-7a727bd277f3 + request_id: 603acd06-ea94-4e52-bb82-483c94d038b7 errors: - code: company_not_found message: Company Not Found @@ -2291,7 +2298,7 @@ paths: Unauthorized: value: type: error.list - request_id: 76645cd7-db79-4ff4-a750-b8c71f43a600 + request_id: 52047a6f-77c4-4089-ac0a-d1bcefcb57cd errors: - code: unauthorized message: Access Token Invalid @@ -2343,7 +2350,7 @@ paths: Company Not Found: value: type: error.list - request_id: 90f4401e-685d-44c8-9948-2a264f132d9f + request_id: 84a86ecd-d30c-4387-9e94-286e3a7ec026 errors: - code: company_not_found message: Company Not Found @@ -2357,7 +2364,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3e7574b6-7275-43ae-beba-91e344449b2b + request_id: 0e0532f2-112e-4c53-9bb9-4f83238ffb28 errors: - code: unauthorized message: Access Token Invalid @@ -2402,7 +2409,7 @@ paths: Company Not Found: value: type: error.list - request_id: df848494-e9ef-4337-ad41-080dcf3113c5 + request_id: c70341d8-e1df-4ad1-b5c4-c79645eddf09 errors: - code: company_not_found message: Company Not Found @@ -2416,7 +2423,7 @@ paths: Unauthorized: value: type: error.list - request_id: ddf110d8-cf0e-479a-aef7-72b7a2545ec1 + request_id: 9ea09837-15a4-4f11-bcd3-42c44e770d19 errors: - code: unauthorized message: Access Token Invalid @@ -2473,12 +2480,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec4076abd0164c02885d9 - app_id: this_is_an_id192_that_should_be_at_least_ + id: 65b140746abd0117178b55ac + app_id: this_is_an_id189_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903687 - created_at: 1704903687 - updated_at: 1704903687 + remote_created_at: 1706115188 + created_at: 1706115188 + updated_at: 1706115188 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2507,7 +2514,7 @@ paths: Unauthorized: value: type: error.list - request_id: a7286931-1315-461f-a101-52551962b513 + request_id: 2d4928a5-d307-49c2-a30b-aebaa30f1780 errors: - code: unauthorized message: Access Token Invalid @@ -2559,12 +2566,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec4086abd0164c02885df - app_id: this_is_an_id196_that_should_be_at_least_ + id: 65b140766abd0117178b55b2 + app_id: this_is_an_id193_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903688 - created_at: 1704903688 - updated_at: 1704903688 + remote_created_at: 1706115190 + created_at: 1706115190 + updated_at: 1706115190 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2578,7 +2585,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: '0290fb7b-fcd3-44c4-aeb6-d019c51f6700' + scroll_param: eb483351-b36a-4dc5-bdf1-f0ff2ae57929 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2589,7 +2596,7 @@ paths: Unauthorized: value: type: error.list - request_id: f09f1742-4355-4983-95f5-4628e48fb6b1 + request_id: 39d504ba-d8fa-4ab6-9904-e741b699a260 errors: - code: unauthorized message: Access Token Invalid @@ -2624,12 +2631,12 @@ paths: value: type: company company_id: '1' - id: 659ec40a6abd0164c02885e8 - app_id: this_is_an_id200_that_should_be_at_least_ - name: company7 - remote_created_at: 1704903690 - created_at: 1704903690 - updated_at: 1704903690 + id: 65b140776abd0117178b55bb + app_id: this_is_an_id197_that_should_be_at_least_ + name: company6 + remote_created_at: 1706115191 + created_at: 1706115191 + updated_at: 1706115191 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2643,6 +2650,20 @@ paths: custom_attributes: {} schema: "$ref": "#/components/schemas/company" + '400': + description: Bad Request + content: + application/json: + examples: + Bad Request: + value: + type: error.list + request_id: 1c0a264a-d574-47bf-8809-2a67301669aa + errors: + - code: parameter_not_found + message: company not specified + schema: + "$ref": "#/components/schemas/error" '404': description: Company Not Found content: @@ -2651,10 +2672,10 @@ paths: Company Not Found: value: type: error.list - request_id: 5767e335-1c31-4be2-978a-e39bfc472a33 + request_id: '022539db-e940-4360-8208-b9fc73de67f7' errors: - - code: not_found - message: User Not Found + - code: company_not_found + message: Company Not Found schema: "$ref": "#/components/schemas/error" '401': @@ -2665,7 +2686,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5a821e47-f5e2-40a0-9bd1-a50297bfbe80 + request_id: 0bc48c62-7536-4705-8d64-6476f85ec7c9 errors: - code: unauthorized message: Access Token Invalid @@ -2688,11 +2709,14 @@ paths: successful: summary: Successful value: - id: 659ec40a6abd0164c02885e8 + id: 65b140776abd0117178b55bb + bad_request: + summary: Bad Request + value: company_not_found: summary: Company Not Found value: - id: 659ec40b6abd0164c02885ec + id: '123' get: summary: List attached companies for contact parameters: @@ -2724,13 +2748,13 @@ paths: data: - type: company company_id: '1' - id: 659ec4156abd0164c028861a - app_id: this_is_an_id214_that_should_be_at_least_ - name: company23 - remote_created_at: 1704903701 - created_at: 1704903701 - updated_at: 1704903701 - last_request_at: 1704730901 + id: 65b1407c6abd0117178b55dc + app_id: this_is_an_id213_that_should_be_at_least_ + name: company12 + remote_created_at: 1706115196 + created_at: 1706115196 + updated_at: 1706115196 + last_request_at: 1705942396 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2759,7 +2783,7 @@ paths: Contact not found: value: type: error.list - request_id: 3e3ea353-34ce-4073-9fc3-0ae24bfee036 + request_id: 81c19c8a-79c3-433c-9d03-b4782801e117 errors: - code: not_found message: User Not Found @@ -2773,7 +2797,7 @@ paths: Unauthorized: value: type: error.list - request_id: 223bc611-2bd6-4e5e-a15f-35195cfd9877 + request_id: f257a0a6-52f4-4d0a-8ab4-7fc30a89ad69 errors: - code: unauthorized message: Access Token Invalid @@ -2816,12 +2840,12 @@ paths: value: type: company company_id: '1' - id: 659ec40c6abd0164c02885f4 - app_id: this_is_an_id206_that_should_be_at_least_ - name: company10 - remote_created_at: 1704903692 - created_at: 1704903692 - updated_at: 1704903692 + id: 65b140796abd0117178b55cb + app_id: this_is_an_id205_that_should_be_at_least_ + name: company8 + remote_created_at: 1706115193 + created_at: 1706115193 + updated_at: 1706115194 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2843,14 +2867,14 @@ paths: Company Not Found: value: type: error.list - request_id: c1247435-3113-4b93-b03f-9a4821bb9b02 + request_id: d9608629-9be9-4082-9235-bf6300e51d8a errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 8fda4373-1c70-4aa6-adbd-f96a0740a76b + request_id: 26a9e132-c785-45fd-ae7b-b3ac93902b24 errors: - code: not_found message: User Not Found @@ -2864,7 +2888,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8a0faa5f-28d3-4741-ad00-77a1fe6f82eb + request_id: 16ee8a89-857d-4877-b8b1-872d32ed847e errors: - code: unauthorized message: Access Token Invalid @@ -2900,44 +2924,44 @@ paths: type: list data: - type: note - id: '128' - created_at: 1704298904 + id: '120' + created_at: 1705510398 contact: type: contact - id: 659ec4186abd0164c0288625 + id: 65b1407e6abd0117178b55e7 author: type: admin - id: '991269010' - name: Ciaran121 Lee - email: admin121@email.com + id: '991271071' + name: Ciaran122 Lee + email: admin122@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" - type: note - id: '127' - created_at: 1704212504 + id: '119' + created_at: 1705423998 contact: type: contact - id: 659ec4186abd0164c0288625 + id: 65b1407e6abd0117178b55e7 author: type: admin - id: '991269010' - name: Ciaran121 Lee - email: admin121@email.com + id: '991271071' + name: Ciaran122 Lee + email: admin122@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" - type: note - id: '126' - created_at: 1704212504 + id: '118' + created_at: 1705423998 contact: type: contact - id: 659ec4186abd0164c0288625 + id: 65b1407e6abd0117178b55e7 author: type: admin - id: '991269010' - name: Ciaran121 Lee - email: admin121@email.com + id: '991271071' + name: Ciaran122 Lee + email: admin122@email.com away_mode_enabled: false away_mode_reassign: false body: "

This is a note.

" @@ -2958,7 +2982,7 @@ paths: Contact not found: value: type: error.list - request_id: c2b9002b-49c2-449d-8a71-06cf32ff7f92 + request_id: dd3df8dd-33c9-4ae2-aeae-d84acaed5aed errors: - code: not_found message: User Not Found @@ -2992,16 +3016,16 @@ paths: Successful response: value: type: note - id: '133' - created_at: 1704903705 + id: '125' + created_at: 1706115199 contact: type: contact - id: 659ec4196abd0164c0288627 + id: 65b1407f6abd0117178b55e9 author: type: admin - id: '991269012' - name: Ciaran123 Lee - email: admin123@email.com + id: '991271073' + name: Ciaran124 Lee + email: admin124@email.com away_mode_enabled: false away_mode_reassign: false body: "

Hello

" @@ -3015,14 +3039,14 @@ paths: Admin not found: value: type: error.list - request_id: 718fd925-2e30-4c18-8bb2-7a7c39f4c2c3 + request_id: 8a3f4306-d9cb-4fe7-92a0-91ce8cf22ded errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 5b53c4f6-2470-400d-b18d-6bc8228ba769 + request_id: '08fa2ba2-b285-4edb-b6b9-f49f03ab4e25' errors: - code: not_found message: User Not Found @@ -3052,20 +3076,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 659ec4196abd0164c0288627 - admin_id: 991269012 + contact_id: 65b1407f6abd0117178b55e9 + admin_id: 991271073 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 659ec4196abd0164c0288628 + contact_id: 65b140806abd0117178b55ea admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991269014 + admin_id: 991271075 body: Hello "/contacts/{contact_id}/segments": get: @@ -3098,10 +3122,10 @@ paths: type: list data: - type: segment - id: 659ec41a6abd0164c028862a + id: 65b140816abd0117178b55ec name: segment - created_at: 1704903706 - updated_at: 1704903706 + created_at: 1706115201 + updated_at: 1706115201 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -3113,7 +3137,7 @@ paths: Contact not found: value: type: error.list - request_id: 7d295373-c721-4c92-95d1-97ddf8d683ba + request_id: 52b04247-cd89-486b-987e-74ac764a5d65 errors: - code: not_found message: User Not Found @@ -3127,7 +3151,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3243c595-1714-4ea5-9658-ce5f1b07e2a9 + request_id: cf42fd3a-4860-4ca9-8fd0-a3efa2899f6e errors: - code: unauthorized message: Access Token Invalid @@ -3171,7 +3195,7 @@ paths: type: list data: - type: subscription - id: '274' + id: '415' state: live consent_type: opt_out default_translation: @@ -3185,7 +3209,7 @@ paths: content_types: - email - type: subscription - id: '276' + id: '417' state: live consent_type: opt_in default_translation: @@ -3208,7 +3232,7 @@ paths: Contact not found: value: type: error.list - request_id: 69db39b4-49c7-4803-9407-3a8e2617bccd + request_id: ddcc8788-2a45-49b5-aaa3-8601b0c4f8a8 errors: - code: not_found message: User Not Found @@ -3222,7 +3246,7 @@ paths: Unauthorized: value: type: error.list - request_id: eedf11ca-ada5-448b-82d7-9871a48e0cf9 + request_id: d67e1769-9d00-4ff9-9f21-7c11582e7547 errors: - code: unauthorized message: Access Token Invalid @@ -3263,7 +3287,7 @@ paths: Successful: value: type: subscription - id: '289' + id: '430' state: live consent_type: opt_in default_translation: @@ -3286,14 +3310,14 @@ paths: Contact not found: value: type: error.list - request_id: 8e7f65b7-d1b0-4ee5-bfa1-932c1cb33113 + request_id: c66c1efe-7ce0-4785-be04-8d602b2cab68 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: c8d0d520-0e15-474a-96b9-dd95245d0b5e + request_id: b65e21e2-7313-4b9a-8273-d7af655f9080 errors: - code: not_found message: Resource Not Found @@ -3307,7 +3331,7 @@ paths: Unauthorized: value: type: error.list - request_id: 691de864-171c-448f-bfc4-890e10a6609e + request_id: 4dd56131-e3fa-40ed-b67f-56cf67ac0ed3 errors: - code: unauthorized message: Access Token Invalid @@ -3335,12 +3359,12 @@ paths: successful: summary: Successful value: - id: 289 + id: 430 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 293 + id: 434 consent_type: opt_in resource_not_found: summary: Resource not found @@ -3386,7 +3410,7 @@ paths: Successful: value: type: subscription - id: '305' + id: '446' state: live consent_type: opt_in default_translation: @@ -3409,14 +3433,14 @@ paths: Contact not found: value: type: error.list - request_id: a168d4ce-af1a-4ff1-9ff0-71f90ea9beb0 + request_id: 690c5897-30bf-407a-9013-790a915dc6c6 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 4a246cee-ba85-46b3-8642-51d16247eee6 + request_id: 8f2ecfba-b7b3-40d7-bc6c-b6d26704e4bd errors: - code: not_found message: Resource Not Found @@ -3430,7 +3454,7 @@ paths: Unauthorized: value: type: error.list - request_id: 36d76381-dfe7-477e-9a37-1da24017bb2a + request_id: e7e1e137-1cd1-42a5-890a-d81fea05dd30 errors: - code: unauthorized message: Access Token Invalid @@ -3468,7 +3492,7 @@ paths: type: list data: - type: tag - id: '261' + id: '385' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3480,7 +3504,7 @@ paths: Contact not found: value: type: error.list - request_id: 55b894cb-42c0-4ab6-8b3e-d8129b10732c + request_id: eac16dc6-939c-476e-9215-f0cf26df0ad1 errors: - code: not_found message: User Not Found @@ -3494,7 +3518,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6ae698a9-6bd4-4210-8d81-25cb10f0deb7 + request_id: 252c59a6-ea0d-44eb-bc1d-ad0b3b794bac errors: - code: unauthorized message: Access Token Invalid @@ -3529,7 +3553,7 @@ paths: successful: value: type: tag - id: '262' + id: '386' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3541,14 +3565,14 @@ paths: Contact not found: value: type: error.list - request_id: 9f46d030-d574-4e2a-838c-1aa7c74b02ab + request_id: 22fbb25f-7415-4d15-af10-256e85a24c9a errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 0ae9b7c9-56ee-4db1-a1a3-1a9ee17f00a8 + request_id: 9043af89-ef28-4535-bfb3-a469ce393654 errors: - code: not_found message: Resource Not Found @@ -3562,7 +3586,7 @@ paths: Unauthorized: value: type: error.list - request_id: ea7e1fdb-8049-429d-bfce-e8a6a60822c3 + request_id: 52ac0890-ad40-4e64-962e-be935a4005be errors: - code: unauthorized message: Access Token Invalid @@ -3585,11 +3609,11 @@ paths: successful: summary: successful value: - id: 262 + id: 386 contact_not_found: summary: Contact not found value: - id: 263 + id: 387 tag_not_found: summary: Tag not found value: @@ -3631,7 +3655,7 @@ paths: successful: value: type: tag - id: '265' + id: '389' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3643,14 +3667,14 @@ paths: Contact not found: value: type: error.list - request_id: ba8ef0e1-3ec3-42ce-8d14-04ea7f8ca718 + request_id: 3cff8165-5704-4a10-8219-fb39c8b74596 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: c2d252bc-acfe-41fd-8dac-7b87e51d6fe2 + request_id: 82fcdd38-88b2-436b-bce7-b3c95cd6606e errors: - code: not_found message: Resource Not Found @@ -3664,7 +3688,7 @@ paths: Unauthorized: value: type: error.list - request_id: 00441540-6a74-4a5b-b028-ac7f20976b5f + request_id: 694087c8-fedc-4383-95e8-85efeab3c4aa errors: - code: unauthorized message: Access Token Invalid @@ -3698,8 +3722,8 @@ paths: successful: value: type: contact - id: 659ec4266abd0164c0288641 - workspace_id: this_is_an_id280_that_should_be_at_least_ + id: 65b1408c6abd0117178b5603 + workspace_id: this_is_an_id279_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3714,9 +3738,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903718 - updated_at: 1704903718 - signed_up_at: 1704903718 + created_at: 1706115212 + updated_at: 1706115213 + signed_up_at: 1706115212 last_seen_at: last_replied_at: last_contacted_at: @@ -3750,31 +3774,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec4266abd0164c0288641/tags" + url: "/contacts/65b1408c6abd0117178b5603/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec4266abd0164c0288641/notes" + url: "/contacts/65b1408c6abd0117178b5603/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec4266abd0164c0288641/companies" + url: "/contacts/65b1408c6abd0117178b5603/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec4266abd0164c0288641/subscriptions" + url: "/contacts/65b1408c6abd0117178b5603/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec4266abd0164c0288641/subscriptions" + url: "/contacts/65b1408c6abd0117178b5603/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3793,7 +3817,7 @@ paths: Unauthorized: value: type: error.list - request_id: '09a0b914-92b8-4208-b935-47498c466437' + request_id: 29b316ab-db00-49eb-80cd-34afb8aa127e errors: - code: unauthorized message: Access Token Invalid @@ -3838,8 +3862,8 @@ paths: successful: value: type: contact - id: 659ec4276abd0164c0288642 - workspace_id: this_is_an_id284_that_should_be_at_least_ + id: 65b1408e6abd0117178b5604 + workspace_id: this_is_an_id283_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3854,9 +3878,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903719 - updated_at: 1704903719 - signed_up_at: 1704903719 + created_at: 1706115214 + updated_at: 1706115214 + signed_up_at: 1706115214 last_seen_at: last_replied_at: last_contacted_at: @@ -3890,31 +3914,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec4276abd0164c0288642/tags" + url: "/contacts/65b1408e6abd0117178b5604/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec4276abd0164c0288642/notes" + url: "/contacts/65b1408e6abd0117178b5604/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec4276abd0164c0288642/companies" + url: "/contacts/65b1408e6abd0117178b5604/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec4276abd0164c0288642/subscriptions" + url: "/contacts/65b1408e6abd0117178b5604/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec4276abd0164c0288642/subscriptions" + url: "/contacts/65b1408e6abd0117178b5604/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3933,7 +3957,7 @@ paths: Unauthorized: value: type: error.list - request_id: afb4352a-c774-4690-81ac-cf48b48a17dc + request_id: 69c97731-46d0-4a2e-9e77-a0bc36425f1f errors: - code: unauthorized message: Access Token Invalid @@ -3964,7 +3988,7 @@ paths: examples: successful: value: - id: 659ec4286abd0164c0288643 + id: 65b1408f6abd0117178b5605 external_id: '70' type: contact deleted: true @@ -3978,7 +4002,7 @@ paths: Unauthorized: value: type: error.list - request_id: 66d8dd5c-00a8-43c3-ab3f-9e69650bc2e3 + request_id: a829b965-ab4e-42bc-a95d-d664fe82018a errors: - code: unauthorized message: Access Token Invalid @@ -4006,8 +4030,8 @@ paths: successful: value: type: contact - id: 659ec4296abd0164c0288645 - workspace_id: this_is_an_id292_that_should_be_at_least_ + id: 65b140906abd0117178b5607 + workspace_id: this_is_an_id291_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -4022,9 +4046,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903721 - updated_at: 1704903721 - signed_up_at: 1704903721 + created_at: 1706115216 + updated_at: 1706115216 + signed_up_at: 1706115216 last_seen_at: last_replied_at: last_contacted_at: @@ -4058,31 +4082,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec4296abd0164c0288645/tags" + url: "/contacts/65b140906abd0117178b5607/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec4296abd0164c0288645/notes" + url: "/contacts/65b140906abd0117178b5607/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec4296abd0164c0288645/companies" + url: "/contacts/65b140906abd0117178b5607/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec4296abd0164c0288645/subscriptions" + url: "/contacts/65b140906abd0117178b5607/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec4296abd0164c0288645/subscriptions" + url: "/contacts/65b140906abd0117178b5607/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -4101,7 +4125,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3b59cd0f-68f6-4f7a-8b36-038f68090b39 + request_id: 609e4a49-8006-4cf3-ab67-e37479885f23 errors: - code: unauthorized message: Access Token Invalid @@ -4116,8 +4140,8 @@ paths: successful: summary: successful value: - from: 659ec4296abd0164c0288644 - into: 659ec4296abd0164c0288645 + from: 65b140906abd0117178b5606 + into: 65b140906abd0117178b5607 "/contacts/search": post: summary: Search contacts @@ -4226,7 +4250,7 @@ paths: Unauthorized: value: type: error.list - request_id: 60e9f120-512d-46f4-956c-b87c4a9360e7 + request_id: e4bc09ed-ef6c-4d4b-8e95-5a6af4acbe51 errors: - code: unauthorized message: Access Token Invalid @@ -4246,15 +4270,15 @@ paths: value: - field: id operator: "=" - value: 659ec42b6abd0164c0288648 + value: 65b140916abd0117178b560a - operator: OR value: - field: id operator: "=" - value: 659ec42b6abd0164c0288648 + value: 65b140916abd0117178b560a - field: id operator: "=" - value: 659ec42b6abd0164c0288648 + value: 65b140916abd0117178b560a "/contacts": get: summary: List all contacts @@ -4293,7 +4317,7 @@ paths: Unauthorized: value: type: error.list - request_id: 70e85a70-bb70-4782-9854-ffb2327da540 + request_id: 2787ecb9-3c2f-4379-aeda-af749669cc26 errors: - code: unauthorized message: Access Token Invalid @@ -4319,8 +4343,8 @@ paths: successful: value: type: contact - id: 659ec42d6abd0164c028864a - workspace_id: this_is_an_id304_that_should_be_at_least_ + id: 65b140936abd0117178b560c + workspace_id: this_is_an_id303_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -4335,8 +4359,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903725 - updated_at: 1704903725 + created_at: 1706115219 + updated_at: 1706115219 signed_up_at: last_seen_at: last_replied_at: @@ -4371,31 +4395,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec42d6abd0164c028864a/tags" + url: "/contacts/65b140936abd0117178b560c/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec42d6abd0164c028864a/notes" + url: "/contacts/65b140936abd0117178b560c/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec42d6abd0164c028864a/companies" + url: "/contacts/65b140936abd0117178b560c/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec42d6abd0164c028864a/subscriptions" + url: "/contacts/65b140936abd0117178b560c/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec42d6abd0164c028864a/subscriptions" + url: "/contacts/65b140936abd0117178b560c/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -4414,7 +4438,7 @@ paths: Unauthorized: value: type: error.list - request_id: 92be95cb-2d74-4b6e-87a2-f7d7f7d1019a + request_id: 565101ad-d0e5-4891-be64-540f5bb3f8ee errors: - code: unauthorized message: Access Token Invalid @@ -4458,7 +4482,7 @@ paths: examples: successful: value: - id: 659ec42e6abd0164c028864b + id: 65b140946abd0117178b560d external_id: '70' type: contact archived: true @@ -4491,7 +4515,7 @@ paths: examples: successful: value: - id: 659ec42e6abd0164c028864c + id: 65b140956abd0117178b560e external_id: '70' type: contact archived: false @@ -4527,7 +4551,7 @@ paths: successful: value: type: tag - id: '267' + id: '391' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4539,7 +4563,7 @@ paths: Conversation not found: value: type: error.list - request_id: 0717d089-9f40-4fe8-a1f6-8c0e2c662d0d + request_id: 3371b0b4-3e4b-4b5e-b6ba-b7cd610604f3 errors: - code: not_found message: Conversation not found @@ -4553,7 +4577,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8b9fedc3-96f7-4b3e-91de-85cd53ef5189 + request_id: 7c39f8a7-28b8-4ca2-ba6f-5e0f642812ba errors: - code: unauthorized message: Access Token Invalid @@ -4582,13 +4606,13 @@ paths: successful: summary: successful value: - id: 267 - admin_id: 991269045 + id: 391 + admin_id: 991271106 conversation_not_found: summary: Conversation not found value: - id: 268 - admin_id: 991269047 + id: 392 + admin_id: 991271108 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4626,7 +4650,7 @@ paths: successful: value: type: tag - id: '270' + id: '394' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4638,14 +4662,14 @@ paths: Conversation not found: value: type: error.list - request_id: a0e2d7ec-0830-4704-b5c4-a1cfe3f6341a + request_id: a6feeebf-d749-4c33-a737-80b70ac11d69 errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: b5928124-e0a6-4647-87a4-d02e016cd8ff + request_id: b72361e3-4ef8-45ef-83dd-98e0c6f64db7 errors: - code: tag_not_found message: Tag not found @@ -4659,7 +4683,7 @@ paths: Unauthorized: value: type: error.list - request_id: 85564021-0b57-4ef7-9f26-b1c39c16de8a + request_id: 77e390b2-04ae-4303-807d-0a24a19a5eb7 errors: - code: unauthorized message: Access Token Invalid @@ -4682,15 +4706,15 @@ paths: successful: summary: successful value: - admin_id: 991269049 + admin_id: 991271110 conversation_not_found: summary: Conversation not found value: - admin_id: 991269051 + admin_id: 991271112 tag_not_found: summary: Tag not found value: - admin_id: 991269052 + admin_id: 991271113 "/conversations": get: summary: List all conversations @@ -4737,22 +4761,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '819' - created_at: 1704903734 - updated_at: 1704903734 + id: '1295' + created_at: 1706115228 + updated_at: 1706115228 waiting_since: snoozed_until: source: type: conversation - id: '403918547' + id: '403918815' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269055' - name: Ciaran163 Lee - email: admin163@email.com + id: '991271116' + name: Ciaran164 Lee + email: admin164@email.com attachments: [] url: redacted: false @@ -4760,7 +4784,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4366abd0164c0288650 + id: 65b1409c6abd0117178b5612 external_id: '70' first_contact_reply: admin_assignee_id: @@ -4795,7 +4819,7 @@ paths: Unauthorized: value: type: error.list - request_id: e1074a8b-c7ba-46fc-8d1a-b93207c18d80 + request_id: '029bf549-29e7-4f56-87bb-4efc3f14e658' errors: - code: unauthorized message: Access Token Invalid @@ -4809,7 +4833,7 @@ paths: API plan restricted: value: type: error.list - request_id: 933bd826-3a0f-4631-872b-6ae12ca04922 + request_id: eabe2886-e52d-489f-be0a-8ce14e7c6965 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4841,11 +4865,11 @@ paths: conversation created: value: type: user_message - id: '403918557' - created_at: 1704903757 + id: '403918825' + created_at: 1706115255 body: Hello there message_type: inapp - conversation_id: '844' + conversation_id: '1320' schema: "$ref": "#/components/schemas/message" '404': @@ -4856,7 +4880,7 @@ paths: Contact Not Found: value: type: error.list - request_id: 65545ed7-eb0e-4230-ac46-31d6372ab4d7 + request_id: 2f55d756-b7c5-4c34-9f4f-436fddfd63e4 errors: - code: not_found message: User Not Found @@ -4870,7 +4894,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0fa91acb-e260-408f-9c21-da48ca1a0c76 + request_id: f617f488-8ed7-438c-bd8a-d51c87d3bfec errors: - code: unauthorized message: Access Token Invalid @@ -4884,7 +4908,7 @@ paths: API plan restricted: value: type: error.list - request_id: 690d8d74-73ab-41c7-b42a-b8366f709a05 + request_id: 584a438b-0869-4ec0-aeff-bfa6ce189db9 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4901,7 +4925,7 @@ paths: value: from: type: user - id: 659ec44c6abd0164c0288665 + id: 65b140b56abd0117178b5627 body: Hello there contact_not_found: summary: Contact Not Found @@ -4953,22 +4977,22 @@ paths: conversation found: value: type: conversation - id: '848' - created_at: 1704903763 - updated_at: 1704903763 + id: '1324' + created_at: 1706115260 + updated_at: 1706115260 waiting_since: snoozed_until: source: type: conversation - id: '403918561' + id: '403918829' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269069' - name: Ciaran170 Lee - email: admin170@email.com + id: '991271130' + name: Ciaran171 Lee + email: admin171@email.com attachments: [] url: redacted: false @@ -4976,7 +5000,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4536abd0164c0288669 + id: 65b140bc6abd0117178b562b external_id: '70' first_contact_reply: admin_assignee_id: @@ -5015,7 +5039,7 @@ paths: Not found: value: type: error.list - request_id: ec54b5af-5f5b-4013-815f-f48b04b13728 + request_id: ce8b04af-36f7-482d-8bb7-67196c5dff92 errors: - code: not_found message: Resource Not Found @@ -5029,7 +5053,7 @@ paths: Unauthorized: value: type: error.list - request_id: 473a88ca-18e3-42e7-bcc7-e9c4de5c772a + request_id: 0e2a9289-44fe-442a-af7f-3f8c14a3124e errors: - code: unauthorized message: Access Token Invalid @@ -5043,7 +5067,7 @@ paths: API plan restricted: value: type: error.list - request_id: 72874dc4-714e-4f7d-b23f-3c3e4d6d0848 + request_id: 244631f5-e0f7-4e92-be3e-18cb9fe94b96 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5086,22 +5110,22 @@ paths: conversation found: value: type: conversation - id: '852' - created_at: 1704903768 - updated_at: 1704903769 + id: '1328' + created_at: 1706115267 + updated_at: 1706115268 waiting_since: snoozed_until: source: type: conversation - id: '403918565' + id: '403918833' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269077' - name: Ciaran174 Lee - email: admin174@email.com + id: '991271138' + name: Ciaran175 Lee + email: admin175@email.com attachments: [] url: redacted: false @@ -5109,7 +5133,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4586abd0164c028866d + id: 65b140c36abd0117178b562f external_id: '70' first_contact_reply: admin_assignee_id: @@ -5140,35 +5164,35 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '169' + id: '298' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704903769 - updated_at: 1704903769 - notified_at: 1704903769 + created_at: 1706115268 + updated_at: 1706115268 + notified_at: 1706115268 assigned_to: author: - id: '991269078' + id: '991271139' type: bot name: Operator - email: operator+this_is_an_id348_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id347_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false metadata: {} - type: conversation_part - id: '170' + id: '299' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704903769 - updated_at: 1704903769 - notified_at: 1704903769 + created_at: 1706115268 + updated_at: 1706115268 + notified_at: 1706115268 assigned_to: author: - id: '991269078' + id: '991271139' type: bot name: Operator - email: operator+this_is_an_id348_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id347_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5184,7 +5208,7 @@ paths: Not found: value: type: error.list - request_id: 821f265e-4176-4b58-8c62-dbd2ea82cf83 + request_id: 341d93be-8efc-40e9-b3a2-035bc7c4bbf4 errors: - code: not_found message: Resource Not Found @@ -5198,7 +5222,7 @@ paths: Unauthorized: value: type: error.list - request_id: 389af948-253b-4145-8b53-78ea83db7b18 + request_id: 5752b604-c343-4ea8-8acf-1f5b47c43faa errors: - code: unauthorized message: Access Token Invalid @@ -5212,7 +5236,7 @@ paths: API plan restricted: value: type: error.list - request_id: 89d9ab19-995b-472f-9b7d-c29c18be6bc8 + request_id: ee9b6f22-3468-46f5-a114-676344adfba1 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5263,7 +5287,7 @@ paths: examples: successful: value: - id: '856' + id: '1332' object: conversation deleted: true schema: @@ -5276,7 +5300,7 @@ paths: Unauthorized: value: type: error.list - request_id: ff3712e2-b00c-486c-8099-53f54f281c0a + request_id: cf70896d-0fdc-4c7f-9a29-beec99e3b98a errors: - code: unauthorized message: Access Token Invalid @@ -5290,7 +5314,7 @@ paths: API plan restricted: value: type: error.list - request_id: 4369fbbb-b8eb-43ff-bb73-cdf1881b886d + request_id: c6128c82-53aa-49fe-83da-b01d71b39b32 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5389,22 +5413,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '859' - created_at: 1704903778 - updated_at: 1704903778 + id: '1335' + created_at: 1706115280 + updated_at: 1706115280 waiting_since: snoozed_until: source: type: conversation - id: '403918572' + id: '403918840' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269107' - name: Ciaran197 Lee - email: admin197@email.com + id: '991271168' + name: Ciaran198 Lee + email: admin198@email.com attachments: [] url: redacted: false @@ -5412,7 +5436,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4626abd0164c0288674 + id: 65b140d06abd0117178b5636 external_id: '70' first_contact_reply: admin_assignee_id: @@ -5453,15 +5477,15 @@ paths: value: - field: id operator: "=" - value: '859' + value: '1335' - operator: OR value: - field: id operator: "=" - value: '859' + value: '1335' - field: id operator: "=" - value: '859' + value: '1335' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -5500,22 +5524,22 @@ paths: User reply: value: type: conversation - id: '867' - created_at: 1704903785 - updated_at: 1704903786 - waiting_since: 1704903786 + id: '1343' + created_at: 1706115289 + updated_at: 1706115290 + waiting_since: 1706115290 snoozed_until: source: type: conversation - id: '403918575' + id: '403918843' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269109' - name: Ciaran198 Lee - email: admin198@email.com + id: '991271170' + name: Ciaran199 Lee + email: admin199@email.com attachments: [] url: redacted: false @@ -5523,10 +5547,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4696abd0164c028867b + id: 65b140d96abd0117178b563d external_id: '70' first_contact_reply: - created_at: 1704903786 + created_at: 1706115290 type: conversation url: admin_assignee_id: @@ -5555,15 +5579,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '172' + id: '301' part_type: open body: "

Thanks again :)

" - created_at: 1704903786 - updated_at: 1704903786 - notified_at: 1704903786 + created_at: 1706115290 + updated_at: 1706115290 + notified_at: 1706115290 assigned_to: author: - id: 659ec4696abd0164c028867b + id: 65b140d96abd0117178b563d type: user name: Joe Bloggs email: joe@bloggs.com @@ -5575,22 +5599,22 @@ paths: Admin note reply: value: type: conversation - id: '868' - created_at: 1704903787 - updated_at: 1704903788 + id: '1344' + created_at: 1706115291 + updated_at: 1706115292 waiting_since: snoozed_until: source: type: conversation - id: '403918576' + id: '403918844' delivered_as: admin_initiated subject: '' body: "

this is the message body

" author: type: admin - id: '991269111' - name: Ciaran199 Lee - email: admin199@email.com + id: '991271172' + name: Ciaran200 Lee + email: admin200@email.com attachments: [] url: redacted: false @@ -5598,7 +5622,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec46b6abd0164c028867c + id: 65b140db6abd0117178b563e external_id: '70' first_contact_reply: admin_assignee_id: @@ -5627,7 +5651,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '173' + id: '302' part_type: note body: |-

An Unordered HTML List

@@ -5642,15 +5666,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704903788 - updated_at: 1704903788 - notified_at: 1704903788 + created_at: 1706115292 + updated_at: 1706115292 + notified_at: 1706115292 assigned_to: author: - id: '991269111' + id: '991271172' type: admin - name: Ciaran199 Lee - email: admin199@email.com + name: Ciaran200 Lee + email: admin200@email.com attachments: [] external_id: redacted: false @@ -5659,22 +5683,22 @@ paths: Admin quick_reply reply: value: type: conversation - id: '869' - created_at: 1704903789 - updated_at: 1704903790 + id: '1345' + created_at: 1706115293 + updated_at: 1706115294 waiting_since: snoozed_until: source: type: conversation - id: '403918577' + id: '403918845' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269113' - name: Ciaran200 Lee - email: admin200@email.com + id: '991271174' + name: Ciaran201 Lee + email: admin201@email.com attachments: [] url: redacted: false @@ -5682,7 +5706,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec46d6abd0164c028867d + id: 65b140dc6abd0117178b563f external_id: '70' first_contact_reply: admin_assignee_id: @@ -5711,18 +5735,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '174' + id: '303' part_type: quick_reply body: - created_at: 1704903790 - updated_at: 1704903790 - notified_at: 1704903790 + created_at: 1706115294 + updated_at: 1706115294 + notified_at: 1706115294 assigned_to: author: - id: '991269113' + id: '991271174' type: admin - name: Ciaran200 Lee - email: admin200@email.com + name: Ciaran201 Lee + email: admin201@email.com attachments: [] external_id: redacted: false @@ -5731,22 +5755,22 @@ paths: User last conversation reply: value: type: conversation - id: '870' - created_at: 1704903791 - updated_at: 1704903792 - waiting_since: 1704903792 + id: '1346' + created_at: 1706115295 + updated_at: 1706115296 + waiting_since: 1706115296 snoozed_until: source: type: conversation - id: '403918578' + id: '403918846' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269115' - name: Ciaran201 Lee - email: admin201@email.com + id: '991271176' + name: Ciaran202 Lee + email: admin202@email.com attachments: [] url: redacted: false @@ -5754,10 +5778,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec46e6abd0164c028867e + id: 65b140de6abd0117178b5640 external_id: '70' first_contact_reply: - created_at: 1704903792 + created_at: 1706115296 type: conversation url: admin_assignee_id: @@ -5786,15 +5810,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '175' + id: '304' part_type: open body: "

    Thanks again :)

    " - created_at: 1704903792 - updated_at: 1704903792 - notified_at: 1704903792 + created_at: 1706115296 + updated_at: 1706115296 + notified_at: 1706115296 assigned_to: author: - id: 659ec46e6abd0164c028867e + id: 65b140de6abd0117178b5640 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5813,7 +5837,7 @@ paths: Not found: value: type: error.list - request_id: ddb8686d-ff9f-4ffb-80e5-e16fe733b8b6 + request_id: d1dee235-ae59-4523-ab79-eb9433462678 errors: - code: not_found message: Resource Not Found @@ -5827,7 +5851,7 @@ paths: Unauthorized: value: type: error.list - request_id: 10bc34f2-3b5e-4cc9-b93c-479b8c97f370 + request_id: 988e2df5-082f-4fa0-8523-37f505490a30 errors: - code: unauthorized message: Access Token Invalid @@ -5841,7 +5865,7 @@ paths: API plan restricted: value: type: error.list - request_id: 045dc491-f25d-4d97-94bc-cb6ea9f49659 + request_id: 8e187273-e4ac-49a5-82ee-ac0e711ff079 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5858,14 +5882,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec4696abd0164c028867b + intercom_user_id: 65b140d96abd0117178b563d body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991269111 + admin_id: 991271172 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5875,25 +5899,25 @@ paths: value: message_type: quick_reply type: admin - admin_id: 991269113 + admin_id: 991271174 reply_options: - text: 'Yes' - uuid: f911df8d-e94c-49a4-9e43-5f721adda7b2 + uuid: 99d6bc88-2162-4e5f-a801-98fad3df826b - text: 'No' - uuid: 67f41a56-661a-4589-80ec-4552ff9102c3 + uuid: 3634faeb-0f88-467e-964c-7fa21108a70c user_last_conversation_reply: summary: User last conversation reply value: message_type: comment type: user - intercom_user_id: 659ec46e6abd0164c028867e + intercom_user_id: 65b140de6abd0117178b5640 body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ec4716abd0164c028867f + intercom_user_id: 65b140e16abd0117178b5641 body: Thanks again :) "/conversations/{id}/parts": post: @@ -5927,22 +5951,22 @@ paths: Close a conversation: value: type: conversation - id: '874' - created_at: 1704903796 - updated_at: 1704903797 + id: '1350' + created_at: 1706115301 + updated_at: 1706115302 waiting_since: snoozed_until: source: type: conversation - id: '403918582' + id: '403918850' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269123' - name: Ciaran205 Lee - email: admin205@email.com + id: '991271184' + name: Ciaran206 Lee + email: admin206@email.com attachments: [] url: redacted: false @@ -5950,7 +5974,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4746abd0164c0288682 + id: 65b140e56abd0117178b5644 external_id: '70' first_contact_reply: admin_assignee_id: @@ -5979,18 +6003,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '176' + id: '305' part_type: close body: "

    Goodbye :)

    " - created_at: 1704903797 - updated_at: 1704903797 - notified_at: 1704903797 + created_at: 1706115302 + updated_at: 1706115302 + notified_at: 1706115302 assigned_to: author: - id: '991269123' + id: '991271184' type: admin - name: Ciaran205 Lee - email: admin205@email.com + name: Ciaran206 Lee + email: admin206@email.com attachments: [] external_id: redacted: false @@ -5999,22 +6023,22 @@ paths: Snooze a conversation: value: type: conversation - id: '875' - created_at: 1704903799 - updated_at: 1704903800 + id: '1351' + created_at: 1706115304 + updated_at: 1706115305 waiting_since: - snoozed_until: 1704907400 + snoozed_until: 1706118905 source: type: conversation - id: '403918583' + id: '403918851' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269125' - name: Ciaran206 Lee - email: admin206@email.com + id: '991271186' + name: Ciaran207 Lee + email: admin207@email.com attachments: [] url: redacted: false @@ -6022,7 +6046,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4766abd0164c0288683 + id: 65b140e76abd0117178b5645 external_id: '70' first_contact_reply: admin_assignee_id: @@ -6051,18 +6075,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '177' + id: '306' part_type: snoozed body: - created_at: 1704903800 - updated_at: 1704903800 - notified_at: 1704903800 + created_at: 1706115305 + updated_at: 1706115305 + notified_at: 1706115305 assigned_to: author: - id: '991269125' + id: '991271186' type: admin - name: Ciaran206 Lee - email: admin206@email.com + name: Ciaran207 Lee + email: admin207@email.com attachments: [] external_id: redacted: false @@ -6071,22 +6095,22 @@ paths: Open a conversation: value: type: conversation - id: '880' - created_at: 1704903799 - updated_at: 1704903807 + id: '1356' + created_at: 1706115304 + updated_at: 1706115314 waiting_since: snoozed_until: source: type: conversation - id: '403918584' + id: '403918852' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269127' - name: Ciaran207 Lee - email: admin207@email.com + id: '991271188' + name: Ciaran208 Lee + email: admin208@email.com attachments: [] url: redacted: false @@ -6094,7 +6118,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec47c6abd0164c0288688 + id: 65b140ed6abd0117178b564a external_id: '74' first_contact_reply: admin_assignee_id: @@ -6123,18 +6147,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '179' + id: '308' part_type: open body: - created_at: 1704903807 - updated_at: 1704903807 - notified_at: 1704903807 + created_at: 1706115314 + updated_at: 1706115314 + notified_at: 1706115314 assigned_to: author: - id: '991269127' + id: '991271188' type: admin - name: Ciaran207 Lee - email: admin207@email.com + name: Ciaran208 Lee + email: admin208@email.com attachments: [] external_id: redacted: false @@ -6143,22 +6167,22 @@ paths: Assign a conversation: value: type: conversation - id: '884' - created_at: 1704903808 - updated_at: 1704903809 + id: '1360' + created_at: 1706115315 + updated_at: 1706115316 waiting_since: snoozed_until: source: type: conversation - id: '403918587' + id: '403918855' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269129' - name: Ciaran208 Lee - email: admin208@email.com + id: '991271190' + name: Ciaran209 Lee + email: admin209@email.com attachments: [] url: redacted: false @@ -6166,10 +6190,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4806abd0164c028868b + id: 65b140f36abd0117178b564d external_id: '70' first_contact_reply: - admin_assignee_id: 991269129 + admin_assignee_id: 991271190 team_assignee_id: open: true state: open @@ -6195,20 +6219,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '180' + id: '309' part_type: assign_and_reopen body: - created_at: 1704903809 - updated_at: 1704903809 - notified_at: 1704903809 + created_at: 1706115316 + updated_at: 1706115316 + notified_at: 1706115316 assigned_to: type: admin - id: '991269129' + id: '991271190' author: - id: '991269129' + id: '991271190' type: admin - name: Ciaran208 Lee - email: admin208@email.com + name: Ciaran209 Lee + email: admin209@email.com attachments: [] external_id: redacted: false @@ -6224,7 +6248,7 @@ paths: Not found: value: type: error.list - request_id: 917eb5e0-461d-46a8-9f50-656e7ce4a3a6 + request_id: 297910d2-ebc8-483b-9fca-73596ad9c569 errors: - code: not_found message: Resource Not Found @@ -6238,7 +6262,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1bf38a19-e450-4c6d-9654-98d2e4877849 + request_id: 53f98c1f-69ce-4906-8ecd-3da979a8a547 errors: - code: unauthorized message: Access Token Invalid @@ -6252,7 +6276,7 @@ paths: API plan restricted: value: type: error.list - request_id: abb6792c-f636-4e04-b045-35e783b6bfad + request_id: 4a4b44fe-4f72-4241-aa64-84a27eb04741 errors: - code: api_plan_restricted message: Active subscription needed. @@ -6273,32 +6297,32 @@ paths: value: message_type: close type: admin - admin_id: 991269123 + admin_id: 991271184 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991269125 - snoozed_until: 1704907400 + admin_id: 991271186 + snoozed_until: 1706118905 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991269127 + admin_id: 991271188 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991269129 - assignee_id: 991269129 + admin_id: 991271190 + assignee_id: 991271190 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991269131 + admin_id: 991271192 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -6329,22 +6353,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '888' - created_at: 1704903815 - updated_at: 1704903816 + id: '1364' + created_at: 1706115322 + updated_at: 1706115323 waiting_since: snoozed_until: source: type: conversation - id: '403918591' + id: '403918859' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269137' - name: Ciaran212 Lee - email: admin212@email.com + id: '991271198' + name: Ciaran213 Lee + email: admin213@email.com attachments: [] url: redacted: false @@ -6352,7 +6376,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4876abd0164c028868f + id: 65b140f96abd0117178b5651 external_id: '70' first_contact_reply: admin_assignee_id: @@ -6381,20 +6405,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '181' + id: '310' part_type: default_assignment body: - created_at: 1704903816 - updated_at: 1704903816 - notified_at: 1704903816 + created_at: 1706115323 + updated_at: 1706115323 + notified_at: 1706115323 assigned_to: type: nobody_admin id: author: - id: '991269138' + id: '991271199' type: bot name: Operator - email: operator+this_is_an_id392_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id391_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -6410,7 +6434,7 @@ paths: Not found: value: type: error.list - request_id: c1a35bf7-bc78-4ae8-95d8-81370a2c9d86 + request_id: c19beaca-65bb-4aae-b712-42683370d955 errors: - code: not_found message: Resource Not Found @@ -6424,7 +6448,7 @@ paths: Unauthorized: value: type: error.list - request_id: 87a11dd6-6207-45f3-a352-25788e84835e + request_id: f8a778af-4173-4807-8712-07780a97a140 errors: - code: unauthorized message: Access Token Invalid @@ -6438,7 +6462,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6a6649c6-cc1e-4514-8b1b-4ed69a2b82a6 + request_id: a231a939-1462-4f1b-915f-098a4af603f3 errors: - code: api_plan_restricted message: Active subscription needed. @@ -6477,7 +6501,7 @@ paths: value: customers: - type: user - id: 659ec48d6abd0164c0288693 + id: 65b141016abd0117178b5655 schema: "$ref": "#/components/schemas/conversation" '404': @@ -6488,7 +6512,7 @@ paths: Not found: value: type: error.list - request_id: 189b020e-33dd-4337-8251-0b00ec7f53d1 + request_id: 85114eed-fb07-4823-bde6-e01ca820091a errors: - code: not_found message: Resource Not Found @@ -6502,7 +6526,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1e8d039d-ecfd-4754-9de8-00387f3d2f91 + request_id: e0aca7e6-ef22-44ff-83ab-78e976662386 errors: - code: unauthorized message: Access Token Invalid @@ -6516,7 +6540,7 @@ paths: API plan restricted: value: type: error.list - request_id: '029f8340-b4c5-4e27-a208-e795e8d6c426' + request_id: '0990c3d2-adb8-4e84-88c2-c8e3124089d4' errors: - code: api_plan_restricted message: Active subscription needed. @@ -6531,15 +6555,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991269145 + admin_id: 991271206 customer: - intercom_user_id: 659ec48d6abd0164c0288693 + intercom_user_id: 65b141016abd0117178b5655 not_found: summary: Not found value: - admin_id: 991269147 + admin_id: 991271208 customer: - intercom_user_id: 659ec48f6abd0164c0288694 + intercom_user_id: 65b141026abd0117178b5656 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -6580,7 +6604,7 @@ paths: value: customers: - type: user - id: 659ec49a6abd0164c028869e + id: 65b1410e6abd0117178b5660 schema: "$ref": "#/components/schemas/conversation" '404': @@ -6591,14 +6615,14 @@ paths: Conversation not found: value: type: error.list - request_id: 61a312a0-69f6-4b68-8735-549b6c7b5236 + request_id: a33e92a3-5468-4f1e-9ecb-26d6e36d5ada errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 58970872-e6a2-4f14-bb7a-db32676c007c + request_id: ac64734d-4708-4abf-b938-551804a8398b errors: - code: not_found message: User Not Found @@ -6612,7 +6636,7 @@ paths: Last customer: value: type: error.list - request_id: 4dabf0b3-3495-4d32-b065-28c1b2e9acad + request_id: 1e626d86-101c-4bcb-aad5-266a2e0e932e errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -6626,7 +6650,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5c48f485-e778-41f9-a2c0-461796b4662f + request_id: 0c19b0e6-5618-4b2a-b63d-3b8fd1237b70 errors: - code: unauthorized message: Access Token Invalid @@ -6640,7 +6664,7 @@ paths: API plan restricted: value: type: error.list - request_id: 56693267-cfb5-4d0d-8851-435c568680f3 + request_id: 902a2f15-a530-48c5-975c-9480ee150458 errors: - code: api_plan_restricted message: Active subscription needed. @@ -6655,27 +6679,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991269153 + admin_id: 991271214 customer: - intercom_user_id: 659ec4926abd0164c0288697 + intercom_user_id: 65b141076abd0117178b5659 conversation_not_found: summary: Conversation not found value: - admin_id: 991269155 + admin_id: 991271216 customer: - intercom_user_id: 659ec49b6abd0164c028869f + intercom_user_id: 65b1410f6abd0117178b5661 contact_not_found: summary: Contact not found value: - admin_id: 991269157 + admin_id: 991271218 customer: - intercom_user_id: 659ec4a36abd0164c02886a6 + intercom_user_id: 65b141186abd0117178b5668 last_customer: summary: Last customer value: - admin_id: 991269159 + admin_id: 991271220 customer: - intercom_user_id: 659ec4a96abd0164c02886ad + intercom_user_id: 65b141226abd0117178b566f "/conversations/redact": post: summary: Redact a conversation part @@ -6702,22 +6726,22 @@ paths: Redact a conversation part: value: type: conversation - id: '944' - created_at: 1704903869 - updated_at: 1704903871 - waiting_since: 1704903869 + id: '1420' + created_at: 1706115389 + updated_at: 1706115391 + waiting_since: 1706115390 snoozed_until: source: type: conversation - id: '403918617' + id: '403918885' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991269165' - name: Ciaran226 Lee - email: admin226@email.com + id: '991271226' + name: Ciaran227 Lee + email: admin227@email.com attachments: [] url: redacted: false @@ -6725,10 +6749,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4bc6abd0164c02886c2 + id: 65b1413d6abd0117178b5684 external_id: '70' first_contact_reply: - created_at: 1704903869 + created_at: 1706115390 type: conversation url: admin_assignee_id: @@ -6757,15 +6781,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '189' + id: '318' part_type: open body: "

    This message was deleted

    " - created_at: 1704903869 - updated_at: 1704903871 - notified_at: 1704903869 + created_at: 1706115390 + updated_at: 1706115391 + notified_at: 1706115390 assigned_to: author: - id: 659ec4bc6abd0164c02886c2 + id: 65b1413d6abd0117178b5684 type: user name: Joe Bloggs email: joe@bloggs.com @@ -6784,7 +6808,7 @@ paths: Not found: value: type: error.list - request_id: 23c8e2eb-c9ad-4d5f-af09-bb87ac5138f9 + request_id: 156630c5-1d09-417b-904f-cd36253611ae errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6798,7 +6822,7 @@ paths: Unauthorized: value: type: error.list - request_id: 36146671-8234-43bf-b8f1-6579a89fbb6e + request_id: e9699a07-795f-420c-a94a-e32e01d67746 errors: - code: unauthorized message: Access Token Invalid @@ -6814,8 +6838,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 944 - conversation_part_id: 189 + conversation_id: 1420 + conversation_part_id: 318 not_found: summary: Not found value: @@ -6850,20 +6874,20 @@ paths: successful: value: type: ticket - id: '947' - ticket_id: '24' + id: '1423' + ticket_id: '61' ticket_attributes: {} ticket_state: submitted ticket_type: type: ticket_type - id: '108' + id: '251' name: my-ticket-type-1 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id426_that_should_be_at_least_ + workspace_id: this_is_an_id425_that_should_be_at_least_ archived: false - created_at: 1704903876 - updated_at: 1704903876 + created_at: 1706115398 + updated_at: 1706115398 is_internal: false ticket_type_attributes: type: list @@ -6873,40 +6897,40 @@ paths: type: contact.list contacts: - type: contact - id: 659ec4c26abd0164c02886c5 + id: 65b141446abd0117178b5687 external_id: '70' admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903874 - updated_at: 1704903876 + created_at: 1706115396 + updated_at: 1706115399 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '191' + id: '320' part_type: comment body: "

    Comment for message

    " - created_at: 1704903874 - updated_at: 1704903874 + created_at: 1706115396 + updated_at: 1706115396 author: - id: 659ec4c26abd0164c02886c5 + id: 65b141446abd0117178b5687 type: user name: Joe Bloggs email: joe@bloggs.com attachments: [] redacted: false - type: ticket_part - id: '192' + id: '321' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903876 - updated_at: 1704903876 + created_at: 1706115399 + updated_at: 1706115399 author: - id: '991269175' + id: '991271236' type: bot name: Operator - email: operator+this_is_an_id426_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id425_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 2 @@ -6928,7 +6952,7 @@ paths: Bad request: value: type: error.list - request_id: ff47d2c7-957a-4765-a373-c6b2faa4cad1 + request_id: e4a2b566-c494-4f5d-857a-790112a7d3c8 errors: - code: parameter_invalid message: Ticket type is not a customer ticket type @@ -6943,11 +6967,242 @@ paths: successful: summary: successful value: - ticket_type_id: '108' + ticket_type_id: '251' bad_request: summary: Bad request value: - ticket_type_id: '109' + ticket_type_id: '252' + "/custom_object_instances/{custom_object_type_identifier}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + post: + summary: create_or_update object_instance + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Create or update a custom object instance + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + id: '14' + type: object_type_identifier_1 + custom_attributes: {} + external_id: '123' + external_created_at: 1392036272 + external_updated_at: 1392036272 + created_at: 1706115403 + updated_at: 1706115403 + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: 281f0c26-7aef-462d-9195-96ce2c23895f + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/create_or_update_custom_object_instance_request" + examples: + successful: + summary: successful + value: + external_id: '123' + external_created_at: 1392036272 + external_updated_at: 1392036272 + get: + summary: show object_instance + parameters: + - name: fetch_custom_object_instance_request + in: query + style: form + required: true + schema: + type: object + oneOf: + - description: The Intercom defined id representing the custom object instance. + title: Find by id + properties: + id: + type: string + required: + - id + additionalProperties: false + - description: The unique identifier for the instance in the external system + it originated from. + title: Find by external_id + properties: + external_id: + type: string + required: + - external_id + additionalProperties: false + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by external_id + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + id: '16' + type: object_type_identifier_4 + custom_attributes: {} + external_id: '123' + external_created_at: + external_updated_at: + created_at: 1706115404 + updated_at: 1706115404 + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: 8a01e8dd-8b60-4c75-b64b-cc51e34183ba + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + "/custom_object_instances/{custom_object_type_identifier}/{id}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + get: + summary: show object_instance + parameters: + - name: id + in: path + description: The id or external_id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by id + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + id: '17' + type: object_type_identifier_6 + custom_attributes: {} + external_id: '123' + external_created_at: + external_updated_at: + created_at: 1706115405 + updated_at: 1706115405 + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: eaebeaf8-be2b-440e-b681-844bf10336ad + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + delete: + summary: delete object_instance + parameters: + - name: id + in: path + description: The Intercom id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Deleting a single Custom Object instance. + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + id: '18' + object: object_type_identifier_8 + deleted: true + schema: + "$ref": "#/components/schemas/custom_object_instance_deleted" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: f9e15fff-a9cd-4abd-b934-30f32cf0929e + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" "/data_attributes": get: summary: List all data attributes @@ -7117,7 +7372,7 @@ paths: custom: false archived: false model: company - - id: 138 + - id: 146 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -7129,9 +7384,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991269183' - created_at: 1704903879 - updated_at: 1704903879 + admin_id: '991271253' + created_at: 1706115406 + updated_at: 1706115406 model: company - type: data_attribute name: id @@ -7198,7 +7453,7 @@ paths: Unauthorized: value: type: error.list - request_id: 23758fbb-8387-42d5-bd33-e57ffd8f8b10 + request_id: 3697af93-600c-47a4-b3a6-31c014ecd083 errors: - code: unauthorized message: Access Token Invalid @@ -7223,7 +7478,7 @@ paths: examples: Successful: value: - id: 141 + id: 149 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -7233,9 +7488,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991269185' - created_at: 1704903880 - updated_at: 1704903880 + admin_id: '991271255' + created_at: 1706115408 + updated_at: 1706115408 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -7247,7 +7502,7 @@ paths: Same name already exists: value: type: error.list - request_id: c0ba02a0-8bf0-4f17-ae44-0cc30b3c0255 + request_id: fb1aeb55-8b33-483d-bb5e-b324300ec3f7 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -7255,7 +7510,7 @@ paths: Invalid name: value: type: error.list - request_id: b6f86b8e-175d-4f02-9d9a-51f5d84600e0 + request_id: d030d47b-99df-46b6-87f2-62aa33a43e3f errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -7263,7 +7518,7 @@ paths: Attribute already exists: value: type: error.list - request_id: b6b61265-a059-467d-930c-9f267d8740ae + request_id: d049aa69-e8a3-44ea-9e7e-27957f49bd67 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -7271,14 +7526,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: f414dd43-7238-4113-aec1-a9698b085b04 + request_id: 5dc7f8c6-3b5c-4b10-a744-8e9a556fe4e4 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: 4d6e67a5-47bc-43eb-9222-ac453e3cc657 + request_id: '09077648-3de0-42d9-8fd5-669b05a84028' errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -7293,7 +7548,7 @@ paths: Unauthorized: value: type: error.list - request_id: 76ca950e-d96b-4fb4-83c3-012cb7840a1c + request_id: 379f65fd-675c-4aee-a2e1-a4c38be84b9a errors: - code: unauthorized message: Access Token Invalid @@ -7372,7 +7627,7 @@ paths: examples: Successful: value: - id: 148 + id: 156 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -7386,9 +7641,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991269192' - created_at: 1704903883 - updated_at: 1704903883 + admin_id: '991271262' + created_at: 1706115410 + updated_at: 1706115410 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -7400,7 +7655,7 @@ paths: Too few options in list: value: type: error.list - request_id: fb2e4e2e-523b-4ef3-a602-cff95e0814b3 + request_id: 68427cda-55e7-4933-a593-434aa98e8ea4 errors: - code: parameter_invalid message: Options isn't an array @@ -7414,7 +7669,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: b04d200a-7580-4865-a9b9-55443d06d9fc + request_id: 8944e15d-2379-4d11-9a49-2e7cda06a45f errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -7428,7 +7683,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 3976d450-6ee4-4bff-b82c-737bda9a43e7 + request_id: e0d2f095-25e3-4514-9831-e862ca00fd29 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -7443,7 +7698,7 @@ paths: Unauthorized: value: type: error.list - request_id: be041231-fdff-4b28-bdad-32d8a80946cc + request_id: c3e220dc-c6b0-4ef7-990a-7f30e4e67d71 errors: - code: unauthorized message: Access Token Invalid @@ -7562,7 +7817,7 @@ paths: Unauthorized: value: type: error.list - request_id: e8f477b3-28ed-47d9-8538-a38e03e4f999 + request_id: 2091c3b9-8392-45db-bce5-281de3adf8a2 errors: - code: unauthorized message: Access Token Invalid @@ -7648,8 +7903,8 @@ paths: events: [] pages: next: http://api.intercom.test/events?next page - email: user24@email.com - intercom_user_id: 659ec4d36abd0164c02886db + email: user26@email.com + intercom_user_id: 65b141566abd0117178b568d user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -7661,7 +7916,7 @@ paths: Unauthorized: value: type: error.list - request_id: d23d8a4a-b289-47ac-ad17-868a9bb6a9e6 + request_id: b95a5153-dd8a-441f-ac66-576e13936761 errors: - code: unauthorized message: Access Token Invalid @@ -7692,7 +7947,7 @@ paths: Unauthorized: value: type: error.list - request_id: b7c55438-98b5-4cff-acf2-acfe67997ad0 + request_id: f5992ce3-6470-4d14-a126-873069a962fd errors: - code: unauthorized message: Access Token Invalid @@ -7736,7 +7991,7 @@ paths: examples: successful: value: - job_identifier: lv4ulh4c6ywmpdor + job_identifier: 5s5fl39zzfuwj63r status: pending download_url: '' download_expires_at: '' @@ -7751,8 +8006,8 @@ paths: successful: summary: successful value: - created_at_after: 1704885893 - created_at_before: 1704903893 + created_at_after: 1706097416 + created_at_before: 1706115416 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -7786,7 +8041,7 @@ paths: examples: successful: value: - job_identifier: rgbw5mzyj4g4oh53 + job_identifier: 6wqa6prta8t7l9gn status: pending download_url: '' download_expires_at: '' @@ -7818,7 +8073,7 @@ paths: examples: successful: value: - job_identifier: 38tdk26dluyuwzgj + job_identifier: o1tqdqw9i1behzz3 status: canceled download_url: '' download_expires_at: '' @@ -7879,32 +8134,32 @@ paths: user message created: value: type: user_message - id: '403918628' - created_at: 1704903920 + id: '403918890' + created_at: 1706115418 body: heyy message_type: inapp - conversation_id: '960' + conversation_id: '1425' lead message created: value: type: user_message - id: '403918629' - created_at: 1704903921 + id: '403918891' + created_at: 1706115419 body: heyy message_type: inapp - conversation_id: '961' + conversation_id: '1426' admin message created: value: type: admin_message - id: '48' - created_at: 1704903922 + id: '50' + created_at: 1706115420 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991269226' - name: Ciaran269 Lee - email: admin269@email.com + id: '991271285' + name: Ciaran279 Lee + email: admin279@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7917,14 +8172,14 @@ paths: No body supplied for message: value: type: error.list - request_id: fa33246e-3f1d-400b-8b95-afd826704f6e + request_id: 17781554-822c-445c-9b81-2a5cafe84384 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 15627032-d1aa-4596-8d57-068e53b33bc1 + request_id: 8ffbb9fa-1577-49ee-9305-cdf927e16046 errors: - code: parameter_invalid message: Body is required @@ -7938,7 +8193,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 59bd3793-9819-42cb-948b-f0523ed5277a + request_id: 012d4e39-1c1a-430b-b836-7b90bcb1e178 errors: - code: parameter_not_found message: No subject supplied for email message @@ -7952,7 +8207,7 @@ paths: Unauthorized: value: type: error.list - request_id: b4a94fe9-bf7e-46bd-b641-6556ad8230f0 + request_id: 4490e74f-03eb-43cf-a513-2b3c27970cd2 errors: - code: unauthorized message: Access Token Invalid @@ -7966,7 +8221,7 @@ paths: API plan restricted: value: type: error.list - request_id: a10db167-db31-4a76-a3d2-dd2c09782860 + request_id: d6810f19-6a30-4ee8-89a2-e2e5178bb8fe errors: - code: api_plan_restricted message: Active subscription needed. @@ -7983,7 +8238,7 @@ paths: value: from: type: user - id: 659ec4f06abd0164c0288730 + id: 65b1415a6abd0117178b5692 body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7991,7 +8246,7 @@ paths: value: from: type: lead - id: 659ec4f16abd0164c0288731 + id: 65b1415b6abd0117178b5693 body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7999,10 +8254,10 @@ paths: value: from: type: admin - id: '991269226' + id: '991271285' to: type: user - id: 659ec4f26abd0164c0288732 + id: 65b1415c6abd0117178b5694 message_type: conversation body: heyy no_body_supplied_for_message: @@ -8010,10 +8265,10 @@ paths: value: from: type: admin - id: '991269228' + id: '991271287' to: type: user - id: 659ec4f36abd0164c0288733 + id: 65b1415d6abd0117178b5695 message_type: inapp body: subject: heyy @@ -8022,7 +8277,7 @@ paths: value: from: type: admin - id: '991269229' + id: '991271288' to: type: user user_id: '70' @@ -8033,10 +8288,10 @@ paths: value: from: type: admin - id: '991269230' + id: '991271289' to: type: user - id: 659ec4f46abd0164c0288735 + id: 65b1415e6abd0117178b5697 message_type: email body: subject: heyy @@ -8067,12 +8322,12 @@ paths: total_pages: 1 type: pages data: - - id: '72' + - id: '127' type: news-item - workspace_id: this_is_an_id498_that_should_be_at_least_ + workspace_id: this_is_an_id515_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991269237 + sender_id: 991271294 state: draft labels: [] cover_image_url: @@ -8082,15 +8337,15 @@ paths: - - deliver_silently: false - created_at: 1704903926 - updated_at: 1704903926 + created_at: 1706115423 + updated_at: 1706115423 newsfeed_assignments: [] - - id: '71' + - id: '128' type: news-item - workspace_id: this_is_an_id498_that_should_be_at_least_ + workspace_id: this_is_an_id515_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991269235 + sender_id: 991271296 state: draft labels: [] cover_image_url: @@ -8100,8 +8355,8 @@ paths: - - deliver_silently: false - created_at: 1704903925 - updated_at: 1704903925 + created_at: 1706115423 + updated_at: 1706115423 newsfeed_assignments: [] total_count: 2 schema: @@ -8114,7 +8369,7 @@ paths: Unauthorized: value: type: error.list - request_id: 396f2b22-52ef-4eec-bdf4-f6b72dd1de2d + request_id: 57493e6c-d639-4e73-9462-1e19bf7ace18 errors: - code: unauthorized message: Access Token Invalid @@ -8139,12 +8394,12 @@ paths: examples: successful: value: - id: '75' + id: '131' type: news-item - workspace_id: this_is_an_id502_that_should_be_at_least_ + workspace_id: this_is_an_id519_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991269244 + sender_id: 991271303 state: live labels: - New @@ -8155,10 +8410,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1704903927 - updated_at: 1704903927 + created_at: 1706115425 + updated_at: 1706115425 newsfeed_assignments: - - newsfeed_id: 128 + - newsfeed_id: 228 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -8170,7 +8425,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5f9be90a-5885-43ca-bace-1db32e7e95f7 + request_id: 8790db68-ba55-4437-ba7d-c1baf68faa61 errors: - code: unauthorized message: Access Token Invalid @@ -8191,14 +8446,14 @@ paths: - Product - Update - New - sender_id: 991269244 + sender_id: 991271303 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 128 + - newsfeed_id: 228 published_at: 1664638214 "/news/news_items/{id}": get: @@ -8227,12 +8482,12 @@ paths: examples: successful: value: - id: '76' + id: '132' type: news-item - workspace_id: this_is_an_id506_that_should_be_at_least_ + workspace_id: this_is_an_id523_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991269247 + sender_id: 991271306 state: live labels: [] cover_image_url: @@ -8242,11 +8497,11 @@ paths: - - deliver_silently: false - created_at: 1704903928 - updated_at: 1704903928 + created_at: 1706115426 + updated_at: 1706115426 newsfeed_assignments: - - newsfeed_id: 130 - published_at: 1704903928 + - newsfeed_id: 230 + published_at: 1706115426 schema: "$ref": "#/components/schemas/news_item" '404': @@ -8257,7 +8512,7 @@ paths: News Item Not Found: value: type: error.list - request_id: f5bd1826-17f3-4c80-9ce1-c606504f6c9e + request_id: 87dfcbe3-4bfc-41a3-a78d-bc492ba929f5 errors: - code: not_found message: Resource Not Found @@ -8271,7 +8526,7 @@ paths: Unauthorized: value: type: error.list - request_id: a9194a49-4864-47d2-bfbc-35e6e76fa06e + request_id: de6e512d-fe78-448d-b40f-8c7863ab1a26 errors: - code: unauthorized message: Access Token Invalid @@ -8302,12 +8557,12 @@ paths: examples: successful: value: - id: '79' + id: '135' type: news-item - workspace_id: this_is_an_id512_that_should_be_at_least_ + workspace_id: this_is_an_id529_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991269255 + sender_id: 991271314 state: live labels: [] cover_image_url: @@ -8315,8 +8570,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1704903930 - updated_at: 1704903930 + created_at: 1706115428 + updated_at: 1706115428 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -8328,7 +8583,7 @@ paths: News Item Not Found: value: type: error.list - request_id: d87e34b9-23c9-4ad0-8193-05943f854b4e + request_id: 28ec1015-3f82-4517-bdcc-c765b72a4a38 errors: - code: not_found message: Resource Not Found @@ -8342,7 +8597,7 @@ paths: Unauthorized: value: type: error.list - request_id: 12f547e0-6bff-44ca-8a3c-961157010a3d + request_id: 539ef839-de5b-4feb-8792-c432d02e2ac5 errors: - code: unauthorized message: Access Token Invalid @@ -8359,7 +8614,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991269255 + sender_id: 991271314 reactions: - "\U0001F61D" - "\U0001F602" @@ -8368,7 +8623,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991269258 + sender_id: 991271317 reactions: - "\U0001F61D" - "\U0001F602" @@ -8398,7 +8653,7 @@ paths: examples: successful: value: - id: '82' + id: '138' object: news-item deleted: true schema: @@ -8411,7 +8666,7 @@ paths: News Item Not Found: value: type: error.list - request_id: a94679ef-21c5-4509-93f4-5be7a6c00705 + request_id: 2f601b55-69df-4209-b444-ed484872c6cd errors: - code: not_found message: Resource Not Found @@ -8425,7 +8680,7 @@ paths: Unauthorized: value: type: error.list - request_id: b61d2629-5642-4788-8e17-9f65060ad479 + request_id: e836fa56-13b3-45b7-a138-7d71697c212d errors: - code: unauthorized message: Access Token Invalid @@ -8478,7 +8733,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8dbdb1dc-3b8b-4763-a914-87f7cb315064 + request_id: d2f077cd-4e51-448f-90e3-f6cee103b280 errors: - code: unauthorized message: Access Token Invalid @@ -8511,16 +8766,16 @@ paths: total_pages: 1 type: pages data: - - id: '143' + - id: '243' type: newsfeed name: Visitor Feed - created_at: 1704903934 - updated_at: 1704903934 - - id: '144' + created_at: 1706115432 + updated_at: 1706115432 + - id: '244' type: newsfeed name: Visitor Feed - created_at: 1704903934 - updated_at: 1704903934 + created_at: 1706115432 + updated_at: 1706115432 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -8532,7 +8787,7 @@ paths: Unauthorized: value: type: error.list - request_id: bbfe34dd-fedf-4adb-b100-4416c28c887c + request_id: 8bf8a9ef-da1c-449d-8abd-193bb75b7ddf errors: - code: unauthorized message: Access Token Invalid @@ -8566,11 +8821,11 @@ paths: examples: successful: value: - id: '147' + id: '247' type: newsfeed name: Visitor Feed - created_at: 1704903935 - updated_at: 1704903935 + created_at: 1706115433 + updated_at: 1706115433 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -8581,7 +8836,7 @@ paths: Unauthorized: value: type: error.list - request_id: 673b7b15-a16c-49ea-b852-4e4d34e34d6e + request_id: 43bf1e40-805b-410a-a249-2f01e5561cfa errors: - code: unauthorized message: Access Token Invalid @@ -8615,16 +8870,16 @@ paths: Note found: value: type: note - id: '146' - created_at: 1704212738 + id: '128' + created_at: 1705424233 contact: type: contact - id: 659ec5026abd0164c0288740 + id: 65b141696abd0117178b569a author: type: admin - id: '991269274' - name: Ciaran316 Lee - email: admin316@email.com + id: '991271333' + name: Ciaran326 Lee + email: admin326@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -8638,7 +8893,7 @@ paths: Note not found: value: type: error.list - request_id: 477bcd84-40b8-4d18-9c48-c281d75f7b6b + request_id: 3b34c6da-fc37-4b1d-b61f-37c3629b5dc7 errors: - code: not_found message: Resource Not Found @@ -8652,7 +8907,7 @@ paths: Unauthorized: value: type: error.list - request_id: a6c05584-a665-4881-8c57-e2fc59dc903d + request_id: 2bca26b7-9acc-4454-a7d9-4b70367be4f5 errors: - code: unauthorized message: Access Token Invalid @@ -8688,16 +8943,16 @@ paths: type: segment.list segments: - type: segment - id: 659ec5056abd0164c0288747 + id: 65b1416b6abd0117178b569d name: John segment - created_at: 1704903941 - updated_at: 1704903941 + created_at: 1706115435 + updated_at: 1706115435 person_type: user - type: segment - id: 659ec5056abd0164c0288748 + id: 65b1416b6abd0117178b569e name: Jane segment - created_at: 1704903941 - updated_at: 1704903941 + created_at: 1706115435 + updated_at: 1706115435 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -8709,7 +8964,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b496fe6-c69c-489a-af6d-838c89a8dd85 + request_id: 160cf6e5-c952-4334-9d10-db617246aaa3 errors: - code: unauthorized message: Access Token Invalid @@ -8743,10 +8998,10 @@ paths: Successful response: value: type: segment - id: 659ec5066abd0164c028874b + id: 65b1416c6abd0117178b56a1 name: John segment - created_at: 1704903942 - updated_at: 1704903942 + created_at: 1706115436 + updated_at: 1706115436 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -8758,7 +9013,7 @@ paths: Segment not found: value: type: error.list - request_id: 2e3a1f51-be84-41ed-a388-8b2d6557354c + request_id: 8ed1d14e-4416-4dba-ad71-f896b61da345 errors: - code: not_found message: Resource Not Found @@ -8772,7 +9027,7 @@ paths: Unauthorized: value: type: error.list - request_id: 668198cd-1528-412f-b81b-8f215df72bb6 + request_id: ae19943d-23f6-4aaa-8f3e-29d185d432a4 errors: - code: unauthorized message: Access Token Invalid @@ -8802,7 +9057,7 @@ paths: type: list data: - type: subscription - id: '318' + id: '459' state: live consent_type: opt_out default_translation: @@ -8825,7 +9080,7 @@ paths: Unauthorized: value: type: error.list - request_id: 21357080-d104-4a11-8edf-64346f8d4a31 + request_id: 12419fc0-339b-4184-b147-03c3a2e75815 errors: - code: unauthorized message: Access Token Invalid @@ -8855,7 +9110,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/80584690-365f-43d8-8c53-d27404b60148 + url: http://via.intercom.io/msgr/27063c43-d410-4374-80bf-c66798ed7baf type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8888,7 +9143,7 @@ paths: Unauthorized: value: type: error.list - request_id: 365cf128-a63c-436d-b848-11e8cbe546b8 + request_id: 2123dee3-b584-4237-b58f-22febcbf30fe errors: - code: unauthorized message: Access Token Invalid @@ -8951,7 +9206,7 @@ paths: type: list data: - type: tag - id: '291' + id: '407' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8963,7 +9218,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9998e174-5bf3-476d-ae10-8a9cc6f223fb + request_id: 67466d25-121d-4106-aabc-2e980e7c1b5c errors: - code: unauthorized message: Access Token Invalid @@ -9002,7 +9257,7 @@ paths: Action successful: value: type: tag - id: '294' + id: '410' name: test schema: "$ref": "#/components/schemas/tag" @@ -9014,7 +9269,7 @@ paths: Invalid parameters: value: type: error.list - request_id: d34d9f8a-1f85-4f56-90f6-1a3dc59925a6 + request_id: 28f1dfc8-dc59-44de-835c-a9ac5f82be78 errors: - code: parameter_invalid message: invalid tag parameters @@ -9028,14 +9283,14 @@ paths: Company not found: value: type: error.list - request_id: 1c6548e5-afd6-47c8-bea1-e916b7595fd1 + request_id: 218d660c-dba7-4502-9987-e2d2b241d5f4 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: f838fd69-3e96-4317-af9d-47b8ac6f9547 + request_id: 05d6537e-221f-494f-9f77-5519416e10ca errors: - code: not_found message: User Not Found @@ -9049,7 +9304,7 @@ paths: Unauthorized: value: type: error.list - request_id: 58788ccd-1207-450c-a013-1a858d06fe2c + request_id: 513d2f74-f3c4-4fee-9d45-ff6c40ab169d errors: - code: unauthorized message: Access Token Invalid @@ -9115,7 +9370,7 @@ paths: Tag found: value: type: tag - id: '302' + id: '418' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -9127,7 +9382,7 @@ paths: Tag not found: value: type: error.list - request_id: ed151a71-b388-4fee-9b14-1e3375b1e0ba + request_id: ca44325b-6850-455c-b3ee-41f9e0ce2115 errors: - code: not_found message: Resource Not Found @@ -9141,7 +9396,7 @@ paths: Unauthorized: value: type: error.list - request_id: 87544aa3-71b4-4d41-a5aa-a25d07ff477d + request_id: 003d8565-01d2-4ed4-9f02-9f4b95161f7b errors: - code: unauthorized message: Access Token Invalid @@ -9177,7 +9432,7 @@ paths: Resource not found: value: type: error.list - request_id: a5e003d1-0a0a-4339-939a-9a255b032364 + request_id: 5e527a54-6b55-4ed3-93bc-1dd256b9dc0d errors: - code: not_found message: Resource Not Found @@ -9191,7 +9446,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: edd61656-e294-4dcf-9115-d9a6c0900c97 + request_id: 87c922e2-05f4-4212-9192-18b4263d8984 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -9206,7 +9461,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1fdc4ebb-5107-486d-b8c0-d8f8a4ba0605 + request_id: 353c6973-5a0e-414c-b74b-6bbb2ddf12e0 errors: - code: unauthorized message: Access Token Invalid @@ -9244,7 +9499,7 @@ paths: Unauthorized: value: type: error.list - request_id: cc7ba0a6-9d3a-4df5-a2c1-481d466034e5 + request_id: e14e2ed2-27da-4bf9-b644-3a0d498c5916 errors: - code: unauthorized message: Access Token Invalid @@ -9279,7 +9534,7 @@ paths: successful: value: type: team - id: '991269318' + id: '991271371' name: team 1 admin_ids: [] schema: @@ -9292,7 +9547,7 @@ paths: Team not found: value: type: error.list - request_id: fd588da6-8b21-4fe4-80d7-6c2b1b843ec4 + request_id: 2285b42b-35c6-445a-bbb4-634d6ed21dcc errors: - code: team_not_found message: Team not found @@ -9306,7 +9561,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0bfa928b-bf5d-4728-aaa9-f18647e22235 + request_id: dc84c0bb-849f-4914-85ff-89bf6153ece3 errors: - code: unauthorized message: Access Token Invalid @@ -9339,8 +9594,8 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '252' - workspace_id: this_is_an_id604_that_should_be_at_least_ + id: '510' + workspace_id: this_is_an_id621_that_should_be_at_least_ name: Attribute Title description: Attribute Description data_type: string @@ -9352,10 +9607,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 110 + ticket_type_id: 253 archived: false - created_at: 1704903962 - updated_at: 1704903962 + created_at: 1706115451 + updated_at: 1706115451 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -9366,7 +9621,7 @@ paths: Unauthorized: value: type: error.list - request_id: fecfe8d4-6d8f-41ee-b68a-c7611980c08f + request_id: '038a4bb9-542e-4eec-8f99-2757b42b9592' errors: - code: unauthorized message: Access Token Invalid @@ -9419,8 +9674,8 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '253' - workspace_id: this_is_an_id608_that_should_be_at_least_ + id: '511' + workspace_id: this_is_an_id625_that_should_be_at_least_ name: name description: New Attribute Description data_type: string @@ -9430,10 +9685,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 112 + ticket_type_id: 255 archived: false - created_at: 1704903963 - updated_at: 1704903963 + created_at: 1706115452 + updated_at: 1706115452 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -9444,7 +9699,7 @@ paths: Unauthorized: value: type: error.list - request_id: e5ea76f4-8454-4728-8fa6-ae9adc926406 + request_id: f535ebca-b64f-4c2a-808b-b7bec58de1fc errors: - code: unauthorized message: Access Token Invalid @@ -9483,21 +9738,21 @@ paths: type: list data: - type: ticket_type - id: '114' + id: '257' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id612_that_should_be_at_least_ + workspace_id: this_is_an_id629_that_should_be_at_least_ archived: false - created_at: 1704903964 - updated_at: 1704903964 + created_at: 1706115452 + updated_at: 1706115452 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '254' - workspace_id: this_is_an_id612_that_should_be_at_least_ + id: '512' + workspace_id: this_is_an_id629_that_should_be_at_least_ name: name description: description data_type: string @@ -9508,10 +9763,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 114 + ticket_type_id: 257 archived: false - created_at: 1704903964 - updated_at: 1704903964 + created_at: 1706115452 + updated_at: 1706115452 category: Customer schema: "$ref": "#/components/schemas/ticket_type_list" @@ -9523,7 +9778,7 @@ paths: Unauthorized: value: type: error.list - request_id: 73312699-450e-4cd2-958b-21cae0e07b22 + request_id: 32853688-eac7-4de4-864b-5bdd693a7641 errors: - code: unauthorized message: Access Token Invalid @@ -9552,14 +9807,14 @@ paths: Ticket type created: value: type: ticket_type - id: '117' + id: '260' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id616_that_should_be_at_least_ + workspace_id: this_is_an_id633_that_should_be_at_least_ archived: false - created_at: 1704903965 - updated_at: 1704903965 + created_at: 1706115453 + updated_at: 1706115453 is_internal: false ticket_type_attributes: type: list @@ -9575,7 +9830,7 @@ paths: Unauthorized: value: type: error.list - request_id: 646105ff-f9ec-4a00-b252-6d15b8c117d8 + request_id: 175b4e27-b46c-41fe-9d41-0dcd9f25a5da errors: - code: unauthorized message: Access Token Invalid @@ -9621,21 +9876,21 @@ paths: Ticket type found: value: type: ticket_type - id: '119' + id: '262' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id620_that_should_be_at_least_ + workspace_id: this_is_an_id637_that_should_be_at_least_ archived: false - created_at: 1704903966 - updated_at: 1704903966 + created_at: 1706115454 + updated_at: 1706115454 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '258' - workspace_id: this_is_an_id620_that_should_be_at_least_ + id: '516' + workspace_id: this_is_an_id637_that_should_be_at_least_ name: name description: description data_type: string @@ -9646,10 +9901,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 119 + ticket_type_id: 262 archived: false - created_at: 1704903966 - updated_at: 1704903966 + created_at: 1706115454 + updated_at: 1706115454 category: Customer schema: "$ref": "#/components/schemas/ticket_type" @@ -9661,7 +9916,7 @@ paths: Unauthorized: value: type: error.list - request_id: d6cc875b-9b5d-4843-a439-33ff0d065e38 + request_id: 5626c73b-2687-4a4b-8361-18f8ff931e77 errors: - code: unauthorized message: Access Token Invalid @@ -9694,21 +9949,21 @@ paths: Ticket type updated: value: type: ticket_type - id: '121' + id: '264' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id624_that_should_be_at_least_ + workspace_id: this_is_an_id641_that_should_be_at_least_ archived: false - created_at: 1704903966 - updated_at: 1704903967 + created_at: 1706115455 + updated_at: 1706115455 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '260' - workspace_id: this_is_an_id624_that_should_be_at_least_ + id: '518' + workspace_id: this_is_an_id641_that_should_be_at_least_ name: name description: description data_type: string @@ -9719,10 +9974,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 121 + ticket_type_id: 264 archived: false - created_at: 1704903966 - updated_at: 1704903966 + created_at: 1706115455 + updated_at: 1706115455 category: Customer schema: "$ref": "#/components/schemas/ticket_type" @@ -9734,7 +9989,7 @@ paths: Unauthorized: value: type: error.list - request_id: 39c4e515-cca1-4bd2-9f08-087b6cd06d91 + request_id: 382a00a4-be7e-494b-8848-07b4653d28de errors: - code: unauthorized message: Access Token Invalid @@ -9780,22 +10035,22 @@ paths: User reply: value: type: ticket_part - id: '195' + id: '324' part_type: comment body: "

    Thanks again :)

    " - created_at: 1704903969 - updated_at: 1704903969 + created_at: 1706115458 + updated_at: 1706115458 author: - id: 659ec5216abd0164c028877a + id: 65b141826abd0117178b56c4 type: user name: - email: user28@email.com + email: user30@email.com attachments: [] redacted: false Admin note reply: value: type: ticket_part - id: '197' + id: '326' part_type: note body: |-

    An Unordered HTML List

    @@ -9810,27 +10065,27 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704903971 - updated_at: 1704903971 + created_at: 1706115461 + updated_at: 1706115461 author: - id: '991269345' + id: '991271406' type: admin - name: Ciaran381 Lee - email: admin381@email.com + name: Ciaran385 Lee + email: admin385@email.com attachments: [] redacted: false Admin quick_reply reply: value: type: ticket_part - id: '199' + id: '328' part_type: quick_reply - created_at: 1704903973 - updated_at: 1704903973 + created_at: 1706115463 + updated_at: 1706115463 author: - id: '991269350' + id: '991271411' type: admin - name: Ciaran385 Lee - email: admin385@email.com + name: Ciaran389 Lee + email: admin389@email.com attachments: [] redacted: false schema: @@ -9843,7 +10098,7 @@ paths: Not found: value: type: error.list - request_id: 77a20f70-1cfa-4994-8d6e-70d643cbe6fa + request_id: 69afe707-0d69-4fc7-9c54-c7b8de2594c4 errors: - code: not_found message: Resource Not Found @@ -9857,7 +10112,7 @@ paths: Unauthorized: value: type: error.list - request_id: e88d589a-bb01-458f-84b2-520b579c083b + request_id: 0cbd0f70-bc71-4e54-bbdc-2a57eb95b3eb errors: - code: unauthorized message: Access Token Invalid @@ -9874,14 +10129,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec5216abd0164c028877a + intercom_user_id: 65b141826abd0117178b56c4 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991269345 + admin_id: 991271406 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -9891,18 +10146,18 @@ paths: value: message_type: quick_reply type: admin - admin_id: 991269350 + admin_id: 991271411 reply_options: - text: 'Yes' - uuid: f4da6ea4-cc47-4aae-8aad-66b5ebcb41ff + uuid: b4b05fa4-f382-4160-8838-ef984dca3ed3 - text: 'No' - uuid: 79eb8e5b-969d-421f-92b0-eb60cc6960fe + uuid: 373ed9e1-fb1a-4893-ab43-150c94ea10cd not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ec5266abd0164c028877d + intercom_user_id: 65b141896abd0117178b56c7 body: Thanks again :) "/tickets/{ticket_id}/tags": post: @@ -9934,7 +10189,7 @@ paths: successful: value: type: tag - id: '310' + id: '426' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -9946,7 +10201,7 @@ paths: Ticket not found: value: type: error.list - request_id: bcb20184-946b-4ab8-bd8d-3d9b8b4c177f + request_id: '0194428a-7647-4594-91b3-764b86492be7' errors: - code: ticket_not_found message: Ticket not found @@ -9960,7 +10215,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5789aef4-bdb9-41f5-a788-8364427b1769 + request_id: adfd6475-4f35-470b-9702-16e772bed5c7 errors: - code: unauthorized message: Access Token Invalid @@ -9989,13 +10244,13 @@ paths: successful: summary: successful value: - id: 310 - admin_id: 991269360 + id: 426 + admin_id: 991271421 ticket_not_found: summary: Ticket not found value: - id: 311 - admin_id: 991269363 + id: 427 + admin_id: 991271424 "/tickets/{ticket_id}/tags/{id}": delete: summary: Remove tag from a ticket @@ -10033,7 +10288,7 @@ paths: successful: value: type: tag - id: '313' + id: '429' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -10045,14 +10300,14 @@ paths: Ticket not found: value: type: error.list - request_id: 5fc507eb-6640-4a16-bc2f-c27228e17ed1 + request_id: ebe87d15-a6ed-4385-8449-6a91262aa8c9 errors: - code: ticket_not_found message: Ticket not found Tag not found: value: type: error.list - request_id: 67304c41-c5b1-4c9d-b3fc-b54f96200c21 + request_id: 17b348d8-9d30-443c-8221-be93d3772a6e errors: - code: tag_not_found message: Tag not found @@ -10066,7 +10321,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1d20e26e-475f-490b-b11e-858de1cfa198 + request_id: 5c8b20d1-2d05-4218-bf1a-c882cb979954 errors: - code: unauthorized message: Access Token Invalid @@ -10089,15 +10344,15 @@ paths: successful: summary: successful value: - admin_id: 991269369 + admin_id: 991271430 ticket_not_found: summary: Ticket not found value: - admin_id: 991269372 + admin_id: 991271433 tag_not_found: summary: Tag not found value: - admin_id: 991269375 + admin_id: 991271436 "/tickets": post: summary: Create a ticket @@ -10119,30 +10374,30 @@ paths: Successful response: value: type: ticket - id: '973' - ticket_id: '35' + id: '1438' + ticket_id: '72' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '135' + id: '278' name: my-ticket-type-15 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id652_that_should_be_at_least_ + workspace_id: this_is_an_id669_that_should_be_at_least_ archived: false - created_at: 1704903985 - updated_at: 1704903985 + created_at: 1706115479 + updated_at: 1706115479 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '270' - workspace_id: this_is_an_id652_that_should_be_at_least_ - name: title + id: '528' + workspace_id: this_is_an_id669_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -10152,14 +10407,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 135 + ticket_type_id: 278 archived: false - created_at: 1704903985 - updated_at: 1704903985 + created_at: 1706115479 + updated_at: 1706115479 - type: ticket_type_attribute - id: '271' - workspace_id: this_is_an_id652_that_should_be_at_least_ - name: description + id: '529' + workspace_id: this_is_an_id669_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -10169,36 +10424,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 135 + ticket_type_id: 278 archived: false - created_at: 1704903985 - updated_at: 1704903985 + created_at: 1706115480 + updated_at: 1706115480 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec5316abd0164c0288785 + id: 65b141986abd0117178b56cf external_id: '70' admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903986 - updated_at: 1704903986 + created_at: 1706115480 + updated_at: 1706115481 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '200' + id: '329' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903986 - updated_at: 1704903986 + created_at: 1706115481 + updated_at: 1706115481 author: - id: '991269387' + id: '991271448' type: bot name: Operator - email: operator+this_is_an_id652_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id669_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 1 @@ -10220,7 +10475,7 @@ paths: Unauthorized: value: type: error.list - request_id: 61c804f0-8df1-4ab4-b02d-5df3ddf76d23 + request_id: 1f27ac49-4b1b-485c-976a-30be3d527923 errors: - code: unauthorized message: Access Token Invalid @@ -10235,12 +10490,12 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 135 + ticket_type_id: 278 contacts: - - id: 659ec5316abd0164c0288785 + - id: 65b141986abd0117178b56cf ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem "/tickets/{id}": put: summary: Update a ticket @@ -10268,30 +10523,30 @@ paths: Successful response: value: type: ticket - id: '974' - ticket_id: '36' + id: '1439' + ticket_id: '73' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '137' + id: '280' name: my-ticket-type-17 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id656_that_should_be_at_least_ + workspace_id: this_is_an_id673_that_should_be_at_least_ archived: false - created_at: 1704903988 - updated_at: 1704903988 + created_at: 1706115482 + updated_at: 1706115482 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '275' - workspace_id: this_is_an_id656_that_should_be_at_least_ - name: title + id: '533' + workspace_id: this_is_an_id673_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -10301,14 +10556,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 137 + ticket_type_id: 280 archived: false - created_at: 1704903988 - updated_at: 1704903988 + created_at: 1706115482 + updated_at: 1706115482 - type: ticket_type_attribute - id: '276' - workspace_id: this_is_an_id656_that_should_be_at_least_ - name: description + id: '534' + workspace_id: this_is_an_id673_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -10318,106 +10573,106 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 137 + ticket_type_id: 280 archived: false - created_at: 1704903988 - updated_at: 1704903988 + created_at: 1706115482 + updated_at: 1706115482 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec5346abd0164c0288786 - external_id: 642cc786-29dd-45a3-a8d0-de50de2f4041 - admin_assignee_id: '991269401' + id: 65b1419a6abd0117178b56d0 + external_id: ce4404b1-7edd-491a-9c33-ab0b9a4f4211 + admin_assignee_id: '991271462' team_assignee_id: '0' - created_at: 1704903988 - updated_at: 1704903990 + created_at: 1706115482 + updated_at: 1706115485 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '201' + id: '330' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903988 - updated_at: 1704903988 + created_at: 1706115483 + updated_at: 1706115483 author: - id: '991269399' + id: '991271460' type: admin - name: Ciaran425 Lee - email: admin425@email.com + name: Ciaran429 Lee + email: admin429@email.com attachments: [] redacted: false - type: ticket_part - id: '202' + id: '331' part_type: ticket_attribute_updated_by_admin - created_at: 1704903989 - updated_at: 1704903989 + created_at: 1706115484 + updated_at: 1706115484 author: - id: '991269400' + id: '991271461' type: bot name: Operator - email: operator+this_is_an_id656_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id673_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '203' + id: '332' part_type: ticket_attribute_updated_by_admin - created_at: 1704903989 - updated_at: 1704903989 + created_at: 1706115484 + updated_at: 1706115484 author: - id: '991269400' + id: '991271461' type: bot name: Operator - email: operator+this_is_an_id656_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id673_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '204' + id: '333' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1704903990 - updated_at: 1704903990 + created_at: 1706115484 + updated_at: 1706115484 author: - id: '991269400' + id: '991271461' type: bot name: Operator - email: operator+this_is_an_id656_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id673_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '205' + id: '334' part_type: assignment - created_at: 1704903990 - updated_at: 1704903990 + created_at: 1706115485 + updated_at: 1706115485 assigned_to: type: admin - id: '991269401' + id: '991271462' author: - id: '991269399' + id: '991271460' type: admin - name: Ciaran425 Lee - email: admin425@email.com + name: Ciaran429 Lee + email: admin429@email.com attachments: [] redacted: false - type: ticket_part - id: '206' + id: '335' part_type: snoozed - created_at: 1704903990 - updated_at: 1704903990 + created_at: 1706115485 + updated_at: 1706115485 author: - id: '991269400' + id: '991271461' type: bot name: Operator - email: operator+this_is_an_id656_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id673_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 6 open: true - snoozed_until: 1704992400 + snoozed_until: 1706202000 linked_objects: type: list data: [] @@ -10435,14 +10690,14 @@ paths: Admin not found: value: type: error.list - request_id: 0ab09d20-8147-49e2-ac03-77b4c8503a85 + request_id: 6a104e96-2172-4480-a5b5-737555627f35 errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: 5dbd5bed-bd13-42e1-a1c6-59d9ddc43b2d + request_id: '0978ce5d-546a-46ab-9353-912bf3406add' errors: - code: assignee_not_found message: Assignee not found @@ -10454,7 +10709,7 @@ paths: Unauthorized: value: type: error.list - request_id: c8f4ad69-c684-4796-9801-971545ed530b + request_id: 75d64795-36f5-465a-9ba2-3640697d75eb errors: - code: unauthorized message: Access Token Invalid @@ -10470,33 +10725,33 @@ paths: summary: Successful response value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991269399' - assignee_id: '991269401' + admin_id: '991271460' + assignee_id: '991271462' open: true snoozed_until: 1673609604 admin_not_found: summary: Admin not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: admin_id: '123' - assignee_id: '991269409' + assignee_id: '991271470' assignee_not_found: summary: Assignee not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991269415' + admin_id: '991271476' assignee_id: '456' get: summary: Retrieve a ticket @@ -10524,30 +10779,30 @@ paths: Ticket found: value: type: ticket - id: '977' - ticket_id: '39' + id: '1442' + ticket_id: '76' ticket_attributes: - title: attribute_value - description: + _default_title_: attribute_value + _default_description_: ticket_state: submitted ticket_type: type: ticket_type - id: '141' + id: '284' name: my-ticket-type-21 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id664_that_should_be_at_least_ + workspace_id: this_is_an_id681_that_should_be_at_least_ archived: false - created_at: 1704903995 - updated_at: 1704903995 + created_at: 1706115490 + updated_at: 1706115490 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '286' - workspace_id: this_is_an_id664_that_should_be_at_least_ - name: title + id: '544' + workspace_id: this_is_an_id681_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -10557,14 +10812,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 141 + ticket_type_id: 284 archived: false - created_at: 1704903995 - updated_at: 1704903995 + created_at: 1706115491 + updated_at: 1706115491 - type: ticket_type_attribute - id: '287' - workspace_id: this_is_an_id664_that_should_be_at_least_ - name: description + id: '545' + workspace_id: this_is_an_id681_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -10574,36 +10829,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 141 + ticket_type_id: 284 archived: false - created_at: 1704903995 - updated_at: 1704903995 + created_at: 1706115491 + updated_at: 1706115491 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec53c6abd0164c0288789 - external_id: 5ac61e7c-754a-434b-bcbe-6bbc658ea646 + id: 65b141a36abd0117178b56d3 + external_id: 4b61c827-4cd2-4c5c-b33a-b4ba8db46863 admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903996 - updated_at: 1704903996 + created_at: 1706115491 + updated_at: 1706115492 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '209' + id: '338' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903996 - updated_at: 1704903996 + created_at: 1706115492 + updated_at: 1706115492 author: - id: '991269428' + id: '991271489' type: admin - name: Ciaran451 Lee - email: admin451@email.com + name: Ciaran455 Lee + email: admin455@email.com attachments: [] redacted: false total_count: 1 @@ -10625,7 +10880,7 @@ paths: Unauthorized: value: type: error.list - request_id: 055ea40e-44e6-4dc8-a3e7-1ecc643ca13d + request_id: 88779bb6-7624-47e0-9575-c38722d0d651 errors: - code: unauthorized message: Access Token Invalid @@ -10642,37 +10897,40 @@ paths: "$ref": "#/components/schemas/intercom_version" tags: - Tickets - description: "You can search for multiple tickets by the value of their attributes - in order to fetch exactly which ones you want.\n\nTo search for tickets, you - send a POST request to https://api.intercom.io/tickets/search. This will accept - a query object in the body which will define your filters.\n\n> \U0001F6A7 - Nesting & Limitations\n>\n> You can nest these filters in order to get even - more granular insights that pinpoint exactly what you need. Example: (1 OR - 2) AND (3 OR 4).\n> There are some limitations to the amount of multiples - there can be:\n> - There's a limit of max 2 nested filters\n> - There's a - limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost - keys listed as part of the Ticket model are searchable, whether writeable - or not. The value you search for has to match the accepted type, otherwise - the query will fail (ie. as `created_at` accepts a date, the `value` cannot - be a string such as `\"foobar\"`).\n\n| Field | - Type |\n| - :---------------------------------------- | :--------------------------------------------------------------------------------------- - |\n| id | String |\n| - created_at | Date (UNIX timestamp) |\n| - updated_at | Date (UNIX timestamp) |\n| - title | String |\n| - description | String |\n| - category | String |\n| - ticket_type_id | String |\n| - contact_ids | String |\n| - teammate_ids | String |\n| - admin_assignee_id | String |\n| - team_assignee_id | String |\n| - open | Boolean |\n| - state | String |\n| - snoozed_until | Date (UNIX timestamp) |\n| - ticket_attribute.{id} | String or Boolean or Date (UNIX - timestamp) or Float or Integer |\n\n" + description: |+ + You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want. + + To search for tickets, you send a POST request to https://api.intercom.io/tickets/search. This will accept a query object in the body which will define your filters. + + **Nesting & Limitations** + + You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). + There are some limitations to the amount of multiples there can be: + - There's a limit of max 2 nested filters + - There's a limit of max 15 filters for each AND or OR group + + ### Accepted Fields + + Most keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foobar"`). + + | Field | Type | + | :---------------------------------------- | :--------------------------------------------------------------------------------------- | + | id | String | + | created_at | Date (UNIX timestamp) | + | updated_at | Date (UNIX timestamp) | + | title | String | + | description | String | + | category | String | + | ticket_type_id | String | + | contact_ids | String | + | teammate_ids | String | + | admin_assignee_id | String | + | team_assignee_id | String | + | open | Boolean | + | state | String | + | snoozed_until | Date (UNIX timestamp) | + | ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer | + responses: '200': description: successful @@ -10690,30 +10948,30 @@ paths: total_count: 1 tickets: - type: ticket - id: '978' - ticket_id: '40' + id: '1443' + ticket_id: '77' ticket_attributes: - title: attribute_value - description: + _default_title_: attribute_value + _default_description_: ticket_state: submitted ticket_type: type: ticket_type - id: '143' + id: '286' name: my-ticket-type-23 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id668_that_should_be_at_least_ + workspace_id: this_is_an_id685_that_should_be_at_least_ archived: false - created_at: 1704903998 - updated_at: 1704903998 + created_at: 1706115494 + updated_at: 1706115494 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '291' - workspace_id: this_is_an_id668_that_should_be_at_least_ - name: title + id: '549' + workspace_id: this_is_an_id685_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -10723,14 +10981,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 143 + ticket_type_id: 286 archived: false - created_at: 1704903998 - updated_at: 1704903998 + created_at: 1706115494 + updated_at: 1706115494 - type: ticket_type_attribute - id: '292' - workspace_id: this_is_an_id668_that_should_be_at_least_ - name: description + id: '550' + workspace_id: this_is_an_id685_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -10740,36 +10998,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 143 + ticket_type_id: 286 archived: false - created_at: 1704903998 - updated_at: 1704903998 + created_at: 1706115494 + updated_at: 1706115494 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec53f6abd0164c028878a - external_id: ee120b62-4925-4f06-958b-1b044c23d072 + id: 65b141a66abd0117178b56d4 + external_id: 32df19e4-07a7-4067-9bc2-c9c66e5e6b5e admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903999 - updated_at: 1704903999 + created_at: 1706115494 + updated_at: 1706115495 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '210' + id: '339' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903999 - updated_at: 1704903999 + created_at: 1706115495 + updated_at: 1706115495 author: - id: '991269441' + id: '991271502' type: admin - name: Ciaran463 Lee - email: admin463@email.com + name: Ciaran467 Lee + email: admin467@email.com attachments: [] redacted: false total_count: 1 @@ -10797,15 +11055,15 @@ paths: value: - field: id operator: "=" - value: '978' + value: '1443' - operator: OR value: - field: id operator: "=" - value: '978' + value: '1443' - field: id operator: "=" - value: '978' + value: '1443' "/visitors": put: summary: Update a visitor @@ -10832,26 +11090,26 @@ paths: successful: value: type: visitor - id: 659ec5636abd0164c0288877 + id: 65b141a96abd0117178b56d7 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Teal Domino + pseudonym: Grey Sailboat avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/teal-domino.png - app_id: this_is_an_id672_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/grey-sailboat.png + app_id: this_is_an_id689_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704904035 - remote_created_at: 1704904035 - signed_up_at: 1704904035 - updated_at: 1704904035 + created_at: 1706115497 + remote_created_at: 1706115497 + signed_up_at: 1706115497 + updated_at: 1706115497 session_count: 0 social_profiles: type: social_profile.list @@ -10884,7 +11142,7 @@ paths: visitor Not Found: value: type: error.list - request_id: a4b13270-ffcf-43b5-9b11-8ec73417cb81 + request_id: 3e159608-697c-4748-b754-da1c4a2d07d4 errors: - code: not_found message: Visitor Not Found @@ -10898,7 +11156,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0aa02f7c-aeb8-4150-9d79-aad07672fd5b + request_id: b5f2c5a3-1bc0-401e-9c79-fd235b58aed4 errors: - code: unauthorized message: Access Token Invalid @@ -10913,7 +11171,7 @@ paths: successful: summary: successful value: - id: 659ec5636abd0164c0288877 + id: 65b141a96abd0117178b56d7 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -10946,7 +11204,7 @@ paths: successful: value: type: visitor - id: 659ec5646abd0164c028887d + id: 65b141ab6abd0117178b56dd user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -10956,16 +11214,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id678_that_should_be_at_least_ + app_id: this_is_an_id695_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704904036 - remote_created_at: 1704904036 - signed_up_at: 1704904036 - updated_at: 1704904036 + created_at: 1706115499 + remote_created_at: 1706115499 + signed_up_at: 1706115499 + updated_at: 1706115499 session_count: 0 social_profiles: type: social_profile.list @@ -10998,7 +11256,7 @@ paths: Visitor not found: value: type: error.list - request_id: 9ef7111e-c70c-4554-9e97-38bc4cee90bf + request_id: 9426930e-ab07-45de-97fe-26acaf471093 errors: - code: not_found message: Visitor Not Found @@ -11012,7 +11270,7 @@ paths: Unauthorized: value: type: error.list - request_id: 04dfe2a6-9159-402b-b414-d6ff50a8fa36 + request_id: 66e5ef42-deea-4222-bcce-f85c92b50670 errors: - code: unauthorized message: Access Token Invalid @@ -11046,7 +11304,7 @@ paths: successful: value: type: visitor - id: 659ec5666abd0164c0288883 + id: 65b141ac6abd0117178b56e3 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -11056,16 +11314,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id684_that_should_be_at_least_ + app_id: this_is_an_id701_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704904038 - remote_created_at: 1704904038 - signed_up_at: 1704904038 - updated_at: 1704904038 + created_at: 1706115500 + remote_created_at: 1706115500 + signed_up_at: 1706115500 + updated_at: 1706115500 session_count: 0 social_profiles: type: social_profile.list @@ -11098,7 +11356,7 @@ paths: Visitor not found: value: type: error.list - request_id: d8d5badf-f901-4640-9a96-f2307669cf2e + request_id: 27c5dd2a-db1f-4b46-8724-3f9e75f5d308 errors: - code: not_found message: Visitor Not Found @@ -11112,7 +11370,7 @@ paths: Unauthorized: value: type: error.list - request_id: d574248d-04f8-4d5a-aa2f-954c9c062d91 + request_id: 722dddf3-2e3b-486a-b0e9-700f1828842b errors: - code: unauthorized message: Access Token Invalid @@ -11145,7 +11403,7 @@ paths: successful: value: type: visitor - id: 659ec5676abd0164c0288889 + id: 65b141ae6abd0117178b56e9 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -11155,16 +11413,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id690_that_should_be_at_least_ + app_id: this_is_an_id707_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704904039 - remote_created_at: 1704904039 - signed_up_at: 1704904039 - updated_at: 1704904040 + created_at: 1706115502 + remote_created_at: 1706115502 + signed_up_at: 1706115502 + updated_at: 1706115502 session_count: 0 social_profiles: type: social_profile.list @@ -11197,7 +11455,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 479eac30-2572-4618-9e55-c708e6d10da2 + request_id: b78a9b1e-a3f6-4389-b068-a295b5071454 errors: - code: not_found message: User Not Found @@ -11211,7 +11469,7 @@ paths: Unauthorized: value: type: error.list - request_id: '059e7955-7744-475c-b508-f827349c25b9' + request_id: 75851846-09fe-4b3c-864b-6402b1c564b2 errors: - code: unauthorized message: Access Token Invalid @@ -11242,8 +11500,8 @@ paths: successful: value: type: contact - id: 659ec5696abd0164c0288890 - workspace_id: this_is_an_id696_that_should_be_at_least_ + id: 65b141b06abd0117178b56f0 + workspace_id: this_is_an_id713_that_should_be_at_least_ external_id: role: user email: foo@bar.com @@ -11258,9 +11516,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704904041 - updated_at: 1704904041 - signed_up_at: 1704904041 + created_at: 1706115504 + updated_at: 1706115504 + signed_up_at: 1706115503 last_seen_at: last_replied_at: last_contacted_at: @@ -11294,31 +11552,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec5696abd0164c0288890/tags" + url: "/contacts/65b141b06abd0117178b56f0/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec5696abd0164c0288890/notes" + url: "/contacts/65b141b06abd0117178b56f0/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec5696abd0164c0288890/companies" + url: "/contacts/65b141b06abd0117178b56f0/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec5696abd0164c0288890/subscriptions" + url: "/contacts/65b141b06abd0117178b56f0/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec5696abd0164c0288890/subscriptions" + url: "/contacts/65b141b06abd0117178b56f0/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -11337,7 +11595,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8471cd2c-cfc3-4141-b94e-69cb5c2b7b3b + request_id: 657c20b0-8604-4184-912a-373a02a12c13 errors: - code: unauthorized message: Access Token Invalid @@ -14564,6 +14822,33 @@ components: 155.98 will be truncated to 155. Note that this has an upper limit of 2**31-1 or 2147483647.. example: 1000 + create_or_update_custom_object_instance_request: + description: Payload to create or update a Custom Object instance + type: object + title: Create Or Update Custom Object Instance Request Payload + properties: + external_id: + type: string + description: A unique identifier for the Custom Object instance in the external + system it originated from. + external_created_at: + type: integer + format: date-time + nullable: true + description: The time when the Custom Object instance was created in the + external system it originated from. + example: 1571672154 + external_updated_at: + type: integer + format: date-time + nullable: true + description: The time when the Custom Object instance was last updated in + the external system it originated from. + example: 1571672154 + custom_attributes: + type: object + nullable: true + description: The custom attributes which are set for the Custom Object instance. create_or_update_tag_request: description: You can create or update an existing tag. type: object @@ -14802,6 +15087,8 @@ components: custom_object_instance: title: Custom Object Instance type: object + x-tags: + - Custom Object Instances nullable: true description: An instance of a Custom Object Type. properties: @@ -14823,6 +15110,24 @@ components: description: The custom attributes you have set on the custom object instance. additionalProperties: type: string + custom_object_instance_deleted: + title: Custom Object Instance Deleted + type: object + description: deleted custom object instance object + properties: + object: + type: string + description: The unique identifier of the Custom Object type that defines + the structure of the Custom Object instance. + example: Order + id: + type: string + description: The Intercom defined id representing the Custom Object instance. + example: '123' + deleted: + type: boolean + description: Whether the Custom Object instance is deleted or not. + example: true customer_request: type: object nullable: true @@ -16998,7 +17303,7 @@ components: - ticket_part.list example: ticket_part.list ticket_parts: - title: Tickt Parts + title: Ticket Parts type: array description: A list of Ticket Part objects for each ticket. There is a limit of 500 parts. @@ -18024,6 +18329,8 @@ tags: externalDocs: description: What is a conversation? url: https://www.intercom.com/help/en/articles/4323904-what-is-a-conversation +- name: Custom Object Instances + description: Everything about your Custom Object instances. - name: Data Attributes description: Everything about your Data Attributes - name: Data Events diff --git a/descriptions/2.10/api.intercom.io.yaml b/descriptions/2.10/api.intercom.io.yaml index d2f79e0..d552ebb 100644 --- a/descriptions/2.10/api.intercom.io.yaml +++ b/descriptions/2.10/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991268339' + id: '991270400' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1704903232 + created_at: 1706114780 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991268340' + id: '991270401' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: 2985e31c-ecba-4ff4-9e8b-102b3e374ea0 + request_id: 6ad05301-75dc-46c6-80e4-c97b747c0a69 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: d8c1c499-5cbb-4969-8b75-0803a68694a7 + request_id: 79917faa-c587-4066-832d-9fddfc8f2619 errors: - code: unauthorized message: Access Token Invalid @@ -201,23 +201,23 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: d2122adc-7f06-42d3-9b3d-5ce314f7bfd6 + - id: 3c3e34e1-9fea-4131-8050-36f788385992 performed_by: type: admin - id: '991268344' + id: '991270405' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1704903237 + created_at: 1706114786 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. - - id: ec6c7677-ef5e-4e61-84a4-b5f568ef11f9 + - id: 852314e0-0759-4f26-873f-681164445a52 performed_by: type: admin - id: '991268344' + id: '991270405' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -226,7 +226,7 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1704903237 + created_at: 1706114786 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: 72a43f4e-f4e3-4b90-998c-9e7693f4807d + request_id: 383c6eef-cca6-4882-b97e-c9594e29edb3 errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991268347' + id: '991270407' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5c1c7064-c617-4481-a2ea-55fa72b14eb9 + request_id: ea920dfd-2aeb-4038-b30a-bc4f9affd085 errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991268349' + id: '991270409' 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: 2637ae2b-d683-4c7a-b3a5-af30077aef6c + request_id: be567556-f41e-49fd-96ec-8b16c44998c2 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: ce60b8b2-178d-4f8e-91ef-6fa6fe9b27b1 + request_id: 23aa4aff-864f-4cc7-85aa-329f3fea7682 errors: - code: unauthorized message: Access Token Invalid @@ -390,20 +390,20 @@ paths: total_pages: 1 total_count: 1 data: - - id: '86' + - id: '141' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 361 + parent_id: 575 parent_type: collection parent_ids: [] title: This is the article title description: '' body: '' - author_id: 991268352 + author_id: 991270412 state: published - created_at: 1704903242 - updated_at: 1704903242 - url: http://help-center.test/myapp-22/en/articles/86-this-is-the-article-title + created_at: 1706114790 + updated_at: 1706114790 + url: http://help-center.test/myapp-22/en/articles/141-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -414,7 +414,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9bdca83f-1ed9-4f97-a6b9-70e09c47e6ef + request_id: b86dea67-9023-461d-8d2d-f85d8b7e835d errors: - code: unauthorized message: Access Token Invalid @@ -439,10 +439,10 @@ paths: examples: article created: value: - id: '89' + id: '144' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 363 + parent_id: 577 parent_type: collection parent_ids: [] statistics: @@ -456,11 +456,11 @@ paths: title: Thanks for everything description: Description of the Article body:

    Body of the Article

    - author_id: 991268357 + author_id: 991270417 state: published - created_at: 1704903244 - updated_at: 1704903244 - url: http://help-center.test/myapp-26/en/articles/89-thanks-for-everything + created_at: 1706114791 + updated_at: 1706114791 + url: http://help-center.test/myapp-26/en/articles/144-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -471,7 +471,7 @@ paths: Bad Request: value: type: error.list - request_id: 414f3abc-1919-4c74-b517-1b2e9de5900f + request_id: ab47f176-f847-4b6d-b129-f4a1ee7631d7 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -486,7 +486,7 @@ paths: Unauthorized: value: type: error.list - request_id: fc1b06f2-3fc4-48ad-89f5-28c10ba05173 + request_id: 87491986-9ea9-4bcf-b49a-42dc294e2d5c errors: - code: unauthorized message: Access Token Invalid @@ -504,16 +504,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991268357 + author_id: 991270417 state: published - parent_id: 363 + parent_id: 577 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991268357 + author_id: 991270417 state: published bad_request: summary: Bad Request @@ -550,10 +550,10 @@ paths: examples: Article found: value: - id: '92' + id: '147' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 366 + parent_id: 580 parent_type: collection parent_ids: [] statistics: @@ -567,11 +567,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991268362 + author_id: 991270422 state: published - created_at: 1704903245 - updated_at: 1704903245 - url: http://help-center.test/myapp-32/en/articles/92-this-is-the-article-title + created_at: 1706114793 + updated_at: 1706114793 + url: http://help-center.test/myapp-32/en/articles/147-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -582,7 +582,7 @@ paths: Article not found: value: type: error.list - request_id: d9179c3a-92c6-4e7b-a3ae-4d5e845bdecf + request_id: 1c39c10c-664b-4812-8841-ec1dfa7a3f02 errors: - code: not_found message: Resource Not Found @@ -596,7 +596,7 @@ paths: Unauthorized: value: type: error.list - request_id: c4532afb-1fb9-41ab-8b36-57b060643f1e + request_id: b5aa2509-211a-4452-983a-12cf297107c2 errors: - code: unauthorized message: Access Token Invalid @@ -629,10 +629,10 @@ paths: examples: successful: value: - id: '95' + id: '150' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 369 + parent_id: 583 parent_type: collection parent_ids: [] statistics: @@ -646,11 +646,11 @@ paths: title: Christmas is here! description: '' body:

    New gifts in store for the jolly season

    - author_id: 991268368 + author_id: 991270428 state: published - created_at: 1704903247 - updated_at: 1704903248 - url: http://help-center.test/myapp-38/en/articles/95-christmas-is-here + created_at: 1706114795 + updated_at: 1706114796 + url: http://help-center.test/myapp-38/en/articles/150-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -661,7 +661,7 @@ paths: Article Not Found: value: type: error.list - request_id: 9a6d247d-dcf1-458f-a8aa-adb320aba3ad + request_id: fa5a68be-7442-4786-aa33-5c1f60f94847 errors: - code: not_found message: Resource Not Found @@ -675,7 +675,7 @@ paths: Unauthorized: value: type: error.list - request_id: abf63428-088e-4886-b40b-f0f166456092 + request_id: 345eb19d-b1bc-414e-b5c4-cf74dcd8791c errors: - code: unauthorized message: Access Token Invalid @@ -723,7 +723,7 @@ paths: examples: successful: value: - id: '98' + id: '153' object: article deleted: true schema: @@ -736,7 +736,7 @@ paths: Article Not Found: value: type: error.list - request_id: 27c6a6c0-c465-4192-b4a9-19d0755ab935 + request_id: 5a8ec7be-5ca7-4ced-8298-0c025ba72223 errors: - code: not_found message: Resource Not Found @@ -750,7 +750,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8ad0c08a-9266-4258-9030-662fc6b73a94 + request_id: f1d49168-8ce5-47b6-a9ed-4e822306db00 errors: - code: unauthorized message: Access Token Invalid @@ -810,7 +810,7 @@ paths: total_count: 1 data: articles: - - id: '102' + - id: '157' type: article workspace_id: this_is_an_id50_that_should_be_at_least_4 parent_id: @@ -819,10 +819,10 @@ paths: title: Title 1 description: '' body: '' - author_id: 991268381 + author_id: 991270441 state: draft - created_at: 1704903252 - updated_at: 1704903252 + created_at: 1706114799 + updated_at: 1706114799 url: highlights: [] pages: @@ -840,7 +840,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0303ba58-8efd-4b20-8a13-8e13327b567d + request_id: ac24cd81-eb4c-4d68-a571-22f583748ea3 errors: - code: unauthorized message: Access Token Invalid @@ -873,27 +873,27 @@ paths: value: type: list data: - - id: '377' + - id: '591' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-54/collection-17 order: 17 - created_at: 1704903253 - updated_at: 1704903253 + created_at: 1706114800 + updated_at: 1706114800 description: english collection description icon: bookmark parent_id: - help_center_id: 197 - - id: '378' + help_center_id: 295 + - id: '592' workspace_id: this_is_an_id54_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-54/section-1 order: 1 - created_at: 1704903253 - updated_at: 1704903253 + created_at: 1706114800 + updated_at: 1706114800 description: icon: bookmark - parent_id: '377' + parent_id: '591' help_center_id: total_count: 2 pages: @@ -911,7 +911,7 @@ paths: Unauthorized: value: type: error.list - request_id: abae41c0-058f-4fef-a23f-fee2071f83da + request_id: d76252f9-70c0-4724-a5ba-3d21bce20748 errors: - code: unauthorized message: Access Token Invalid @@ -936,17 +936,17 @@ paths: examples: collection created: value: - id: '383' + id: '597' workspace_id: this_is_an_id58_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-58/ order: 1 - created_at: 1704903254 - updated_at: 1704903254 + created_at: 1706114802 + updated_at: 1706114802 description: '' icon: book-bookmark parent_id: - help_center_id: 199 + help_center_id: 297 schema: "$ref": "#/components/schemas/collection" '400': @@ -957,7 +957,7 @@ paths: Bad Request: value: type: error.list - request_id: eb5a4902-d00c-4e18-8b96-171aaf42ce42 + request_id: 03d0929f-e126-4081-87a6-cfdfa5cea6e3 errors: - code: parameter_not_found message: Name is a required parameter. @@ -971,7 +971,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3835be26-a15c-4e2e-937c-8808c5c675c4 + request_id: 4c75ad6e-c28d-44ca-ab25-0912ec4f1b77 errors: - code: unauthorized message: Access Token Invalid @@ -1019,17 +1019,17 @@ paths: examples: Collection found: value: - id: '388' + id: '602' workspace_id: this_is_an_id64_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-64/collection-22 order: 22 - created_at: 1704903255 - updated_at: 1704903255 + created_at: 1706114802 + updated_at: 1706114802 description: english collection description icon: bookmark parent_id: - help_center_id: 202 + help_center_id: 300 schema: "$ref": "#/components/schemas/collection" '404': @@ -1040,7 +1040,7 @@ paths: Collection not found: value: type: error.list - request_id: d8a24da6-931f-49b4-849f-7c27d9548b3a + request_id: edaba9cc-f6f5-4cc8-8b59-2c2408b82e67 errors: - code: not_found message: Resource Not Found @@ -1054,7 +1054,7 @@ paths: Unauthorized: value: type: error.list - request_id: bc4222fe-422e-43a1-bcd4-880916f39c04 + request_id: df32d231-59d9-43a3-a492-d94907e47ae8 errors: - code: unauthorized message: Access Token Invalid @@ -1087,17 +1087,17 @@ paths: examples: successful: value: - id: '394' + id: '608' workspace_id: this_is_an_id70_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-70/collection-25 order: 25 - created_at: 1704903256 - updated_at: 1704903257 + created_at: 1706114804 + updated_at: 1706114804 description: english collection description icon: folder parent_id: - help_center_id: 205 + help_center_id: 303 schema: "$ref": "#/components/schemas/collection" '404': @@ -1108,7 +1108,7 @@ paths: Collection Not Found: value: type: error.list - request_id: cdd6744a-dea1-4748-9887-b187d7c9a122 + request_id: 176c7507-b73d-4cdf-b4e3-ede36a3434b0 errors: - code: not_found message: Resource Not Found @@ -1122,7 +1122,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2a97e317-df3a-4084-a071-a6f5b886f6c9 + request_id: e801a1ce-f8c2-4858-884b-fa0411c78515 errors: - code: unauthorized message: Access Token Invalid @@ -1169,7 +1169,7 @@ paths: examples: successful: value: - id: '400' + id: '614' object: collection deleted: true schema: @@ -1182,7 +1182,7 @@ paths: collection Not Found: value: type: error.list - request_id: 0fc946dd-765d-4031-96d3-0a6cc5c0dfbd + request_id: 4a1e657e-10b6-4a0c-86f5-12ace34fffba errors: - code: not_found message: Resource Not Found @@ -1196,7 +1196,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0b8bf7e3-c13e-4c02-8229-b1b2a32674f9 + request_id: 7e9b1fc4-f11a-474f-83dc-4da025c3dec1 errors: - code: unauthorized message: Access Token Invalid @@ -1230,10 +1230,10 @@ paths: examples: Collection found: value: - id: '211' + id: '309' workspace_id: this_is_an_id82_that_should_be_at_least_4 - created_at: 1704903259 - updated_at: 1704903259 + created_at: 1706114807 + updated_at: 1706114807 identifier: help-center-1 website_turned_on: false display_name: Intercom Help Center @@ -1247,7 +1247,7 @@ paths: Collection not found: value: type: error.list - request_id: ff346d6f-dd0c-4487-af63-f23d8162fe8d + request_id: 10e237d1-2576-4bcc-bd9e-0bb570082e5d errors: - code: not_found message: Resource Not Found @@ -1261,7 +1261,7 @@ paths: Unauthorized: value: type: error.list - request_id: e12272c6-f4ca-44a7-a384-72120d58a7c8 + request_id: ef86a821-a459-42ed-9af5-bc7889f7ace7 errors: - code: unauthorized message: Access Token Invalid @@ -1299,7 +1299,7 @@ paths: Unauthorized: value: type: error.list - request_id: bb022ad5-cc3c-4017-9a3d-140250067e2e + request_id: e9a65c99-17f1-4883-aa85-15c38c482a40 errors: - code: unauthorized message: Access Token Invalid @@ -1332,12 +1332,12 @@ paths: value: type: company company_id: company_remote_id - id: 659ec2626abd01535c223397 - app_id: this_is_an_id108_that_should_be_at_least_ + id: 65b13efa6abd01156cec834f + app_id: this_is_an_id105_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1704903266 - updated_at: 1704903266 + created_at: 1706114810 + updated_at: 1706114810 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1374,7 +1374,7 @@ paths: Unauthorized: value: type: error.list - request_id: bbac2bcf-ae91-4c6e-b422-ca60764aa997 + request_id: 99631fc8-bf71-4c79-97dd-10ef55331702 errors: - code: unauthorized message: Access Token Invalid @@ -1448,11 +1448,18 @@ paths: tags: - Companies operationId: retrieveCompany - description: "You can fetch a single company by passing in `company_id` or `name`.\n\n - \ `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou - can fetch all companies and filter by `segment_id` or `tag_id` as a query - parameter.\n \n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n - \ `https://api.intercom.io/companies?segment_id={segment_id}`\n" + description: | + You can fetch a single company by passing in `company_id` or `name`. + + `https://api.intercom.io/companies?name={name}` + + `https://api.intercom.io/companies?company_id={company_id}` + + You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. + + `https://api.intercom.io/companies?tag_id={tag_id}` + + `https://api.intercom.io/companies?segment_id={segment_id}` responses: '200': description: Successful @@ -1465,12 +1472,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec2636abd01535c22339f - app_id: this_is_an_id114_that_should_be_at_least_ + id: 65b13efb6abd01156cec8357 + app_id: this_is_an_id111_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903267 - created_at: 1704903267 - updated_at: 1704903267 + remote_created_at: 1706114811 + created_at: 1706114811 + updated_at: 1706114811 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1499,7 +1506,7 @@ paths: Company Not Found: value: type: error.list - request_id: bcb25d3f-6d23-4f1c-bca3-8ec54cbcfb44 + request_id: ce6df469-d1d8-4cdd-b469-22bd8f8faf23 errors: - code: company_not_found message: Company Not Found @@ -1513,7 +1520,7 @@ paths: Unauthorized: value: type: error.list - request_id: 48bc459e-b604-44f7-a1eb-5782f39af72a + request_id: 66bd6634-7094-40a6-8eff-1e516615222e errors: - code: unauthorized message: Access Token Invalid @@ -1548,12 +1555,12 @@ paths: value: type: company company_id: '1' - id: 659ec2656abd01535c2233aa - app_id: this_is_an_id120_that_should_be_at_least_ - name: company2 - remote_created_at: 1704903269 - created_at: 1704903269 - updated_at: 1704903269 + id: 65b13efe6abd01156cec8362 + app_id: this_is_an_id117_that_should_be_at_least_ + name: company1 + remote_created_at: 1706114814 + created_at: 1706114814 + updated_at: 1706114814 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1575,7 +1582,7 @@ paths: Company Not Found: value: type: error.list - request_id: 781d833a-dc97-4383-9fad-b9a1f401a2dd + request_id: 9c71d54b-e4fd-4549-ad20-9a86b81b0508 errors: - code: company_not_found message: Company Not Found @@ -1589,7 +1596,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0fd82661-dbb1-4355-8df2-4e8a21d4a5c4 + request_id: 8efa10d8-9f83-4d90-9dcf-3a0a3f21b2cd errors: - code: unauthorized message: Access Token Invalid @@ -1623,12 +1630,12 @@ paths: value: type: company company_id: '1' - id: 659ec2676abd01535c2233b4 - app_id: this_is_an_id126_that_should_be_at_least_ - name: company3 - remote_created_at: 1704903271 - created_at: 1704903271 - updated_at: 1704903271 + id: 65b13f006abd01156cec836c + app_id: this_is_an_id123_that_should_be_at_least_ + name: company2 + remote_created_at: 1706114816 + created_at: 1706114816 + updated_at: 1706114816 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1650,7 +1657,7 @@ paths: Company Not Found: value: type: error.list - request_id: 2cc82fa2-e8e8-41d3-a95e-3dd83ae50a96 + request_id: 04ce5a28-b9d8-476e-be49-dfd354fbe081 errors: - code: company_not_found message: Company Not Found @@ -1664,7 +1671,7 @@ paths: Unauthorized: value: type: error.list - request_id: c9d241f5-e7e6-494b-ad3f-ad8cc98f6ced + request_id: 15ccd876-42f3-426d-a79a-3e754c7db432 errors: - code: unauthorized message: Access Token Invalid @@ -1696,7 +1703,7 @@ paths: examples: Successful: value: - id: 659ec2696abd01535c2233be + id: 65b13f016abd01156cec8376 object: company deleted: true schema: @@ -1709,7 +1716,7 @@ paths: Company Not Found: value: type: error.list - request_id: 403d0fc0-b4d6-4d6c-a3a3-9ae0092a299c + request_id: e7f1c5db-2af2-4c8f-a35e-80f27a3aed84 errors: - code: company_not_found message: Company Not Found @@ -1723,7 +1730,7 @@ paths: Unauthorized: value: type: error.list - request_id: '081daf1e-35c8-48e1-a115-39c41a5b2f60' + request_id: 30667aca-9d3f-40a1-bc38-a2adf0010202 errors: - code: unauthorized message: Access Token Invalid @@ -1775,7 +1782,7 @@ paths: Company Not Found: value: type: error.list - request_id: a2181e32-c23c-4bc1-802e-1aa11c3029c1 + request_id: 3cdd29a7-46e7-4950-a156-b012bbd79f8c errors: - code: company_not_found message: Company Not Found @@ -1789,7 +1796,7 @@ paths: Unauthorized: value: type: error.list - request_id: a80ee688-d6c6-4a75-a54e-c649362c7b2e + request_id: 3197d10c-efb2-436d-b97b-28e2c4d124f7 errors: - code: unauthorized message: Access Token Invalid @@ -1834,7 +1841,7 @@ paths: Company Not Found: value: type: error.list - request_id: 4b5f141e-611f-4692-a894-d98e471e7e14 + request_id: b5bf5e9b-682e-45da-873d-e7ee33543d9d errors: - code: company_not_found message: Company Not Found @@ -1848,7 +1855,7 @@ paths: Unauthorized: value: type: error.list - request_id: ff221dd8-260e-4fdc-a591-7cb18e962d0f + request_id: 22dff92a-a360-4e4f-9309-f05fe606a6a3 errors: - code: unauthorized message: Access Token Invalid @@ -1905,12 +1912,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec26e6abd01535c2233da - app_id: this_is_an_id150_that_should_be_at_least_ + id: 65b13f076abd01156cec8392 + app_id: this_is_an_id147_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903278 - created_at: 1704903278 - updated_at: 1704903278 + remote_created_at: 1706114823 + created_at: 1706114823 + updated_at: 1706114823 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1939,7 +1946,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a490717-286b-4f44-b1af-e0aaeb4da490 + request_id: cd76be02-69d2-4436-9649-e953445b1444 errors: - code: unauthorized message: Access Token Invalid @@ -1991,12 +1998,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec26f6abd01535c2233e0 - app_id: this_is_an_id154_that_should_be_at_least_ + id: 65b13f086abd01156cec8398 + app_id: this_is_an_id151_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704903279 - created_at: 1704903279 - updated_at: 1704903279 + remote_created_at: 1706114824 + created_at: 1706114824 + updated_at: 1706114824 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2010,7 +2017,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: '02159f3c-62ba-4ff0-ba90-262b55646105' + scroll_param: bf32b16a-58b8-458b-a5f0-f497b87974cb schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2021,7 +2028,7 @@ paths: Unauthorized: value: type: error.list - request_id: 76ba48d6-9a42-4592-9d22-12b0abd64bb6 + request_id: 7349f4b2-c610-446a-a5b7-cc6ac4610dd2 errors: - code: unauthorized message: Access Token Invalid @@ -2056,12 +2063,12 @@ paths: value: type: company company_id: '1' - id: 659ec2716abd01535c2233e9 - app_id: this_is_an_id158_that_should_be_at_least_ - name: company7 - remote_created_at: 1704903281 - created_at: 1704903281 - updated_at: 1704903281 + id: 65b13f096abd01156cec83a1 + app_id: this_is_an_id155_that_should_be_at_least_ + name: company6 + remote_created_at: 1706114825 + created_at: 1706114825 + updated_at: 1706114825 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2075,6 +2082,20 @@ paths: custom_attributes: {} schema: "$ref": "#/components/schemas/company" + '400': + description: Bad Request + content: + application/json: + examples: + Bad Request: + value: + type: error.list + request_id: 45c49484-3e18-40ca-8cd6-8c5c4b6247d2 + errors: + - code: parameter_not_found + message: company not specified + schema: + "$ref": "#/components/schemas/error" '404': description: Company Not Found content: @@ -2083,10 +2104,10 @@ paths: Company Not Found: value: type: error.list - request_id: aa134a2c-cec5-4feb-a928-c0c7f709aa3f + request_id: c1ff6e6e-7acf-416f-960e-7ee527b5e898 errors: - - code: not_found - message: User Not Found + - code: company_not_found + message: Company Not Found schema: "$ref": "#/components/schemas/error" '401': @@ -2097,7 +2118,7 @@ paths: Unauthorized: value: type: error.list - request_id: dbd868e0-c8cc-4e65-8eb2-cad1c1dfafe6 + request_id: 761973b7-77f8-4eb4-87ae-e407267b66f6 errors: - code: unauthorized message: Access Token Invalid @@ -2120,11 +2141,14 @@ paths: successful: summary: Successful value: - id: 659ec2716abd01535c2233e9 + id: 65b13f096abd01156cec83a1 + bad_request: + summary: Bad Request + value: company_not_found: summary: Company Not Found value: - id: 659ec2716abd01535c2233ed + id: '123' get: summary: List attached companies for contact parameters: @@ -2156,13 +2180,13 @@ paths: data: - type: company company_id: '1' - id: 659ec27c6abd01535c22341b - app_id: this_is_an_id172_that_should_be_at_least_ - name: company23 - remote_created_at: 1704903292 - created_at: 1704903292 - updated_at: 1704903292 - last_request_at: 1704730492 + id: 65b13f0e6abd01156cec83c2 + app_id: this_is_an_id171_that_should_be_at_least_ + name: company12 + remote_created_at: 1706114830 + created_at: 1706114830 + updated_at: 1706114830 + last_request_at: 1705942030 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2191,7 +2215,7 @@ paths: Contact not found: value: type: error.list - request_id: 02301cef-4670-4aab-b947-f4b7bc94cc01 + request_id: 1422ffd6-1bde-4569-8d8b-40322f589830 errors: - code: not_found message: User Not Found @@ -2205,7 +2229,7 @@ paths: Unauthorized: value: type: error.list - request_id: 176db92d-d226-4df7-b5f5-57ec2f966881 + request_id: c0519f25-3ef9-4216-aa36-98c0b3fdc902 errors: - code: unauthorized message: Access Token Invalid @@ -2248,12 +2272,12 @@ paths: value: type: company company_id: '1' - id: 659ec2726abd01535c2233f5 - app_id: this_is_an_id164_that_should_be_at_least_ - name: company10 - remote_created_at: 1704903282 - created_at: 1704903282 - updated_at: 1704903283 + id: 65b13f0c6abd01156cec83b1 + app_id: this_is_an_id163_that_should_be_at_least_ + name: company8 + remote_created_at: 1706114828 + created_at: 1706114828 + updated_at: 1706114828 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2275,14 +2299,14 @@ paths: Company Not Found: value: type: error.list - request_id: 860ae6db-c1d7-470c-bef9-e360bfa50fcb + request_id: 703143d2-f3de-4933-abf2-7867dcc518b1 errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 6bde36fa-559d-48ad-87c5-e8a366ebe81e + request_id: aafeeaee-60be-4d90-99b2-8384980a79a7 errors: - code: not_found message: User Not Found @@ -2296,7 +2320,7 @@ paths: Unauthorized: value: type: error.list - request_id: e77699d5-540c-43a8-9f25-67c050d34d08 + request_id: ba78549c-54f3-4ae9-9121-cbc8182f37f4 errors: - code: unauthorized message: Access Token Invalid @@ -2332,44 +2356,44 @@ paths: type: list data: - type: note - id: '105' - created_at: 1704298494 + id: '107' + created_at: 1705510033 contact: type: contact - id: 659ec27e6abd01535c223426 + id: 65b13f116abd01156cec83cd author: type: admin - id: '991268440' - name: Ciaran100 Lee - email: admin100@email.com + id: '991270501' + name: Ciaran101 Lee + email: admin101@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '104' - created_at: 1704212094 + id: '106' + created_at: 1705423633 contact: type: contact - id: 659ec27e6abd01535c223426 + id: 65b13f116abd01156cec83cd author: type: admin - id: '991268440' - name: Ciaran100 Lee - email: admin100@email.com + id: '991270501' + name: Ciaran101 Lee + email: admin101@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '103' - created_at: 1704212094 + id: '105' + created_at: 1705423633 contact: type: contact - id: 659ec27e6abd01535c223426 + id: 65b13f116abd01156cec83cd author: type: admin - id: '991268440' - name: Ciaran100 Lee - email: admin100@email.com + id: '991270501' + name: Ciaran101 Lee + email: admin101@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2390,7 +2414,7 @@ paths: Contact not found: value: type: error.list - request_id: 462de140-4170-4690-9ceb-b448657fc3b4 + request_id: efbe37e9-5a8b-4a1f-9b8d-765bd349148d errors: - code: not_found message: User Not Found @@ -2424,16 +2448,16 @@ paths: Successful response: value: type: note - id: '110' - created_at: 1704903295 + id: '112' + created_at: 1706114834 contact: type: contact - id: 659ec27f6abd01535c223428 + id: 65b13f126abd01156cec83cf author: type: admin - id: '991268442' - name: Ciaran102 Lee - email: admin102@email.com + id: '991270503' + name: Ciaran103 Lee + email: admin103@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2447,14 +2471,14 @@ paths: Admin not found: value: type: error.list - request_id: 375eab82-fbb9-4f8e-87c1-8c374ea821a7 + request_id: c8c93255-13e9-4d1f-95e8-f5b1cdc60c0b errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 15e88398-1e6f-4dc2-8147-42aa3eccad0c + request_id: 81e9f3bd-86ec-4c78-a452-7c8c24e77fce errors: - code: not_found message: User Not Found @@ -2484,20 +2508,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 659ec27f6abd01535c223428 - admin_id: 991268442 + contact_id: 65b13f126abd01156cec83cf + admin_id: 991270503 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 659ec27f6abd01535c223429 + contact_id: 65b13f126abd01156cec83d0 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991268444 + admin_id: 991270505 body: Hello "/contacts/{contact_id}/segments": get: @@ -2530,10 +2554,10 @@ paths: type: list data: - type: segment - id: 659ec2806abd01535c22342b + id: 65b13f136abd01156cec83d2 name: segment - created_at: 1704903296 - updated_at: 1704903296 + created_at: 1706114835 + updated_at: 1706114835 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2545,7 +2569,7 @@ paths: Contact not found: value: type: error.list - request_id: f109d9a4-5a3b-450e-8468-df8637ecbd33 + request_id: c8678f05-047e-4c8c-9259-13c3cf4368e0 errors: - code: not_found message: User Not Found @@ -2559,7 +2583,7 @@ paths: Unauthorized: value: type: error.list - request_id: 23d000a3-af84-4653-97a7-c8b75b64f1b8 + request_id: 29037aa0-e01b-4f92-bd09-ff9f6ad6b6a9 errors: - code: unauthorized message: Access Token Invalid @@ -2603,7 +2627,7 @@ paths: type: list data: - type: subscription - id: '228' + id: '369' state: live consent_type: opt_out default_translation: @@ -2617,7 +2641,7 @@ paths: content_types: - email - type: subscription - id: '230' + id: '371' state: live consent_type: opt_in default_translation: @@ -2640,7 +2664,7 @@ paths: Contact not found: value: type: error.list - request_id: 3b4ba6a0-f069-4d23-95e6-e7db35d44da2 + request_id: 79be2e16-cf25-439c-ab62-ca55640b417a errors: - code: not_found message: User Not Found @@ -2654,7 +2678,7 @@ paths: Unauthorized: value: type: error.list - request_id: a5553160-35a0-4f7e-9412-811f82932a51 + request_id: 2935f300-abb2-4c34-b065-01c8ef9733c7 errors: - code: unauthorized message: Access Token Invalid @@ -2695,7 +2719,7 @@ paths: Successful: value: type: subscription - id: '243' + id: '384' state: live consent_type: opt_in default_translation: @@ -2718,14 +2742,14 @@ paths: Contact not found: value: type: error.list - request_id: 45c29992-62fd-4e33-8012-abf944f52a65 + request_id: 1c4228e0-58b9-4bc5-8671-440c48bece77 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: b7b91cef-a49a-4425-a4f1-f381fc69a7d7 + request_id: 64759001-3e02-44c4-8dd4-0b6659c9f4a2 errors: - code: not_found message: Resource Not Found @@ -2739,7 +2763,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0ee2a3c4-cce9-4cc7-89a7-4e47b390d40c + request_id: 85f4d8d1-f6c7-4965-a3bc-88c7cccf986a errors: - code: unauthorized message: Access Token Invalid @@ -2767,12 +2791,12 @@ paths: successful: summary: Successful value: - id: 243 + id: 384 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 247 + id: 388 consent_type: opt_in resource_not_found: summary: Resource not found @@ -2818,7 +2842,7 @@ paths: Successful: value: type: subscription - id: '259' + id: '400' state: live consent_type: opt_in default_translation: @@ -2841,14 +2865,14 @@ paths: Contact not found: value: type: error.list - request_id: 53a44217-e27b-406b-a272-4022fb77ee72 + request_id: 8134b199-1b5d-4555-b081-8d736756ca7d errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 4116ec1d-928f-4dcd-ab65-20e2725c3884 + request_id: 19b653b3-6a9b-410f-9549-bf54fdf19ab7 errors: - code: not_found message: Resource Not Found @@ -2862,7 +2886,7 @@ paths: Unauthorized: value: type: error.list - request_id: d98b20d7-93d9-4bd4-8b08-7f163be5f0e7 + request_id: db080868-0733-4aeb-bb51-6cf8d95ed687 errors: - code: unauthorized message: Access Token Invalid @@ -2900,7 +2924,7 @@ paths: type: list data: - type: tag - id: '203' + id: '339' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -2912,7 +2936,7 @@ paths: Contact not found: value: type: error.list - request_id: 43998ba7-8f64-4a3d-9c45-fca5a3b45b1a + request_id: 6ecaec48-7fc9-415b-a6c0-a52fe18aaa48 errors: - code: not_found message: User Not Found @@ -2926,7 +2950,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8012ba75-70fc-495f-8b82-669550d78bcb + request_id: 8511e239-925b-4f97-92de-3751316ecf4a errors: - code: unauthorized message: Access Token Invalid @@ -2961,7 +2985,7 @@ paths: successful: value: type: tag - id: '204' + id: '340' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -2973,14 +2997,14 @@ paths: Contact not found: value: type: error.list - request_id: 77e387ed-617c-40bb-b8cc-387e0be8d3ad + request_id: 24c10512-e472-484d-bf0e-2ec4e3bbae37 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: d5321068-cbb7-4430-81dc-4e5a209cb9b8 + request_id: ccb8fb78-f690-4ee8-a445-00bb1ee9fd1b errors: - code: not_found message: Resource Not Found @@ -2994,7 +3018,7 @@ paths: Unauthorized: value: type: error.list - request_id: 41f6cb46-715d-4ccb-8a9b-446631a05ba9 + request_id: 944eabc0-f443-4ca6-92fc-c55164d13d63 errors: - code: unauthorized message: Access Token Invalid @@ -3017,11 +3041,11 @@ paths: successful: summary: successful value: - id: 204 + id: 340 contact_not_found: summary: Contact not found value: - id: 205 + id: 341 tag_not_found: summary: Tag not found value: @@ -3063,7 +3087,7 @@ paths: successful: value: type: tag - id: '207' + id: '343' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3075,14 +3099,14 @@ paths: Contact not found: value: type: error.list - request_id: c2adb115-9491-431b-9e2e-2c898e9f48bd + request_id: 9ded394f-199c-4850-9f37-f0866d38b6d1 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: '09efd627-9856-4ae5-9cec-823b7e3a9295' + request_id: 559ade3a-3da4-4268-a391-04274c89b887 errors: - code: not_found message: Resource Not Found @@ -3096,7 +3120,7 @@ paths: Unauthorized: value: type: error.list - request_id: 183e227a-2c78-406d-902c-8829ce44797a + request_id: ab370ee0-4616-4faa-9973-161116aafa2c errors: - code: unauthorized message: Access Token Invalid @@ -3130,8 +3154,8 @@ paths: successful: value: type: contact - id: 659ec28c6abd01535c223442 - workspace_id: this_is_an_id238_that_should_be_at_least_ + id: 65b13f1f6abd01156cec83e9 + workspace_id: this_is_an_id237_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3145,9 +3169,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903308 - updated_at: 1704903308 - signed_up_at: 1704903308 + created_at: 1706114847 + updated_at: 1706114847 + signed_up_at: 1706114847 last_seen_at: last_replied_at: last_contacted_at: @@ -3181,31 +3205,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec28c6abd01535c223442/tags" + url: "/contacts/65b13f1f6abd01156cec83e9/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec28c6abd01535c223442/notes" + url: "/contacts/65b13f1f6abd01156cec83e9/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec28c6abd01535c223442/companies" + url: "/contacts/65b13f1f6abd01156cec83e9/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec28c6abd01535c223442/subscriptions" + url: "/contacts/65b13f1f6abd01156cec83e9/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec28c6abd01535c223442/subscriptions" + url: "/contacts/65b13f1f6abd01156cec83e9/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3224,7 +3248,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6565a155-6293-4a50-81bb-b0e4a5e51b0d + request_id: c018edfa-cc4f-4162-aae7-2d5ff5413b79 errors: - code: unauthorized message: Access Token Invalid @@ -3269,8 +3293,8 @@ paths: successful: value: type: contact - id: 659ec28d6abd01535c223443 - workspace_id: this_is_an_id242_that_should_be_at_least_ + id: 65b13f206abd01156cec83ea + workspace_id: this_is_an_id241_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3284,9 +3308,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903309 - updated_at: 1704903309 - signed_up_at: 1704903309 + created_at: 1706114848 + updated_at: 1706114848 + signed_up_at: 1706114848 last_seen_at: last_replied_at: last_contacted_at: @@ -3320,31 +3344,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec28d6abd01535c223443/tags" + url: "/contacts/65b13f206abd01156cec83ea/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec28d6abd01535c223443/notes" + url: "/contacts/65b13f206abd01156cec83ea/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec28d6abd01535c223443/companies" + url: "/contacts/65b13f206abd01156cec83ea/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec28d6abd01535c223443/subscriptions" + url: "/contacts/65b13f206abd01156cec83ea/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec28d6abd01535c223443/subscriptions" + url: "/contacts/65b13f206abd01156cec83ea/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3363,7 +3387,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5ca99505-6ef2-4f1c-a7ef-680b96283563 + request_id: d19c276f-a603-44ec-8f91-985c500c0c63 errors: - code: unauthorized message: Access Token Invalid @@ -3394,7 +3418,7 @@ paths: examples: successful: value: - id: 659ec28e6abd01535c223444 + id: 65b13f216abd01156cec83eb external_id: '70' type: contact deleted: true @@ -3408,7 +3432,7 @@ paths: Unauthorized: value: type: error.list - request_id: eced1b53-7afe-420b-8890-03bb5df0ddfa + request_id: b2835d29-2f9e-47a5-bb3b-94bfb9f57258 errors: - code: unauthorized message: Access Token Invalid @@ -3436,8 +3460,8 @@ paths: successful: value: type: contact - id: 659ec28f6abd01535c223446 - workspace_id: this_is_an_id250_that_should_be_at_least_ + id: 65b13f226abd01156cec83ed + workspace_id: this_is_an_id249_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3451,9 +3475,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903311 - updated_at: 1704903312 - signed_up_at: 1704903311 + created_at: 1706114850 + updated_at: 1706114850 + signed_up_at: 1706114850 last_seen_at: last_replied_at: last_contacted_at: @@ -3487,31 +3511,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec28f6abd01535c223446/tags" + url: "/contacts/65b13f226abd01156cec83ed/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec28f6abd01535c223446/notes" + url: "/contacts/65b13f226abd01156cec83ed/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec28f6abd01535c223446/companies" + url: "/contacts/65b13f226abd01156cec83ed/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec28f6abd01535c223446/subscriptions" + url: "/contacts/65b13f226abd01156cec83ed/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec28f6abd01535c223446/subscriptions" + url: "/contacts/65b13f226abd01156cec83ed/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3530,7 +3554,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4b39d38a-6dd3-4345-9782-494494a7e96f + request_id: 832442a7-2c54-4acc-8065-0553461182fa errors: - code: unauthorized message: Access Token Invalid @@ -3545,8 +3569,8 @@ paths: successful: summary: successful value: - from: 659ec28f6abd01535c223445 - into: 659ec28f6abd01535c223446 + from: 65b13f226abd01156cec83ec + into: 65b13f226abd01156cec83ed "/contacts/search": post: summary: Search contacts @@ -3655,7 +3679,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8284a16c-69f7-4569-9b3b-2ae057b011e7 + request_id: 99ec2e1f-09b1-474a-97f0-6f2492ac72d3 errors: - code: unauthorized message: Access Token Invalid @@ -3675,15 +3699,15 @@ paths: value: - field: id operator: "=" - value: 659ec2916abd01535c223449 + value: 65b13f236abd01156cec83f0 - operator: OR value: - field: id operator: "=" - value: 659ec2916abd01535c223449 + value: 65b13f236abd01156cec83f0 - field: id operator: "=" - value: 659ec2916abd01535c223449 + value: 65b13f236abd01156cec83f0 "/contacts": get: summary: List all contacts @@ -3722,7 +3746,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6b2d4d86-b8c0-4560-9c2f-8b3397f79b88 + request_id: 76a8a9d7-4226-471b-b785-297492b284a4 errors: - code: unauthorized message: Access Token Invalid @@ -3748,8 +3772,8 @@ paths: successful: value: type: contact - id: 659ec2936abd01535c22344b - workspace_id: this_is_an_id262_that_should_be_at_least_ + id: 65b13f266abd01156cec83f2 + workspace_id: this_is_an_id261_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3763,8 +3787,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903315 - updated_at: 1704903315 + created_at: 1706114854 + updated_at: 1706114854 signed_up_at: last_seen_at: last_replied_at: @@ -3799,31 +3823,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec2936abd01535c22344b/tags" + url: "/contacts/65b13f266abd01156cec83f2/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec2936abd01535c22344b/notes" + url: "/contacts/65b13f266abd01156cec83f2/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec2936abd01535c22344b/companies" + url: "/contacts/65b13f266abd01156cec83f2/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec2936abd01535c22344b/subscriptions" + url: "/contacts/65b13f266abd01156cec83f2/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec2936abd01535c22344b/subscriptions" + url: "/contacts/65b13f266abd01156cec83f2/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3842,7 +3866,7 @@ paths: Unauthorized: value: type: error.list - request_id: 18c64adc-55f2-4c8f-924d-8ffd50b499ce + request_id: 8c2963cb-7f2c-488b-940d-f05d86c0d559 errors: - code: unauthorized message: Access Token Invalid @@ -3886,7 +3910,7 @@ paths: examples: successful: value: - id: 659ec2946abd01535c22344c + id: 65b13f276abd01156cec83f3 external_id: '70' type: contact archived: true @@ -3919,7 +3943,7 @@ paths: examples: successful: value: - id: 659ec2946abd01535c22344d + id: 65b13f286abd01156cec83f4 external_id: '70' type: contact archived: false @@ -3955,7 +3979,7 @@ paths: successful: value: type: tag - id: '209' + id: '345' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3967,7 +3991,7 @@ paths: Conversation not found: value: type: error.list - request_id: 1fed5cdf-b288-4ee9-badb-003e9c67446d + request_id: 42b421b3-e87e-405d-b22a-a3b091b97fde errors: - code: not_found message: Conversation not found @@ -3981,7 +4005,7 @@ paths: Unauthorized: value: type: error.list - request_id: '0693bb9a-a244-43bf-9e4d-d07659179594' + request_id: 27ae0ed7-f588-4c8a-94b8-882b5f25c8be errors: - code: unauthorized message: Access Token Invalid @@ -4010,13 +4034,13 @@ paths: successful: summary: successful value: - id: 209 - admin_id: 991268475 + id: 345 + admin_id: 991270536 conversation_not_found: summary: Conversation not found value: - id: 210 - admin_id: 991268477 + id: 346 + admin_id: 991270538 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4054,7 +4078,7 @@ paths: successful: value: type: tag - id: '212' + id: '348' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4066,14 +4090,14 @@ paths: Conversation not found: value: type: error.list - request_id: cce7e672-8851-41bd-a161-570715e9b0ae + request_id: dc7236ff-e1ff-40c8-9232-7e46691b2dc1 errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: f16c4a33-fc24-41d0-bb5f-8d8032851838 + request_id: 977d104e-3738-4830-abf0-0a2760a55af9 errors: - code: tag_not_found message: Tag not found @@ -4087,7 +4111,7 @@ paths: Unauthorized: value: type: error.list - request_id: fe95bf69-b6d8-43a2-90b2-0cc7586987de + request_id: 9ea7323d-163f-4c43-a94f-c8d66c0abd19 errors: - code: unauthorized message: Access Token Invalid @@ -4110,15 +4134,15 @@ paths: successful: summary: successful value: - admin_id: 991268479 + admin_id: 991270540 conversation_not_found: summary: Conversation not found value: - admin_id: 991268481 + admin_id: 991270542 tag_not_found: summary: Tag not found value: - admin_id: 991268482 + admin_id: 991270543 "/conversations": get: summary: List all conversations @@ -4165,22 +4189,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '655' - created_at: 1704903323 - updated_at: 1704903323 + id: '1142' + created_at: 1706114863 + updated_at: 1706114863 waiting_since: snoozed_until: source: type: conversation - id: '403918451' + id: '403918727' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268485' - name: Ciaran142 Lee - email: admin142@email.com + id: '991270546' + name: Ciaran143 Lee + email: admin143@email.com attachments: [] url: redacted: false @@ -4188,7 +4212,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec29b6abd01535c223451 + id: 65b13f2f6abd01156cec83f8 external_id: '70' first_contact_reply: admin_assignee_id: @@ -4223,7 +4247,7 @@ paths: Unauthorized: value: type: error.list - request_id: e1e550f4-f404-4cab-893d-5a46bba0c182 + request_id: a09f1c49-45c9-4352-a3c2-bac5f3a7a63e errors: - code: unauthorized message: Access Token Invalid @@ -4237,7 +4261,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6e3ceddc-6c8c-42a2-91fd-bb0957423fb0 + request_id: b717d62f-7e9c-43e7-a9c2-937a5290262a errors: - code: api_plan_restricted message: Active subscription needed. @@ -4269,11 +4293,11 @@ paths: conversation created: value: type: user_message - id: '403918461' - created_at: 1704903343 + id: '403918737' + created_at: 1706114889 body: Hello there message_type: inapp - conversation_id: '680' + conversation_id: '1167' schema: "$ref": "#/components/schemas/message" '404': @@ -4284,7 +4308,7 @@ paths: Contact Not Found: value: type: error.list - request_id: f56767f6-6a7f-43bb-85d0-37cf6f382d18 + request_id: 8148686a-4fa5-4e1d-bc10-511e26d722b6 errors: - code: not_found message: User Not Found @@ -4298,7 +4322,7 @@ paths: Unauthorized: value: type: error.list - request_id: e772d977-8f65-46a0-8591-662dff1c30c9 + request_id: 3708b43c-e0dd-430f-b72a-0f1690708a04 errors: - code: unauthorized message: Access Token Invalid @@ -4312,7 +4336,7 @@ paths: API plan restricted: value: type: error.list - request_id: dbe651af-de24-4653-a70b-fb3db55e65a2 + request_id: d948d49b-855f-45dd-8334-0ece2f4da0e3 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4329,7 +4353,7 @@ paths: value: from: type: user - id: 659ec2ae6abd01535c223466 + id: 65b13f486abd01156cec840d body: Hello there contact_not_found: summary: Contact Not Found @@ -4381,22 +4405,22 @@ paths: conversation found: value: type: conversation - id: '684' - created_at: 1704903348 - updated_at: 1704903348 + id: '1171' + created_at: 1706114895 + updated_at: 1706114895 waiting_since: snoozed_until: source: type: conversation - id: '403918465' + id: '403918741' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268499' - name: Ciaran149 Lee - email: admin149@email.com + id: '991270560' + name: Ciaran150 Lee + email: admin150@email.com attachments: [] url: redacted: false @@ -4404,7 +4428,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2b36abd01535c22346a + id: 65b13f4f6abd01156cec8411 external_id: '70' first_contact_reply: admin_assignee_id: @@ -4443,7 +4467,7 @@ paths: Not found: value: type: error.list - request_id: 30c33524-b8be-4376-a460-f4ee773644da + request_id: 9a9a7ffa-a93b-4d4e-bffd-dc0aa629dc69 errors: - code: not_found message: Resource Not Found @@ -4457,7 +4481,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4a080201-3648-4404-bd87-9742c4b3b13a + request_id: b6e79b3c-3d85-4242-adf0-4389d0d488a2 errors: - code: unauthorized message: Access Token Invalid @@ -4471,7 +4495,7 @@ paths: API plan restricted: value: type: error.list - request_id: 7f3e1fd1-3532-4a98-af41-d55be745210b + request_id: 54fcc7e0-6068-4ab5-ab70-efaccb566160 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4514,22 +4538,22 @@ paths: conversation found: value: type: conversation - id: '688' - created_at: 1704903353 - updated_at: 1704903354 + id: '1175' + created_at: 1706114901 + updated_at: 1706114903 waiting_since: snoozed_until: source: type: conversation - id: '403918469' + id: '403918745' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268507' - name: Ciaran153 Lee - email: admin153@email.com + id: '991270568' + name: Ciaran154 Lee + email: admin154@email.com attachments: [] url: redacted: false @@ -4537,7 +4561,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2b96abd01535c22346e + id: 65b13f556abd01156cec8415 external_id: '70' first_contact_reply: admin_assignee_id: @@ -4568,34 +4592,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '125' + id: '254' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704903354 - updated_at: 1704903354 - notified_at: 1704903354 + created_at: 1706114903 + updated_at: 1706114903 + notified_at: 1706114903 assigned_to: author: - id: '991268508' + id: '991270569' type: bot name: Operator - email: operator+this_is_an_id306_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '126' + id: '255' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704903354 - updated_at: 1704903354 - notified_at: 1704903354 + created_at: 1706114903 + updated_at: 1706114903 + notified_at: 1706114903 assigned_to: author: - id: '991268508' + id: '991270569' type: bot name: Operator - email: operator+this_is_an_id306_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id305_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4610,7 +4634,7 @@ paths: Not found: value: type: error.list - request_id: c1f34352-b336-4a5c-bc6a-04fbb9d4e03e + request_id: '079116df-60b6-4dec-ac28-dabe45452118' errors: - code: not_found message: Resource Not Found @@ -4624,7 +4648,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9fa0cee0-8ac8-43e7-832c-5ad332c4161f + request_id: e6b70ee9-a5c1-4e0e-ace0-5b2698fca056 errors: - code: unauthorized message: Access Token Invalid @@ -4638,7 +4662,7 @@ paths: API plan restricted: value: type: error.list - request_id: cd4ae3b9-60b6-41f3-999f-eac45f311bbe + request_id: 879b3184-5b01-4cfc-9474-871b68c53154 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4757,22 +4781,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '695' - created_at: 1704903362 - updated_at: 1704903362 + id: '1182' + created_at: 1706114913 + updated_at: 1706114913 waiting_since: snoozed_until: source: type: conversation - id: '403918476' + id: '403918752' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268537' - name: Ciaran176 Lee - email: admin176@email.com + id: '991270598' + name: Ciaran177 Lee + email: admin177@email.com attachments: [] url: redacted: false @@ -4780,7 +4804,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2c26abd01535c223475 + id: 65b13f616abd01156cec841c external_id: '70' first_contact_reply: admin_assignee_id: @@ -4821,15 +4845,15 @@ paths: value: - field: id operator: "=" - value: '695' + value: '1182' - operator: OR value: - field: id operator: "=" - value: '695' + value: '1182' - field: id operator: "=" - value: '695' + value: '1182' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -4868,22 +4892,22 @@ paths: User reply: value: type: conversation - id: '703' - created_at: 1704903369 - updated_at: 1704903370 - waiting_since: 1704903370 + id: '1190' + created_at: 1706114922 + updated_at: 1706114923 + waiting_since: 1706114923 snoozed_until: source: type: conversation - id: '403918479' + id: '403918755' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268539' - name: Ciaran177 Lee - email: admin177@email.com + id: '991270600' + name: Ciaran178 Lee + email: admin178@email.com attachments: [] url: redacted: false @@ -4891,10 +4915,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2c96abd01535c22347c + id: 65b13f696abd01156cec8423 external_id: '70' first_contact_reply: - created_at: 1704903370 + created_at: 1706114923 type: conversation url: admin_assignee_id: @@ -4923,15 +4947,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '128' + id: '257' part_type: open body: "

    Thanks again :)

    " - created_at: 1704903370 - updated_at: 1704903370 - notified_at: 1704903370 + created_at: 1706114923 + updated_at: 1706114923 + notified_at: 1706114923 assigned_to: author: - id: 659ec2c96abd01535c22347c + id: 65b13f696abd01156cec8423 type: user name: Joe Bloggs email: joe@bloggs.com @@ -4942,22 +4966,22 @@ paths: Admin note reply: value: type: conversation - id: '704' - created_at: 1704903371 - updated_at: 1704903372 + id: '1191' + created_at: 1706114924 + updated_at: 1706114925 waiting_since: snoozed_until: source: type: conversation - id: '403918480' + id: '403918756' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268541' - name: Ciaran178 Lee - email: admin178@email.com + id: '991270602' + name: Ciaran179 Lee + email: admin179@email.com attachments: [] url: redacted: false @@ -4965,7 +4989,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2cb6abd01535c22347d + id: 65b13f6c6abd01156cec8424 external_id: '70' first_contact_reply: admin_assignee_id: @@ -4994,7 +5018,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '129' + id: '258' part_type: note body: |-

    An Unordered HTML List

    @@ -5009,15 +5033,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704903372 - updated_at: 1704903372 - notified_at: 1704903372 + created_at: 1706114925 + updated_at: 1706114925 + notified_at: 1706114925 assigned_to: author: - id: '991268541' + id: '991270602' type: admin - name: Ciaran178 Lee - email: admin178@email.com + name: Ciaran179 Lee + email: admin179@email.com attachments: [] external_id: redacted: false @@ -5025,22 +5049,22 @@ paths: User last conversation reply: value: type: conversation - id: '706' - created_at: 1704903374 - updated_at: 1704903374 - waiting_since: 1704903374 + id: '1193' + created_at: 1706114927 + updated_at: 1706114928 + waiting_since: 1706114928 snoozed_until: source: type: conversation - id: '403918482' + id: '403918758' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268545' - name: Ciaran180 Lee - email: admin180@email.com + id: '991270606' + name: Ciaran181 Lee + email: admin181@email.com attachments: [] url: redacted: false @@ -5048,10 +5072,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2cd6abd01535c22347f + id: 65b13f6f6abd01156cec8426 external_id: '70' first_contact_reply: - created_at: 1704903374 + created_at: 1706114928 type: conversation url: admin_assignee_id: @@ -5080,15 +5104,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '130' + id: '259' part_type: open body: "

    Thanks again :)

    " - created_at: 1704903374 - updated_at: 1704903374 - notified_at: 1704903374 + created_at: 1706114928 + updated_at: 1706114928 + notified_at: 1706114928 assigned_to: author: - id: 659ec2cd6abd01535c22347f + id: 65b13f6f6abd01156cec8426 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5106,7 +5130,7 @@ paths: Not found: value: type: error.list - request_id: 95d1fe30-c802-4a70-90a1-9a3885422d74 + request_id: 941a533f-bd54-4b1d-9048-5b3b65724cbb errors: - code: not_found message: Resource Not Found @@ -5120,7 +5144,7 @@ paths: Unauthorized: value: type: error.list - request_id: 679f127f-799e-4d93-93b1-46b5617354d4 + request_id: 9f8a9c90-1289-43dc-aa9e-db2189c7a687 errors: - code: unauthorized message: Access Token Invalid @@ -5134,7 +5158,7 @@ paths: API plan restricted: value: type: error.list - request_id: 568d9835-1a7a-4932-a114-fa4f35004baa + request_id: ece627f2-7a99-4ab5-8b4b-aebf0d16aa17 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5151,14 +5175,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec2c96abd01535c22347c + intercom_user_id: 65b13f696abd01156cec8423 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991268541 + admin_id: 991270602 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5168,14 +5192,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec2cd6abd01535c22347f + intercom_user_id: 65b13f6f6abd01156cec8426 body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ec2cf6abd01535c223480 + intercom_user_id: 65b13f716abd01156cec8427 body: Thanks again :) "/conversations/{id}/parts": post: @@ -5209,22 +5233,22 @@ paths: Close a conversation: value: type: conversation - id: '710' - created_at: 1704903379 - updated_at: 1704903380 + id: '1197' + created_at: 1706114934 + updated_at: 1706114935 waiting_since: snoozed_until: source: type: conversation - id: '403918486' + id: '403918762' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268553' - name: Ciaran184 Lee - email: admin184@email.com + id: '991270614' + name: Ciaran185 Lee + email: admin185@email.com attachments: [] url: redacted: false @@ -5232,7 +5256,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2d36abd01535c223483 + id: 65b13f766abd01156cec842a external_id: '70' first_contact_reply: admin_assignee_id: @@ -5261,18 +5285,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '131' + id: '260' part_type: close body: "

    Goodbye :)

    " - created_at: 1704903380 - updated_at: 1704903380 - notified_at: 1704903380 + created_at: 1706114935 + updated_at: 1706114935 + notified_at: 1706114935 assigned_to: author: - id: '991268553' + id: '991270614' type: admin - name: Ciaran184 Lee - email: admin184@email.com + name: Ciaran185 Lee + email: admin185@email.com attachments: [] external_id: redacted: false @@ -5280,22 +5304,22 @@ paths: Snooze a conversation: value: type: conversation - id: '711' - created_at: 1704903382 - updated_at: 1704903382 + id: '1198' + created_at: 1706114936 + updated_at: 1706114937 waiting_since: - snoozed_until: 1704906982 + snoozed_until: 1706118536 source: type: conversation - id: '403918487' + id: '403918763' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268555' - name: Ciaran185 Lee - email: admin185@email.com + id: '991270616' + name: Ciaran186 Lee + email: admin186@email.com attachments: [] url: redacted: false @@ -5303,7 +5327,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2d56abd01535c223484 + id: 65b13f786abd01156cec842b external_id: '70' first_contact_reply: admin_assignee_id: @@ -5332,18 +5356,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '132' + id: '261' part_type: snoozed body: - created_at: 1704903382 - updated_at: 1704903382 - notified_at: 1704903382 + created_at: 1706114937 + updated_at: 1706114937 + notified_at: 1706114937 assigned_to: author: - id: '991268555' + id: '991270616' type: admin - name: Ciaran185 Lee - email: admin185@email.com + name: Ciaran186 Lee + email: admin186@email.com attachments: [] external_id: redacted: false @@ -5351,22 +5375,22 @@ paths: Open a conversation: value: type: conversation - id: '716' - created_at: 1704903380 - updated_at: 1704903389 + id: '1203' + created_at: 1706114936 + updated_at: 1706114945 waiting_since: snoozed_until: source: type: conversation - id: '403918488' + id: '403918764' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268557' - name: Ciaran186 Lee - email: admin186@email.com + id: '991270618' + name: Ciaran187 Lee + email: admin187@email.com attachments: [] url: redacted: false @@ -5374,7 +5398,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2d96abd01535c223489 + id: 65b13f7c6abd01156cec8430 external_id: '74' first_contact_reply: admin_assignee_id: @@ -5403,18 +5427,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '134' + id: '263' part_type: open body: - created_at: 1704903389 - updated_at: 1704903389 - notified_at: 1704903389 + created_at: 1706114945 + updated_at: 1706114945 + notified_at: 1706114945 assigned_to: author: - id: '991268557' + id: '991270618' type: admin - name: Ciaran186 Lee - email: admin186@email.com + name: Ciaran187 Lee + email: admin187@email.com attachments: [] external_id: redacted: false @@ -5422,22 +5446,22 @@ paths: Assign a conversation: value: type: conversation - id: '720' - created_at: 1704903390 - updated_at: 1704903390 + id: '1207' + created_at: 1706114946 + updated_at: 1706114947 waiting_since: snoozed_until: source: type: conversation - id: '403918491' + id: '403918767' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268559' - name: Ciaran187 Lee - email: admin187@email.com + id: '991270620' + name: Ciaran188 Lee + email: admin188@email.com attachments: [] url: redacted: false @@ -5445,10 +5469,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2dd6abd01535c22348c + id: 65b13f826abd01156cec8433 external_id: '70' first_contact_reply: - admin_assignee_id: 991268559 + admin_assignee_id: 991270620 team_assignee_id: open: true state: open @@ -5474,20 +5498,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '135' + id: '264' part_type: assign_and_reopen body: - created_at: 1704903390 - updated_at: 1704903390 - notified_at: 1704903390 + created_at: 1706114947 + updated_at: 1706114947 + notified_at: 1706114947 assigned_to: type: admin - id: '991268559' + id: '991270620' author: - id: '991268559' + id: '991270620' type: admin - name: Ciaran187 Lee - email: admin187@email.com + name: Ciaran188 Lee + email: admin188@email.com attachments: [] external_id: redacted: false @@ -5502,7 +5526,7 @@ paths: Not found: value: type: error.list - request_id: 05ac35dc-e9b5-46dc-82db-45537860a1e4 + request_id: ea4daa25-830b-4f10-9b01-fe4b1c3cdc07 errors: - code: not_found message: Resource Not Found @@ -5516,7 +5540,7 @@ paths: Unauthorized: value: type: error.list - request_id: 72905166-70b8-49bc-a3e3-decaddeeef67 + request_id: db8f13b5-b935-4f49-a974-1f56c3447d65 errors: - code: unauthorized message: Access Token Invalid @@ -5530,7 +5554,7 @@ paths: API plan restricted: value: type: error.list - request_id: f33ab72c-d97c-4895-8a1c-4920c190b875 + request_id: 4af2e872-1d17-435e-ad45-69ff92659a62 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5551,32 +5575,32 @@ paths: value: message_type: close type: admin - admin_id: 991268553 + admin_id: 991270614 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991268555 - snoozed_until: 1704906982 + admin_id: 991270616 + snoozed_until: 1706118536 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991268557 + admin_id: 991270618 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991268559 - assignee_id: 991268559 + admin_id: 991270620 + assignee_id: 991270620 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991268561 + admin_id: 991270622 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5607,22 +5631,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '724' - created_at: 1704903395 - updated_at: 1704903396 + id: '1211' + created_at: 1706114952 + updated_at: 1706114954 waiting_since: snoozed_until: source: type: conversation - id: '403918495' + id: '403918771' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268567' - name: Ciaran191 Lee - email: admin191@email.com + id: '991270628' + name: Ciaran192 Lee + email: admin192@email.com attachments: [] url: redacted: false @@ -5630,7 +5654,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec2e36abd01535c223490 + id: 65b13f886abd01156cec8437 external_id: '70' first_contact_reply: admin_assignee_id: @@ -5659,20 +5683,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '136' + id: '265' part_type: default_assignment body: - created_at: 1704903396 - updated_at: 1704903396 - notified_at: 1704903396 + created_at: 1706114954 + updated_at: 1706114954 + notified_at: 1706114954 assigned_to: type: nobody_admin id: author: - id: '991268568' + id: '991270629' type: bot name: Operator - email: operator+this_is_an_id347_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id346_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5687,7 +5711,7 @@ paths: Not found: value: type: error.list - request_id: d4929a69-80c2-4de7-9ee9-78f4e9020d4c + request_id: 79cc0095-92d7-4922-8285-0244e9f86437 errors: - code: not_found message: Resource Not Found @@ -5701,7 +5725,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22b4b529-5b92-4d6d-b45d-7bb6624d7b06 + request_id: cf3d0069-e306-4c19-abeb-ea4b9cceaecf errors: - code: unauthorized message: Access Token Invalid @@ -5715,7 +5739,7 @@ paths: API plan restricted: value: type: error.list - request_id: a8a7afc9-9d71-4207-ad05-c5146bff1d93 + request_id: 5cf8bb97-5b85-4dfb-8e87-4afea97fef21 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5754,7 +5778,7 @@ paths: value: customers: - type: user - id: 659ec2e96abd01535c223494 + id: 65b13f906abd01156cec843b schema: "$ref": "#/components/schemas/conversation" '404': @@ -5765,7 +5789,7 @@ paths: Not found: value: type: error.list - request_id: 488f5fb2-8782-4b73-a3cd-a215dc75a0dc + request_id: 7ccc861e-b098-45db-b75b-15f0cafad609 errors: - code: not_found message: Resource Not Found @@ -5779,7 +5803,7 @@ paths: Unauthorized: value: type: error.list - request_id: '03487a51-2ed5-4ada-a55a-6e4ad53a3799' + request_id: 0761defe-7ce8-43f9-9da2-abb644a93be7 errors: - code: unauthorized message: Access Token Invalid @@ -5793,7 +5817,7 @@ paths: API plan restricted: value: type: error.list - request_id: 5ad02f95-40ed-4ca8-8e6d-1cbc45d0d243 + request_id: e223459c-57f1-41ab-9b89-051bbab6679b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5808,15 +5832,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991268575 + admin_id: 991270636 customer: - intercom_user_id: 659ec2e96abd01535c223494 + intercom_user_id: 65b13f906abd01156cec843b not_found: summary: Not found value: - admin_id: 991268577 + admin_id: 991270638 customer: - intercom_user_id: 659ec2ea6abd01535c223495 + intercom_user_id: 65b13f916abd01156cec843c "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5857,7 +5881,7 @@ paths: value: customers: - type: user - id: 659ec2f36abd01535c22349f + id: 65b13f9e6abd01156cec8446 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5868,14 +5892,14 @@ paths: Conversation not found: value: type: error.list - request_id: 354dd098-2a14-4b3c-9f10-6805176844d3 + request_id: 00a89164-f45d-48e4-8ec6-6bfc869d8591 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 698996c2-32b8-4a40-944e-dba81fe767c4 + request_id: 81707851-1c3a-4cb6-8252-6e0d0e5617b2 errors: - code: not_found message: User Not Found @@ -5889,7 +5913,7 @@ paths: Last customer: value: type: error.list - request_id: 1f2fbaf7-1ff7-4877-902f-9efaa69ee037 + request_id: 40365ec6-4ed2-47ac-8bf4-d8424a2e0d6c errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -5903,7 +5927,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8a506fa2-bb68-4e26-b69c-97f79c9282e9 + request_id: 87550800-1cb2-4cda-8d27-4d48d06cca48 errors: - code: unauthorized message: Access Token Invalid @@ -5917,7 +5941,7 @@ paths: API plan restricted: value: type: error.list - request_id: c759ac69-1891-4566-8fb3-b5f7ce6adf89 + request_id: ae796680-2f91-4f5b-a296-12f97a27250e errors: - code: api_plan_restricted message: Active subscription needed. @@ -5932,27 +5956,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991268583 + admin_id: 991270644 customer: - intercom_user_id: 659ec2ee6abd01535c223498 + intercom_user_id: 65b13f966abd01156cec843f conversation_not_found: summary: Conversation not found value: - admin_id: 991268585 + admin_id: 991270646 customer: - intercom_user_id: 659ec2f46abd01535c2234a0 + intercom_user_id: 65b13f9f6abd01156cec8447 contact_not_found: summary: Contact not found value: - admin_id: 991268587 + admin_id: 991270648 customer: - intercom_user_id: 659ec2fa6abd01535c2234a7 + intercom_user_id: 65b13fa76abd01156cec844e last_customer: summary: Last customer value: - admin_id: 991268589 + admin_id: 991270650 customer: - intercom_user_id: 659ec3016abd01535c2234ae + intercom_user_id: 65b13fad6abd01156cec8455 "/conversations/redact": post: summary: Redact a conversation part @@ -5979,22 +6003,22 @@ paths: Redact a conversation part: value: type: conversation - id: '780' - created_at: 1704903444 - updated_at: 1704903446 - waiting_since: 1704903445 + id: '1267' + created_at: 1706115014 + updated_at: 1706115016 + waiting_since: 1706115015 snoozed_until: source: type: conversation - id: '403918521' + id: '403918797' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268595' - name: Ciaran205 Lee - email: admin205@email.com + id: '991270656' + name: Ciaran206 Lee + email: admin206@email.com attachments: [] url: redacted: false @@ -6002,10 +6026,10 @@ paths: type: contact.list contacts: - type: contact - id: 659ec3146abd01535c2234c3 + id: 65b13fc66abd01156cec846a external_id: '70' first_contact_reply: - created_at: 1704903445 + created_at: 1706115015 type: conversation url: admin_assignee_id: @@ -6034,15 +6058,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '144' + id: '273' part_type: open body: "

    This message was deleted

    " - created_at: 1704903445 - updated_at: 1704903446 - notified_at: 1704903445 + created_at: 1706115015 + updated_at: 1706115016 + notified_at: 1706115015 assigned_to: author: - id: 659ec3146abd01535c2234c3 + id: 65b13fc66abd01156cec846a type: user name: Joe Bloggs email: joe@bloggs.com @@ -6060,7 +6084,7 @@ paths: Not found: value: type: error.list - request_id: b53e159b-672f-44ba-8945-bc7024d6ac44 + request_id: a3a21a2d-779b-446c-9462-cb054d6684bf errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6074,7 +6098,7 @@ paths: Unauthorized: value: type: error.list - request_id: '0218e105-4bb8-4675-bbeb-d648f10c29e9' + request_id: c49f3e07-18cf-4fd6-963a-8a7030b59f24 errors: - code: unauthorized message: Access Token Invalid @@ -6090,8 +6114,8 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 780 - conversation_part_id: 144 + conversation_id: 1267 + conversation_part_id: 273 not_found: summary: Not found value: @@ -6126,20 +6150,20 @@ paths: successful: value: type: ticket - id: '783' - ticket_id: '7' + id: '1270' + ticket_id: '44' ticket_attributes: {} ticket_state: submitted ticket_type: type: ticket_type - id: '72' + id: '215' name: my-ticket-type-1 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id381_that_should_be_at_least_ + workspace_id: this_is_an_id380_that_should_be_at_least_ archived: false - created_at: 1704903452 - updated_at: 1704903452 + created_at: 1706115023 + updated_at: 1706115023 is_internal: false ticket_type_attributes: type: list @@ -6149,40 +6173,40 @@ paths: type: contact.list contacts: - type: contact - id: 659ec3196abd01535c2234c6 + id: 65b13fcc6abd01156cec846d external_id: '70' admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903449 - updated_at: 1704903452 + created_at: 1706115020 + updated_at: 1706115024 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '146' + id: '275' part_type: comment body: "

    Comment for message

    " - created_at: 1704903449 - updated_at: 1704903449 + created_at: 1706115020 + updated_at: 1706115020 author: - id: 659ec3196abd01535c2234c6 + id: 65b13fcc6abd01156cec846d type: user name: Joe Bloggs email: joe@bloggs.com attachments: [] redacted: false - type: ticket_part - id: '147' + id: '276' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903452 - updated_at: 1704903452 + created_at: 1706115024 + updated_at: 1706115024 author: - id: '991268605' + id: '991270666' type: bot name: Operator - email: operator+this_is_an_id381_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id380_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 2 @@ -6204,7 +6228,7 @@ paths: Bad request: value: type: error.list - request_id: 5370f6d2-b1c2-4d09-8d6b-e43a57ed3d23 + request_id: eb4c5144-38a7-4857-b171-98d38579c93a errors: - code: parameter_invalid message: Ticket type is not a customer ticket type @@ -6219,11 +6243,239 @@ paths: successful: summary: successful value: - ticket_type_id: '72' + ticket_type_id: '215' bad_request: summary: Bad request value: - ticket_type_id: '73' + ticket_type_id: '216' + "/custom_object_instances/{custom_object_type_identifier}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + post: + summary: create_or_update object_instance + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Create or update a custom object instance + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + type: error.list + request_id: ec58bffb-9ebb-40d7-99e7-d4246e5276a1 + errors: + - code: intercom_version_invalid + message: Requested resource is not available in current API + version + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: 5bcac3e1-ac3a-4e24-b539-516e0db7f6a0 + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/create_or_update_custom_object_instance_request" + examples: + successful: + summary: successful + value: + external_id: '123' + external_created_at: 1392036272 + external_updated_at: 1392036272 + get: + summary: show object_instance + parameters: + - name: fetch_custom_object_instance_request + in: query + style: form + required: true + schema: + type: object + oneOf: + - description: The Intercom defined id representing the custom object instance. + title: Find by id + properties: + id: + type: string + required: + - id + additionalProperties: false + - description: The unique identifier for the instance in the external system + it originated from. + title: Find by external_id + properties: + external_id: + type: string + required: + - external_id + additionalProperties: false + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by external_id + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + type: error.list + request_id: 2d0b5822-6e71-4421-81eb-ff77411e77a1 + errors: + - code: intercom_version_invalid + message: Requested resource is not available in current API + version + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: 30ac406b-505c-46f4-bf67-b4f2211f51f6 + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + "/custom_object_instances/{custom_object_type_identifier}/{id}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + get: + summary: show object_instance + parameters: + - name: id + in: path + description: The id or external_id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by id + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + type: error.list + request_id: 5bf589e1-7615-4753-85b7-8df2c4d62786 + errors: + - code: intercom_version_invalid + message: Requested resource is not available in current API + version + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: f7eef194-7825-4a57-9412-2ea129c76a6a + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" + delete: + summary: delete object_instance + parameters: + - name: id + in: path + description: The Intercom id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Deleting a single Custom Object instance. + responses: + '200': + description: successful + content: + application/json: + examples: + successful: + value: + type: error.list + request_id: cc1585f0-c6db-479d-90eb-e0fa1c8e6000 + errors: + - code: intercom_version_invalid + message: Requested resource is not available in current API + version + schema: + "$ref": "#/components/schemas/custom_object_instance_deleted" + '401': + description: Unauthorized + content: + application/json: + examples: + Unauthorized: + value: + type: error.list + request_id: 0cae3542-95ae-454e-9ce5-3e3a98408293 + errors: + - code: unauthorized + message: Access Token Invalid + schema: + "$ref": "#/components/schemas/error" "/data_attributes": get: summary: List all data attributes @@ -6393,7 +6645,7 @@ paths: custom: false archived: false model: company - - id: 113 + - id: 130 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6405,9 +6657,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268613' - created_at: 1704903455 - updated_at: 1704903455 + admin_id: '991270683' + created_at: 1706115031 + updated_at: 1706115031 model: company - type: data_attribute name: id @@ -6474,7 +6726,7 @@ paths: Unauthorized: value: type: error.list - request_id: d63b7d26-e7aa-48f9-a257-ac7b96ab6927 + request_id: b4be4db4-1879-4672-9665-d3af90c3468d errors: - code: unauthorized message: Access Token Invalid @@ -6499,7 +6751,7 @@ paths: examples: Successful: value: - id: 116 + id: 133 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6509,9 +6761,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268615' - created_at: 1704903456 - updated_at: 1704903456 + admin_id: '991270685' + created_at: 1706115032 + updated_at: 1706115032 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6523,7 +6775,7 @@ paths: Same name already exists: value: type: error.list - request_id: ea4a8b36-6a6f-4a87-a383-dd36d10a3651 + request_id: afe35956-df8e-4ad1-b769-fd6b7acbaa69 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6531,7 +6783,7 @@ paths: Invalid name: value: type: error.list - request_id: dcf7c0e0-4a0a-4977-bb74-b524438bb28f + request_id: e4c076f3-3c90-411f-abde-6d8857726352 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6539,7 +6791,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 9bd6e2e7-724a-4661-aa6e-cf3891208d20 + request_id: 984ad4cc-2a94-46e9-b4fe-c96f36521b56 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6547,14 +6799,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: b01f4c9d-c020-4461-a15f-d82c65db888c + request_id: 5b9537da-fec7-4fa3-8440-cb9aa6e248fc errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: f759fb8f-bc10-4427-abc1-9d3838cdecbb + request_id: c6525c8f-6b90-424f-8973-fc1738b42e1a errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6569,7 +6821,7 @@ paths: Unauthorized: value: type: error.list - request_id: 237af7d8-b4f5-4064-8c4b-30be30ed30ae + request_id: 58bd1085-feee-4e2d-ba76-c0c99dcbc97b errors: - code: unauthorized message: Access Token Invalid @@ -6648,7 +6900,7 @@ paths: examples: Successful: value: - id: 123 + id: 140 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6662,9 +6914,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268622' - created_at: 1704903459 - updated_at: 1704903459 + admin_id: '991270692' + created_at: 1706115034 + updated_at: 1706115035 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6676,7 +6928,7 @@ paths: Too few options in list: value: type: error.list - request_id: 91c64990-dbd7-4462-a49b-cb59744ea154 + request_id: ae8ea76d-5fc9-4695-9ab4-0cceeb6414b4 errors: - code: parameter_invalid message: Options isn't an array @@ -6690,7 +6942,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 33f5de8c-3878-4797-b0ab-1d2fa373cfa5 + request_id: e8de8a02-1bba-432f-9242-1a11a5411f3d errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6704,7 +6956,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 50c33dc7-532c-454f-90ac-37ad802b62c8 + request_id: 1ec3163c-ffe1-4ac0-b671-0e53b3575a0b errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6719,7 +6971,7 @@ paths: Unauthorized: value: type: error.list - request_id: f5a1a5d9-fc95-44ad-99a4-79aad8bca889 + request_id: 3156ec08-dbf9-4fd3-ad68-848ce01bf6c6 errors: - code: unauthorized message: Access Token Invalid @@ -6838,7 +7090,7 @@ paths: Unauthorized: value: type: error.list - request_id: 723b92af-b79e-4512-a8ca-ecf5b997c8c2 + request_id: 96eb9b24-9214-4077-a89c-74d03b6ba9ba errors: - code: unauthorized message: Access Token Invalid @@ -6924,8 +7176,8 @@ paths: events: [] pages: next: http://api.intercom.test/events?next page - email: user24@email.com - intercom_user_id: 659ec32c6abd01535c2234dc + email: user26@email.com + intercom_user_id: 65b13fde6abd01156cec8473 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6937,7 +7189,7 @@ paths: Unauthorized: value: type: error.list - request_id: 43c525b2-fa57-4593-9695-e196776a169d + request_id: 6915f80a-4881-4245-9d3f-98341003d1af errors: - code: unauthorized message: Access Token Invalid @@ -6968,7 +7220,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9f5f7745-1e66-4195-bff9-eb43b8192de4 + request_id: 31db162d-b463-4c37-a30c-5ca7420303f6 errors: - code: unauthorized message: Access Token Invalid @@ -7012,7 +7264,7 @@ paths: examples: successful: value: - job_identifier: 86exkvb6mas0i1uv + job_identifier: 15yhgwu5h1znhvnv status: pending download_url: '' download_expires_at: '' @@ -7027,8 +7279,8 @@ paths: successful: summary: successful value: - created_at_after: 1704885469 - created_at_before: 1704903469 + created_at_after: 1706097040 + created_at_before: 1706115040 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -7062,7 +7314,7 @@ paths: examples: successful: value: - job_identifier: tw2utjkozhhdyelq + job_identifier: ey38uzivrd5fmf9e status: pending download_url: '' download_expires_at: '' @@ -7094,7 +7346,7 @@ paths: examples: successful: value: - job_identifier: m37o4vxn7s96zeuf + job_identifier: 3oc27etsets8603i status: canceled download_url: '' download_expires_at: '' @@ -7155,32 +7407,32 @@ paths: user message created: value: type: user_message - id: '403918532' - created_at: 1704903496 + id: '403918802' + created_at: 1706115042 body: heyy message_type: inapp - conversation_id: '796' + conversation_id: '1272' lead message created: value: type: user_message - id: '403918533' - created_at: 1704903497 + id: '403918803' + created_at: 1706115043 body: heyy message_type: inapp - conversation_id: '797' + conversation_id: '1273' admin message created: value: type: admin_message - id: '40' - created_at: 1704903498 + id: '45' + created_at: 1706115045 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991268656' - name: Ciaran248 Lee - email: admin248@email.com + id: '991270715' + name: Ciaran258 Lee + email: admin258@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7193,14 +7445,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 8c8ca5b8-5b83-4f7c-8825-abac1d0f869c + request_id: a64f9b69-4e59-4982-a88e-7dea91f11c42 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 73d86d90-8516-49ba-9387-9b078c469067 + request_id: 58fe663c-07f0-4ef0-8d03-27efa8379c63 errors: - code: parameter_invalid message: Body is required @@ -7214,7 +7466,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 3bb0e304-352e-46fb-994a-419880dd7ce8 + request_id: 6696377e-7bde-4689-8d1a-ef9b1eadee04 errors: - code: parameter_not_found message: No subject supplied for email message @@ -7228,7 +7480,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0f37b79c-d7f8-4b17-b900-205d57bafcbe + request_id: 399710c4-28db-4bc9-998a-42cb87e987ae errors: - code: unauthorized message: Access Token Invalid @@ -7242,7 +7494,7 @@ paths: API plan restricted: value: type: error.list - request_id: d6a6d344-a4d6-4184-bbc2-99b27631b1ef + request_id: 0dab12ac-d909-480b-9b22-baeef30d883c errors: - code: api_plan_restricted message: Active subscription needed. @@ -7259,7 +7511,7 @@ paths: value: from: type: user - id: 659ec3486abd01535c223531 + id: 65b13fe26abd01156cec8478 body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7267,7 +7519,7 @@ paths: value: from: type: lead - id: 659ec3496abd01535c223532 + id: 65b13fe36abd01156cec8479 body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7275,10 +7527,10 @@ paths: value: from: type: admin - id: '991268656' + id: '991270715' to: type: user - id: 659ec34a6abd01535c223533 + id: 65b13fe46abd01156cec847a message_type: conversation body: heyy no_body_supplied_for_message: @@ -7286,10 +7538,10 @@ paths: value: from: type: admin - id: '991268658' + id: '991270717' to: type: user - id: 659ec34b6abd01535c223534 + id: 65b13fe56abd01156cec847b message_type: inapp body: subject: heyy @@ -7298,7 +7550,7 @@ paths: value: from: type: admin - id: '991268659' + id: '991270718' to: type: user user_id: '70' @@ -7309,10 +7561,10 @@ paths: value: from: type: admin - id: '991268660' + id: '991270719' to: type: user - id: 659ec34c6abd01535c223536 + id: 65b13fe66abd01156cec847d message_type: email body: subject: heyy @@ -7343,12 +7595,12 @@ paths: total_pages: 1 type: pages data: - - id: '57' + - id: '113' type: news-item - workspace_id: this_is_an_id453_that_should_be_at_least_ + workspace_id: this_is_an_id470_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268665 + sender_id: 991270724 state: draft labels: [] cover_image_url: @@ -7358,15 +7610,15 @@ paths: - - deliver_silently: false - created_at: 1704903502 - updated_at: 1704903502 + created_at: 1706115047 + updated_at: 1706115047 newsfeed_assignments: [] - - id: '58' + - id: '114' type: news-item - workspace_id: this_is_an_id453_that_should_be_at_least_ + workspace_id: this_is_an_id470_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268667 + sender_id: 991270726 state: draft labels: [] cover_image_url: @@ -7376,8 +7628,8 @@ paths: - - deliver_silently: false - created_at: 1704903502 - updated_at: 1704903502 + created_at: 1706115047 + updated_at: 1706115047 newsfeed_assignments: [] total_count: 2 schema: @@ -7390,7 +7642,7 @@ paths: Unauthorized: value: type: error.list - request_id: c7a25ea3-25bd-4b56-98c9-23e4e5ef4bcc + request_id: bc332f01-510a-4ef0-851c-8b9dc4caec99 errors: - code: unauthorized message: Access Token Invalid @@ -7415,12 +7667,12 @@ paths: examples: successful: value: - id: '61' + id: '117' type: news-item - workspace_id: this_is_an_id457_that_should_be_at_least_ + workspace_id: this_is_an_id474_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991268674 + sender_id: 991270733 state: live labels: - New @@ -7431,10 +7683,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1704903504 - updated_at: 1704903504 + created_at: 1706115049 + updated_at: 1706115049 newsfeed_assignments: - - newsfeed_id: 103 + - newsfeed_id: 203 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7446,7 +7698,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3597b54d-8f96-43af-a3e5-00d890707de4 + request_id: 696b999a-6935-4437-ab8b-d4ed0c4fcc61 errors: - code: unauthorized message: Access Token Invalid @@ -7467,14 +7719,14 @@ paths: - Product - Update - New - sender_id: 991268674 + sender_id: 991270733 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 103 + - newsfeed_id: 203 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7503,12 +7755,12 @@ paths: examples: successful: value: - id: '62' + id: '118' type: news-item - workspace_id: this_is_an_id461_that_should_be_at_least_ + workspace_id: this_is_an_id478_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268677 + sender_id: 991270736 state: live labels: [] cover_image_url: @@ -7518,11 +7770,11 @@ paths: - - deliver_silently: false - created_at: 1704903505 - updated_at: 1704903505 + created_at: 1706115050 + updated_at: 1706115050 newsfeed_assignments: - - newsfeed_id: 105 - published_at: 1704903505 + - newsfeed_id: 205 + published_at: 1706115050 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7533,7 +7785,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 92ecda54-5996-4208-9f66-2800fda20b60 + request_id: 9e399718-74be-4fc4-9d7e-4981b082e9ce errors: - code: not_found message: Resource Not Found @@ -7547,7 +7799,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2b4129b8-09a4-4019-aebc-532e6eca5e98 + request_id: 25b8857c-7476-4d3e-b9df-c56cc20e80c8 errors: - code: unauthorized message: Access Token Invalid @@ -7578,12 +7830,12 @@ paths: examples: successful: value: - id: '65' + id: '121' type: news-item - workspace_id: this_is_an_id467_that_should_be_at_least_ + workspace_id: this_is_an_id484_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268685 + sender_id: 991270744 state: live labels: [] cover_image_url: @@ -7591,8 +7843,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1704903506 - updated_at: 1704903506 + created_at: 1706115052 + updated_at: 1706115052 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7604,7 +7856,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 6269c052-125a-4e15-b539-b58a2cfeaa70 + request_id: fcb6646b-46a7-449f-b2fd-7869ced0fc28 errors: - code: not_found message: Resource Not Found @@ -7618,7 +7870,7 @@ paths: Unauthorized: value: type: error.list - request_id: c772ab7f-ea30-4e24-b213-ae44020a8f88 + request_id: cba9d8dd-d8fd-4689-bf6f-928220a90693 errors: - code: unauthorized message: Access Token Invalid @@ -7635,7 +7887,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268685 + sender_id: 991270744 reactions: - "\U0001F61D" - "\U0001F602" @@ -7644,7 +7896,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268688 + sender_id: 991270747 reactions: - "\U0001F61D" - "\U0001F602" @@ -7674,7 +7926,7 @@ paths: examples: successful: value: - id: '68' + id: '124' object: news-item deleted: true schema: @@ -7687,7 +7939,7 @@ paths: News Item Not Found: value: type: error.list - request_id: eafc60ea-ac45-4723-9ca3-8c0ff31ab33d + request_id: '0880ce9e-72a3-4152-8f98-0f64abb0a650' errors: - code: not_found message: Resource Not Found @@ -7701,7 +7953,7 @@ paths: Unauthorized: value: type: error.list - request_id: e4826fca-7a2d-491e-b060-b9663ab2feaf + request_id: 4a8ea5f8-b490-40b3-b574-240f6011b52a errors: - code: unauthorized message: Access Token Invalid @@ -7754,7 +8006,7 @@ paths: Unauthorized: value: type: error.list - request_id: 98b6a4ae-6f50-42e1-b958-c4685febd5c7 + request_id: 030f4426-1e58-46ea-86f1-65b5e9681897 errors: - code: unauthorized message: Access Token Invalid @@ -7787,16 +8039,16 @@ paths: total_pages: 1 type: pages data: - - id: '118' + - id: '218' type: newsfeed name: Visitor Feed - created_at: 1704903510 - updated_at: 1704903510 - - id: '119' + created_at: 1706115056 + updated_at: 1706115056 + - id: '219' type: newsfeed name: Visitor Feed - created_at: 1704903510 - updated_at: 1704903510 + created_at: 1706115056 + updated_at: 1706115056 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7808,7 +8060,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6e613f58-5bc8-466e-87f7-f7e0eb3d0ddd + request_id: 9832aadc-9adc-411e-8252-54ba04562eea errors: - code: unauthorized message: Access Token Invalid @@ -7842,11 +8094,11 @@ paths: examples: successful: value: - id: '122' + id: '222' type: newsfeed name: Visitor Feed - created_at: 1704903511 - updated_at: 1704903511 + created_at: 1706115057 + updated_at: 1706115057 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7857,7 +8109,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22f7e633-2234-4686-ba76-e96aeb8f3999 + request_id: d731f0e7-33aa-4b4b-83c2-c0d3248629df errors: - code: unauthorized message: Access Token Invalid @@ -7891,16 +8143,16 @@ paths: Note found: value: type: note - id: '123' - created_at: 1704212315 + id: '115' + created_at: 1705423857 contact: type: contact - id: 659ec35b6abd01535c223541 + id: 65b13ff16abd01156cec8480 author: type: admin - id: '991268704' - name: Ciaran295 Lee - email: admin295@email.com + id: '991270763' + name: Ciaran305 Lee + email: admin305@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7914,7 +8166,7 @@ paths: Note not found: value: type: error.list - request_id: f751e12d-bc72-49e0-8bba-87960265a9be + request_id: 5d18b1c9-6916-451b-abda-5795beb81dd9 errors: - code: not_found message: Resource Not Found @@ -7928,7 +8180,7 @@ paths: Unauthorized: value: type: error.list - request_id: 65d57943-1d9b-413d-aa80-9a4c0a4de36e + request_id: 13dc6d10-6a22-4a2d-a640-7a7c520bc804 errors: - code: unauthorized message: Access Token Invalid @@ -7964,16 +8216,16 @@ paths: type: segment.list segments: - type: segment - id: 659ec35e6abd01535c223548 + id: 65b13ff36abd01156cec8483 name: John segment - created_at: 1704903518 - updated_at: 1704903518 + created_at: 1706115059 + updated_at: 1706115059 person_type: user - type: segment - id: 659ec35e6abd01535c223549 + id: 65b13ff36abd01156cec8484 name: Jane segment - created_at: 1704903518 - updated_at: 1704903518 + created_at: 1706115059 + updated_at: 1706115059 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7985,7 +8237,7 @@ paths: Unauthorized: value: type: error.list - request_id: da37977a-befc-4010-92e6-9142965f2838 + request_id: 38e8bce5-efe7-43aa-a7a5-de2d7ea8c9a5 errors: - code: unauthorized message: Access Token Invalid @@ -8019,10 +8271,10 @@ paths: Successful response: value: type: segment - id: 659ec35f6abd01535c22354c + id: 65b13ff46abd01156cec8487 name: John segment - created_at: 1704903519 - updated_at: 1704903519 + created_at: 1706115060 + updated_at: 1706115060 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -8034,7 +8286,7 @@ paths: Segment not found: value: type: error.list - request_id: ae53ca1d-47d9-47b3-a230-59ef3375544b + request_id: 61cac415-3788-409e-aae8-52dc26992165 errors: - code: not_found message: Resource Not Found @@ -8048,7 +8300,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2db1398e-ab0a-444e-83f8-8ff5fae11bc1 + request_id: 2968bf90-2f56-494c-bfae-05fcfd5b2f7a errors: - code: unauthorized message: Access Token Invalid @@ -8078,7 +8330,7 @@ paths: type: list data: - type: subscription - id: '272' + id: '413' state: live consent_type: opt_out default_translation: @@ -8101,7 +8353,7 @@ paths: Unauthorized: value: type: error.list - request_id: f515be17-b048-4411-ac6d-836245d9c651 + request_id: 591c3363-1e8f-40dc-80ce-3ef75de25ee1 errors: - code: unauthorized message: Access Token Invalid @@ -8131,7 +8383,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/0df6f175-fce2-4d35-989b-38b4b3896c5d + url: http://via.intercom.io/msgr/a892df6c-2eb4-4d2a-ba56-eade89a8d257 type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8164,7 +8416,7 @@ paths: Unauthorized: value: type: error.list - request_id: f58ce2fc-0597-40a9-b382-b56ad7136b9f + request_id: 226f3263-6f71-403c-8d01-facb94e62600 errors: - code: unauthorized message: Access Token Invalid @@ -8227,7 +8479,7 @@ paths: type: list data: - type: tag - id: '233' + id: '361' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8239,7 +8491,7 @@ paths: Unauthorized: value: type: error.list - request_id: c1f67f4c-dba3-4ea1-8708-948385aea56c + request_id: 7b03cb71-bcb5-4b6f-a32f-831d8fc93c7f errors: - code: unauthorized message: Access Token Invalid @@ -8278,7 +8530,7 @@ paths: Action successful: value: type: tag - id: '236' + id: '364' name: test schema: "$ref": "#/components/schemas/tag" @@ -8290,7 +8542,7 @@ paths: Invalid parameters: value: type: error.list - request_id: 566120e4-3faa-41e4-831d-18b15f25ab67 + request_id: 6a06122f-acf3-4d79-8dd4-62b9bd061579 errors: - code: parameter_invalid message: invalid tag parameters @@ -8304,14 +8556,14 @@ paths: Company not found: value: type: error.list - request_id: 4ca1e09e-2426-4afd-b28e-37aa6aecd5ae + request_id: a869abfa-7a16-421c-988d-5cc6dd201181 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 6c97a5be-1b94-4482-990b-9f1691b538b0 + request_id: 3f08d4f9-ebc1-4b74-8941-472eae203c85 errors: - code: not_found message: User Not Found @@ -8325,7 +8577,7 @@ paths: Unauthorized: value: type: error.list - request_id: e7252229-2232-49d8-909c-40af2df07e33 + request_id: c8bfa461-c8e9-48d3-935a-9bfce29313be errors: - code: unauthorized message: Access Token Invalid @@ -8391,7 +8643,7 @@ paths: Tag found: value: type: tag - id: '244' + id: '372' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8403,7 +8655,7 @@ paths: Tag not found: value: type: error.list - request_id: 4b634d31-4872-4596-a204-7aeb4fdaceee + request_id: f5e45259-0832-424a-adf2-26f08f723732 errors: - code: not_found message: Resource Not Found @@ -8417,7 +8669,7 @@ paths: Unauthorized: value: type: error.list - request_id: 42de1ba1-7948-48ae-960a-9d08e6994bc7 + request_id: 1144f39f-8810-48f5-8700-05bc7e28164e errors: - code: unauthorized message: Access Token Invalid @@ -8453,7 +8705,7 @@ paths: Resource not found: value: type: error.list - request_id: f2a31e6c-a632-4d32-a48f-e5201e0b559b + request_id: be2a38d9-63d7-4807-9263-a95a15a5ed8b errors: - code: not_found message: Resource Not Found @@ -8467,7 +8719,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 896c0b3b-9dab-4ba9-923a-f49185c8d089 + request_id: a2e75d54-0043-49f6-8d1c-ec1109d53219 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8482,7 +8734,7 @@ paths: Unauthorized: value: type: error.list - request_id: dc83d712-9e7d-4f68-8d43-52ff9437abbc + request_id: 7349736e-609c-4496-8f43-9e7ee98eda38 errors: - code: unauthorized message: Access Token Invalid @@ -8520,7 +8772,7 @@ paths: Unauthorized: value: type: error.list - request_id: 69fb4a8d-5dc6-43ea-9652-b988056bd60d + request_id: 4db349b5-7f73-41f2-a5b2-9cc835fdb048 errors: - code: unauthorized message: Access Token Invalid @@ -8555,7 +8807,7 @@ paths: successful: value: type: team - id: '991268748' + id: '991270801' name: team 1 admin_ids: [] schema: @@ -8568,7 +8820,7 @@ paths: Team not found: value: type: error.list - request_id: aced07c9-581b-4244-83e6-07a9af2df17e + request_id: 9e3e4103-04e4-4e1a-baf4-41c59d89075b errors: - code: team_not_found message: Team not found @@ -8582,7 +8834,7 @@ paths: Unauthorized: value: type: error.list - request_id: 11a434de-96ed-4d6d-97b3-6a657cceecb1 + request_id: 3a42760a-42d9-4128-9b95-fcd3aabd0a1f errors: - code: unauthorized message: Access Token Invalid @@ -8615,8 +8867,8 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '191' - workspace_id: this_is_an_id559_that_should_be_at_least_ + id: '449' + workspace_id: this_is_an_id576_that_should_be_at_least_ name: Attribute Title description: Attribute Description data_type: string @@ -8628,10 +8880,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 74 + ticket_type_id: 217 archived: false - created_at: 1704903538 - updated_at: 1704903538 + created_at: 1706115075 + updated_at: 1706115075 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8642,7 +8894,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6c7ebe32-755d-4e07-86df-7fa926b4a433 + request_id: 94a225c5-4fc5-45ff-9bad-85f0868e6cbc errors: - code: unauthorized message: Access Token Invalid @@ -8695,8 +8947,8 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '192' - workspace_id: this_is_an_id563_that_should_be_at_least_ + id: '450' + workspace_id: this_is_an_id580_that_should_be_at_least_ name: name description: New Attribute Description data_type: string @@ -8706,10 +8958,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 76 + ticket_type_id: 219 archived: false - created_at: 1704903539 - updated_at: 1704903539 + created_at: 1706115076 + updated_at: 1706115076 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8720,7 +8972,7 @@ paths: Unauthorized: value: type: error.list - request_id: bf035ced-c3d1-4b26-9e4d-190528c88d52 + request_id: 1ea2a83d-7ea9-486e-9d35-f6a897a3f4e3 errors: - code: unauthorized message: Access Token Invalid @@ -8759,21 +9011,21 @@ paths: type: list data: - type: ticket_type - id: '78' + id: '221' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id567_that_should_be_at_least_ + workspace_id: this_is_an_id584_that_should_be_at_least_ archived: false - created_at: 1704903540 - updated_at: 1704903540 + created_at: 1706115077 + updated_at: 1706115077 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '193' - workspace_id: this_is_an_id567_that_should_be_at_least_ + id: '451' + workspace_id: this_is_an_id584_that_should_be_at_least_ name: name description: description data_type: string @@ -8784,10 +9036,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 78 + ticket_type_id: 221 archived: false - created_at: 1704903540 - updated_at: 1704903540 + created_at: 1706115077 + updated_at: 1706115077 category: Customer schema: "$ref": "#/components/schemas/ticket_type_list" @@ -8799,7 +9051,7 @@ paths: Unauthorized: value: type: error.list - request_id: 24bd46fb-8bec-4b00-9c6d-7d2d5867a4f1 + request_id: ceba1584-6045-4384-8dd3-d98a3986b92a errors: - code: unauthorized message: Access Token Invalid @@ -8828,14 +9080,14 @@ paths: Ticket type created: value: type: ticket_type - id: '81' + id: '224' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id571_that_should_be_at_least_ + workspace_id: this_is_an_id588_that_should_be_at_least_ archived: false - created_at: 1704903541 - updated_at: 1704903541 + created_at: 1706115078 + updated_at: 1706115078 is_internal: false ticket_type_attributes: type: list @@ -8851,7 +9103,7 @@ paths: Unauthorized: value: type: error.list - request_id: 972710e6-086e-4954-8a16-27c5b479c1b5 + request_id: 7e5d1e73-4457-4ef2-be03-63a64ad0dec2 errors: - code: unauthorized message: Access Token Invalid @@ -8897,21 +9149,21 @@ paths: Ticket type found: value: type: ticket_type - id: '83' + id: '226' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id575_that_should_be_at_least_ + workspace_id: this_is_an_id592_that_should_be_at_least_ archived: false - created_at: 1704903542 - updated_at: 1704903542 + created_at: 1706115079 + updated_at: 1706115079 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '197' - workspace_id: this_is_an_id575_that_should_be_at_least_ + id: '455' + workspace_id: this_is_an_id592_that_should_be_at_least_ name: name description: description data_type: string @@ -8922,10 +9174,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 83 + ticket_type_id: 226 archived: false - created_at: 1704903542 - updated_at: 1704903542 + created_at: 1706115079 + updated_at: 1706115079 category: Customer schema: "$ref": "#/components/schemas/ticket_type" @@ -8937,7 +9189,7 @@ paths: Unauthorized: value: type: error.list - request_id: fb11155d-673f-4724-9588-6bc63438c77c + request_id: c4837ffa-50bd-4152-b964-5a63116ad0bd errors: - code: unauthorized message: Access Token Invalid @@ -8970,21 +9222,21 @@ paths: Ticket type updated: value: type: ticket_type - id: '85' + id: '228' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id579_that_should_be_at_least_ + workspace_id: this_is_an_id596_that_should_be_at_least_ archived: false - created_at: 1704903542 - updated_at: 1704903543 + created_at: 1706115080 + updated_at: 1706115080 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '199' - workspace_id: this_is_an_id579_that_should_be_at_least_ + id: '457' + workspace_id: this_is_an_id596_that_should_be_at_least_ name: name description: description data_type: string @@ -8995,10 +9247,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 85 + ticket_type_id: 228 archived: false - created_at: 1704903542 - updated_at: 1704903542 + created_at: 1706115080 + updated_at: 1706115080 category: Customer schema: "$ref": "#/components/schemas/ticket_type" @@ -9010,7 +9262,7 @@ paths: Unauthorized: value: type: error.list - request_id: c3cfae69-fab7-42ce-bfb0-2e96ac652c12 + request_id: 2736eb03-cf0f-4f80-87dc-324232d4e869 errors: - code: unauthorized message: Access Token Invalid @@ -9056,22 +9308,22 @@ paths: User reply: value: type: ticket_part - id: '150' + id: '279' part_type: comment body: "

    Thanks again :)

    " - created_at: 1704903545 - updated_at: 1704903545 + created_at: 1706115083 + updated_at: 1706115083 author: - id: 659ec3796abd01535c22357b + id: 65b1400b6abd01156cec84aa type: user name: - email: user28@email.com + email: user30@email.com attachments: [] redacted: false Admin note reply: value: type: ticket_part - id: '152' + id: '281' part_type: note body: |-

    An Unordered HTML List

    @@ -9086,27 +9338,27 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704903548 - updated_at: 1704903548 + created_at: 1706115086 + updated_at: 1706115086 author: - id: '991268775' + id: '991270836' type: admin - name: Ciaran360 Lee - email: admin360@email.com + name: Ciaran364 Lee + email: admin364@email.com attachments: [] redacted: false Admin quick_reply reply: value: type: ticket_part - id: '154' + id: '283' part_type: quick_reply - created_at: 1704903550 - updated_at: 1704903550 + created_at: 1706115088 + updated_at: 1706115088 author: - id: '991268780' + id: '991270841' type: admin - name: Ciaran364 Lee - email: admin364@email.com + name: Ciaran368 Lee + email: admin368@email.com attachments: [] redacted: false schema: @@ -9119,7 +9371,7 @@ paths: Not found: value: type: error.list - request_id: 97039432-9201-433e-a0ec-6640650377d0 + request_id: b2eac3cb-2b2f-42e9-970f-a98d5031dd54 errors: - code: not_found message: Resource Not Found @@ -9133,7 +9385,7 @@ paths: Unauthorized: value: type: error.list - request_id: 55eb06a8-747b-4a3b-9454-cc9c2426d749 + request_id: 0ccaf287-d894-43cb-b99e-d3090b468562 errors: - code: unauthorized message: Access Token Invalid @@ -9150,14 +9402,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec3796abd01535c22357b + intercom_user_id: 65b1400b6abd01156cec84aa body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991268775 + admin_id: 991270836 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -9167,18 +9419,18 @@ paths: value: message_type: quick_reply type: admin - admin_id: 991268780 + admin_id: 991270841 reply_options: - text: 'Yes' - uuid: df4b250e-f84d-458a-b033-96a7a3461f74 + uuid: f70a9019-d237-45fc-bcf2-fadfff08e7fc - text: 'No' - uuid: 2b05e808-65d4-4160-9912-f887b176c6b5 + uuid: 22a2b095-8b1a-48b9-b3c7-e0eb20e94f48 not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ec37f6abd01535c22357e + intercom_user_id: 65b140116abd01156cec84ad body: Thanks again :) "/tickets/{ticket_id}/tags": post: @@ -9210,7 +9462,7 @@ paths: successful: value: type: tag - id: '252' + id: '380' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -9222,7 +9474,7 @@ paths: Ticket not found: value: type: error.list - request_id: fc5ae743-75df-47d9-bdce-894064b6f139 + request_id: 718c58ba-bc77-4ed8-bd89-61cecb4004bf errors: - code: ticket_not_found message: Ticket not found @@ -9236,7 +9488,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5a7e7018-18f6-4287-b0b3-69cc375c0682 + request_id: 5763f68b-fe51-4343-acee-914c3f4bd0b5 errors: - code: unauthorized message: Access Token Invalid @@ -9265,13 +9517,13 @@ paths: successful: summary: successful value: - id: 252 - admin_id: 991268790 + id: 380 + admin_id: 991270851 ticket_not_found: summary: Ticket not found value: - id: 253 - admin_id: 991268793 + id: 381 + admin_id: 991270854 "/tickets/{ticket_id}/tags/{id}": delete: summary: Remove tag from a ticket @@ -9309,7 +9561,7 @@ paths: successful: value: type: tag - id: '255' + id: '383' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -9321,14 +9573,14 @@ paths: Ticket not found: value: type: error.list - request_id: 14625274-9bef-46d9-a148-651b84e5d8ed + request_id: 9e677ce0-eb6c-4ecd-aac6-4ea73e089dc8 errors: - code: ticket_not_found message: Ticket not found Tag not found: value: type: error.list - request_id: fe9f8dd6-29b5-4b63-9d12-1f96063e30e2 + request_id: 46b4e2e4-be5a-4d0f-b5da-88186b64bd76 errors: - code: tag_not_found message: Tag not found @@ -9342,7 +9594,7 @@ paths: Unauthorized: value: type: error.list - request_id: 83cf554b-c6ba-493b-8fa7-87470e1fc30d + request_id: 01b936ac-e519-47bf-a7ca-8bef0775c1e1 errors: - code: unauthorized message: Access Token Invalid @@ -9365,15 +9617,15 @@ paths: successful: summary: successful value: - admin_id: 991268799 + admin_id: 991270860 ticket_not_found: summary: Ticket not found value: - admin_id: 991268802 + admin_id: 991270863 tag_not_found: summary: Tag not found value: - admin_id: 991268805 + admin_id: 991270866 "/tickets": post: summary: Create a ticket @@ -9395,30 +9647,30 @@ paths: Successful response: value: type: ticket - id: '809' - ticket_id: '18' + id: '1285' + ticket_id: '55' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '99' + id: '242' name: my-ticket-type-15 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id607_that_should_be_at_least_ + workspace_id: this_is_an_id624_that_should_be_at_least_ archived: false - created_at: 1704903564 - updated_at: 1704903564 + created_at: 1706115104 + updated_at: 1706115104 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '209' - workspace_id: this_is_an_id607_that_should_be_at_least_ - name: title + id: '467' + workspace_id: this_is_an_id624_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9428,14 +9680,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 99 + ticket_type_id: 242 archived: false - created_at: 1704903564 - updated_at: 1704903564 + created_at: 1706115104 + updated_at: 1706115104 - type: ticket_type_attribute - id: '210' - workspace_id: this_is_an_id607_that_should_be_at_least_ - name: description + id: '468' + workspace_id: this_is_an_id624_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9445,36 +9697,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 99 + ticket_type_id: 242 archived: false - created_at: 1704903564 - updated_at: 1704903564 + created_at: 1706115104 + updated_at: 1706115104 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec38c6abd01535c223586 + id: 65b140206abd01156cec84b5 external_id: '70' admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903565 - updated_at: 1704903565 + created_at: 1706115104 + updated_at: 1706115105 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '155' + id: '284' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903565 - updated_at: 1704903565 + created_at: 1706115105 + updated_at: 1706115105 author: - id: '991268817' + id: '991270878' type: bot name: Operator - email: operator+this_is_an_id607_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id624_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 1 @@ -9496,7 +9748,7 @@ paths: Unauthorized: value: type: error.list - request_id: 865eb5ae-7f7d-4785-9b2c-f920923305f6 + request_id: 92e98178-af2d-4bd9-8415-706848739701 errors: - code: unauthorized message: Access Token Invalid @@ -9511,12 +9763,12 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 99 + ticket_type_id: 242 contacts: - - id: 659ec38c6abd01535c223586 + - id: 65b140206abd01156cec84b5 ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem "/tickets/{id}": put: summary: Update a ticket @@ -9544,30 +9796,30 @@ paths: Successful response: value: type: ticket - id: '810' - ticket_id: '19' + id: '1286' + ticket_id: '56' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '101' + id: '244' name: my-ticket-type-17 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id611_that_should_be_at_least_ + workspace_id: this_is_an_id628_that_should_be_at_least_ archived: false - created_at: 1704903566 - updated_at: 1704903566 + created_at: 1706115106 + updated_at: 1706115106 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '214' - workspace_id: this_is_an_id611_that_should_be_at_least_ - name: title + id: '472' + workspace_id: this_is_an_id628_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9577,14 +9829,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 101 + ticket_type_id: 244 archived: false - created_at: 1704903566 - updated_at: 1704903566 + created_at: 1706115106 + updated_at: 1706115106 - type: ticket_type_attribute - id: '215' - workspace_id: this_is_an_id611_that_should_be_at_least_ - name: description + id: '473' + workspace_id: this_is_an_id628_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9594,106 +9846,106 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 101 + ticket_type_id: 244 archived: false - created_at: 1704903566 - updated_at: 1704903566 + created_at: 1706115106 + updated_at: 1706115106 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec38e6abd01535c223587 - external_id: 25cd6dfa-0b1f-4964-a65b-22e6fb3a5d18 - admin_assignee_id: '991268831' + id: 65b140226abd01156cec84b6 + external_id: c6516c93-9230-45b8-8fdf-e0c77fdccc9d + admin_assignee_id: '991270892' team_assignee_id: '0' - created_at: 1704903566 - updated_at: 1704903569 + created_at: 1706115106 + updated_at: 1706115109 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '156' + id: '285' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903567 - updated_at: 1704903567 + created_at: 1706115107 + updated_at: 1706115107 author: - id: '991268829' + id: '991270890' type: admin - name: Ciaran404 Lee - email: admin404@email.com + name: Ciaran408 Lee + email: admin408@email.com attachments: [] redacted: false - type: ticket_part - id: '157' + id: '286' part_type: ticket_attribute_updated_by_admin - created_at: 1704903568 - updated_at: 1704903568 + created_at: 1706115108 + updated_at: 1706115108 author: - id: '991268830' + id: '991270891' type: bot name: Operator - email: operator+this_is_an_id611_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id628_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '158' + id: '287' part_type: ticket_attribute_updated_by_admin - created_at: 1704903568 - updated_at: 1704903568 + created_at: 1706115108 + updated_at: 1706115108 author: - id: '991268830' + id: '991270891' type: bot name: Operator - email: operator+this_is_an_id611_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id628_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '159' + id: '288' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1704903568 - updated_at: 1704903568 + created_at: 1706115108 + updated_at: 1706115108 author: - id: '991268830' + id: '991270891' type: bot name: Operator - email: operator+this_is_an_id611_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id628_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '160' + id: '289' part_type: assignment - created_at: 1704903569 - updated_at: 1704903569 + created_at: 1706115109 + updated_at: 1706115109 assigned_to: type: admin - id: '991268831' + id: '991270892' author: - id: '991268829' + id: '991270890' type: admin - name: Ciaran404 Lee - email: admin404@email.com + name: Ciaran408 Lee + email: admin408@email.com attachments: [] redacted: false - type: ticket_part - id: '161' + id: '290' part_type: snoozed - created_at: 1704903569 - updated_at: 1704903569 + created_at: 1706115109 + updated_at: 1706115109 author: - id: '991268830' + id: '991270891' type: bot name: Operator - email: operator+this_is_an_id611_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id628_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 6 open: true - snoozed_until: 1704992400 + snoozed_until: 1706202000 linked_objects: type: list data: [] @@ -9711,14 +9963,14 @@ paths: Admin not found: value: type: error.list - request_id: 299bf775-026a-40b9-bb4e-56b137122e49 + request_id: 00dc2bcb-9870-4528-a6fb-bce3091ab8ac errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: 3b6c3854-c285-46dc-bdb3-715d6a24c0fe + request_id: 4f31fe3b-f1b8-4bcb-8487-4466e1c80fc6 errors: - code: assignee_not_found message: Assignee not found @@ -9730,7 +9982,7 @@ paths: Unauthorized: value: type: error.list - request_id: a3139c77-df96-47c0-ab4a-bfc347e65668 + request_id: 750263f7-6f67-46ae-be02-9c94d7d1299b errors: - code: unauthorized message: Access Token Invalid @@ -9746,33 +9998,33 @@ paths: summary: Successful response value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991268829' - assignee_id: '991268831' + admin_id: '991270890' + assignee_id: '991270892' open: true snoozed_until: 1673609604 admin_not_found: summary: Admin not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: admin_id: '123' - assignee_id: '991268839' + assignee_id: '991270900' assignee_not_found: summary: Assignee not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991268845' + admin_id: '991270906' assignee_id: '456' get: summary: Retrieve a ticket @@ -9800,30 +10052,30 @@ paths: Ticket found: value: type: ticket - id: '813' - ticket_id: '22' + id: '1289' + ticket_id: '59' ticket_attributes: - title: attribute_value - description: + _default_title_: attribute_value + _default_description_: ticket_state: submitted ticket_type: type: ticket_type - id: '105' + id: '248' name: my-ticket-type-21 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id619_that_should_be_at_least_ + workspace_id: this_is_an_id636_that_should_be_at_least_ archived: false - created_at: 1704903575 - updated_at: 1704903575 + created_at: 1706115115 + updated_at: 1706115115 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '225' - workspace_id: this_is_an_id619_that_should_be_at_least_ - name: title + id: '483' + workspace_id: this_is_an_id636_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9833,14 +10085,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 105 + ticket_type_id: 248 archived: false - created_at: 1704903575 - updated_at: 1704903575 + created_at: 1706115115 + updated_at: 1706115115 - type: ticket_type_attribute - id: '226' - workspace_id: this_is_an_id619_that_should_be_at_least_ - name: description + id: '484' + workspace_id: this_is_an_id636_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9850,36 +10102,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 105 + ticket_type_id: 248 archived: false - created_at: 1704903575 - updated_at: 1704903575 + created_at: 1706115115 + updated_at: 1706115115 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec3976abd01535c22358a - external_id: 966a9711-673f-40e6-b705-7a57b0d196c2 + id: 65b1402b6abd01156cec84b9 + external_id: 74ffeeb8-e809-4bd9-8de1-f557cb34a370 admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903575 - updated_at: 1704903575 + created_at: 1706115115 + updated_at: 1706115116 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '164' + id: '293' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903575 - updated_at: 1704903575 + created_at: 1706115116 + updated_at: 1706115116 author: - id: '991268858' + id: '991270919' type: admin - name: Ciaran430 Lee - email: admin430@email.com + name: Ciaran434 Lee + email: admin434@email.com attachments: [] redacted: false total_count: 1 @@ -9901,7 +10153,7 @@ paths: Unauthorized: value: type: error.list - request_id: c3c357e1-1009-4036-9ce8-92eda82d6686 + request_id: ce66d07c-5029-404e-af90-52680e12052d errors: - code: unauthorized message: Access Token Invalid @@ -9918,37 +10170,40 @@ paths: "$ref": "#/components/schemas/intercom_version" tags: - Tickets - description: "You can search for multiple tickets by the value of their attributes - in order to fetch exactly which ones you want.\n\nTo search for tickets, you - send a POST request to https://api.intercom.io/tickets/search. This will accept - a query object in the body which will define your filters.\n\n> \U0001F6A7 - Nesting & Limitations\n>\n> You can nest these filters in order to get even - more granular insights that pinpoint exactly what you need. Example: (1 OR - 2) AND (3 OR 4).\n> There are some limitations to the amount of multiples - there can be:\n> - There's a limit of max 2 nested filters\n> - There's a - limit of max 15 filters for each AND or OR group\n\n### Accepted Fields\n\nMost - keys listed as part of the Ticket model are searchable, whether writeable - or not. The value you search for has to match the accepted type, otherwise - the query will fail (ie. as `created_at` accepts a date, the `value` cannot - be a string such as `\"foobar\"`).\n\n| Field | - Type |\n| - :---------------------------------------- | :--------------------------------------------------------------------------------------- - |\n| id | String |\n| - created_at | Date (UNIX timestamp) |\n| - updated_at | Date (UNIX timestamp) |\n| - title | String |\n| - description | String |\n| - category | String |\n| - ticket_type_id | String |\n| - contact_ids | String |\n| - teammate_ids | String |\n| - admin_assignee_id | String |\n| - team_assignee_id | String |\n| - open | Boolean |\n| - state | String |\n| - snoozed_until | Date (UNIX timestamp) |\n| - ticket_attribute.{id} | String or Boolean or Date (UNIX - timestamp) or Float or Integer |\n\n" + description: |+ + You can search for multiple tickets by the value of their attributes in order to fetch exactly which ones you want. + + To search for tickets, you send a POST request to https://api.intercom.io/tickets/search. This will accept a query object in the body which will define your filters. + + **Nesting & Limitations** + + You can nest these filters in order to get even more granular insights that pinpoint exactly what you need. Example: (1 OR 2) AND (3 OR 4). + There are some limitations to the amount of multiples there can be: + - There's a limit of max 2 nested filters + - There's a limit of max 15 filters for each AND or OR group + + ### Accepted Fields + + Most keys listed as part of the Ticket model are searchable, whether writeable or not. The value you search for has to match the accepted type, otherwise the query will fail (ie. as `created_at` accepts a date, the `value` cannot be a string such as `"foobar"`). + + | Field | Type | + | :---------------------------------------- | :--------------------------------------------------------------------------------------- | + | id | String | + | created_at | Date (UNIX timestamp) | + | updated_at | Date (UNIX timestamp) | + | title | String | + | description | String | + | category | String | + | ticket_type_id | String | + | contact_ids | String | + | teammate_ids | String | + | admin_assignee_id | String | + | team_assignee_id | String | + | open | Boolean | + | state | String | + | snoozed_until | Date (UNIX timestamp) | + | ticket_attribute.{id} | String or Boolean or Date (UNIX timestamp) or Float or Integer | + responses: '200': description: successful @@ -9966,30 +10221,30 @@ paths: total_count: 1 tickets: - type: ticket - id: '814' - ticket_id: '23' + id: '1290' + ticket_id: '60' ticket_attributes: - title: attribute_value - description: + _default_title_: attribute_value + _default_description_: ticket_state: submitted ticket_type: type: ticket_type - id: '107' + id: '250' name: my-ticket-type-23 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id623_that_should_be_at_least_ + workspace_id: this_is_an_id640_that_should_be_at_least_ archived: false - created_at: 1704903577 - updated_at: 1704903577 + created_at: 1706115118 + updated_at: 1706115118 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '230' - workspace_id: this_is_an_id623_that_should_be_at_least_ - name: title + id: '488' + workspace_id: this_is_an_id640_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9999,14 +10254,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 107 + ticket_type_id: 250 archived: false - created_at: 1704903577 - updated_at: 1704903577 + created_at: 1706115118 + updated_at: 1706115118 - type: ticket_type_attribute - id: '231' - workspace_id: this_is_an_id623_that_should_be_at_least_ - name: description + id: '489' + workspace_id: this_is_an_id640_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -10016,36 +10271,36 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 107 + ticket_type_id: 250 archived: false - created_at: 1704903577 - updated_at: 1704903577 + created_at: 1706115118 + updated_at: 1706115118 category: Back-office contacts: type: contact.list contacts: - type: contact - id: 659ec39a6abd01535c22358b - external_id: 2832a34f-3f96-4a33-80f6-aa4103a6751f + id: 65b1402e6abd01156cec84ba + external_id: de040216-1b66-4685-9288-81150f307354 admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903578 - updated_at: 1704903578 + created_at: 1706115118 + updated_at: 1706115119 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '165' + id: '294' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903578 - updated_at: 1704903578 + created_at: 1706115119 + updated_at: 1706115119 author: - id: '991268871' + id: '991270932' type: admin - name: Ciaran442 Lee - email: admin442@email.com + name: Ciaran446 Lee + email: admin446@email.com attachments: [] redacted: false total_count: 1 @@ -10073,15 +10328,15 @@ paths: value: - field: id operator: "=" - value: '814' + value: '1290' - operator: OR value: - field: id operator: "=" - value: '814' + value: '1290' - field: id operator: "=" - value: '814' + value: '1290' "/visitors": put: summary: Update a visitor @@ -10108,26 +10363,26 @@ paths: successful: value: type: visitor - id: 659ec3bd6abd01535c223678 + id: 65b140306abd01156cec84bd user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Charcoal Camel + pseudonym: Lime Cat avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/charcoal-camel.png - app_id: this_is_an_id627_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/lime-cat.png + app_id: this_is_an_id644_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903613 - remote_created_at: 1704903613 - signed_up_at: 1704903613 - updated_at: 1704903614 + created_at: 1706115120 + remote_created_at: 1706115120 + signed_up_at: 1706115120 + updated_at: 1706115121 session_count: 0 social_profiles: type: social_profile.list @@ -10160,7 +10415,7 @@ paths: visitor Not Found: value: type: error.list - request_id: a44fe8f8-69ac-4934-9c5b-bd6ff6b03e0f + request_id: 226a50b0-350e-429b-8315-acfe2c950f8a errors: - code: not_found message: Visitor Not Found @@ -10174,7 +10429,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2055d8a2-aeb1-48a5-867f-b71ac7cf578c + request_id: 4cbb455b-0c58-4aee-afe4-9843050925c4 errors: - code: unauthorized message: Access Token Invalid @@ -10189,7 +10444,7 @@ paths: successful: summary: successful value: - id: 659ec3bd6abd01535c223678 + id: 65b140306abd01156cec84bd name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -10222,7 +10477,7 @@ paths: successful: value: type: visitor - id: 659ec3bf6abd01535c22367e + id: 65b140326abd01156cec84c3 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -10232,16 +10487,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id633_that_should_be_at_least_ + app_id: this_is_an_id650_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903615 - remote_created_at: 1704903615 - signed_up_at: 1704903615 - updated_at: 1704903615 + created_at: 1706115122 + remote_created_at: 1706115122 + signed_up_at: 1706115122 + updated_at: 1706115122 session_count: 0 social_profiles: type: social_profile.list @@ -10274,7 +10529,7 @@ paths: Visitor not found: value: type: error.list - request_id: 29bdd211-042c-4224-bb18-b57b6c21e4bc + request_id: be781a29-5ee6-410a-a634-6b6f1c0d04f9 errors: - code: not_found message: Visitor Not Found @@ -10288,7 +10543,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8a3fea3e-a42b-45e0-81a8-0ceb7b4c554b + request_id: 7ddbd402-ce38-4d20-991e-5966ed0cfab5 errors: - code: unauthorized message: Access Token Invalid @@ -10322,7 +10577,7 @@ paths: successful: value: type: visitor - id: 659ec3c06abd01535c223684 + id: 65b140336abd01156cec84c9 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -10332,16 +10587,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id639_that_should_be_at_least_ + app_id: this_is_an_id656_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903617 - remote_created_at: 1704903616 - signed_up_at: 1704903616 - updated_at: 1704903617 + created_at: 1706115123 + remote_created_at: 1706115123 + signed_up_at: 1706115123 + updated_at: 1706115123 session_count: 0 social_profiles: type: social_profile.list @@ -10374,7 +10629,7 @@ paths: Visitor not found: value: type: error.list - request_id: 2294ddc1-6fb3-4ec6-9d49-8bef0f507a2a + request_id: b2f1ea44-4b18-423f-a61e-9b84b8bc712a errors: - code: not_found message: Visitor Not Found @@ -10388,7 +10643,7 @@ paths: Unauthorized: value: type: error.list - request_id: 94a163c2-727c-4524-861a-70ed79684f8e + request_id: e067d5ed-9fc1-4736-b065-2ffbbc512763 errors: - code: unauthorized message: Access Token Invalid @@ -10421,7 +10676,7 @@ paths: successful: value: type: visitor - id: 659ec3c26abd01535c22368a + id: 65b140356abd01156cec84cf user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -10431,16 +10686,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id645_that_should_be_at_least_ + app_id: this_is_an_id662_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903618 - remote_created_at: 1704903618 - signed_up_at: 1704903618 - updated_at: 1704903618 + created_at: 1706115125 + remote_created_at: 1706115125 + signed_up_at: 1706115125 + updated_at: 1706115125 session_count: 0 social_profiles: type: social_profile.list @@ -10473,7 +10728,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: e08e9492-df21-4b2a-ac88-81b582e3b05e + request_id: be9db515-0223-4256-bf4b-f56fe4786b31 errors: - code: not_found message: User Not Found @@ -10487,7 +10742,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8f11e3b6-e2db-4995-aee7-778c67974827 + request_id: ef53f1b9-1bf6-4ca6-9225-ff85e597bfa9 errors: - code: unauthorized message: Access Token Invalid @@ -10518,8 +10773,8 @@ paths: successful: value: type: contact - id: 659ec3c36abd01535c223691 - workspace_id: this_is_an_id651_that_should_be_at_least_ + id: 65b140376abd01156cec84d6 + workspace_id: this_is_an_id668_that_should_be_at_least_ external_id: role: user email: foo@bar.com @@ -10533,9 +10788,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903619 - updated_at: 1704903620 - signed_up_at: 1704903619 + created_at: 1706115127 + updated_at: 1706115127 + signed_up_at: 1706115126 last_seen_at: last_replied_at: last_contacted_at: @@ -10569,31 +10824,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec3c36abd01535c223691/tags" + url: "/contacts/65b140376abd01156cec84d6/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec3c36abd01535c223691/notes" + url: "/contacts/65b140376abd01156cec84d6/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec3c36abd01535c223691/companies" + url: "/contacts/65b140376abd01156cec84d6/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec3c36abd01535c223691/subscriptions" + url: "/contacts/65b140376abd01156cec84d6/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec3c36abd01535c223691/subscriptions" + url: "/contacts/65b140376abd01156cec84d6/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -10612,7 +10867,7 @@ paths: Unauthorized: value: type: error.list - request_id: '00990ff7-1294-44b2-9e44-9ac627eff447' + request_id: 9420dec6-8975-48a1-b090-447c2027c2bb errors: - code: unauthorized message: Access Token Invalid @@ -13826,30 +14081,6 @@ components: anyOf: - type: string - "$ref": "#/components/schemas/custom_object_instance" - custom_object_instance: - title: Custom Object Instance - type: object - nullable: true - description: An instance of a Custom Object Type. - properties: - id: - type: string - description: The Intercom defined id representing the custom object instance. - example: 5a7a19e9f59ae20001d1c1e6 - external_id: - type: string - description: The id you have defined for the custom object instance. - example: 0001d1c1e65a7a19e9f59ae2 - type: - type: string - description: The identifier of the custom object type that defines the structure - of the custom object instance. - example: Order - custom_attributes: - type: object - description: The custom attributes you have set on the custom object instance. - additionalProperties: - type: string customer_request: type: object nullable: true @@ -15914,7 +16145,7 @@ components: - ticket_part.list example: ticket_part.list ticket_parts: - title: Tickt Parts + title: Ticket Parts type: array description: A list of Ticket Part objects for each ticket. There is a limit of 500 parts. diff --git a/descriptions/2.7/api.intercom.io.yaml b/descriptions/2.7/api.intercom.io.yaml index ab9bbcd..0c91cd4 100644 --- a/descriptions/2.7/api.intercom.io.yaml +++ b/descriptions/2.7/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991266804' + id: '991268865' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1704902030 + created_at: 1706113177 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991266805' + id: '991268866' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: fd61d6f2-3866-4df3-8005-a7ebe665a132 + request_id: ef647b27-eca6-4707-b622-ca987cbb2255 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: c8ff73c2-4779-471c-8d99-6cf85ae4c0db + request_id: 55f7f74b-7663-401c-902e-4f06e3ae380d errors: - code: unauthorized message: Access Token Invalid @@ -201,23 +201,23 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: a867bd38-3e48-4ed0-8d21-7d054af6f0cb + - id: d701d90a-dc4f-48de-8404-919702b57db2 performed_by: type: admin - id: '991266809' + id: '991268870' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1704902035 + created_at: 1706113183 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. - - id: da958499-bed7-411e-8a34-f3b235ef18da + - id: 37f7451a-b48e-4994-b52c-ca708f3d7651 performed_by: type: admin - id: '991266809' + id: '991268870' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -226,7 +226,7 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1704902035 + created_at: 1706113183 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: e848851c-ed7b-4cc0-836d-9048176e82e3 + request_id: f0a964f7-f358-4214-9bad-dfd89926c5ef errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991266812' + id: '991268872' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 29ddb6ba-cf80-4cdc-93d2-77559bdf78c6 + request_id: 8d61453c-1b69-45a0-91de-9551ace1da1a errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991266814' + id: '991268874' 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: 5999609d-9e4c-4b70-ab37-49732393201a + request_id: 49ed467b-dd81-4d37-bb65-0669229df224 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9f76b065-f3d5-41ee-b636-9a00a76907f9 + request_id: f63ed340-eb09-4e4e-99d5-ba9cb52e9c6c errors: - code: unauthorized message: Access Token Invalid @@ -390,20 +390,20 @@ paths: total_pages: 1 total_count: 1 data: - - id: '35' + - id: '90' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 145 + parent_id: 359 parent_type: collection parent_ids: [] title: This is the article title description: '' body: '' - author_id: 991266817 + author_id: 991268877 state: published - created_at: 1704902040 - updated_at: 1704902040 - url: http://help-center.test/myapp-22/en/articles/35-this-is-the-article-title + created_at: 1706113187 + updated_at: 1706113187 + url: http://help-center.test/myapp-22/en/articles/90-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -414,7 +414,7 @@ paths: Unauthorized: value: type: error.list - request_id: 78ebd356-53c8-4878-b843-60f6cdf89b2e + request_id: 38552192-b209-43d0-a61a-b8f2c324be83 errors: - code: unauthorized message: Access Token Invalid @@ -439,10 +439,10 @@ paths: examples: article created: value: - id: '38' + id: '93' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 147 + parent_id: 361 parent_type: collection parent_ids: [] statistics: @@ -456,11 +456,11 @@ paths: title: Thanks for everything description: Description of the Article body:

    Body of the Article

    - author_id: 991266822 + author_id: 991268882 state: published - created_at: 1704902043 - updated_at: 1704902043 - url: http://help-center.test/myapp-26/en/articles/38-thanks-for-everything + created_at: 1706113189 + updated_at: 1706113189 + url: http://help-center.test/myapp-26/en/articles/93-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -471,7 +471,7 @@ paths: Bad Request: value: type: error.list - request_id: 58b2ba12-0b13-4f59-a849-268ec1411b53 + request_id: 4b11daa8-39c7-4149-b926-559d225856f0 errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -486,7 +486,7 @@ paths: Unauthorized: value: type: error.list - request_id: bb13e39a-fc45-48f2-9c63-e31f7462a2f3 + request_id: 20856b3d-cf03-42e6-a071-88b057975b75 errors: - code: unauthorized message: Access Token Invalid @@ -504,16 +504,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991266822 + author_id: 991268882 state: published - parent_id: 147 + parent_id: 361 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991266822 + author_id: 991268882 state: published bad_request: summary: Bad Request @@ -550,10 +550,10 @@ paths: examples: Article found: value: - id: '41' + id: '96' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 150 + parent_id: 364 parent_type: collection parent_ids: [] statistics: @@ -567,11 +567,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991266827 + author_id: 991268887 state: published - created_at: 1704902044 - updated_at: 1704902044 - url: http://help-center.test/myapp-32/en/articles/41-this-is-the-article-title + created_at: 1706113190 + updated_at: 1706113190 + url: http://help-center.test/myapp-32/en/articles/96-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -582,7 +582,7 @@ paths: Article not found: value: type: error.list - request_id: 717c585c-f012-4651-9d10-51000e74f779 + request_id: d8e6d4a8-4489-4a58-bd46-fab462d8693f errors: - code: not_found message: Resource Not Found @@ -596,7 +596,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3e61d05e-0859-4d81-b70b-52f94af663f2 + request_id: bfde0348-1078-4b4e-9ced-b4f7aff030e9 errors: - code: unauthorized message: Access Token Invalid @@ -629,10 +629,10 @@ paths: examples: successful: value: - id: '44' + id: '99' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 153 + parent_id: 367 parent_type: collection parent_ids: [] statistics: @@ -646,11 +646,11 @@ paths: title: Christmas is here! description: '' body:

    New gifts in store for the jolly season

    - author_id: 991266833 + author_id: 991268893 state: published - created_at: 1704902046 - updated_at: 1704902047 - url: http://help-center.test/myapp-38/en/articles/44-christmas-is-here + created_at: 1706113193 + updated_at: 1706113193 + url: http://help-center.test/myapp-38/en/articles/99-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -661,7 +661,7 @@ paths: Article Not Found: value: type: error.list - request_id: dd2a3f60-2ea9-4d8f-a906-dbc4ca48a93b + request_id: 2a1e2b6a-7240-4ece-a1b0-fab0463434d4 errors: - code: not_found message: Resource Not Found @@ -675,7 +675,7 @@ paths: Unauthorized: value: type: error.list - request_id: bb28cd69-a65c-41ab-8fbd-464216515ac0 + request_id: 959c28a0-cfbc-4482-99c3-2394bf4e3f6d errors: - code: unauthorized message: Access Token Invalid @@ -723,7 +723,7 @@ paths: examples: successful: value: - id: '47' + id: '102' object: article deleted: true schema: @@ -736,7 +736,7 @@ paths: Article Not Found: value: type: error.list - request_id: c9d24d88-dbe5-4834-bf81-91bfd49c955a + request_id: cbfbf7e6-af21-46a2-bd7b-36f89ee9f2ae errors: - code: not_found message: Resource Not Found @@ -750,7 +750,7 @@ paths: Unauthorized: value: type: error.list - request_id: 540fb2e7-d2e5-4a5a-8676-727d641ed1ca + request_id: 95156771-8a5c-4c49-aa70-533c473d4f90 errors: - code: unauthorized message: Access Token Invalid @@ -783,16 +783,16 @@ paths: value: type: list data: - - id: '161' + - id: '375' workspace_id: this_is_an_id52_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-52/collection-17 order: 17 - created_at: 1704902052 - updated_at: 1704902052 + created_at: 1706113197 + updated_at: 1706113197 description: english collection description icon: bookmark - help_center_id: 89 + help_center_id: 187 type: collection total_count: 1 pages: @@ -810,7 +810,7 @@ paths: Unauthorized: value: type: error.list - request_id: 971e9132-44a2-4c70-84b4-7b6fd860250b + request_id: acb10319-8d99-4a3f-862c-c09150f1e685 errors: - code: unauthorized message: Access Token Invalid @@ -835,16 +835,16 @@ paths: examples: collection created: value: - id: '167' + id: '381' workspace_id: this_is_an_id56_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-56/ order: 1 - created_at: 1704902053 - updated_at: 1704902053 + created_at: 1706113199 + updated_at: 1706113199 description: '' icon: book-bookmark - help_center_id: 91 + help_center_id: 189 type: collection schema: "$ref": "#/components/schemas/collection" @@ -856,7 +856,7 @@ paths: Bad Request: value: type: error.list - request_id: b898504e-6b31-41f7-8148-e10bbf18aeb6 + request_id: da612256-8842-48ec-9871-8663989c4934 errors: - code: parameter_not_found message: Name is a required parameter. @@ -870,7 +870,7 @@ paths: Unauthorized: value: type: error.list - request_id: a8197143-88b1-45c6-8b51-791b36a1c9f3 + request_id: cf7f9194-485e-450f-b106-e716396ca83e errors: - code: unauthorized message: Access Token Invalid @@ -918,16 +918,16 @@ paths: examples: Collection found: value: - id: '172' + id: '386' workspace_id: this_is_an_id62_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-62/collection-22 order: 22 - created_at: 1704902054 - updated_at: 1704902054 + created_at: 1706113200 + updated_at: 1706113200 description: english collection description icon: bookmark - help_center_id: 94 + help_center_id: 192 type: collection schema: "$ref": "#/components/schemas/collection" @@ -939,7 +939,7 @@ paths: Collection not found: value: type: error.list - request_id: 4f247b54-8d61-4bd6-80a7-9098ab03690b + request_id: 14243b48-7e69-4037-9386-ebd6da5f3b0d errors: - code: not_found message: Resource Not Found @@ -953,7 +953,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a711724-1dff-41c7-8d96-38da0af27909 + request_id: c8416151-ce6a-4d11-bfe4-e42f7512a618 errors: - code: unauthorized message: Access Token Invalid @@ -986,16 +986,16 @@ paths: examples: successful: value: - id: '178' + id: '392' workspace_id: this_is_an_id68_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-68/collection-25 order: 25 - created_at: 1704902055 - updated_at: 1704902056 + created_at: 1706113201 + updated_at: 1706113201 description: english collection description icon: folder - help_center_id: 97 + help_center_id: 195 type: collection schema: "$ref": "#/components/schemas/collection" @@ -1007,7 +1007,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 39a9cc9f-fcce-47df-b840-44102619ac89 + request_id: 90833b9c-d4ce-4881-b1fc-2cf7d9830f80 errors: - code: not_found message: Resource Not Found @@ -1021,7 +1021,7 @@ paths: Unauthorized: value: type: error.list - request_id: 718d0a73-da23-4d6f-952c-93aac510f299 + request_id: 2ad19d99-671a-4374-a28d-168dd3831ef8 errors: - code: unauthorized message: Access Token Invalid @@ -1068,7 +1068,7 @@ paths: examples: successful: value: - id: '184' + id: '398' object: collection deleted: true schema: @@ -1081,7 +1081,7 @@ paths: collection Not Found: value: type: error.list - request_id: 1422f356-2b36-426b-91be-2381d6de2946 + request_id: abaa82d9-209d-4d49-aaba-3888690a1190 errors: - code: not_found message: Resource Not Found @@ -1095,7 +1095,7 @@ paths: Unauthorized: value: type: error.list - request_id: '09edef48-f100-4089-b64a-8f0b3573fb8a' + request_id: 65c87a63-8308-4c52-bf34-236f6937ca2f errors: - code: unauthorized message: Access Token Invalid @@ -1129,10 +1129,10 @@ paths: examples: Collection found: value: - id: '103' + id: '201' workspace_id: this_is_an_id80_that_should_be_at_least_4 - created_at: 1704902058 - updated_at: 1704902058 + created_at: 1706113204 + updated_at: 1706113204 identifier: help-center-1 website_turned_on: false display_name: Intercom Help Center @@ -1146,7 +1146,7 @@ paths: Collection not found: value: type: error.list - request_id: 26466774-7d70-467d-9e79-6f3ca2626e86 + request_id: b9481132-9590-4a11-bf47-5cea2e86f1aa errors: - code: not_found message: Resource Not Found @@ -1160,7 +1160,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2a92d52d-417c-4ebb-ae0b-2c39fee9236c + request_id: 329870da-afd1-4f94-af98-9f5decd68e6b errors: - code: unauthorized message: Access Token Invalid @@ -1198,7 +1198,7 @@ paths: Unauthorized: value: type: error.list - request_id: a4f397c7-dc1b-4fe7-9fa3-2e16a8a63df4 + request_id: 81569d2e-acbe-4d1b-bebf-fa4958862337 errors: - code: unauthorized message: Access Token Invalid @@ -1230,15 +1230,15 @@ paths: value: type: list data: - - id: '191' + - id: '405' workspace_id: this_is_an_id90_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-90/section-15 order: 15 - created_at: 1704902060 - updated_at: 1704902060 + created_at: 1706113205 + updated_at: 1706113205 type: section - parent_id: 190 + parent_id: 404 total_count: 1 pages: type: pages @@ -1255,7 +1255,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8e71f2d7-c35c-4c46-b726-8b0502b3da79 + request_id: 6b825e3c-6b94-4d0f-82b4-9d6fb10cf912 errors: - code: unauthorized message: Access Token Invalid @@ -1280,15 +1280,15 @@ paths: examples: section created: value: - id: '196' + id: '410' workspace_id: this_is_an_id94_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-94/ order: 1 - created_at: 1704902061 - updated_at: 1704902061 + created_at: 1706113206 + updated_at: 1706113206 type: section - parent_id: '194' + parent_id: '408' schema: "$ref": "#/components/schemas/section" '401': @@ -1299,7 +1299,7 @@ paths: Unauthorized: value: type: error.list - request_id: 96c04f84-2d1b-49ef-a143-a310e7fa2c73 + request_id: 45ba8277-fbf1-476c-beed-583a14a5dcc7 errors: - code: unauthorized message: Access Token Invalid @@ -1315,7 +1315,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 194 + parent_id: 408 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1344,15 +1344,15 @@ paths: examples: Section found: value: - id: '200' + id: '414' workspace_id: this_is_an_id98_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-98/section-19 order: 19 - created_at: 1704902062 - updated_at: 1704902062 + created_at: 1706113207 + updated_at: 1706113207 type: section - parent_id: 199 + parent_id: 413 schema: "$ref": "#/components/schemas/section" '404': @@ -1363,7 +1363,7 @@ paths: Section not found: value: type: error.list - request_id: 749dd6db-963d-449f-9440-f81519db518d + request_id: f41f0c1c-b8d4-4064-a868-b9950d6f8e64 errors: - code: not_found message: Resource Not Found @@ -1377,7 +1377,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9ac6a917-a6bf-4319-b612-42320373f33d + request_id: 4917b4ea-0f44-4950-844a-e1bd906a58a0 errors: - code: unauthorized message: Access Token Invalid @@ -1410,15 +1410,15 @@ paths: examples: successful: value: - id: '206' + id: '420' workspace_id: this_is_an_id104_that_should_be_at_least_ name: Update section name url: http://help-center.test/myapp-104/section-22 order: 22 - created_at: 1704902063 - updated_at: 1704902063 + created_at: 1706113208 + updated_at: 1706113209 type: section - parent_id: '205' + parent_id: '419' schema: "$ref": "#/components/schemas/section" '404': @@ -1429,7 +1429,7 @@ paths: Section Not Found: value: type: error.list - request_id: 14fc29eb-a345-4f87-9269-939d3e40c664 + request_id: 29370342-1b98-4efd-838a-0784f6ff0cde errors: - code: not_found message: Resource Not Found @@ -1443,7 +1443,7 @@ paths: Unauthorized: value: type: error.list - request_id: e2bb8629-3b43-42f5-a32f-17608171aebd + request_id: 15c208c4-e949-4dd8-9a46-517d0ae15076 errors: - code: unauthorized message: Access Token Invalid @@ -1459,12 +1459,12 @@ paths: summary: successful value: name: Update section name - parent_id: 205 + parent_id: 419 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 207 + parent_id: 421 delete: summary: Delete a section parameters: @@ -1491,7 +1491,7 @@ paths: examples: successful: value: - id: '212' + id: '426' object: section deleted: true schema: @@ -1504,7 +1504,7 @@ paths: section Not Found: value: type: error.list - request_id: 860567b1-f63d-418b-900d-ae7cb7f29d4d + request_id: 94bac43d-e7f8-4aaf-8384-b861cbd8d0cc errors: - code: not_found message: Resource Not Found @@ -1518,7 +1518,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2b335f1b-8890-4bef-97f6-63ab11d07118 + request_id: 47735631-04fd-4d48-9436-1adb795ff84f errors: - code: unauthorized message: Access Token Invalid @@ -1551,12 +1551,12 @@ paths: value: type: company company_id: company_remote_id - id: 659ebdb56abd014d2275aab3 - app_id: this_is_an_id119_that_should_be_at_least_ + id: 65b138bc6abd01117c49437b + app_id: this_is_an_id116_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1704902069 - updated_at: 1704902069 + created_at: 1706113212 + updated_at: 1706113212 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1593,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 766d4202-ccc7-4797-a668-ecd796e75266 + request_id: 8388e207-bb84-4445-9522-12068f8fd381 errors: - code: unauthorized message: Access Token Invalid @@ -1667,11 +1667,18 @@ paths: tags: - Companies operationId: retrieveCompany - description: "You can fetch a single company by passing in `company_id` or `name`.\n\n - \ `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou - can fetch all companies and filter by `segment_id` or `tag_id` as a query - parameter.\n \n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n - \ `https://api.intercom.io/companies?segment_id={segment_id}`\n" + description: | + You can fetch a single company by passing in `company_id` or `name`. + + `https://api.intercom.io/companies?name={name}` + + `https://api.intercom.io/companies?company_id={company_id}` + + You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. + + `https://api.intercom.io/companies?tag_id={tag_id}` + + `https://api.intercom.io/companies?segment_id={segment_id}` responses: '200': description: Successful @@ -1684,12 +1691,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebdb76abd014d2275aabb - app_id: this_is_an_id125_that_should_be_at_least_ + id: 65b138bd6abd01117c494383 + app_id: this_is_an_id122_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902071 - created_at: 1704902071 - updated_at: 1704902071 + remote_created_at: 1706113213 + created_at: 1706113213 + updated_at: 1706113213 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1718,7 +1725,7 @@ paths: Company Not Found: value: type: error.list - request_id: 766e4eb0-49c9-40ec-bf4f-8d7c18aa8ad1 + request_id: 98a3cd41-b07c-496c-b9be-fc33c5b25ed9 errors: - code: company_not_found message: Company Not Found @@ -1732,7 +1739,7 @@ paths: Unauthorized: value: type: error.list - request_id: a3a5e579-8cec-467e-910a-1c444502ed02 + request_id: 5d4f31c2-9a80-42ae-bc4c-33cee5203bfb errors: - code: unauthorized message: Access Token Invalid @@ -1767,12 +1774,12 @@ paths: value: type: company company_id: '1' - id: 659ebdb96abd014d2275aac6 - app_id: this_is_an_id131_that_should_be_at_least_ - name: company2 - remote_created_at: 1704902073 - created_at: 1704902073 - updated_at: 1704902073 + id: 65b138bf6abd01117c49438e + app_id: this_is_an_id128_that_should_be_at_least_ + name: company1 + remote_created_at: 1706113215 + created_at: 1706113215 + updated_at: 1706113215 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1794,7 +1801,7 @@ paths: Company Not Found: value: type: error.list - request_id: 8ea14084-1fd2-41bb-ab85-74c0b3e75315 + request_id: 97efb7c5-87ef-4240-bd04-0233488af4b8 errors: - code: company_not_found message: Company Not Found @@ -1808,7 +1815,7 @@ paths: Unauthorized: value: type: error.list - request_id: beb0827b-e4ae-455c-93d0-25a5483f35bd + request_id: fac8ee4f-9baf-4601-9c8f-803b8c8dc5a1 errors: - code: unauthorized message: Access Token Invalid @@ -1842,12 +1849,12 @@ paths: value: type: company company_id: '1' - id: 659ebdba6abd014d2275aad0 - app_id: this_is_an_id137_that_should_be_at_least_ - name: company3 - remote_created_at: 1704902074 - created_at: 1704902074 - updated_at: 1704902074 + id: 65b138c16abd01117c494398 + app_id: this_is_an_id134_that_should_be_at_least_ + name: company2 + remote_created_at: 1706113217 + created_at: 1706113217 + updated_at: 1706113217 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1869,7 +1876,7 @@ paths: Company Not Found: value: type: error.list - request_id: fb277d15-5ed1-4dc5-a07c-57c4e19a579b + request_id: 9c7ed62b-9327-423d-a21f-75064ae2afb8 errors: - code: company_not_found message: Company Not Found @@ -1883,7 +1890,7 @@ paths: Unauthorized: value: type: error.list - request_id: 486cb645-2373-43b1-b080-dda15ba878d2 + request_id: 0d3e5b9b-4f1e-4df1-81f8-91818a2de903 errors: - code: unauthorized message: Access Token Invalid @@ -1915,7 +1922,7 @@ paths: examples: Successful: value: - id: 659ebdbc6abd014d2275aada + id: 65b138c26abd01117c4943a2 object: company deleted: true schema: @@ -1928,7 +1935,7 @@ paths: Company Not Found: value: type: error.list - request_id: f4a8d604-8b83-4a56-b9fb-55283c1702fd + request_id: 2ea6d3ba-fda7-4c4d-a03b-bacdd71a67e0 errors: - code: company_not_found message: Company Not Found @@ -1942,7 +1949,7 @@ paths: Unauthorized: value: type: error.list - request_id: dee7b4ba-5b57-4585-8444-37f3519c0af2 + request_id: e2928ca0-101c-4e24-bae6-b084049d1cad errors: - code: unauthorized message: Access Token Invalid @@ -1994,7 +2001,7 @@ paths: Company Not Found: value: type: error.list - request_id: 996b89f6-e028-4582-b62c-c0cfc9150408 + request_id: 7e93ce72-306e-4aaa-9641-008d727854b3 errors: - code: company_not_found message: Company Not Found @@ -2008,7 +2015,7 @@ paths: Unauthorized: value: type: error.list - request_id: 48c42b40-2c81-4aa3-a020-de13681ccedc + request_id: 7874ce60-fc7e-4c83-ac3c-27c0e954de70 errors: - code: unauthorized message: Access Token Invalid @@ -2053,7 +2060,7 @@ paths: Company Not Found: value: type: error.list - request_id: a9fb515f-e589-46e5-b8fe-9d3f4bbba377 + request_id: 50638e55-004f-421a-9d83-65aca7083810 errors: - code: company_not_found message: Company Not Found @@ -2067,7 +2074,7 @@ paths: Unauthorized: value: type: error.list - request_id: b9875bf6-7b48-4b9a-8d82-ed20f071fc3f + request_id: 9e1d6366-fb43-46e3-b176-15d1385b1d22 errors: - code: unauthorized message: Access Token Invalid @@ -2124,12 +2131,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebdc16abd014d2275aaf6 - app_id: this_is_an_id161_that_should_be_at_least_ + id: 65b138c86abd01117c4943be + app_id: this_is_an_id158_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902081 - created_at: 1704902081 - updated_at: 1704902081 + remote_created_at: 1706113224 + created_at: 1706113224 + updated_at: 1706113224 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2158,7 +2165,7 @@ paths: Unauthorized: value: type: error.list - request_id: be321df1-9d72-4207-9783-38a564329e0e + request_id: 26b73fe0-c600-4ee2-9798-2fdda6060f81 errors: - code: unauthorized message: Access Token Invalid @@ -2210,12 +2217,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebdc26abd014d2275aafc - app_id: this_is_an_id165_that_should_be_at_least_ + id: 65b138c96abd01117c4943c4 + app_id: this_is_an_id162_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902082 - created_at: 1704902082 - updated_at: 1704902082 + remote_created_at: 1706113225 + created_at: 1706113225 + updated_at: 1706113225 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2229,7 +2236,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 8daa68f3-f497-497a-bac1-791b4addf6d5 + scroll_param: a5a169e6-b970-412d-80f6-82d509bf4569 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2240,7 +2247,7 @@ paths: Unauthorized: value: type: error.list - request_id: e60053c3-3394-464d-b241-76d021717d1c + request_id: 1b25ace3-5860-49db-989c-d2b82410db94 errors: - code: unauthorized message: Access Token Invalid @@ -2275,12 +2282,12 @@ paths: value: type: company company_id: '1' - id: 659ebdc46abd014d2275ab05 - app_id: this_is_an_id169_that_should_be_at_least_ - name: company7 - remote_created_at: 1704902084 - created_at: 1704902084 - updated_at: 1704902084 + id: 65b138cb6abd01117c4943cd + app_id: this_is_an_id166_that_should_be_at_least_ + name: company6 + remote_created_at: 1706113227 + created_at: 1706113227 + updated_at: 1706113227 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2294,6 +2301,20 @@ paths: custom_attributes: {} schema: "$ref": "#/components/schemas/company" + '400': + description: Bad Request + content: + application/json: + examples: + Bad Request: + value: + type: error.list + request_id: 69a9dcae-b5b8-49db-b281-34db370ab127 + errors: + - code: parameter_not_found + message: company not specified + schema: + "$ref": "#/components/schemas/error" '404': description: Company Not Found content: @@ -2302,10 +2323,10 @@ paths: Company Not Found: value: type: error.list - request_id: b32b9242-49db-4068-b183-6f1b5e24e0e0 + request_id: 33c517ea-43c8-4da0-b250-49a73c2fa510 errors: - - code: not_found - message: User Not Found + - code: company_not_found + message: Company Not Found schema: "$ref": "#/components/schemas/error" '401': @@ -2316,7 +2337,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9f600a0a-0c9d-4ac4-8e30-f131cb16fa17 + request_id: 10fc0200-93c0-428b-9475-6d5125ba99ab errors: - code: unauthorized message: Access Token Invalid @@ -2339,11 +2360,14 @@ paths: successful: summary: Successful value: - id: 659ebdc46abd014d2275ab05 + id: 65b138cb6abd01117c4943cd + bad_request: + summary: Bad Request + value: company_not_found: summary: Company Not Found value: - id: 659ebdc56abd014d2275ab09 + id: '123' get: summary: List attached companies for contact parameters: @@ -2375,13 +2399,13 @@ paths: data: - type: company company_id: '1' - id: 659ebdd06abd014d2275ab37 - app_id: this_is_an_id183_that_should_be_at_least_ - name: company23 - remote_created_at: 1704902096 - created_at: 1704902096 - updated_at: 1704902096 - last_request_at: 1704729296 + id: 65b138d06abd01117c4943ee + app_id: this_is_an_id182_that_should_be_at_least_ + name: company12 + remote_created_at: 1706113232 + created_at: 1706113232 + updated_at: 1706113232 + last_request_at: 1705940432 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2410,7 +2434,7 @@ paths: Contact not found: value: type: error.list - request_id: eb5314e6-1c5d-4a80-aa4d-d535068b75df + request_id: 3a196180-9727-416d-9aa3-49e289729ed7 errors: - code: not_found message: User Not Found @@ -2424,7 +2448,7 @@ paths: Unauthorized: value: type: error.list - request_id: e5f409d5-dae8-4d20-845a-d001367b2a0b + request_id: 381003f8-4f48-4366-8b0d-945e0f835155 errors: - code: unauthorized message: Access Token Invalid @@ -2467,12 +2491,12 @@ paths: value: type: company company_id: '1' - id: 659ebdc66abd014d2275ab11 - app_id: this_is_an_id175_that_should_be_at_least_ - name: company10 - remote_created_at: 1704902086 - created_at: 1704902086 - updated_at: 1704902086 + id: 65b138cd6abd01117c4943dd + app_id: this_is_an_id174_that_should_be_at_least_ + name: company8 + remote_created_at: 1706113229 + created_at: 1706113229 + updated_at: 1706113230 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2494,14 +2518,14 @@ paths: Company Not Found: value: type: error.list - request_id: b3d025ee-426e-45fc-863f-e3237f6e39cb + request_id: f550366f-780b-444a-bb73-3eac832791e4 errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: c77107d7-bbdd-4083-902f-3b38d5e1c93c + request_id: d67d4a16-16d7-475e-9aeb-8186bf85d406 errors: - code: not_found message: User Not Found @@ -2515,7 +2539,7 @@ paths: Unauthorized: value: type: error.list - request_id: dad1c629-5b1f-4d40-82ec-389ca08d41e0 + request_id: bb070d93-db66-4920-9e0c-d61bfe674459 errors: - code: unauthorized message: Access Token Invalid @@ -2551,44 +2575,44 @@ paths: type: list data: - type: note - id: '36' - created_at: 1704297298 + id: '68' + created_at: 1705508434 contact: type: contact - id: 659ebdd26abd014d2275ab42 + id: 65b138d26abd01117c4943f9 author: type: admin - id: '991266914' - name: Ciaran109 Lee - email: admin109@email.com + id: '991268975' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '35' - created_at: 1704210898 + id: '67' + created_at: 1705422034 contact: type: contact - id: 659ebdd26abd014d2275ab42 + id: 65b138d26abd01117c4943f9 author: type: admin - id: '991266914' - name: Ciaran109 Lee - email: admin109@email.com + id: '991268975' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '34' - created_at: 1704210898 + id: '66' + created_at: 1705422034 contact: type: contact - id: 659ebdd26abd014d2275ab42 + id: 65b138d26abd01117c4943f9 author: type: admin - id: '991266914' - name: Ciaran109 Lee - email: admin109@email.com + id: '991268975' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2609,7 +2633,7 @@ paths: Contact not found: value: type: error.list - request_id: 9ce4ef5c-153e-4c05-b2bf-70a0e5fd7ee1 + request_id: '00079aa5-6b71-4d9c-9b12-e97840a46de8' errors: - code: not_found message: User Not Found @@ -2643,16 +2667,16 @@ paths: Successful response: value: type: note - id: '41' - created_at: 1704902099 + id: '73' + created_at: 1706113236 contact: type: contact - id: 659ebdd36abd014d2275ab44 + id: 65b138d36abd01117c4943fb author: type: admin - id: '991266916' - name: Ciaran111 Lee - email: admin111@email.com + id: '991268977' + name: Ciaran112 Lee + email: admin112@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2666,14 +2690,14 @@ paths: Admin not found: value: type: error.list - request_id: b3063acc-0c0d-4cb3-bd71-c44846459371 + request_id: b68c011c-9fc5-42e4-8800-c78c81eeacd1 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 317d1247-f1c4-4151-add5-865c9dbe093a + request_id: e8f65fd1-b70e-4bba-94e2-3821c3308697 errors: - code: not_found message: User Not Found @@ -2703,20 +2727,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 659ebdd36abd014d2275ab44 - admin_id: 991266916 + contact_id: 65b138d36abd01117c4943fb + admin_id: 991268977 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 659ebdd36abd014d2275ab45 + contact_id: 65b138d46abd01117c4943fc admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991266918 + admin_id: 991268979 body: Hello "/contacts/{contact_id}/segments": get: @@ -2749,10 +2773,10 @@ paths: type: list data: - type: segment - id: 659ebdd46abd014d2275ab47 + id: 65b138d56abd01117c4943fe name: segment - created_at: 1704902100 - updated_at: 1704902100 + created_at: 1706113237 + updated_at: 1706113237 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2764,7 +2788,7 @@ paths: Contact not found: value: type: error.list - request_id: 7eec073a-d0f6-469b-8749-dafbf14ed876 + request_id: 7eb1946d-ae9f-4625-82ef-0efe5e77e306 errors: - code: not_found message: User Not Found @@ -2778,7 +2802,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9c65fd2f-6ca3-424c-8f4c-3c989bbf4f6b + request_id: 289ccbb1-c4a1-4943-9f60-ddef206047c0 errors: - code: unauthorized message: Access Token Invalid @@ -2822,7 +2846,7 @@ paths: type: list data: - type: subscription - id: '90' + id: '231' state: live consent_type: opt_out default_translation: @@ -2836,7 +2860,7 @@ paths: content_types: - email - type: subscription - id: '92' + id: '233' state: live consent_type: opt_in default_translation: @@ -2859,7 +2883,7 @@ paths: Contact not found: value: type: error.list - request_id: e01a5647-e7f6-43fb-9b39-213e9aae1bf8 + request_id: e8ae6b0e-db82-4893-80dc-91344dbcd294 errors: - code: not_found message: User Not Found @@ -2873,7 +2897,7 @@ paths: Unauthorized: value: type: error.list - request_id: a5dd990a-207c-49c6-b5fd-18f4ecb52150 + request_id: 4f596870-cc3b-48fa-b4e1-51f6ce21d91b errors: - code: unauthorized message: Access Token Invalid @@ -2914,7 +2938,7 @@ paths: Successful: value: type: subscription - id: '105' + id: '246' state: live consent_type: opt_in default_translation: @@ -2937,14 +2961,14 @@ paths: Contact not found: value: type: error.list - request_id: 87f83cb2-9f8e-4cc1-8be9-71d1fe14baac + request_id: a78599c4-8f17-418c-b2a7-748f1633faae errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 58ea20fe-f3d8-4671-99e2-7918efe8c9c5 + request_id: 8520caf2-3243-454a-8358-74380880d38c errors: - code: not_found message: Resource Not Found @@ -2958,7 +2982,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5487aa99-9fd4-415b-950a-3355e84c123c + request_id: e658f1b2-31e8-42f9-84a0-da15a0fd3860 errors: - code: unauthorized message: Access Token Invalid @@ -2986,12 +3010,12 @@ paths: successful: summary: Successful value: - id: 105 + id: 246 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 109 + id: 250 consent_type: opt_in resource_not_found: summary: Resource not found @@ -3037,7 +3061,7 @@ paths: Successful: value: type: subscription - id: '121' + id: '262' state: live consent_type: opt_in default_translation: @@ -3060,14 +3084,14 @@ paths: Contact not found: value: type: error.list - request_id: 286d4ebe-8799-4d41-bfe5-7e23b339cdb6 + request_id: 57690884-62ea-477d-a13e-70a3c800213b errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 3dfc626d-0248-49ff-a9f0-da7f99df22c4 + request_id: b0a0ab2e-9475-4f6b-8f68-58e06ed85674 errors: - code: not_found message: Resource Not Found @@ -3081,7 +3105,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9fd08ae3-dce3-4720-ac64-f82a04fd199a + request_id: 48fbf6d1-d216-4b42-93eb-0053a916917c errors: - code: unauthorized message: Access Token Invalid @@ -3119,7 +3143,7 @@ paths: type: list data: - type: tag - id: '44' + id: '216' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3131,7 +3155,7 @@ paths: Contact not found: value: type: error.list - request_id: e541c95a-02a6-4a96-8103-97d1d1396e02 + request_id: 6c024a79-eefa-4d45-9f45-67b8c34a3fa3 errors: - code: not_found message: User Not Found @@ -3145,7 +3169,7 @@ paths: Unauthorized: value: type: error.list - request_id: fc0547bd-f5d2-4c23-833a-6f94a517108b + request_id: 58912e02-e1d9-44f8-bffe-9c5b60f5c4af errors: - code: unauthorized message: Access Token Invalid @@ -3180,7 +3204,7 @@ paths: successful: value: type: tag - id: '45' + id: '217' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3192,14 +3216,14 @@ paths: Contact not found: value: type: error.list - request_id: 5217f5a1-3529-4a45-93b7-fe7529395cba + request_id: 411fc397-f4d0-4e9c-bfc8-6eecf606da83 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 33dd2502-1527-4e6f-8ca8-d8cd19a90cc0 + request_id: 22e66fa5-76b9-417b-a813-124c3161183c errors: - code: not_found message: Resource Not Found @@ -3213,7 +3237,7 @@ paths: Unauthorized: value: type: error.list - request_id: 71420600-b78b-4067-b54d-63a7170d0e02 + request_id: 61eb2c71-9ebb-443c-9f11-9b22a8bf5a68 errors: - code: unauthorized message: Access Token Invalid @@ -3236,11 +3260,11 @@ paths: successful: summary: successful value: - id: 45 + id: 217 contact_not_found: summary: Contact not found value: - id: 46 + id: 218 tag_not_found: summary: Tag not found value: @@ -3282,7 +3306,7 @@ paths: successful: value: type: tag - id: '48' + id: '220' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3294,14 +3318,14 @@ paths: Contact not found: value: type: error.list - request_id: fe9adaa6-a972-4ecf-9855-5ec16714bec2 + request_id: 0f2443f0-9b1a-4fd3-bc93-cf104e55f50e errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 4d9528ce-de2c-4087-8d38-535ee518ecbb + request_id: 3c51b8a3-ad3a-4537-a925-f41935032873 errors: - code: not_found message: Resource Not Found @@ -3315,7 +3339,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8140748c-15e4-4e57-a875-3b65f038de51 + request_id: ac2334a0-7ca9-4f56-8be0-800470760443 errors: - code: unauthorized message: Access Token Invalid @@ -3349,8 +3373,8 @@ paths: successful: value: type: contact - id: 659ebde16abd014d2275ab5e - workspace_id: this_is_an_id249_that_should_be_at_least_ + id: 65b138e16abd01117c494415 + workspace_id: this_is_an_id248_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3364,9 +3388,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902113 - updated_at: 1704902113 - signed_up_at: 1704902113 + created_at: 1706113249 + updated_at: 1706113249 + signed_up_at: 1706113249 last_seen_at: last_replied_at: last_contacted_at: @@ -3400,31 +3424,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebde16abd014d2275ab5e/tags" + url: "/contacts/65b138e16abd01117c494415/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebde16abd014d2275ab5e/notes" + url: "/contacts/65b138e16abd01117c494415/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebde16abd014d2275ab5e/companies" + url: "/contacts/65b138e16abd01117c494415/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebde16abd014d2275ab5e/subscriptions" + url: "/contacts/65b138e16abd01117c494415/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebde16abd014d2275ab5e/subscriptions" + url: "/contacts/65b138e16abd01117c494415/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3443,7 +3467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 94cb9572-e6a6-4dc2-9ec5-57ed09310e30 + request_id: 0ac9f4e0-9f7c-4809-abeb-98fefdadc188 errors: - code: unauthorized message: Access Token Invalid @@ -3488,8 +3512,8 @@ paths: successful: value: type: contact - id: 659ebde26abd014d2275ab5f - workspace_id: this_is_an_id253_that_should_be_at_least_ + id: 65b138e26abd01117c494416 + workspace_id: this_is_an_id252_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3503,9 +3527,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902114 - updated_at: 1704902114 - signed_up_at: 1704902114 + created_at: 1706113250 + updated_at: 1706113250 + signed_up_at: 1706113250 last_seen_at: last_replied_at: last_contacted_at: @@ -3539,31 +3563,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebde26abd014d2275ab5f/tags" + url: "/contacts/65b138e26abd01117c494416/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebde26abd014d2275ab5f/notes" + url: "/contacts/65b138e26abd01117c494416/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebde26abd014d2275ab5f/companies" + url: "/contacts/65b138e26abd01117c494416/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebde26abd014d2275ab5f/subscriptions" + url: "/contacts/65b138e26abd01117c494416/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebde26abd014d2275ab5f/subscriptions" + url: "/contacts/65b138e26abd01117c494416/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3582,7 +3606,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3475332d-04f8-4de5-9de1-044128c28a6f + request_id: 94d7fa69-7946-43c7-96b8-db1095b8939f errors: - code: unauthorized message: Access Token Invalid @@ -3613,7 +3637,7 @@ paths: examples: successful: value: - id: 659ebde36abd014d2275ab60 + id: 65b138e36abd01117c494417 object: contact deleted: true schema: @@ -3626,7 +3650,7 @@ paths: Unauthorized: value: type: error.list - request_id: c1fb0e55-1e5a-40e9-a0e7-ee3c8c08dd1e + request_id: 49685bc6-d5f9-4a16-8267-6ea314341c73 errors: - code: unauthorized message: Access Token Invalid @@ -3654,8 +3678,8 @@ paths: successful: value: type: contact - id: 659ebde46abd014d2275ab62 - workspace_id: this_is_an_id261_that_should_be_at_least_ + id: 65b138e56abd01117c494419 + workspace_id: this_is_an_id260_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3669,9 +3693,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902116 - updated_at: 1704902116 - signed_up_at: 1704902116 + created_at: 1706113253 + updated_at: 1706113253 + signed_up_at: 1706113253 last_seen_at: last_replied_at: last_contacted_at: @@ -3705,31 +3729,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebde46abd014d2275ab62/tags" + url: "/contacts/65b138e56abd01117c494419/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebde46abd014d2275ab62/notes" + url: "/contacts/65b138e56abd01117c494419/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebde46abd014d2275ab62/companies" + url: "/contacts/65b138e56abd01117c494419/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebde46abd014d2275ab62/subscriptions" + url: "/contacts/65b138e56abd01117c494419/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebde46abd014d2275ab62/subscriptions" + url: "/contacts/65b138e56abd01117c494419/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3748,7 +3772,7 @@ paths: Unauthorized: value: type: error.list - request_id: 80182344-c8a5-4aed-9739-21f9293f469b + request_id: 96279fc7-333a-4cf5-ba1c-c8b6c21b3b21 errors: - code: unauthorized message: Access Token Invalid @@ -3763,8 +3787,8 @@ paths: successful: summary: successful value: - from: 659ebde46abd014d2275ab61 - into: 659ebde46abd014d2275ab62 + from: 65b138e56abd01117c494418 + into: 65b138e56abd01117c494419 "/contacts/search": post: summary: Search contacts @@ -3873,7 +3897,7 @@ paths: Unauthorized: value: type: error.list - request_id: 26e734b2-d518-4871-9bfe-75d3ed5d77a2 + request_id: 27d1a643-1074-43a3-8f18-b9ae11ed38e2 errors: - code: unauthorized message: Access Token Invalid @@ -3893,15 +3917,15 @@ paths: value: - field: id operator: "=" - value: 659ebde56abd014d2275ab65 + value: 65b138e66abd01117c49441c - operator: OR value: - field: id operator: "=" - value: 659ebde56abd014d2275ab65 + value: 65b138e66abd01117c49441c - field: id operator: "=" - value: 659ebde56abd014d2275ab65 + value: 65b138e66abd01117c49441c "/contacts": get: summary: List all contacts @@ -3940,7 +3964,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4dab281c-a23c-49b7-b095-6a2af261b832 + request_id: c2d9130b-0da4-4684-9555-d73550bc6708 errors: - code: unauthorized message: Access Token Invalid @@ -3966,8 +3990,8 @@ paths: successful: value: type: contact - id: 659ebde76abd014d2275ab67 - workspace_id: this_is_an_id273_that_should_be_at_least_ + id: 65b138e86abd01117c49441e + workspace_id: this_is_an_id272_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3981,8 +4005,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902119 - updated_at: 1704902119 + created_at: 1706113256 + updated_at: 1706113256 signed_up_at: last_seen_at: last_replied_at: @@ -4017,31 +4041,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebde76abd014d2275ab67/tags" + url: "/contacts/65b138e86abd01117c49441e/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebde76abd014d2275ab67/notes" + url: "/contacts/65b138e86abd01117c49441e/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebde76abd014d2275ab67/companies" + url: "/contacts/65b138e86abd01117c49441e/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebde76abd014d2275ab67/subscriptions" + url: "/contacts/65b138e86abd01117c49441e/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebde76abd014d2275ab67/subscriptions" + url: "/contacts/65b138e86abd01117c49441e/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -4060,7 +4084,7 @@ paths: Unauthorized: value: type: error.list - request_id: 34887a34-69a2-4b2b-a161-efce8cdb9917 + request_id: 591d1b83-15d4-4924-97e4-5788b7e7a32b errors: - code: unauthorized message: Access Token Invalid @@ -4104,7 +4128,7 @@ paths: examples: successful: value: - id: 659ebde86abd014d2275ab68 + id: 65b138e96abd01117c49441f object: contact archived: true schema: @@ -4136,7 +4160,7 @@ paths: examples: successful: value: - id: 659ebde86abd014d2275ab69 + id: 65b138ea6abd01117c494420 object: contact archived: false schema: @@ -4171,7 +4195,7 @@ paths: successful: value: type: tag - id: '50' + id: '222' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4183,7 +4207,7 @@ paths: Conversation not found: value: type: error.list - request_id: 747d73d3-04dd-49ef-8b9d-3611d119247e + request_id: aa1540ae-3409-4855-a759-98335c41a0d7 errors: - code: not_found message: Conversation not found @@ -4197,7 +4221,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1041dcd2-02ce-4009-a03b-8b5a8a74c7be + request_id: 52d1da39-60d6-476c-9891-619b2bfc6b82 errors: - code: unauthorized message: Access Token Invalid @@ -4226,13 +4250,13 @@ paths: successful: summary: successful value: - id: 50 - admin_id: 991266949 + id: 222 + admin_id: 991269010 conversation_not_found: summary: Conversation not found value: - id: 51 - admin_id: 991266951 + id: 223 + admin_id: 991269012 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4270,7 +4294,7 @@ paths: successful: value: type: tag - id: '53' + id: '225' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4282,14 +4306,14 @@ paths: Conversation not found: value: type: error.list - request_id: 1c728696-64af-4b7e-b117-00eea18412f6 + request_id: cae6c24b-bf7b-4bb0-8946-20d256bf71dc errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: e4cf4851-1587-4750-b163-eac34d6bf9f5 + request_id: 8ff968e2-c246-4db7-b516-a843d33ec982 errors: - code: tag_not_found message: Tag not found @@ -4303,7 +4327,7 @@ paths: Unauthorized: value: type: error.list - request_id: 14df234d-4eb6-4670-ad2c-276135a0b126 + request_id: 7509329c-24a4-4bb5-884b-25f27775e115 errors: - code: unauthorized message: Access Token Invalid @@ -4326,15 +4350,15 @@ paths: successful: summary: successful value: - admin_id: 991266953 + admin_id: 991269014 conversation_not_found: summary: Conversation not found value: - admin_id: 991266955 + admin_id: 991269016 tag_not_found: summary: Tag not found value: - admin_id: 991266956 + admin_id: 991269017 "/conversations": get: summary: List all conversations @@ -4381,22 +4405,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '205' - created_at: 1704902128 - updated_at: 1704902128 + id: '725' + created_at: 1706113266 + updated_at: 1706113266 waiting_since: snoozed_until: source: type: conversation - id: '403918184' + id: '403918484' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266959' - name: Ciaran151 Lee - email: admin151@email.com + id: '991269020' + name: Ciaran152 Lee + email: admin152@email.com attachments: [] url: redacted: false @@ -4404,7 +4428,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebdf06abd014d2275ab6d + id: 65b138f26abd01117c494424 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4432,7 +4456,7 @@ paths: Unauthorized: value: type: error.list - request_id: 84946318-c95c-4dc3-b5ff-74130346aa87 + request_id: f9fa77c2-5aa5-49d5-9a81-044800351ed7 errors: - code: unauthorized message: Access Token Invalid @@ -4446,7 +4470,7 @@ paths: API plan restricted: value: type: error.list - request_id: 14cc4c94-7a4b-4a82-9b63-67a5da82717b + request_id: 61941219-6e91-4b19-ae20-5b3de25d43e0 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4478,11 +4502,11 @@ paths: conversation created: value: type: user_message - id: '403918194' - created_at: 1704902151 + id: '403918494' + created_at: 1706113291 body: Hello there message_type: inapp - conversation_id: '230' + conversation_id: '750' schema: "$ref": "#/components/schemas/message" '404': @@ -4493,7 +4517,7 @@ paths: Contact Not Found: value: type: error.list - request_id: db8a0c6c-f6fb-422e-bcf0-aeee312d0606 + request_id: 7f3271b2-f6c8-4785-a18d-9ced283effd6 errors: - code: not_found message: User Not Found @@ -4507,7 +4531,7 @@ paths: Unauthorized: value: type: error.list - request_id: e0d9fc07-754f-4a45-ae5e-d89565cfadb4 + request_id: d435d649-13c5-449f-b019-0250123e20dc errors: - code: unauthorized message: Access Token Invalid @@ -4521,7 +4545,7 @@ paths: API plan restricted: value: type: error.list - request_id: 441b661d-9a0c-468f-8de1-223703e1b843 + request_id: 2508a53a-17a7-4e8e-93aa-f79898fffabe errors: - code: api_plan_restricted message: Active subscription needed. @@ -4538,7 +4562,7 @@ paths: value: from: type: user - id: 659ebe066abd014d2275ab82 + id: 65b1390b6abd01117c494439 body: Hello there contact_not_found: summary: Contact Not Found @@ -4590,22 +4614,22 @@ paths: conversation found: value: type: conversation - id: '234' - created_at: 1704902155 - updated_at: 1704902155 + id: '754' + created_at: 1706113296 + updated_at: 1706113296 waiting_since: snoozed_until: source: type: conversation - id: '403918198' + id: '403918498' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266973' - name: Ciaran158 Lee - email: admin158@email.com + id: '991269034' + name: Ciaran159 Lee + email: admin159@email.com attachments: [] url: redacted: false @@ -4613,7 +4637,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe0b6abd014d2275ab86 + id: 65b139106abd01117c49443d first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4645,7 +4669,7 @@ paths: Not found: value: type: error.list - request_id: 35bd2b6c-1854-4ba1-8f56-f067408ba471 + request_id: 3ec0648d-caf8-443f-bef9-3fd99e053e98 errors: - code: not_found message: Resource Not Found @@ -4659,7 +4683,7 @@ paths: Unauthorized: value: type: error.list - request_id: ffe78abe-5ff1-4149-910a-223a7dcf0be4 + request_id: 5370b17d-ecdc-4897-990e-51ab132f833e errors: - code: unauthorized message: Access Token Invalid @@ -4673,7 +4697,7 @@ paths: API plan restricted: value: type: error.list - request_id: 15b34bd2-ad5e-4551-aea2-6737eda037fa + request_id: 434043c0-11c4-4118-812b-08bed783eb17 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4716,22 +4740,22 @@ paths: conversation found: value: type: conversation - id: '238' - created_at: 1704902161 - updated_at: 1704902162 + id: '758' + created_at: 1706113301 + updated_at: 1706113302 waiting_since: snoozed_until: source: type: conversation - id: '403918202' + id: '403918502' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991266981' - name: Ciaran162 Lee - email: admin162@email.com + id: '991269042' + name: Ciaran163 Lee + email: admin163@email.com attachments: [] url: redacted: false @@ -4739,7 +4763,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe116abd014d2275ab8a + id: 65b139156abd01117c494441 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4763,34 +4787,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '36' + id: '165' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902162 - updated_at: 1704902162 - notified_at: 1704902162 + created_at: 1706113302 + updated_at: 1706113302 + notified_at: 1706113302 assigned_to: author: - id: '991266982' + id: '991269043' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '37' + id: '166' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902162 - updated_at: 1704902162 - notified_at: 1704902162 + created_at: 1706113302 + updated_at: 1706113302 + notified_at: 1706113302 assigned_to: author: - id: '991266982' + id: '991269043' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4805,7 +4829,7 @@ paths: Not found: value: type: error.list - request_id: 7b2b2418-8b59-48c1-8a6c-2684d228b062 + request_id: 0e756863-9c1f-4f6a-bc71-7240d08f858f errors: - code: not_found message: Resource Not Found @@ -4819,7 +4843,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4ce9f5c2-de92-4429-87db-331789c47044 + request_id: 883fcdc4-e4d1-488a-8b9f-f60f4b514aa4 errors: - code: unauthorized message: Access Token Invalid @@ -4833,7 +4857,7 @@ paths: API plan restricted: value: type: error.list - request_id: d48850d5-7968-4e2a-a157-a18d9b5e8496 + request_id: fc4af8c1-c87e-4415-b916-754f9bb15130 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4952,22 +4976,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '245' - created_at: 1704902172 - updated_at: 1704902172 + id: '765' + created_at: 1706113313 + updated_at: 1706113313 waiting_since: snoozed_until: source: type: conversation - id: '403918209' + id: '403918509' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267011' - name: Ciaran185 Lee - email: admin185@email.com + id: '991269072' + name: Ciaran186 Lee + email: admin186@email.com attachments: [] url: redacted: false @@ -4975,7 +4999,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe1c6abd014d2275ab91 + id: 65b139216abd01117c494448 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5009,15 +5033,15 @@ paths: value: - field: id operator: "=" - value: '245' + value: '765' - operator: OR value: - field: id operator: "=" - value: '245' + value: '765' - field: id operator: "=" - value: '245' + value: '765' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -5056,22 +5080,22 @@ paths: User reply: value: type: conversation - id: '253' - created_at: 1704902182 - updated_at: 1704902183 - waiting_since: 1704902183 + id: '773' + created_at: 1706113322 + updated_at: 1706113323 + waiting_since: 1706113323 snoozed_until: source: type: conversation - id: '403918212' + id: '403918512' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267013' - name: Ciaran186 Lee - email: admin186@email.com + id: '991269074' + name: Ciaran187 Lee + email: admin187@email.com attachments: [] url: redacted: false @@ -5079,9 +5103,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe256abd014d2275ab98 + id: 65b1392a6abd01117c49444f first_contact_reply: - created_at: 1704902183 + created_at: 1706113323 type: conversation url: admin_assignee_id: @@ -5104,15 +5128,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '39' + id: '168' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902183 - updated_at: 1704902183 - notified_at: 1704902183 + created_at: 1706113323 + updated_at: 1706113323 + notified_at: 1706113323 assigned_to: author: - id: 659ebe256abd014d2275ab98 + id: 65b1392a6abd01117c49444f type: user name: Joe Bloggs email: joe@bloggs.com @@ -5123,22 +5147,22 @@ paths: Admin note reply: value: type: conversation - id: '254' - created_at: 1704902184 - updated_at: 1704902185 + id: '774' + created_at: 1706113324 + updated_at: 1706113325 waiting_since: snoozed_until: source: type: conversation - id: '403918213' + id: '403918513' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267015' - name: Ciaran187 Lee - email: admin187@email.com + id: '991269076' + name: Ciaran188 Lee + email: admin188@email.com attachments: [] url: redacted: false @@ -5146,7 +5170,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe286abd014d2275ab99 + id: 65b1392c6abd01117c494450 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5168,7 +5192,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '40' + id: '169' part_type: note body: |-

    An Unordered HTML List

    @@ -5183,15 +5207,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704902185 - updated_at: 1704902185 - notified_at: 1704902185 + created_at: 1706113325 + updated_at: 1706113325 + notified_at: 1706113325 assigned_to: author: - id: '991267015' + id: '991269076' type: admin - name: Ciaran187 Lee - email: admin187@email.com + name: Ciaran188 Lee + email: admin188@email.com attachments: [] external_id: redacted: false @@ -5199,22 +5223,22 @@ paths: User last conversation reply: value: type: conversation - id: '256' - created_at: 1704902187 - updated_at: 1704902188 - waiting_since: 1704902188 + id: '776' + created_at: 1706113328 + updated_at: 1706113329 + waiting_since: 1706113329 snoozed_until: source: type: conversation - id: '403918215' + id: '403918515' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267019' - name: Ciaran189 Lee - email: admin189@email.com + id: '991269080' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -5222,9 +5246,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe2b6abd014d2275ab9b + id: 65b1392f6abd01117c494452 first_contact_reply: - created_at: 1704902188 + created_at: 1706113329 type: conversation url: admin_assignee_id: @@ -5247,15 +5271,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '41' + id: '170' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902188 - updated_at: 1704902188 - notified_at: 1704902188 + created_at: 1706113329 + updated_at: 1706113329 + notified_at: 1706113329 assigned_to: author: - id: 659ebe2b6abd014d2275ab9b + id: 65b1392f6abd01117c494452 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5273,7 +5297,7 @@ paths: Not found: value: type: error.list - request_id: f422bbec-3b48-4774-8cde-9e5648f31214 + request_id: 18766756-eb76-44c5-adb7-397a4bb30240 errors: - code: not_found message: Resource Not Found @@ -5287,7 +5311,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6b1dbbfa-0289-49b4-9be5-e28ac5827666 + request_id: 90c8fc39-93d4-4032-b699-29fcaecfe04b errors: - code: unauthorized message: Access Token Invalid @@ -5301,7 +5325,7 @@ paths: API plan restricted: value: type: error.list - request_id: 8bdc74c5-9dfb-45aa-a51f-6c0516e656d9 + request_id: 356e10b1-2de7-4eca-8f81-b456835d2e8d errors: - code: api_plan_restricted message: Active subscription needed. @@ -5318,14 +5342,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ebe256abd014d2275ab98 + intercom_user_id: 65b1392a6abd01117c49444f body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991267015 + admin_id: 991269076 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5335,14 +5359,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ebe2b6abd014d2275ab9b + intercom_user_id: 65b1392f6abd01117c494452 body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ebe2d6abd014d2275ab9c + intercom_user_id: 65b139326abd01117c494453 body: Thanks again :) "/conversations/{id}/parts": post: @@ -5376,22 +5400,22 @@ paths: Close a conversation: value: type: conversation - id: '260' - created_at: 1704902195 - updated_at: 1704902196 + id: '780' + created_at: 1706113335 + updated_at: 1706113336 waiting_since: snoozed_until: source: type: conversation - id: '403918219' + id: '403918519' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267027' - name: Ciaran193 Lee - email: admin193@email.com + id: '991269088' + name: Ciaran194 Lee + email: admin194@email.com attachments: [] url: redacted: false @@ -5399,7 +5423,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe326abd014d2275ab9f + id: 65b139376abd01117c494456 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5421,18 +5445,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '42' + id: '171' part_type: close body: "

    Goodbye :)

    " - created_at: 1704902196 - updated_at: 1704902196 - notified_at: 1704902196 + created_at: 1706113336 + updated_at: 1706113336 + notified_at: 1706113336 assigned_to: author: - id: '991267027' + id: '991269088' type: admin - name: Ciaran193 Lee - email: admin193@email.com + name: Ciaran194 Lee + email: admin194@email.com attachments: [] external_id: redacted: false @@ -5440,22 +5464,22 @@ paths: Snooze a conversation: value: type: conversation - id: '261' - created_at: 1704902197 - updated_at: 1704902197 + id: '781' + created_at: 1706113337 + updated_at: 1706113338 waiting_since: - snoozed_until: 1704905797 + snoozed_until: 1706116938 source: type: conversation - id: '403918220' + id: '403918520' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267029' - name: Ciaran194 Lee - email: admin194@email.com + id: '991269090' + name: Ciaran195 Lee + email: admin195@email.com attachments: [] url: redacted: false @@ -5463,7 +5487,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe346abd014d2275aba0 + id: 65b139396abd01117c494457 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5485,18 +5509,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '43' + id: '172' part_type: snoozed body: - created_at: 1704902197 - updated_at: 1704902197 - notified_at: 1704902197 + created_at: 1706113338 + updated_at: 1706113338 + notified_at: 1706113338 assigned_to: author: - id: '991267029' + id: '991269090' type: admin - name: Ciaran194 Lee - email: admin194@email.com + name: Ciaran195 Lee + email: admin195@email.com attachments: [] external_id: redacted: false @@ -5504,22 +5528,22 @@ paths: Open a conversation: value: type: conversation - id: '266' - created_at: 1704902196 - updated_at: 1704902207 + id: '786' + created_at: 1706113337 + updated_at: 1706113347 waiting_since: snoozed_until: source: type: conversation - id: '403918221' + id: '403918521' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267031' - name: Ciaran195 Lee - email: admin195@email.com + id: '991269092' + name: Ciaran196 Lee + email: admin196@email.com attachments: [] url: redacted: false @@ -5527,7 +5551,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe3a6abd014d2275aba5 + id: 65b1393e6abd01117c49445c first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5549,18 +5573,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '45' + id: '174' part_type: open body: - created_at: 1704902207 - updated_at: 1704902207 - notified_at: 1704902207 + created_at: 1706113347 + updated_at: 1706113347 + notified_at: 1706113347 assigned_to: author: - id: '991267031' + id: '991269092' type: admin - name: Ciaran195 Lee - email: admin195@email.com + name: Ciaran196 Lee + email: admin196@email.com attachments: [] external_id: redacted: false @@ -5568,22 +5592,22 @@ paths: Assign a conversation: value: type: conversation - id: '270' - created_at: 1704902208 - updated_at: 1704902209 + id: '790' + created_at: 1706113348 + updated_at: 1706113349 waiting_since: snoozed_until: source: type: conversation - id: '403918224' + id: '403918524' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267033' - name: Ciaran196 Lee - email: admin196@email.com + id: '991269094' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5591,9 +5615,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe406abd014d2275aba8 + id: 65b139446abd01117c49445f first_contact_reply: - admin_assignee_id: 991267033 + admin_assignee_id: 991269094 team_assignee_id: open: true state: open @@ -5613,20 +5637,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '46' + id: '175' part_type: assign_and_reopen body: - created_at: 1704902209 - updated_at: 1704902209 - notified_at: 1704902209 + created_at: 1706113349 + updated_at: 1706113349 + notified_at: 1706113349 assigned_to: type: admin - id: '991267033' + id: '991269094' author: - id: '991267033' + id: '991269094' type: admin - name: Ciaran196 Lee - email: admin196@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5641,7 +5665,7 @@ paths: Not found: value: type: error.list - request_id: 51df0dd7-7e67-49f8-8a6c-dbcdd505ed91 + request_id: ec597d45-f62d-4e1e-a729-69fc33235aad errors: - code: not_found message: Resource Not Found @@ -5655,7 +5679,7 @@ paths: Unauthorized: value: type: error.list - request_id: 48b2b545-88ab-4dd0-9176-728c47114999 + request_id: 5c387787-ad9f-4b64-8b22-7cc0ec059fcb errors: - code: unauthorized message: Access Token Invalid @@ -5669,7 +5693,7 @@ paths: API plan restricted: value: type: error.list - request_id: fe540041-7382-4539-a1e2-00a3146af631 + request_id: 3acb7f74-ba72-4148-a5d3-99c4737c6370 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5690,32 +5714,32 @@ paths: value: message_type: close type: admin - admin_id: 991267027 + admin_id: 991269088 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991267029 - snoozed_until: 1704905797 + admin_id: 991269090 + snoozed_until: 1706116938 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991267031 + admin_id: 991269092 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991267033 - assignee_id: 991267033 + admin_id: 991269094 + assignee_id: 991269094 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991267035 + admin_id: 991269096 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5746,22 +5770,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '274' - created_at: 1704902215 - updated_at: 1704902216 + id: '794' + created_at: 1706113355 + updated_at: 1706113356 waiting_since: snoozed_until: source: type: conversation - id: '403918228' + id: '403918528' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267041' - name: Ciaran200 Lee - email: admin200@email.com + id: '991269102' + name: Ciaran201 Lee + email: admin201@email.com attachments: [] url: redacted: false @@ -5769,7 +5793,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe476abd014d2275abac + id: 65b1394a6abd01117c494463 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5791,20 +5815,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '47' + id: '176' part_type: default_assignment body: - created_at: 1704902216 - updated_at: 1704902216 - notified_at: 1704902216 + created_at: 1706113356 + updated_at: 1706113356 + notified_at: 1706113356 assigned_to: type: nobody_admin id: author: - id: '991267042' + id: '991269103' type: bot name: Operator - email: operator+this_is_an_id358_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id357_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5819,7 +5843,7 @@ paths: Not found: value: type: error.list - request_id: 8eb4fba0-6fe6-4d61-b1b6-3fd17808f0f2 + request_id: 8d7ba178-c74b-459a-ad27-52028f7429bb errors: - code: not_found message: Resource Not Found @@ -5833,7 +5857,7 @@ paths: Unauthorized: value: type: error.list - request_id: 10bb192b-9490-40a3-a435-39a61d97ae26 + request_id: 8896bb91-4b39-4255-bf24-f12e6bc078d9 errors: - code: unauthorized message: Access Token Invalid @@ -5847,7 +5871,7 @@ paths: API plan restricted: value: type: error.list - request_id: 485b0484-0d2b-4ffd-9b47-4e403f285606 + request_id: a3935162-950c-4efe-b56e-6c7717ac133a errors: - code: api_plan_restricted message: Active subscription needed. @@ -5886,7 +5910,7 @@ paths: value: customers: - type: user - id: 659ebe4d6abd014d2275abb0 + id: 65b139516abd01117c494467 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5897,7 +5921,7 @@ paths: Not found: value: type: error.list - request_id: ca0ec060-8ca2-402e-9567-dd5bedded1e3 + request_id: 59d97954-be06-4fe8-873a-c9a29e070458 errors: - code: not_found message: Resource Not Found @@ -5911,7 +5935,7 @@ paths: Unauthorized: value: type: error.list - request_id: aa796a88-e9a5-4f4e-bc20-4df4435b585a + request_id: 29e3a62c-a63a-40a8-9e5e-3eb2bdc7a43b errors: - code: unauthorized message: Access Token Invalid @@ -5925,7 +5949,7 @@ paths: API plan restricted: value: type: error.list - request_id: 6d01231a-9e5e-41d5-b1c2-34ceddf76992 + request_id: 36b57165-f2de-43ce-809f-636b963c01c2 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5940,15 +5964,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991267049 + admin_id: 991269110 customer: - intercom_user_id: 659ebe4d6abd014d2275abb0 + intercom_user_id: 65b139516abd01117c494467 not_found: summary: Not found value: - admin_id: 991267051 + admin_id: 991269112 customer: - intercom_user_id: 659ebe4f6abd014d2275abb1 + intercom_user_id: 65b139536abd01117c494468 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5989,7 +6013,7 @@ paths: value: customers: - type: user - id: 659ebe5d6abd014d2275abbb + id: 65b139606abd01117c494472 schema: "$ref": "#/components/schemas/conversation" '404': @@ -6000,14 +6024,14 @@ paths: Conversation not found: value: type: error.list - request_id: 840d17c5-b0c9-4440-9a72-86c6df3c7e9a + request_id: ab2b0703-32b4-405e-b916-4d8c07c48541 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: '01963e78-781b-442a-91df-84d0865312b7' + request_id: b1c9ab5a-54e3-4fb7-9021-68cdd3e615c2 errors: - code: not_found message: User Not Found @@ -6021,7 +6045,7 @@ paths: Last customer: value: type: error.list - request_id: b30d8c10-a21d-4fc8-bcdb-8bdfc64f0d6b + request_id: 9a9b7040-1ef8-4647-a5db-d4d23a1c55ed errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -6035,7 +6059,7 @@ paths: Unauthorized: value: type: error.list - request_id: 49e36e56-8e0c-401c-9bad-9abd319a4791 + request_id: 5a726ea2-1cc9-42d6-887e-48f48e652d49 errors: - code: unauthorized message: Access Token Invalid @@ -6049,7 +6073,7 @@ paths: API plan restricted: value: type: error.list - request_id: bc05bcff-2601-4817-8b3e-1edeb1ca6cb6 + request_id: 3d2cbea6-8c55-46a5-8143-6ef536235d2f errors: - code: api_plan_restricted message: Active subscription needed. @@ -6064,27 +6088,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991267057 + admin_id: 991269118 customer: - intercom_user_id: 659ebe546abd014d2275abb4 + intercom_user_id: 65b139576abd01117c49446b conversation_not_found: summary: Conversation not found value: - admin_id: 991267059 + admin_id: 991269120 customer: - intercom_user_id: 659ebe5e6abd014d2275abbc + intercom_user_id: 65b139616abd01117c494473 contact_not_found: summary: Contact not found value: - admin_id: 991267061 + admin_id: 991269122 customer: - intercom_user_id: 659ebe676abd014d2275abc3 + intercom_user_id: 65b1396a6abd01117c49447a last_customer: summary: Last customer value: - admin_id: 991267063 + admin_id: 991269124 customer: - intercom_user_id: 659ebe6f6abd014d2275abca + intercom_user_id: 65b139726abd01117c494481 "/conversations/redact": post: summary: Redact a conversation part @@ -6111,22 +6135,22 @@ paths: Redact a conversation part: value: type: conversation - id: '330' - created_at: 1704902277 - updated_at: 1704902278 - waiting_since: 1704902277 + id: '850' + created_at: 1706113420 + updated_at: 1706113422 + waiting_since: 1706113421 snoozed_until: source: type: conversation - id: '403918254' + id: '403918554' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267069' - name: Ciaran214 Lee - email: admin214@email.com + id: '991269130' + name: Ciaran215 Lee + email: admin215@email.com attachments: [] url: redacted: false @@ -6134,9 +6158,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebe856abd014d2275abdf + id: 65b1398c6abd01117c494496 first_contact_reply: - created_at: 1704902277 + created_at: 1706113421 type: conversation url: admin_assignee_id: @@ -6159,15 +6183,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '55' + id: '184' part_type: open body: "

    This message was deleted

    " - created_at: 1704902277 - updated_at: 1704902278 - notified_at: 1704902277 + created_at: 1706113421 + updated_at: 1706113422 + notified_at: 1706113421 assigned_to: author: - id: 659ebe856abd014d2275abdf + id: 65b1398c6abd01117c494496 type: user name: Joe Bloggs email: joe@bloggs.com @@ -6185,7 +6209,7 @@ paths: Not found: value: type: error.list - request_id: 1d0015d0-25f2-43e4-adff-f014f6499cae + request_id: b5ce3431-6fb0-43b1-b72c-966e63ac4564 errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6199,7 +6223,7 @@ paths: Unauthorized: value: type: error.list - request_id: ce0fb3c4-4b09-424c-b6ba-88261dc36247 + request_id: 43d2d8a1-7d6a-46fb-af08-42cc776f3a14 errors: - code: unauthorized message: Access Token Invalid @@ -6215,14 +6239,167 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 330 - conversation_part_id: 55 + conversation_id: 850 + conversation_part_id: 184 not_found: summary: Not found value: type: conversation_part conversation_id: really_123_doesnt_exist conversation_part_id: really_123_doesnt_exist + "/custom_object_instances/{custom_object_type_identifier}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + post: + summary: create_or_update object_instance + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Create or update a custom object instance + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/create_or_update_custom_object_instance_request" + get: + summary: show object_instance + parameters: + - name: fetch_custom_object_instance_request + in: query + style: form + required: true + schema: + type: object + oneOf: + - description: The Intercom defined id representing the custom object instance. + title: Find by id + properties: + id: + type: string + required: + - id + additionalProperties: false + - description: The unique identifier for the instance in the external system + it originated from. + title: Find by external_id + properties: + external_id: + type: string + required: + - external_id + additionalProperties: false + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by external_id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + "/custom_object_instances/{custom_object_type_identifier}/{id}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + get: + summary: show object_instance + parameters: + - name: id + in: path + description: The id or external_id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + delete: + summary: delete object_instance + parameters: + - name: id + in: path + description: The Intercom id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Deleting a single Custom Object instance. + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance_deleted" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" "/data_attributes": get: summary: List all data attributes @@ -6392,7 +6569,7 @@ paths: custom: false archived: false model: company - - id: 38 + - id: 82 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6404,9 +6581,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267085' - created_at: 1704902286 - updated_at: 1704902286 + admin_id: '991269155' + created_at: 1706113435 + updated_at: 1706113435 model: company - type: data_attribute name: id @@ -6473,7 +6650,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5064dad4-eef1-4c6e-8758-e650fbfa1b6b + request_id: d29bef46-0398-4ff8-9f06-df6a15deaf3d errors: - code: unauthorized message: Access Token Invalid @@ -6498,7 +6675,7 @@ paths: examples: Successful: value: - id: 41 + id: 85 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6508,9 +6685,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267087' - created_at: 1704902287 - updated_at: 1704902287 + admin_id: '991269157' + created_at: 1706113436 + updated_at: 1706113436 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6522,7 +6699,7 @@ paths: Same name already exists: value: type: error.list - request_id: b860f3f9-4e50-47f4-a0c3-706185cbd0d9 + request_id: 119f770f-9311-4d5b-8bc9-822e4fbe5727 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6530,7 +6707,7 @@ paths: Invalid name: value: type: error.list - request_id: 390a0c95-1429-47bc-9b80-c7226d3bcc4d + request_id: 8675cb56-4dd5-4aa9-b8a0-8bb16b64b9c9 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6538,7 +6715,7 @@ paths: Attribute already exists: value: type: error.list - request_id: f90f7a7b-3543-471b-ac9e-11ef393774f0 + request_id: e97aa818-5375-4e4a-b26b-1186c6b76f7b errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6546,14 +6723,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: fd5530d5-0406-4ca8-8b36-43ee0bf3ed97 + request_id: 45a5f9ec-beb3-4c80-b5e9-83f196f5038e errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: 33054e20-093d-4452-ae42-75f698dc5a0e + request_id: f3d4fab4-78df-466f-b998-8ba900dd46cc errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6568,7 +6745,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0b542575-15f3-48d2-b3e6-37df7dba4217 + request_id: 9f39626c-6462-40a7-b9dc-2f9cdbfa18c9 errors: - code: unauthorized message: Access Token Invalid @@ -6647,7 +6824,7 @@ paths: examples: Successful: value: - id: 48 + id: 92 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6661,9 +6838,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267094' - created_at: 1704902290 - updated_at: 1704902290 + admin_id: '991269164' + created_at: 1706113439 + updated_at: 1706113439 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6675,7 +6852,7 @@ paths: Too few options in list: value: type: error.list - request_id: e9b5e2a7-2d4e-4cd6-ad8e-5704dd81572b + request_id: a7aa3ef5-2ef4-45c1-8435-b1d9eb4ddc94 errors: - code: parameter_invalid message: Options isn't an array @@ -6689,7 +6866,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 15bef0cf-be70-4ffd-b387-90e6a1a9c5c8 + request_id: 3eaed432-b870-489f-b2f1-b5b3aa073758 errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6703,7 +6880,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 5ea8d29f-3110-4d01-825d-4e05ff9e3593 + request_id: d827a6fc-785f-4bab-a469-d99b59a54bc9 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6718,7 +6895,7 @@ paths: Unauthorized: value: type: error.list - request_id: 05d97f93-8a02-4e49-9faf-b868eed2ae54 + request_id: c53c0892-f995-4948-8dff-83e020122919 errors: - code: unauthorized message: Access Token Invalid @@ -6837,7 +7014,7 @@ paths: Unauthorized: value: type: error.list - request_id: e8a31b61-8a17-463f-9d26-89702e3e2947 + request_id: 6836c93a-7b06-409d-9616-f71a6e536720 errors: - code: unauthorized message: Access Token Invalid @@ -6923,8 +7100,8 @@ paths: events: [] pages: next: http://api.intercom.test/events?next page - email: user24@email.com - intercom_user_id: 659ebe9a6abd014d2275abf8 + email: user26@email.com + intercom_user_id: 65b139a36abd01117c49449f user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6936,7 +7113,7 @@ paths: Unauthorized: value: type: error.list - request_id: 563a3fae-c399-45c6-a6ae-8c9242d0fca0 + request_id: 1d572252-4fd1-4a1c-9ae3-d4348b2f4ae9 errors: - code: unauthorized message: Access Token Invalid @@ -6967,7 +7144,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7bed7383-946e-4bb4-af48-94a6eb56027b + request_id: ee7d13ef-c59d-4207-a076-004a68535e6e errors: - code: unauthorized message: Access Token Invalid @@ -7011,7 +7188,7 @@ paths: examples: successful: value: - job_identifier: azt9r3sad8hy30oz + job_identifier: 20xw7gjxq6i0h165 status: pending download_url: '' download_expires_at: '' @@ -7026,8 +7203,8 @@ paths: successful: summary: successful value: - created_at_after: 1704884300 - created_at_before: 1704902300 + created_at_after: 1706095445 + created_at_before: 1706113445 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -7061,7 +7238,7 @@ paths: examples: successful: value: - job_identifier: 58tm0u6qqudiw1wg + job_identifier: l0xd372uc59uj2y0 status: pending download_url: '' download_expires_at: '' @@ -7093,7 +7270,7 @@ paths: examples: successful: value: - job_identifier: 265qguretsv4rw80 + job_identifier: vnv4degumekcxgzh status: canceled download_url: '' download_expires_at: '' @@ -7154,32 +7331,32 @@ paths: user message created: value: type: user_message - id: '403918265' - created_at: 1704902327 + id: '403918559' + created_at: 1706113447 body: heyy message_type: inapp - conversation_id: '346' + conversation_id: '855' lead message created: value: type: user_message - id: '403918266' - created_at: 1704902328 + id: '403918560' + created_at: 1706113448 body: heyy message_type: inapp - conversation_id: '347' + conversation_id: '856' admin message created: value: type: admin_message - id: '16' - created_at: 1704902329 + id: '30' + created_at: 1706113449 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991267128' - name: Ciaran255 Lee - email: admin255@email.com + id: '991269187' + name: Ciaran265 Lee + email: admin265@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7192,14 +7369,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 83111350-c2cd-4745-a4d4-aa17a5fa1cbe + request_id: 0dec83f4-5ef2-45b0-8dfd-08888bce5378 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: bd703bb2-675b-4488-b09f-dfce369f304f + request_id: 1a5e6461-29e4-4287-854f-2974635139e1 errors: - code: parameter_invalid message: Body is required @@ -7213,7 +7390,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 964a512e-6458-4a49-ad30-e86e9750382d + request_id: 35d6eefd-d843-4ec6-a713-13d9c1acc55f errors: - code: parameter_not_found message: No subject supplied for email message @@ -7227,7 +7404,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5e552874-2b5c-4571-b7ba-20c0e65832fc + request_id: 8490216c-68c1-4763-8374-f3fc2c580012 errors: - code: unauthorized message: Access Token Invalid @@ -7241,7 +7418,7 @@ paths: API plan restricted: value: type: error.list - request_id: f8c94e3f-b089-4a66-8b53-0e968b44f289 + request_id: 8386b939-9ab5-401b-82eb-a36c2cd532ae errors: - code: api_plan_restricted message: Active subscription needed. @@ -7258,7 +7435,7 @@ paths: value: from: type: user - id: 659ebeb76abd014d2275ac4d + id: 65b139a76abd01117c4944a4 body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7266,7 +7443,7 @@ paths: value: from: type: lead - id: 659ebeb86abd014d2275ac4e + id: 65b139a86abd01117c4944a5 body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7274,10 +7451,10 @@ paths: value: from: type: admin - id: '991267128' + id: '991269187' to: type: user - id: 659ebeb96abd014d2275ac4f + id: 65b139a96abd01117c4944a6 message_type: conversation body: heyy no_body_supplied_for_message: @@ -7285,10 +7462,10 @@ paths: value: from: type: admin - id: '991267130' + id: '991269189' to: type: user - id: 659ebeba6abd014d2275ac50 + id: 65b139aa6abd01117c4944a7 message_type: inapp body: subject: heyy @@ -7297,7 +7474,7 @@ paths: value: from: type: admin - id: '991267131' + id: '991269190' to: type: user user_id: '70' @@ -7308,10 +7485,10 @@ paths: value: from: type: admin - id: '991267132' + id: '991269191' to: type: user - id: 659ebebb6abd014d2275ac52 + id: 65b139aa6abd01117c4944a9 message_type: email body: subject: heyy @@ -7342,12 +7519,12 @@ paths: total_pages: 1 type: pages data: - - id: '15' + - id: '71' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267137 + sender_id: 991269196 state: draft labels: [] cover_image_url: @@ -7357,15 +7534,15 @@ paths: - - deliver_silently: false - created_at: 1704902333 - updated_at: 1704902333 + created_at: 1706113452 + updated_at: 1706113452 newsfeed_assignments: [] - - id: '16' + - id: '72' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267139 + sender_id: 991269198 state: draft labels: [] cover_image_url: @@ -7375,8 +7552,8 @@ paths: - - deliver_silently: false - created_at: 1704902333 - updated_at: 1704902333 + created_at: 1706113452 + updated_at: 1706113452 newsfeed_assignments: [] total_count: 2 schema: @@ -7389,7 +7566,7 @@ paths: Unauthorized: value: type: error.list - request_id: d10360b2-369e-43d5-acb8-ae02f85e5311 + request_id: 43db253d-fda6-40ed-a384-9b1250e12083 errors: - code: unauthorized message: Access Token Invalid @@ -7414,12 +7591,12 @@ paths: examples: successful: value: - id: '19' + id: '75' type: news-item - workspace_id: this_is_an_id466_that_should_be_at_least_ + workspace_id: this_is_an_id483_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991267146 + sender_id: 991269205 state: live labels: - New @@ -7430,10 +7607,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1704902335 - updated_at: 1704902335 + created_at: 1706113454 + updated_at: 1706113454 newsfeed_assignments: - - newsfeed_id: 28 + - newsfeed_id: 128 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7445,7 +7622,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4e6f92c6-bcef-4faf-9337-8df194bd9a08 + request_id: 1a0ce22d-7e50-4425-bf5e-855ec6a35584 errors: - code: unauthorized message: Access Token Invalid @@ -7466,14 +7643,14 @@ paths: - Product - Update - New - sender_id: 991267146 + sender_id: 991269205 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 28 + - newsfeed_id: 128 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7502,12 +7679,12 @@ paths: examples: successful: value: - id: '20' + id: '76' type: news-item - workspace_id: this_is_an_id470_that_should_be_at_least_ + workspace_id: this_is_an_id487_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267149 + sender_id: 991269208 state: live labels: [] cover_image_url: @@ -7517,11 +7694,11 @@ paths: - - deliver_silently: false - created_at: 1704902336 - updated_at: 1704902336 + created_at: 1706113455 + updated_at: 1706113455 newsfeed_assignments: - - newsfeed_id: 30 - published_at: 1704902336 + - newsfeed_id: 130 + published_at: 1706113455 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7532,7 +7709,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 537cc56f-444c-49ba-8faf-399e25b5b6ab + request_id: '08e2573e-3e75-4cb7-93fb-15f88cb78675' errors: - code: not_found message: Resource Not Found @@ -7546,7 +7723,7 @@ paths: Unauthorized: value: type: error.list - request_id: 83f95f28-b352-405b-9910-38ef2c951cb6 + request_id: 21f94f49-2d88-49f0-8b26-786ee3eec166 errors: - code: unauthorized message: Access Token Invalid @@ -7577,12 +7754,12 @@ paths: examples: successful: value: - id: '23' + id: '79' type: news-item - workspace_id: this_is_an_id476_that_should_be_at_least_ + workspace_id: this_is_an_id493_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267157 + sender_id: 991269216 state: live labels: [] cover_image_url: @@ -7590,8 +7767,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1704902337 - updated_at: 1704902338 + created_at: 1706113457 + updated_at: 1706113457 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7603,7 +7780,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 64210c76-336f-4082-89bf-1adef968afd6 + request_id: 971cb461-cc84-44a9-9f95-de141866767e errors: - code: not_found message: Resource Not Found @@ -7617,7 +7794,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5b5f4993-dbad-435a-a276-cc7e47359e1a + request_id: ee343007-9820-414f-9783-c49a011fa356 errors: - code: unauthorized message: Access Token Invalid @@ -7634,7 +7811,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267157 + sender_id: 991269216 reactions: - "\U0001F61D" - "\U0001F602" @@ -7643,7 +7820,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267160 + sender_id: 991269219 reactions: - "\U0001F61D" - "\U0001F602" @@ -7673,7 +7850,7 @@ paths: examples: successful: value: - id: '26' + id: '82' object: news-item deleted: true schema: @@ -7686,7 +7863,7 @@ paths: News Item Not Found: value: type: error.list - request_id: dc4e11b7-5b10-45d8-b252-0be98ccc79c9 + request_id: ffeabe77-4fe4-429c-bbf4-56588b45a912 errors: - code: not_found message: Resource Not Found @@ -7700,7 +7877,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7570b2de-e25a-4d83-b644-98c182bf3e00 + request_id: 3c7a27e4-da53-4645-ac81-3b58f7195f96 errors: - code: unauthorized message: Access Token Invalid @@ -7753,7 +7930,7 @@ paths: Unauthorized: value: type: error.list - request_id: b6d7eab4-d558-41db-a461-b18d9fd339d6 + request_id: a072f3ac-bf94-4476-a635-bbce9a445d11 errors: - code: unauthorized message: Access Token Invalid @@ -7786,16 +7963,16 @@ paths: total_pages: 1 type: pages data: - - id: '43' + - id: '143' type: newsfeed name: Visitor Feed - created_at: 1704902342 - updated_at: 1704902342 - - id: '44' + created_at: 1706113461 + updated_at: 1706113461 + - id: '144' type: newsfeed name: Visitor Feed - created_at: 1704902342 - updated_at: 1704902342 + created_at: 1706113461 + updated_at: 1706113461 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7807,7 +7984,7 @@ paths: Unauthorized: value: type: error.list - request_id: df3f0af8-4f76-4699-85fd-ce08b25c9d74 + request_id: 21540853-f0ca-46a5-b411-758fc6e515b0 errors: - code: unauthorized message: Access Token Invalid @@ -7841,11 +8018,11 @@ paths: examples: successful: value: - id: '47' + id: '147' type: newsfeed name: Visitor Feed - created_at: 1704902343 - updated_at: 1704902343 + created_at: 1706113462 + updated_at: 1706113462 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7856,7 +8033,7 @@ paths: Unauthorized: value: type: error.list - request_id: 54838234-2c28-4101-8abe-52e52ed7c204 + request_id: 311c5a11-c931-444e-ab6a-6e73f39d1ff6 errors: - code: unauthorized message: Access Token Invalid @@ -7890,16 +8067,16 @@ paths: Note found: value: type: note - id: '54' - created_at: 1704211146 + id: '76' + created_at: 1705422263 contact: type: contact - id: 659ebeca6abd014d2275ac5d + id: 65b139b76abd01117c4944ac author: type: admin - id: '991267176' - name: Ciaran302 Lee - email: admin302@email.com + id: '991269235' + name: Ciaran312 Lee + email: admin312@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7913,7 +8090,7 @@ paths: Note not found: value: type: error.list - request_id: 2444c7ec-53e8-4958-b6ad-5b859b005805 + request_id: d8193c53-e3ca-415a-a3f0-9befa877ed5d errors: - code: not_found message: Resource Not Found @@ -7927,7 +8104,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7fa3ad29-771d-4375-b7fc-4624cae48ce9 + request_id: f3de5454-d6c7-4518-871e-468c57581eb0 errors: - code: unauthorized message: Access Token Invalid @@ -7963,16 +8140,16 @@ paths: type: segment.list segments: - type: segment - id: 659ebece6abd014d2275ac64 + id: 65b139b86abd01117c4944af name: John segment - created_at: 1704902350 - updated_at: 1704902350 + created_at: 1706113464 + updated_at: 1706113464 person_type: user - type: segment - id: 659ebece6abd014d2275ac65 + id: 65b139b86abd01117c4944b0 name: Jane segment - created_at: 1704902350 - updated_at: 1704902350 + created_at: 1706113464 + updated_at: 1706113464 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7984,7 +8161,7 @@ paths: Unauthorized: value: type: error.list - request_id: 58b716c6-0fa3-4936-9f81-6a3837ef22da + request_id: 141c8989-5935-462a-8d47-e02925265e69 errors: - code: unauthorized message: Access Token Invalid @@ -8018,10 +8195,10 @@ paths: Successful response: value: type: segment - id: 659ebecf6abd014d2275ac68 + id: 65b139b96abd01117c4944b3 name: John segment - created_at: 1704902351 - updated_at: 1704902351 + created_at: 1706113465 + updated_at: 1706113465 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -8033,7 +8210,7 @@ paths: Segment not found: value: type: error.list - request_id: c70f69ba-04af-4397-aad6-d2499d039cf5 + request_id: bda9b19e-0707-4c2e-818a-9d241d1dd9c3 errors: - code: not_found message: Resource Not Found @@ -8047,7 +8224,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9bbc3cfd-186d-4261-b8db-3e0e78ebf529 + request_id: a5744fc3-565a-47fa-99cb-8f85dfc9875a errors: - code: unauthorized message: Access Token Invalid @@ -8077,7 +8254,7 @@ paths: type: list data: - type: subscription - id: '134' + id: '275' state: live consent_type: opt_out default_translation: @@ -8100,7 +8277,7 @@ paths: Unauthorized: value: type: error.list - request_id: ca5068dd-322b-4b4a-82e5-3a51f3eb72e5 + request_id: 752b1ab7-0f32-4d9a-b839-e09bf3cd24b3 errors: - code: unauthorized message: Access Token Invalid @@ -8130,7 +8307,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/36c5c4a5-5179-4939-bb60-617772a72baa + url: http://via.intercom.io/msgr/fef8fce7-043e-4cb8-862e-d4077b35820d type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8163,7 +8340,7 @@ paths: Unauthorized: value: type: error.list - request_id: f3d24edb-d37d-47c9-b31c-e077bdcc337a + request_id: dba26c35-f01f-48b2-a9f8-deacc7b09931 errors: - code: unauthorized message: Access Token Invalid @@ -8226,7 +8403,7 @@ paths: type: list data: - type: tag - id: '74' + id: '238' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8238,7 +8415,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9dff0d23-f00d-484a-afbf-84217a6e534b + request_id: d678671b-5053-4720-81d4-c8fcc0b919da errors: - code: unauthorized message: Access Token Invalid @@ -8277,7 +8454,7 @@ paths: Action successful: value: type: tag - id: '77' + id: '241' name: test schema: "$ref": "#/components/schemas/tag" @@ -8289,7 +8466,7 @@ paths: Invalid parameters: value: type: error.list - request_id: de91a882-bcdf-4091-aee7-4a0d194a4bba + request_id: 8d8f8f30-f550-464c-8d7d-cdf5b989592d errors: - code: parameter_invalid message: invalid tag parameters @@ -8303,14 +8480,14 @@ paths: Company not found: value: type: error.list - request_id: 5537dcaf-f960-453a-9095-8d7e7ac06ee7 + request_id: 3d7ea439-6cdc-4ae0-b222-796596a462ba errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: c766b1f2-fdd9-47a4-8fc0-d4e1d7d7e985 + request_id: aef9215e-f4ce-437b-9514-d66a3d449de2 errors: - code: not_found message: User Not Found @@ -8324,7 +8501,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6f06b092-0ab0-4f0a-b90f-516e4f973376 + request_id: 58fd685f-74be-4040-a17b-079e49a178f6 errors: - code: unauthorized message: Access Token Invalid @@ -8390,7 +8567,7 @@ paths: Tag found: value: type: tag - id: '85' + id: '249' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8402,7 +8579,7 @@ paths: Tag not found: value: type: error.list - request_id: bddd7bea-e5b3-4dd8-ade1-027e1677b8f0 + request_id: 878edc2d-9d9c-4246-ab5d-8938d4ce89ee errors: - code: not_found message: Resource Not Found @@ -8416,7 +8593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 192bff70-9676-432c-b61d-fd2a86e741f1 + request_id: 94c41a79-2f9e-41fb-92da-925527c80a50 errors: - code: unauthorized message: Access Token Invalid @@ -8452,7 +8629,7 @@ paths: Resource not found: value: type: error.list - request_id: adfccecf-2769-47cb-8ba3-ac32d39d7f5c + request_id: 3989a313-2920-41a2-98f0-94a651e1aa74 errors: - code: not_found message: Resource Not Found @@ -8466,7 +8643,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 734a14d9-de2a-46f2-822b-db996bccbdaa + request_id: 0fa5e84c-e70d-4e04-9c79-20e47c761448 errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8481,7 +8658,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2da05771-3e0d-45f2-97e4-a279658694cc + request_id: 5445aa26-bfc6-4e27-bdec-4657675d64a0 errors: - code: unauthorized message: Access Token Invalid @@ -8519,7 +8696,7 @@ paths: Unauthorized: value: type: error.list - request_id: eae07671-81a6-41a2-a48d-a44c8eea16cf + request_id: efe42092-f0e5-42da-922e-118e0d44dc67 errors: - code: unauthorized message: Access Token Invalid @@ -8554,7 +8731,7 @@ paths: successful: value: type: team - id: '991267220' + id: '991269273' name: team 1 admin_ids: [] schema: @@ -8567,7 +8744,7 @@ paths: Team not found: value: type: error.list - request_id: 9d49b19c-8339-4edc-8b8e-eb49038035d2 + request_id: e1ee8cbd-4b8a-45ec-8726-fe6c4f1b27a3 errors: - code: team_not_found message: Team not found @@ -8581,7 +8758,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2179a27b-9a20-4928-b700-b6484f5c38ab + request_id: 5ead60fd-7a81-487e-9192-67d22099cb7e errors: - code: unauthorized message: Access Token Invalid @@ -8613,26 +8790,26 @@ paths: successful: value: type: visitor - id: 659ebf116abd014d2275ad82 + id: 65b139d36abd01117c4944d7 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Lime Cat + pseudonym: Charcoal Microphone avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/lime-cat.png - app_id: this_is_an_id592_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/charcoal-microphone.png + app_id: this_is_an_id609_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902417 - remote_created_at: 1704902417 - signed_up_at: 1704902417 - updated_at: 1704902417 + created_at: 1706113491 + remote_created_at: 1706113491 + signed_up_at: 1706113491 + updated_at: 1706113491 session_count: 0 social_profiles: type: social_profile.list @@ -8665,7 +8842,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 85aaf8aa-46fa-4dcc-95ad-fbb97b9b5e7f + request_id: 0b40b397-ef67-4636-90a6-befd459e6d29 errors: - code: not_found message: Visitor Not Found @@ -8679,7 +8856,7 @@ paths: Unauthorized: value: type: error.list - request_id: 81777aa9-9cdf-4033-9bb4-8657aeb849b1 + request_id: 6a8dab63-14a6-42d1-8607-1a2cafefab27 errors: - code: unauthorized message: Access Token Invalid @@ -8694,7 +8871,7 @@ paths: successful: summary: successful value: - id: 659ebf116abd014d2275ad82 + id: 65b139d36abd01117c4944d7 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -8727,7 +8904,7 @@ paths: successful: value: type: visitor - id: 659ebf136abd014d2275ad88 + id: 65b139d46abd01117c4944dd user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8737,16 +8914,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id598_that_should_be_at_least_ + app_id: this_is_an_id615_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902419 - remote_created_at: 1704902419 - signed_up_at: 1704902419 - updated_at: 1704902419 + created_at: 1706113492 + remote_created_at: 1706113492 + signed_up_at: 1706113492 + updated_at: 1706113492 session_count: 0 social_profiles: type: social_profile.list @@ -8779,7 +8956,7 @@ paths: Visitor not found: value: type: error.list - request_id: e55e6ab1-204e-495b-b6f2-3ad50e00aa1c + request_id: b0690b61-06c2-4164-85c2-34a7c345566f errors: - code: not_found message: Visitor Not Found @@ -8793,7 +8970,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7b040ea5-ff0f-441b-8a83-119f6cac5cd9 + request_id: 236d719f-99af-49ce-a966-bd0f2a3350f1 errors: - code: unauthorized message: Access Token Invalid @@ -8827,7 +9004,7 @@ paths: successful: value: type: visitor - id: 659ebf146abd014d2275ad8e + id: 65b139d66abd01117c4944e3 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8837,16 +9014,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id604_that_should_be_at_least_ + app_id: this_is_an_id621_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902420 - remote_created_at: 1704902420 - signed_up_at: 1704902420 - updated_at: 1704902420 + created_at: 1706113494 + remote_created_at: 1706113494 + signed_up_at: 1706113494 + updated_at: 1706113494 session_count: 0 social_profiles: type: social_profile.list @@ -8879,7 +9056,7 @@ paths: Visitor not found: value: type: error.list - request_id: a060e92d-bf93-440e-aa95-ce24bd1bd19e + request_id: 858d0209-3518-43eb-8eeb-1ca5284cbe92 errors: - code: not_found message: Visitor Not Found @@ -8893,7 +9070,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7970295d-b57f-43f9-b4a7-b62e99d17bec + request_id: eba58a5d-b0d7-42c3-b7ba-08ad9a171296 errors: - code: unauthorized message: Access Token Invalid @@ -8926,7 +9103,7 @@ paths: successful: value: type: visitor - id: 659ebf166abd014d2275ad94 + id: 65b139d76abd01117c4944e9 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8936,16 +9113,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id610_that_should_be_at_least_ + app_id: this_is_an_id627_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902422 - remote_created_at: 1704902422 - signed_up_at: 1704902422 - updated_at: 1704902422 + created_at: 1706113495 + remote_created_at: 1706113495 + signed_up_at: 1706113495 + updated_at: 1706113496 session_count: 0 social_profiles: type: social_profile.list @@ -8978,7 +9155,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 2cd4d57b-25d7-4caa-adee-53babcf27438 + request_id: 453c3733-f730-41c6-be81-83053d7ccdc7 errors: - code: not_found message: User Not Found @@ -8992,7 +9169,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8bb1ea72-3aa0-4542-bd0c-a67d626d00b5 + request_id: 64392251-e929-49de-9199-a0ef629faf22 errors: - code: unauthorized message: Access Token Invalid @@ -9023,8 +9200,8 @@ paths: successful: value: type: contact - id: 659ebf176abd014d2275ad9b - workspace_id: this_is_an_id616_that_should_be_at_least_ + id: 65b139d96abd01117c4944f0 + workspace_id: this_is_an_id633_that_should_be_at_least_ external_id: role: user email: foo@bar.com @@ -9038,9 +9215,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902423 - updated_at: 1704902424 - signed_up_at: 1704902423 + created_at: 1706113497 + updated_at: 1706113497 + signed_up_at: 1706113497 last_seen_at: last_replied_at: last_contacted_at: @@ -9074,31 +9251,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebf176abd014d2275ad9b/tags" + url: "/contacts/65b139d96abd01117c4944f0/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebf176abd014d2275ad9b/notes" + url: "/contacts/65b139d96abd01117c4944f0/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebf176abd014d2275ad9b/companies" + url: "/contacts/65b139d96abd01117c4944f0/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebf176abd014d2275ad9b/subscriptions" + url: "/contacts/65b139d96abd01117c4944f0/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebf176abd014d2275ad9b/subscriptions" + url: "/contacts/65b139d96abd01117c4944f0/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -9117,7 +9294,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3f2d3e00-b163-4326-aebe-df6dae6814c5 + request_id: e65de875-cd6b-4395-908a-6a82d278ec46 errors: - code: unauthorized message: Access Token Invalid @@ -11996,30 +12173,6 @@ components: anyOf: - type: string - "$ref": "#/components/schemas/custom_object_instance" - custom_object_instance: - title: Custom Object Instance - type: object - nullable: true - description: An instance of a Custom Object Type. - properties: - id: - type: string - description: The Intercom defined id representing the custom object instance. - example: 5a7a19e9f59ae20001d1c1e6 - external_id: - type: string - description: The id you have defined for the custom object instance. - example: 0001d1c1e65a7a19e9f59ae2 - type: - type: string - description: The identifier of the custom object type that defines the structure - of the custom object instance. - example: Order - custom_attributes: - type: object - description: The custom attributes you have set on the custom object instance. - additionalProperties: - type: string customer_request: type: object nullable: true diff --git a/descriptions/2.8/api.intercom.io.yaml b/descriptions/2.8/api.intercom.io.yaml index fca43e6..7a023d6 100644 --- a/descriptions/2.8/api.intercom.io.yaml +++ b/descriptions/2.8/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991267306' + id: '991269367' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1704902439 + created_at: 1706113509 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991267307' + id: '991269368' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: a8b928ff-6547-49ae-8293-cdd4dd433dde + request_id: f541b55d-8cc1-4822-a9e7-297f28387731 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 035b6c27-eb89-45ac-80bf-f522e55422f3 + request_id: 39429e42-f610-44e3-a883-8cbcce7ed87e errors: - code: unauthorized message: Access Token Invalid @@ -201,23 +201,23 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: d00e320e-ca14-490a-94c5-9a37b32ca476 + - id: eea90bb0-cbc8-4600-bee6-f9ddbf3a5a6a performed_by: type: admin - id: '991267311' + id: '991269372' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1704902443 + created_at: 1706113514 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. - - id: 701dcdd8-0f98-4085-a7e5-c14fa3ddcbdd + - id: 9405338a-c879-40b6-a4f7-3e89fcf2447d performed_by: type: admin - id: '991267311' + id: '991269372' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -226,7 +226,7 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1704902443 + created_at: 1706113514 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: dab333e2-224a-46b7-bd1a-7b7e8d774f39 + request_id: d026b96f-1d6a-4502-ac02-20ce3473d551 errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991267314' + id: '991269374' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: e226c8a0-b386-4521-9470-39c3d87720c1 + request_id: 550b235f-1d62-4a85-812f-d9c77864f8d4 errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991267316' + id: '991269376' 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: b95b11cb-a58f-4529-b807-abc15c5b027c + request_id: 0f5561bd-4584-40f1-9434-705f408e5f2c errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1280b76b-74c3-49cb-9f3f-73458ab59110 + request_id: 00cc8889-ab95-42bc-86b3-3d7b0c72a7eb errors: - code: unauthorized message: Access Token Invalid @@ -390,20 +390,20 @@ paths: total_pages: 1 total_count: 1 data: - - id: '52' + - id: '107' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 217 + parent_id: 431 parent_type: collection parent_ids: [] title: This is the article title description: '' body: '' - author_id: 991267319 + author_id: 991269379 state: published - created_at: 1704902448 - updated_at: 1704902448 - url: http://help-center.test/myapp-22/en/articles/52-this-is-the-article-title + created_at: 1706113519 + updated_at: 1706113519 + url: http://help-center.test/myapp-22/en/articles/107-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -414,7 +414,7 @@ paths: Unauthorized: value: type: error.list - request_id: 82e58a3d-21f2-4e3a-b2b1-c8237ff1e361 + request_id: 7b8ec6aa-eb87-4e27-91ba-5777bc62e206 errors: - code: unauthorized message: Access Token Invalid @@ -439,10 +439,10 @@ paths: examples: article created: value: - id: '55' + id: '110' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 219 + parent_id: 433 parent_type: collection parent_ids: [] statistics: @@ -456,11 +456,11 @@ paths: title: Thanks for everything description: Description of the Article body:

    Body of the Article

    - author_id: 991267324 + author_id: 991269384 state: published - created_at: 1704902450 - updated_at: 1704902450 - url: http://help-center.test/myapp-26/en/articles/55-thanks-for-everything + created_at: 1706113521 + updated_at: 1706113521 + url: http://help-center.test/myapp-26/en/articles/110-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -471,7 +471,7 @@ paths: Bad Request: value: type: error.list - request_id: 995a9d24-9f03-466a-b8d9-656b30386f04 + request_id: d81eac53-fc17-43ec-90a9-dddf570efebe errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -486,7 +486,7 @@ paths: Unauthorized: value: type: error.list - request_id: 92f4683a-d856-4294-80ce-c935ffa1f5d9 + request_id: e4f4e4d1-859a-48c4-8f83-49c43cbd713a errors: - code: unauthorized message: Access Token Invalid @@ -504,16 +504,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991267324 + author_id: 991269384 state: published - parent_id: 219 + parent_id: 433 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991267324 + author_id: 991269384 state: published bad_request: summary: Bad Request @@ -550,10 +550,10 @@ paths: examples: Article found: value: - id: '58' + id: '113' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 222 + parent_id: 436 parent_type: collection parent_ids: [] statistics: @@ -567,11 +567,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991267329 + author_id: 991269389 state: published - created_at: 1704902451 - updated_at: 1704902451 - url: http://help-center.test/myapp-32/en/articles/58-this-is-the-article-title + created_at: 1706113522 + updated_at: 1706113522 + url: http://help-center.test/myapp-32/en/articles/113-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -582,7 +582,7 @@ paths: Article not found: value: type: error.list - request_id: 9e203bf7-6835-4d01-8ace-daf59b2482df + request_id: 0ba902b1-ac6f-4dff-9952-8b1eb4b71f42 errors: - code: not_found message: Resource Not Found @@ -596,7 +596,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1eafa422-d203-4f0f-9241-219ef5c4e7eb + request_id: 8de67716-5ca6-4906-ac6b-9b4866b91975 errors: - code: unauthorized message: Access Token Invalid @@ -629,10 +629,10 @@ paths: examples: successful: value: - id: '61' + id: '116' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 225 + parent_id: 439 parent_type: collection parent_ids: [] statistics: @@ -646,11 +646,11 @@ paths: title: Christmas is here! description: '' body:

    New gifts in store for the jolly season

    - author_id: 991267335 + author_id: 991269395 state: published - created_at: 1704902453 - updated_at: 1704902454 - url: http://help-center.test/myapp-38/en/articles/61-christmas-is-here + created_at: 1706113525 + updated_at: 1706113525 + url: http://help-center.test/myapp-38/en/articles/116-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -661,7 +661,7 @@ paths: Article Not Found: value: type: error.list - request_id: 53ea4e06-053c-42b1-b3bb-729a634dd821 + request_id: eee7d330-9a33-4dd8-bca2-9755be00e807 errors: - code: not_found message: Resource Not Found @@ -675,7 +675,7 @@ paths: Unauthorized: value: type: error.list - request_id: d5704800-8588-4938-b192-15266a94160e + request_id: 98f8cde6-0f1a-4f68-8d22-2aabc6d4dcc4 errors: - code: unauthorized message: Access Token Invalid @@ -723,7 +723,7 @@ paths: examples: successful: value: - id: '64' + id: '119' object: article deleted: true schema: @@ -736,7 +736,7 @@ paths: Article Not Found: value: type: error.list - request_id: 53f645c1-4940-4eb4-99c6-887944bcb5f0 + request_id: 9b453510-7457-42e3-8dc2-96f1c0ef34ef errors: - code: not_found message: Resource Not Found @@ -750,7 +750,7 @@ paths: Unauthorized: value: type: error.list - request_id: cd64499e-f75a-4af2-a64e-545cfba974e2 + request_id: 6658a043-9053-47b8-950b-0443d68bf19d errors: - code: unauthorized message: Access Token Invalid @@ -783,16 +783,16 @@ paths: value: type: list data: - - id: '233' + - id: '447' workspace_id: this_is_an_id52_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-52/collection-17 order: 17 - created_at: 1704902459 - updated_at: 1704902459 + created_at: 1706113529 + updated_at: 1706113529 description: english collection description icon: bookmark - help_center_id: 125 + help_center_id: 223 type: collection total_count: 1 pages: @@ -810,7 +810,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9f3f69df-8dc5-4000-b589-39ba4e88df3a + request_id: 1550e33c-bb7b-4fc1-bfba-4391f42ef628 errors: - code: unauthorized message: Access Token Invalid @@ -835,16 +835,16 @@ paths: examples: collection created: value: - id: '239' + id: '453' workspace_id: this_is_an_id56_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-56/ order: 1 - created_at: 1704902460 - updated_at: 1704902460 + created_at: 1706113530 + updated_at: 1706113530 description: '' icon: book-bookmark - help_center_id: 127 + help_center_id: 225 type: collection schema: "$ref": "#/components/schemas/collection" @@ -856,7 +856,7 @@ paths: Bad Request: value: type: error.list - request_id: 3f88285f-3184-496d-8144-137691c56cf7 + request_id: 9ba95e92-37e0-47ee-899c-9c0e5bd9b41c errors: - code: parameter_not_found message: Name is a required parameter. @@ -870,7 +870,7 @@ paths: Unauthorized: value: type: error.list - request_id: c5ae5569-651f-4f05-bcbc-c8bd594a4654 + request_id: ecfb1f8a-91ef-43b5-81c7-6cd57190ab94 errors: - code: unauthorized message: Access Token Invalid @@ -918,16 +918,16 @@ paths: examples: Collection found: value: - id: '244' + id: '458' workspace_id: this_is_an_id62_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-62/collection-22 order: 22 - created_at: 1704902461 - updated_at: 1704902461 + created_at: 1706113531 + updated_at: 1706113531 description: english collection description icon: bookmark - help_center_id: 130 + help_center_id: 228 type: collection schema: "$ref": "#/components/schemas/collection" @@ -939,7 +939,7 @@ paths: Collection not found: value: type: error.list - request_id: d07d25f1-0c54-46d0-a4f9-3112138726aa + request_id: b35ae43c-fb76-4965-b240-27a1c36a51ab errors: - code: not_found message: Resource Not Found @@ -953,7 +953,7 @@ paths: Unauthorized: value: type: error.list - request_id: b80a0687-5ac0-4cf2-bac5-f1ad2d5a3ca2 + request_id: af24375d-cc6b-446a-acdb-0beecfb6206e errors: - code: unauthorized message: Access Token Invalid @@ -986,16 +986,16 @@ paths: examples: successful: value: - id: '250' + id: '464' workspace_id: this_is_an_id68_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-68/collection-25 order: 25 - created_at: 1704902462 - updated_at: 1704902463 + created_at: 1706113532 + updated_at: 1706113533 description: english collection description icon: folder - help_center_id: 133 + help_center_id: 231 type: collection schema: "$ref": "#/components/schemas/collection" @@ -1007,7 +1007,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 33aebf5d-5388-4ac9-9a0c-97d9edf5d26a + request_id: 1262a726-0f50-4cbb-b5f1-910d7a88b030 errors: - code: not_found message: Resource Not Found @@ -1021,7 +1021,7 @@ paths: Unauthorized: value: type: error.list - request_id: db9b5ec8-7ef7-4366-a4d1-3eaf73039ad7 + request_id: d395d349-8537-47d2-85a1-163d5a1ace79 errors: - code: unauthorized message: Access Token Invalid @@ -1068,7 +1068,7 @@ paths: examples: successful: value: - id: '256' + id: '470' object: collection deleted: true schema: @@ -1081,7 +1081,7 @@ paths: collection Not Found: value: type: error.list - request_id: e0d5d497-3e16-4f4e-99f4-d61ddf0e0c60 + request_id: f29a3744-c79c-4153-83a9-4f8359e14206 errors: - code: not_found message: Resource Not Found @@ -1095,7 +1095,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5aaa5dfc-19dc-42fa-b7c6-149d6f660173 + request_id: 18b44a81-e3dc-4d71-b0f9-dd8d9d703986 errors: - code: unauthorized message: Access Token Invalid @@ -1129,10 +1129,10 @@ paths: examples: Collection found: value: - id: '139' + id: '237' workspace_id: this_is_an_id80_that_should_be_at_least_4 - created_at: 1704902465 - updated_at: 1704902465 + created_at: 1706113535 + updated_at: 1706113535 identifier: help-center-1 website_turned_on: false display_name: Intercom Help Center @@ -1146,7 +1146,7 @@ paths: Collection not found: value: type: error.list - request_id: 8e141b0d-118b-41c1-aab6-7a6382e33bc2 + request_id: b236e000-1e0c-4360-874f-f46d66badf17 errors: - code: not_found message: Resource Not Found @@ -1160,7 +1160,7 @@ paths: Unauthorized: value: type: error.list - request_id: daf41963-fde0-4901-a14d-0671c276d6bd + request_id: aacfdd91-5720-4f13-9aec-da20990bbdb6 errors: - code: unauthorized message: Access Token Invalid @@ -1198,7 +1198,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2623b1ba-74ac-44d0-a9ae-44074f9f120e + request_id: bd43db49-05a9-4a29-b141-f1518c1c9062 errors: - code: unauthorized message: Access Token Invalid @@ -1230,15 +1230,15 @@ paths: value: type: list data: - - id: '263' + - id: '477' workspace_id: this_is_an_id90_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-90/section-15 order: 15 - created_at: 1704902467 - updated_at: 1704902467 + created_at: 1706113537 + updated_at: 1706113537 type: section - parent_id: 262 + parent_id: 476 total_count: 1 pages: type: pages @@ -1255,7 +1255,7 @@ paths: Unauthorized: value: type: error.list - request_id: c73a5e16-1362-4d54-90bd-4528e54747a2 + request_id: 52b591db-bd01-4a7a-a164-03f0e63c5d1f errors: - code: unauthorized message: Access Token Invalid @@ -1280,15 +1280,15 @@ paths: examples: section created: value: - id: '268' + id: '482' workspace_id: this_is_an_id94_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-94/ order: 1 - created_at: 1704902468 - updated_at: 1704902468 + created_at: 1706113538 + updated_at: 1706113538 type: section - parent_id: '266' + parent_id: '480' schema: "$ref": "#/components/schemas/section" '401': @@ -1299,7 +1299,7 @@ paths: Unauthorized: value: type: error.list - request_id: 872c1d19-6357-4466-b1c7-d5334393af9b + request_id: ac0f82ee-68f1-4d4c-b12d-23c8dbbfc64d errors: - code: unauthorized message: Access Token Invalid @@ -1315,7 +1315,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 266 + parent_id: 480 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1344,15 +1344,15 @@ paths: examples: Section found: value: - id: '272' + id: '486' workspace_id: this_is_an_id98_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-98/section-19 order: 19 - created_at: 1704902468 - updated_at: 1704902468 + created_at: 1706113539 + updated_at: 1706113539 type: section - parent_id: 271 + parent_id: 485 schema: "$ref": "#/components/schemas/section" '404': @@ -1363,7 +1363,7 @@ paths: Section not found: value: type: error.list - request_id: a7097f21-cdb4-4e6e-b34f-9d139bed20e3 + request_id: 1409c639-9a94-45a1-9263-46f76bab0395 errors: - code: not_found message: Resource Not Found @@ -1377,7 +1377,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4e607466-cbc2-4124-a8e2-dfadc08441ec + request_id: 6c26736b-61c3-4e36-94ea-0945fc493876 errors: - code: unauthorized message: Access Token Invalid @@ -1410,15 +1410,15 @@ paths: examples: successful: value: - id: '278' + id: '492' workspace_id: this_is_an_id104_that_should_be_at_least_ name: Update section name url: http://help-center.test/myapp-104/section-22 order: 22 - created_at: 1704902469 - updated_at: 1704902470 + created_at: 1706113540 + updated_at: 1706113540 type: section - parent_id: '277' + parent_id: '491' schema: "$ref": "#/components/schemas/section" '404': @@ -1429,7 +1429,7 @@ paths: Section Not Found: value: type: error.list - request_id: 4ca094f1-ea6f-4a33-96b5-24cf79177625 + request_id: 45be86a1-59d0-476c-95e8-663be4a3642a errors: - code: not_found message: Resource Not Found @@ -1443,7 +1443,7 @@ paths: Unauthorized: value: type: error.list - request_id: 51cb963b-23a1-42eb-b7e0-1b68afc81a05 + request_id: b168e268-e155-49bf-aacc-38ee94d1d005 errors: - code: unauthorized message: Access Token Invalid @@ -1459,12 +1459,12 @@ paths: summary: successful value: name: Update section name - parent_id: 277 + parent_id: 491 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 279 + parent_id: 493 delete: summary: Delete a section parameters: @@ -1491,7 +1491,7 @@ paths: examples: successful: value: - id: '284' + id: '498' object: section deleted: true schema: @@ -1504,7 +1504,7 @@ paths: section Not Found: value: type: error.list - request_id: 67de3a95-ec6e-4e56-a381-5cd5596fe13e + request_id: 45f2b8bb-b844-414c-91e5-7ba91db9b2ce errors: - code: not_found message: Resource Not Found @@ -1518,7 +1518,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5f02815e-88f5-449a-97e7-c42dd896fb95 + request_id: 18053942-5ab8-4b9e-87f0-f7e715829788 errors: - code: unauthorized message: Access Token Invalid @@ -1551,12 +1551,12 @@ paths: value: type: company company_id: company_remote_id - id: 659ebf4b6abd014ef26e4c0d - app_id: this_is_an_id119_that_should_be_at_least_ + id: 65b13a076abd011349542f52 + app_id: this_is_an_id116_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1704902475 - updated_at: 1704902475 + created_at: 1706113543 + updated_at: 1706113543 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1593,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: abc236c2-2602-4a34-b4ce-fa5758995e8d + request_id: 13b827c4-4442-4a3d-8a62-6cb5242680fe errors: - code: unauthorized message: Access Token Invalid @@ -1667,11 +1667,18 @@ paths: tags: - Companies operationId: retrieveCompany - description: "You can fetch a single company by passing in `company_id` or `name`.\n\n - \ `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou - can fetch all companies and filter by `segment_id` or `tag_id` as a query - parameter.\n \n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n - \ `https://api.intercom.io/companies?segment_id={segment_id}`\n" + description: | + You can fetch a single company by passing in `company_id` or `name`. + + `https://api.intercom.io/companies?name={name}` + + `https://api.intercom.io/companies?company_id={company_id}` + + You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. + + `https://api.intercom.io/companies?tag_id={tag_id}` + + `https://api.intercom.io/companies?segment_id={segment_id}` responses: '200': description: Successful @@ -1684,12 +1691,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebf4d6abd014ef26e4c15 - app_id: this_is_an_id125_that_should_be_at_least_ + id: 65b13a096abd011349542f5a + app_id: this_is_an_id122_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902477 - created_at: 1704902477 - updated_at: 1704902477 + remote_created_at: 1706113545 + created_at: 1706113545 + updated_at: 1706113545 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1718,7 +1725,7 @@ paths: Company Not Found: value: type: error.list - request_id: bf36c73e-ff92-480c-826f-228a2981b3be + request_id: ab58d029-5cb5-4bdc-923f-679af5e3e310 errors: - code: company_not_found message: Company Not Found @@ -1732,7 +1739,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0d8eb266-6363-4e28-8928-7cbe81946c01 + request_id: 4b7785e6-bd70-4d84-b2ab-4b2e5c05efc3 errors: - code: unauthorized message: Access Token Invalid @@ -1767,12 +1774,12 @@ paths: value: type: company company_id: '1' - id: 659ebf4f6abd014ef26e4c20 - app_id: this_is_an_id131_that_should_be_at_least_ - name: company2 - remote_created_at: 1704902479 - created_at: 1704902479 - updated_at: 1704902479 + id: 65b13a0b6abd011349542f65 + app_id: this_is_an_id128_that_should_be_at_least_ + name: company1 + remote_created_at: 1706113547 + created_at: 1706113547 + updated_at: 1706113547 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1794,7 +1801,7 @@ paths: Company Not Found: value: type: error.list - request_id: 66aea7f9-7f67-40f2-abfb-e67955662b4b + request_id: ad541896-ab15-4397-a7ee-61a1e0a25d74 errors: - code: company_not_found message: Company Not Found @@ -1808,7 +1815,7 @@ paths: Unauthorized: value: type: error.list - request_id: ebc3c785-b6af-4d73-bc3f-36968905430d + request_id: 6e6f03b5-469a-43ce-80e4-8afcc4dedb92 errors: - code: unauthorized message: Access Token Invalid @@ -1842,12 +1849,12 @@ paths: value: type: company company_id: '1' - id: 659ebf506abd014ef26e4c2a - app_id: this_is_an_id137_that_should_be_at_least_ - name: company3 - remote_created_at: 1704902480 - created_at: 1704902480 - updated_at: 1704902480 + id: 65b13a0c6abd011349542f6f + app_id: this_is_an_id134_that_should_be_at_least_ + name: company2 + remote_created_at: 1706113548 + created_at: 1706113548 + updated_at: 1706113548 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1869,7 +1876,7 @@ paths: Company Not Found: value: type: error.list - request_id: cefa5d6d-4326-42c6-be35-b2f40eb9fa41 + request_id: edb4ebca-0c2d-4208-8822-cafb870b2357 errors: - code: company_not_found message: Company Not Found @@ -1883,7 +1890,7 @@ paths: Unauthorized: value: type: error.list - request_id: 142ff94f-ad85-425c-8cb0-e39760a7f996 + request_id: eebe8ba9-65ea-4c21-8515-73775cffe1e5 errors: - code: unauthorized message: Access Token Invalid @@ -1915,7 +1922,7 @@ paths: examples: Successful: value: - id: 659ebf526abd014ef26e4c34 + id: 65b13a0e6abd011349542f79 object: company deleted: true schema: @@ -1928,7 +1935,7 @@ paths: Company Not Found: value: type: error.list - request_id: 5f6477c9-90a6-444c-bfb7-a269582e6201 + request_id: 2385eb86-3316-4fb3-abfc-c7bee55c61bd errors: - code: company_not_found message: Company Not Found @@ -1942,7 +1949,7 @@ paths: Unauthorized: value: type: error.list - request_id: afb98fa9-81cb-4a6f-a903-08bb07d2db6e + request_id: 60b8a3c0-898e-4771-b567-4c8deca98294 errors: - code: unauthorized message: Access Token Invalid @@ -1994,7 +2001,7 @@ paths: Company Not Found: value: type: error.list - request_id: 7167f29f-4e22-4b17-ad3c-35b38d0da775 + request_id: a323c447-b74b-406c-b4c7-7eeb0a0d6585 errors: - code: company_not_found message: Company Not Found @@ -2008,7 +2015,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4ce575b6-527a-4219-9263-0620b9cf09af + request_id: 4abf672e-5a99-4d7d-af49-7e3fd326ad8c errors: - code: unauthorized message: Access Token Invalid @@ -2053,7 +2060,7 @@ paths: Company Not Found: value: type: error.list - request_id: fec17f25-a713-407b-9b0d-b2bb5322598c + request_id: 6ea88e6e-2ba1-4779-8b85-6a24aad4deb9 errors: - code: company_not_found message: Company Not Found @@ -2067,7 +2074,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1e86a5a8-507c-42ad-bace-17bdc3590539 + request_id: 7641da7a-57d6-463d-8d07-21271049a6b1 errors: - code: unauthorized message: Access Token Invalid @@ -2124,12 +2131,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebf576abd014ef26e4c50 - app_id: this_is_an_id161_that_should_be_at_least_ + id: 65b13a136abd011349542f95 + app_id: this_is_an_id158_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902487 - created_at: 1704902487 - updated_at: 1704902487 + remote_created_at: 1706113555 + created_at: 1706113555 + updated_at: 1706113555 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2158,7 +2165,7 @@ paths: Unauthorized: value: type: error.list - request_id: a1c618d2-9944-4f92-a410-5154ae26ae5d + request_id: 02b0454a-d266-4918-9655-d14032d6f643 errors: - code: unauthorized message: Access Token Invalid @@ -2210,12 +2217,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ebf586abd014ef26e4c56 - app_id: this_is_an_id165_that_should_be_at_least_ + id: 65b13a156abd011349542f9b + app_id: this_is_an_id162_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902488 - created_at: 1704902488 - updated_at: 1704902488 + remote_created_at: 1706113557 + created_at: 1706113557 + updated_at: 1706113557 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2229,7 +2236,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 3fd171c5-b575-4a2e-badc-be356cd6e134 + scroll_param: 400307e9-1119-4ca2-85a2-14aa4451bc0f schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2240,7 +2247,7 @@ paths: Unauthorized: value: type: error.list - request_id: 501e4cee-6769-4156-a8f8-b9543d0bdf65 + request_id: 77665144-d1ae-4b0f-bd7e-873c57f757bf errors: - code: unauthorized message: Access Token Invalid @@ -2275,12 +2282,12 @@ paths: value: type: company company_id: '1' - id: 659ebf5a6abd014ef26e4c5f - app_id: this_is_an_id169_that_should_be_at_least_ - name: company7 - remote_created_at: 1704902490 - created_at: 1704902490 - updated_at: 1704902490 + id: 65b13a166abd011349542fa4 + app_id: this_is_an_id166_that_should_be_at_least_ + name: company6 + remote_created_at: 1706113558 + created_at: 1706113558 + updated_at: 1706113558 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2294,6 +2301,20 @@ paths: custom_attributes: {} schema: "$ref": "#/components/schemas/company" + '400': + description: Bad Request + content: + application/json: + examples: + Bad Request: + value: + type: error.list + request_id: 3e4f43ae-f1ad-4f79-8b4a-cf9105a66617 + errors: + - code: parameter_not_found + message: company not specified + schema: + "$ref": "#/components/schemas/error" '404': description: Company Not Found content: @@ -2302,10 +2323,10 @@ paths: Company Not Found: value: type: error.list - request_id: ffdd7fee-aa3a-4235-bd98-811f30d8ecbc + request_id: c050f985-a416-4d9e-b208-9df0f1ce3cc2 errors: - - code: not_found - message: User Not Found + - code: company_not_found + message: Company Not Found schema: "$ref": "#/components/schemas/error" '401': @@ -2316,7 +2337,7 @@ paths: Unauthorized: value: type: error.list - request_id: d8d024de-dfd7-48f8-9267-cd58ef7f905b + request_id: 869abda0-3af7-4be4-83fa-f86a0eaca677 errors: - code: unauthorized message: Access Token Invalid @@ -2339,11 +2360,14 @@ paths: successful: summary: Successful value: - id: 659ebf5a6abd014ef26e4c5f + id: 65b13a166abd011349542fa4 + bad_request: + summary: Bad Request + value: company_not_found: summary: Company Not Found value: - id: 659ebf5a6abd014ef26e4c63 + id: '123' get: summary: List attached companies for contact parameters: @@ -2375,13 +2399,13 @@ paths: data: - type: company company_id: '1' - id: 659ebf646abd014ef26e4c91 - app_id: this_is_an_id183_that_should_be_at_least_ - name: company23 - remote_created_at: 1704902500 - created_at: 1704902500 - updated_at: 1704902500 - last_request_at: 1704729700 + id: 65b13a1c6abd011349542fc5 + app_id: this_is_an_id182_that_should_be_at_least_ + name: company12 + remote_created_at: 1706113564 + created_at: 1706113564 + updated_at: 1706113564 + last_request_at: 1705940764 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2410,7 +2434,7 @@ paths: Contact not found: value: type: error.list - request_id: df1d4dab-e8c0-4182-93e7-b5466258af21 + request_id: bb7c4890-f867-44bd-91f5-22b52fc2c61c errors: - code: not_found message: User Not Found @@ -2424,7 +2448,7 @@ paths: Unauthorized: value: type: error.list - request_id: ff1e08c7-b814-4274-a49a-353ac23de3d9 + request_id: 12f646b7-bf91-4047-8fca-d89962056539 errors: - code: unauthorized message: Access Token Invalid @@ -2467,12 +2491,12 @@ paths: value: type: company company_id: '1' - id: 659ebf5b6abd014ef26e4c6b - app_id: this_is_an_id175_that_should_be_at_least_ - name: company10 - remote_created_at: 1704902491 - created_at: 1704902491 - updated_at: 1704902492 + id: 65b13a196abd011349542fb4 + app_id: this_is_an_id174_that_should_be_at_least_ + name: company8 + remote_created_at: 1706113561 + created_at: 1706113561 + updated_at: 1706113561 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2494,14 +2518,14 @@ paths: Company Not Found: value: type: error.list - request_id: c585132d-e60d-4797-8334-3059f47b9d3d + request_id: b9975ee3-b7ac-44d8-b659-ad9c37a24957 errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 4ab55d95-b227-4ba1-b58e-56f97836f161 + request_id: 4db723a8-f7a5-46c7-a486-30d4c41bb13c errors: - code: not_found message: User Not Found @@ -2515,7 +2539,7 @@ paths: Unauthorized: value: type: error.list - request_id: d8f49e87-c220-499b-880c-5da64a596fc1 + request_id: 81058df6-1ac0-4a1c-be2e-f8e95cfe7f04 errors: - code: unauthorized message: Access Token Invalid @@ -2551,44 +2575,44 @@ paths: type: list data: - type: note - id: '59' - created_at: 1704297703 + id: '81' + created_at: 1705508766 contact: type: contact - id: 659ebf676abd014ef26e4c9c + id: 65b13a1e6abd011349542fd0 author: type: admin - id: '991267416' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269477' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '58' - created_at: 1704211303 + id: '80' + created_at: 1705422366 contact: type: contact - id: 659ebf676abd014ef26e4c9c + id: 65b13a1e6abd011349542fd0 author: type: admin - id: '991267416' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269477' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '57' - created_at: 1704211303 + id: '79' + created_at: 1705422366 contact: type: contact - id: 659ebf676abd014ef26e4c9c + id: 65b13a1e6abd011349542fd0 author: type: admin - id: '991267416' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269477' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2609,7 +2633,7 @@ paths: Contact not found: value: type: error.list - request_id: c8fd2ec6-f9d4-40f6-b36c-41e1d1d1fa18 + request_id: 29b75db7-452e-4544-8d1e-b3416ddcf1cc errors: - code: not_found message: User Not Found @@ -2643,16 +2667,16 @@ paths: Successful response: value: type: note - id: '64' - created_at: 1704902504 + id: '86' + created_at: 1706113567 contact: type: contact - id: 659ebf686abd014ef26e4c9e + id: 65b13a1f6abd011349542fd2 author: type: admin - id: '991267418' - name: Ciaran111 Lee - email: admin111@email.com + id: '991269479' + name: Ciaran112 Lee + email: admin112@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2666,14 +2690,14 @@ paths: Admin not found: value: type: error.list - request_id: 4ce24e7d-27d1-4ad7-85ef-a51838b70583 + request_id: d5cc982f-18c4-4acb-ad9a-e930351de588 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 37b8884d-cc01-40f7-8612-5455df4efa96 + request_id: 5de72d24-a52e-4e32-ac34-8b7dda7a963b errors: - code: not_found message: User Not Found @@ -2703,20 +2727,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 659ebf686abd014ef26e4c9e - admin_id: 991267418 + contact_id: 65b13a1f6abd011349542fd2 + admin_id: 991269479 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 659ebf686abd014ef26e4c9f + contact_id: 65b13a206abd011349542fd3 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991267420 + admin_id: 991269481 body: Hello "/contacts/{contact_id}/segments": get: @@ -2749,10 +2773,10 @@ paths: type: list data: - type: segment - id: 659ebf696abd014ef26e4ca1 + id: 65b13a216abd011349542fd5 name: segment - created_at: 1704902505 - updated_at: 1704902505 + created_at: 1706113569 + updated_at: 1706113569 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2764,7 +2788,7 @@ paths: Contact not found: value: type: error.list - request_id: 3b273c92-e4c1-42eb-a06e-339f65867aa7 + request_id: b61d4c0f-c78e-4664-814d-046cf998e78c errors: - code: not_found message: User Not Found @@ -2778,7 +2802,7 @@ paths: Unauthorized: value: type: error.list - request_id: 380623e3-9219-446b-aabc-8d3d6897f091 + request_id: b0475d68-4e73-42d0-a352-6f04c20ed7ad errors: - code: unauthorized message: Access Token Invalid @@ -2822,7 +2846,7 @@ paths: type: list data: - type: subscription - id: '136' + id: '277' state: live consent_type: opt_out default_translation: @@ -2836,7 +2860,7 @@ paths: content_types: - email - type: subscription - id: '138' + id: '279' state: live consent_type: opt_in default_translation: @@ -2859,7 +2883,7 @@ paths: Contact not found: value: type: error.list - request_id: 105e9f42-7108-4546-aa01-5a0e3ab57472 + request_id: 7b45ce50-8b42-429a-b7b8-716156d61d7a errors: - code: not_found message: User Not Found @@ -2873,7 +2897,7 @@ paths: Unauthorized: value: type: error.list - request_id: e68af583-ecdb-4f93-a8e6-5983a0b2f4f1 + request_id: c1d81f02-6c70-4f09-a1bd-06851b5aced7 errors: - code: unauthorized message: Access Token Invalid @@ -2914,7 +2938,7 @@ paths: Successful: value: type: subscription - id: '151' + id: '292' state: live consent_type: opt_in default_translation: @@ -2937,14 +2961,14 @@ paths: Contact not found: value: type: error.list - request_id: 065d6227-af09-4550-a914-6f788de1fef3 + request_id: 87f8b082-fb1a-41b2-a980-e651d24ac3b4 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 14a73ae4-0902-4e2d-98f4-de43dffe4766 + request_id: '06688c39-3179-4c2f-b1b5-ae76c36bda96' errors: - code: not_found message: Resource Not Found @@ -2958,7 +2982,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3ff1342f-f1a6-4c29-a295-e9af68d8a83c + request_id: a47d2ef2-780b-4de5-a65c-615176489ad3 errors: - code: unauthorized message: Access Token Invalid @@ -2986,12 +3010,12 @@ paths: successful: summary: Successful value: - id: 151 + id: 292 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 155 + id: 296 consent_type: opt_in resource_not_found: summary: Resource not found @@ -3037,7 +3061,7 @@ paths: Successful: value: type: subscription - id: '167' + id: '308' state: live consent_type: opt_in default_translation: @@ -3060,14 +3084,14 @@ paths: Contact not found: value: type: error.list - request_id: 32f22ebc-999e-4475-ba9d-060a679098ed + request_id: d814fbbd-ffd5-4d48-ac37-c9ae4a9717df errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: 02ad6b19-9c4e-4ca8-b128-a117b2f863a3 + request_id: 6533812c-f2c4-42d9-9d53-9dc9eaddfc10 errors: - code: not_found message: Resource Not Found @@ -3081,7 +3105,7 @@ paths: Unauthorized: value: type: error.list - request_id: 47f1d473-7d4c-48c8-83c2-2925eba3b03f + request_id: ab0b4644-de48-43fe-a3b4-c23fab4bcf21 errors: - code: unauthorized message: Access Token Invalid @@ -3119,7 +3143,7 @@ paths: type: list data: - type: tag - id: '97' + id: '257' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3131,7 +3155,7 @@ paths: Contact not found: value: type: error.list - request_id: 1364243c-45c2-4919-891b-0dcdcf1fd4ee + request_id: 76fd0719-1ee9-44bc-9ca5-f8e53aa8a1d2 errors: - code: not_found message: User Not Found @@ -3145,7 +3169,7 @@ paths: Unauthorized: value: type: error.list - request_id: 687ce275-4d5e-4ac2-814e-0e8d48c98078 + request_id: a56e3af4-5266-489d-82c8-fe365a4a269d errors: - code: unauthorized message: Access Token Invalid @@ -3180,7 +3204,7 @@ paths: successful: value: type: tag - id: '98' + id: '258' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3192,14 +3216,14 @@ paths: Contact not found: value: type: error.list - request_id: 492afa81-01eb-4e9b-8aab-0ab186998461 + request_id: 622f84d8-6961-4df7-ab94-ae7ceb539330 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 2d7ca1b0-d3fe-45ce-aa8c-a61e8960edd7 + request_id: 997f94f0-c648-4fd8-a77e-771eef2085f1 errors: - code: not_found message: Resource Not Found @@ -3213,7 +3237,7 @@ paths: Unauthorized: value: type: error.list - request_id: ddf3580c-f0db-4e1f-a1f3-e9072b5c0771 + request_id: 8ebe3075-4dc3-4962-b266-85a5d7f32987 errors: - code: unauthorized message: Access Token Invalid @@ -3236,11 +3260,11 @@ paths: successful: summary: successful value: - id: 98 + id: 258 contact_not_found: summary: Contact not found value: - id: 99 + id: 259 tag_not_found: summary: Tag not found value: @@ -3282,7 +3306,7 @@ paths: successful: value: type: tag - id: '101' + id: '261' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3294,14 +3318,14 @@ paths: Contact not found: value: type: error.list - request_id: 3920759c-10ca-4dd5-a604-0b5548a8a5d1 + request_id: 427af74f-938f-4df3-b733-091dae12571b errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 70c17887-69a7-4c26-8995-6acffb381d5d + request_id: 9b632c51-61f3-4af6-a7d9-1101af2cf2fd errors: - code: not_found message: Resource Not Found @@ -3315,7 +3339,7 @@ paths: Unauthorized: value: type: error.list - request_id: 541fe9d7-e762-410b-8069-5b8303787407 + request_id: '01091a18-9077-4af1-810d-8ada14d71ff6' errors: - code: unauthorized message: Access Token Invalid @@ -3349,8 +3373,8 @@ paths: successful: value: type: contact - id: 659ebf756abd014ef26e4cb8 - workspace_id: this_is_an_id249_that_should_be_at_least_ + id: 65b13a2c6abd011349542fec + workspace_id: this_is_an_id248_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3364,9 +3388,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902517 - updated_at: 1704902517 - signed_up_at: 1704902517 + created_at: 1706113580 + updated_at: 1706113581 + signed_up_at: 1706113580 last_seen_at: last_replied_at: last_contacted_at: @@ -3400,31 +3424,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebf756abd014ef26e4cb8/tags" + url: "/contacts/65b13a2c6abd011349542fec/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebf756abd014ef26e4cb8/notes" + url: "/contacts/65b13a2c6abd011349542fec/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebf756abd014ef26e4cb8/companies" + url: "/contacts/65b13a2c6abd011349542fec/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebf756abd014ef26e4cb8/subscriptions" + url: "/contacts/65b13a2c6abd011349542fec/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebf756abd014ef26e4cb8/subscriptions" + url: "/contacts/65b13a2c6abd011349542fec/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3443,7 +3467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1cacccfd-246c-469a-95e3-7397191e5022 + request_id: 30a88b08-b906-47a6-910e-35d26aa303f5 errors: - code: unauthorized message: Access Token Invalid @@ -3488,8 +3512,8 @@ paths: successful: value: type: contact - id: 659ebf766abd014ef26e4cb9 - workspace_id: this_is_an_id253_that_should_be_at_least_ + id: 65b13a2e6abd011349542fed + workspace_id: this_is_an_id252_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3503,9 +3527,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902518 - updated_at: 1704902518 - signed_up_at: 1704902518 + created_at: 1706113582 + updated_at: 1706113582 + signed_up_at: 1706113582 last_seen_at: last_replied_at: last_contacted_at: @@ -3539,31 +3563,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebf766abd014ef26e4cb9/tags" + url: "/contacts/65b13a2e6abd011349542fed/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebf766abd014ef26e4cb9/notes" + url: "/contacts/65b13a2e6abd011349542fed/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebf766abd014ef26e4cb9/companies" + url: "/contacts/65b13a2e6abd011349542fed/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebf766abd014ef26e4cb9/subscriptions" + url: "/contacts/65b13a2e6abd011349542fed/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebf766abd014ef26e4cb9/subscriptions" + url: "/contacts/65b13a2e6abd011349542fed/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3582,7 +3606,7 @@ paths: Unauthorized: value: type: error.list - request_id: eab64bc6-a582-4942-97ac-5adf173628da + request_id: adc7f02e-e8c4-47de-b84d-024a10d381e8 errors: - code: unauthorized message: Access Token Invalid @@ -3613,7 +3637,7 @@ paths: examples: successful: value: - id: 659ebf776abd014ef26e4cba + id: 65b13a2f6abd011349542fee object: contact deleted: true schema: @@ -3626,7 +3650,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2c317d00-e7b3-464d-8d4b-2b75d767432b + request_id: e03af90c-082a-4838-aa49-3ea6a3462a68 errors: - code: unauthorized message: Access Token Invalid @@ -3654,8 +3678,8 @@ paths: successful: value: type: contact - id: 659ebf786abd014ef26e4cbc - workspace_id: this_is_an_id261_that_should_be_at_least_ + id: 65b13a306abd011349542ff0 + workspace_id: this_is_an_id260_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3669,9 +3693,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902520 - updated_at: 1704902520 - signed_up_at: 1704902520 + created_at: 1706113584 + updated_at: 1706113584 + signed_up_at: 1706113584 last_seen_at: last_replied_at: last_contacted_at: @@ -3705,31 +3729,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebf786abd014ef26e4cbc/tags" + url: "/contacts/65b13a306abd011349542ff0/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebf786abd014ef26e4cbc/notes" + url: "/contacts/65b13a306abd011349542ff0/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebf786abd014ef26e4cbc/companies" + url: "/contacts/65b13a306abd011349542ff0/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebf786abd014ef26e4cbc/subscriptions" + url: "/contacts/65b13a306abd011349542ff0/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebf786abd014ef26e4cbc/subscriptions" + url: "/contacts/65b13a306abd011349542ff0/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3748,7 +3772,7 @@ paths: Unauthorized: value: type: error.list - request_id: c242b905-f751-44e0-a1df-91bd5fac4d40 + request_id: afb373aa-5688-4ce9-9815-53effc15dd78 errors: - code: unauthorized message: Access Token Invalid @@ -3763,8 +3787,8 @@ paths: successful: summary: successful value: - from: 659ebf786abd014ef26e4cbb - into: 659ebf786abd014ef26e4cbc + from: 65b13a306abd011349542fef + into: 65b13a306abd011349542ff0 "/contacts/search": post: summary: Search contacts @@ -3873,7 +3897,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9dacb8ab-4108-406b-91c9-06873c5e41b6 + request_id: db917730-5b04-4dea-8ebc-d67887f1b8d3 errors: - code: unauthorized message: Access Token Invalid @@ -3893,15 +3917,15 @@ paths: value: - field: id operator: "=" - value: 659ebf796abd014ef26e4cbf + value: 65b13a316abd011349542ff3 - operator: OR value: - field: id operator: "=" - value: 659ebf796abd014ef26e4cbf + value: 65b13a316abd011349542ff3 - field: id operator: "=" - value: 659ebf796abd014ef26e4cbf + value: 65b13a316abd011349542ff3 "/contacts": get: summary: List all contacts @@ -3940,7 +3964,7 @@ paths: Unauthorized: value: type: error.list - request_id: fbe2441a-3578-427a-88c4-efbfee47a545 + request_id: 68ca5029-4951-440f-a35d-68046365fc0f errors: - code: unauthorized message: Access Token Invalid @@ -3966,8 +3990,8 @@ paths: successful: value: type: contact - id: 659ebf7b6abd014ef26e4cc1 - workspace_id: this_is_an_id273_that_should_be_at_least_ + id: 65b13a346abd011349542ff5 + workspace_id: this_is_an_id272_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3981,8 +4005,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902523 - updated_at: 1704902523 + created_at: 1706113588 + updated_at: 1706113588 signed_up_at: last_seen_at: last_replied_at: @@ -4017,31 +4041,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ebf7b6abd014ef26e4cc1/tags" + url: "/contacts/65b13a346abd011349542ff5/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ebf7b6abd014ef26e4cc1/notes" + url: "/contacts/65b13a346abd011349542ff5/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ebf7b6abd014ef26e4cc1/companies" + url: "/contacts/65b13a346abd011349542ff5/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ebf7b6abd014ef26e4cc1/subscriptions" + url: "/contacts/65b13a346abd011349542ff5/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ebf7b6abd014ef26e4cc1/subscriptions" + url: "/contacts/65b13a346abd011349542ff5/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -4060,7 +4084,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7b69a9fd-2505-450a-8c9a-2c37ff8c2b77 + request_id: fe44b044-e7af-4f7b-8975-740e37b571c8 errors: - code: unauthorized message: Access Token Invalid @@ -4104,7 +4128,7 @@ paths: examples: successful: value: - id: 659ebf7c6abd014ef26e4cc2 + id: 65b13a346abd011349542ff6 object: contact archived: true schema: @@ -4136,7 +4160,7 @@ paths: examples: successful: value: - id: 659ebf7d6abd014ef26e4cc3 + id: 65b13a356abd011349542ff7 object: contact archived: false schema: @@ -4171,7 +4195,7 @@ paths: successful: value: type: tag - id: '103' + id: '263' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4183,7 +4207,7 @@ paths: Conversation not found: value: type: error.list - request_id: 13060a01-8326-4bae-9681-d96c3fb6040d + request_id: 7a95e855-ea20-4a2c-b366-f632e745c0e9 errors: - code: not_found message: Conversation not found @@ -4197,7 +4221,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0b88b735-39a0-42ce-8aa8-d718d290b9c8 + request_id: 20dbeb1e-1892-4095-879d-052cca0011e9 errors: - code: unauthorized message: Access Token Invalid @@ -4226,13 +4250,13 @@ paths: successful: summary: successful value: - id: 103 - admin_id: 991267451 + id: 263 + admin_id: 991269512 conversation_not_found: summary: Conversation not found value: - id: 104 - admin_id: 991267453 + id: 264 + admin_id: 991269514 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4270,7 +4294,7 @@ paths: successful: value: type: tag - id: '106' + id: '266' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4282,14 +4306,14 @@ paths: Conversation not found: value: type: error.list - request_id: 577b3bb7-37eb-40b4-b93a-d24806ab4224 + request_id: 8a6d958e-8145-445d-99f0-48985fce204f errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 20371fef-3307-4ce9-84b6-39d0d13c1ed0 + request_id: cc5f4b1d-b03e-4bc3-b098-f86e78b2a4c2 errors: - code: tag_not_found message: Tag not found @@ -4303,7 +4327,7 @@ paths: Unauthorized: value: type: error.list - request_id: fc8e1caf-a6a1-4f16-98d7-f6eb0b4b3cf1 + request_id: 724f178e-f93d-4043-b666-f927310fb962 errors: - code: unauthorized message: Access Token Invalid @@ -4326,15 +4350,15 @@ paths: successful: summary: successful value: - admin_id: 991267455 + admin_id: 991269516 conversation_not_found: summary: Conversation not found value: - admin_id: 991267457 + admin_id: 991269518 tag_not_found: summary: Tag not found value: - admin_id: 991267458 + admin_id: 991269519 "/conversations": get: summary: List all conversations @@ -4381,22 +4405,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '353' - created_at: 1704902532 - updated_at: 1704902532 + id: '862' + created_at: 1706113597 + updated_at: 1706113597 waiting_since: snoozed_until: source: type: conversation - id: '403918273' + id: '403918565' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267461' - name: Ciaran151 Lee - email: admin151@email.com + id: '991269522' + name: Ciaran152 Lee + email: admin152@email.com attachments: [] url: redacted: false @@ -4404,7 +4428,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebf846abd014ef26e4cc7 + id: 65b13a3d6abd011349542ffb first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4432,7 +4456,7 @@ paths: Unauthorized: value: type: error.list - request_id: 78badfe8-ec8a-4152-a91d-25a31ffd1acb + request_id: 8ef1fa6d-74a6-4f1e-a8b1-e568036d30a6 errors: - code: unauthorized message: Access Token Invalid @@ -4446,7 +4470,7 @@ paths: API plan restricted: value: type: error.list - request_id: cc83dd79-2032-4064-9055-b4da5441caf6 + request_id: dfced48a-f0f0-4cd4-907f-34e642581566 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4478,11 +4502,11 @@ paths: conversation created: value: type: user_message - id: '403918283' - created_at: 1704902554 + id: '403918575' + created_at: 1706113624 body: Hello there message_type: inapp - conversation_id: '378' + conversation_id: '887' schema: "$ref": "#/components/schemas/message" '404': @@ -4493,7 +4517,7 @@ paths: Contact Not Found: value: type: error.list - request_id: f61729e1-ecc0-4789-9d1c-0b3d640ff09b + request_id: 6c4316b1-5936-46bc-9084-25d58b6b286b errors: - code: not_found message: User Not Found @@ -4507,7 +4531,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9658ad9e-91cf-4303-a01e-092222d25773 + request_id: c9da06ba-5947-43d1-9e4a-20972af84a09 errors: - code: unauthorized message: Access Token Invalid @@ -4521,7 +4545,7 @@ paths: API plan restricted: value: type: error.list - request_id: e51bb795-85a6-4609-8eba-061af7ad3515 + request_id: 0673e204-0c18-4f22-83ab-12a382a8866e errors: - code: api_plan_restricted message: Active subscription needed. @@ -4538,7 +4562,7 @@ paths: value: from: type: user - id: 659ebf996abd014ef26e4cdc + id: 65b13a566abd011349543010 body: Hello there contact_not_found: summary: Contact Not Found @@ -4590,22 +4614,22 @@ paths: conversation found: value: type: conversation - id: '382' - created_at: 1704902559 - updated_at: 1704902559 + id: '891' + created_at: 1706113630 + updated_at: 1706113630 waiting_since: snoozed_until: source: type: conversation - id: '403918287' + id: '403918579' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267475' - name: Ciaran158 Lee - email: admin158@email.com + id: '991269536' + name: Ciaran159 Lee + email: admin159@email.com attachments: [] url: redacted: false @@ -4613,7 +4637,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebf9f6abd014ef26e4ce0 + id: 65b13a5e6abd011349543014 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4645,7 +4669,7 @@ paths: Not found: value: type: error.list - request_id: 88a9db3f-3bff-4bc6-87e6-b0ed5cb52286 + request_id: f1565cdc-3e9c-4c7d-9429-9b39784f181f errors: - code: not_found message: Resource Not Found @@ -4659,7 +4683,7 @@ paths: Unauthorized: value: type: error.list - request_id: ed1fb6b2-65d9-4cb4-98dd-6c5a129b3558 + request_id: d4674cd4-2b05-45cb-95bc-3de511cb64bd errors: - code: unauthorized message: Access Token Invalid @@ -4673,7 +4697,7 @@ paths: API plan restricted: value: type: error.list - request_id: dc3f7890-1700-4b12-a4e9-666f99ff52a8 + request_id: b4d5ba5c-0cd2-4a8f-8f26-7a12d17f3b37 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4716,22 +4740,22 @@ paths: conversation found: value: type: conversation - id: '386' - created_at: 1704902564 - updated_at: 1704902565 + id: '895' + created_at: 1706113637 + updated_at: 1706113639 waiting_since: snoozed_until: source: type: conversation - id: '403918291' + id: '403918583' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267483' - name: Ciaran162 Lee - email: admin162@email.com + id: '991269544' + name: Ciaran163 Lee + email: admin163@email.com attachments: [] url: redacted: false @@ -4739,7 +4763,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfa46abd014ef26e4ce4 + id: 65b13a646abd011349543018 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4763,34 +4787,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '62' + id: '191' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902565 - updated_at: 1704902565 - notified_at: 1704902565 + created_at: 1706113638 + updated_at: 1706113638 + notified_at: 1706113638 assigned_to: author: - id: '991267484' + id: '991269545' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '63' + id: '192' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902565 - updated_at: 1704902565 - notified_at: 1704902565 + created_at: 1706113639 + updated_at: 1706113639 + notified_at: 1706113639 assigned_to: author: - id: '991267484' + id: '991269545' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4805,7 +4829,7 @@ paths: Not found: value: type: error.list - request_id: dd08c04c-a6cf-47a1-9e83-54e56e619758 + request_id: fceb30f2-8b50-47b7-a963-28649e806616 errors: - code: not_found message: Resource Not Found @@ -4819,7 +4843,7 @@ paths: Unauthorized: value: type: error.list - request_id: 667daeeb-df03-4987-a3cf-4cbdb4a25bf3 + request_id: 27cc852c-64e8-431d-bbc5-5e581f1678ce errors: - code: unauthorized message: Access Token Invalid @@ -4833,7 +4857,7 @@ paths: API plan restricted: value: type: error.list - request_id: a1a2a52d-7ff1-4d81-9929-60cfb814f7ac + request_id: 95215837-d8fb-458a-9fd0-830071df11d8 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4952,22 +4976,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '393' - created_at: 1704902574 - updated_at: 1704902574 + id: '902' + created_at: 1706113650 + updated_at: 1706113650 waiting_since: snoozed_until: source: type: conversation - id: '403918298' + id: '403918590' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267513' - name: Ciaran185 Lee - email: admin185@email.com + id: '991269574' + name: Ciaran186 Lee + email: admin186@email.com attachments: [] url: redacted: false @@ -4975,7 +4999,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfae6abd014ef26e4ceb + id: 65b13a726abd01134954301f first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5009,15 +5033,15 @@ paths: value: - field: id operator: "=" - value: '393' + value: '902' - operator: OR value: - field: id operator: "=" - value: '393' + value: '902' - field: id operator: "=" - value: '393' + value: '902' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -5056,22 +5080,22 @@ paths: User reply: value: type: conversation - id: '401' - created_at: 1704902582 - updated_at: 1704902582 - waiting_since: 1704902582 + id: '910' + created_at: 1706113659 + updated_at: 1706113660 + waiting_since: 1706113660 snoozed_until: source: type: conversation - id: '403918301' + id: '403918593' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267515' - name: Ciaran186 Lee - email: admin186@email.com + id: '991269576' + name: Ciaran187 Lee + email: admin187@email.com attachments: [] url: redacted: false @@ -5079,9 +5103,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfb56abd014ef26e4cf2 + id: 65b13a7b6abd011349543026 first_contact_reply: - created_at: 1704902582 + created_at: 1706113660 type: conversation url: admin_assignee_id: @@ -5104,15 +5128,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '65' + id: '194' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902582 - updated_at: 1704902582 - notified_at: 1704902582 + created_at: 1706113660 + updated_at: 1706113660 + notified_at: 1706113660 assigned_to: author: - id: 659ebfb56abd014ef26e4cf2 + id: 65b13a7b6abd011349543026 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5123,22 +5147,22 @@ paths: Admin note reply: value: type: conversation - id: '402' - created_at: 1704902583 - updated_at: 1704902584 + id: '911' + created_at: 1706113661 + updated_at: 1706113662 waiting_since: snoozed_until: source: type: conversation - id: '403918302' + id: '403918594' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267517' - name: Ciaran187 Lee - email: admin187@email.com + id: '991269578' + name: Ciaran188 Lee + email: admin188@email.com attachments: [] url: redacted: false @@ -5146,7 +5170,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfb76abd014ef26e4cf3 + id: 65b13a7d6abd011349543027 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5168,7 +5192,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '66' + id: '195' part_type: note body: |-

    An Unordered HTML List

    @@ -5183,15 +5207,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704902584 - updated_at: 1704902584 - notified_at: 1704902584 + created_at: 1706113662 + updated_at: 1706113662 + notified_at: 1706113662 assigned_to: author: - id: '991267517' + id: '991269578' type: admin - name: Ciaran187 Lee - email: admin187@email.com + name: Ciaran188 Lee + email: admin188@email.com attachments: [] external_id: redacted: false @@ -5199,22 +5223,22 @@ paths: User last conversation reply: value: type: conversation - id: '404' - created_at: 1704902586 - updated_at: 1704902587 - waiting_since: 1704902587 + id: '913' + created_at: 1706113665 + updated_at: 1706113666 + waiting_since: 1706113666 snoozed_until: source: type: conversation - id: '403918304' + id: '403918596' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267521' - name: Ciaran189 Lee - email: admin189@email.com + id: '991269582' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -5222,9 +5246,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfba6abd014ef26e4cf5 + id: 65b13a816abd011349543029 first_contact_reply: - created_at: 1704902587 + created_at: 1706113666 type: conversation url: admin_assignee_id: @@ -5247,15 +5271,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '67' + id: '196' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902587 - updated_at: 1704902587 - notified_at: 1704902587 + created_at: 1706113666 + updated_at: 1706113666 + notified_at: 1706113666 assigned_to: author: - id: 659ebfba6abd014ef26e4cf5 + id: 65b13a816abd011349543029 type: user name: Joe Bloggs email: joe@bloggs.com @@ -5273,7 +5297,7 @@ paths: Not found: value: type: error.list - request_id: ed08ac34-1626-4ee4-9753-f55a60218147 + request_id: 8b52032d-0e89-4d9a-b388-e4301e619b48 errors: - code: not_found message: Resource Not Found @@ -5287,7 +5311,7 @@ paths: Unauthorized: value: type: error.list - request_id: a34ef650-4b36-48c6-ace6-777e3bf0dd0e + request_id: 603e2b9e-94fc-44fd-91a3-00ead0ec0bc2 errors: - code: unauthorized message: Access Token Invalid @@ -5301,7 +5325,7 @@ paths: API plan restricted: value: type: error.list - request_id: 5754dc6d-7d5c-40f7-a3c4-8fb13449a5d0 + request_id: a62570a7-923e-4d43-9465-284b9886832b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5318,14 +5342,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ebfb56abd014ef26e4cf2 + intercom_user_id: 65b13a7b6abd011349543026 body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991267517 + admin_id: 991269578 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5335,14 +5359,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ebfba6abd014ef26e4cf5 + intercom_user_id: 65b13a816abd011349543029 body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ebfbc6abd014ef26e4cf6 + intercom_user_id: 65b13a836abd01134954302a body: Thanks again :) "/conversations/{id}/parts": post: @@ -5376,22 +5400,22 @@ paths: Close a conversation: value: type: conversation - id: '408' - created_at: 1704902593 - updated_at: 1704902593 + id: '917' + created_at: 1706113672 + updated_at: 1706113673 waiting_since: snoozed_until: source: type: conversation - id: '403918308' + id: '403918600' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267529' - name: Ciaran193 Lee - email: admin193@email.com + id: '991269590' + name: Ciaran194 Lee + email: admin194@email.com attachments: [] url: redacted: false @@ -5399,7 +5423,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfc16abd014ef26e4cf9 + id: 65b13a886abd01134954302d first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5421,18 +5445,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '68' + id: '197' part_type: close body: "

    Goodbye :)

    " - created_at: 1704902593 - updated_at: 1704902593 - notified_at: 1704902593 + created_at: 1706113673 + updated_at: 1706113673 + notified_at: 1706113673 assigned_to: author: - id: '991267529' + id: '991269590' type: admin - name: Ciaran193 Lee - email: admin193@email.com + name: Ciaran194 Lee + email: admin194@email.com attachments: [] external_id: redacted: false @@ -5440,22 +5464,22 @@ paths: Snooze a conversation: value: type: conversation - id: '409' - created_at: 1704902594 - updated_at: 1704902595 + id: '918' + created_at: 1706113674 + updated_at: 1706113675 waiting_since: - snoozed_until: 1704906195 + snoozed_until: 1706117275 source: type: conversation - id: '403918309' + id: '403918601' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267531' - name: Ciaran194 Lee - email: admin194@email.com + id: '991269592' + name: Ciaran195 Lee + email: admin195@email.com attachments: [] url: redacted: false @@ -5463,7 +5487,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfc26abd014ef26e4cfa + id: 65b13a8a6abd01134954302e first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5485,18 +5509,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '69' + id: '198' part_type: snoozed body: - created_at: 1704902595 - updated_at: 1704902595 - notified_at: 1704902595 + created_at: 1706113675 + updated_at: 1706113675 + notified_at: 1706113675 assigned_to: author: - id: '991267531' + id: '991269592' type: admin - name: Ciaran194 Lee - email: admin194@email.com + name: Ciaran195 Lee + email: admin195@email.com attachments: [] external_id: redacted: false @@ -5504,22 +5528,22 @@ paths: Open a conversation: value: type: conversation - id: '414' - created_at: 1704902594 - updated_at: 1704902603 + id: '923' + created_at: 1706113674 + updated_at: 1706113685 waiting_since: snoozed_until: source: type: conversation - id: '403918310' + id: '403918602' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267533' - name: Ciaran195 Lee - email: admin195@email.com + id: '991269594' + name: Ciaran196 Lee + email: admin196@email.com attachments: [] url: redacted: false @@ -5527,7 +5551,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfc66abd014ef26e4cff + id: 65b13a8f6abd011349543033 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5549,18 +5573,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '71' + id: '200' part_type: open body: - created_at: 1704902603 - updated_at: 1704902603 - notified_at: 1704902603 + created_at: 1706113685 + updated_at: 1706113685 + notified_at: 1706113685 assigned_to: author: - id: '991267533' + id: '991269594' type: admin - name: Ciaran195 Lee - email: admin195@email.com + name: Ciaran196 Lee + email: admin196@email.com attachments: [] external_id: redacted: false @@ -5568,22 +5592,22 @@ paths: Assign a conversation: value: type: conversation - id: '418' - created_at: 1704902604 - updated_at: 1704902604 + id: '927' + created_at: 1706113686 + updated_at: 1706113687 waiting_since: snoozed_until: source: type: conversation - id: '403918313' + id: '403918605' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267535' - name: Ciaran196 Lee - email: admin196@email.com + id: '991269596' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5591,9 +5615,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfcc6abd014ef26e4d02 + id: 65b13a966abd011349543036 first_contact_reply: - admin_assignee_id: 991267535 + admin_assignee_id: 991269596 team_assignee_id: open: true state: open @@ -5613,20 +5637,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '72' + id: '201' part_type: assign_and_reopen body: - created_at: 1704902605 - updated_at: 1704902605 - notified_at: 1704902605 + created_at: 1706113687 + updated_at: 1706113687 + notified_at: 1706113687 assigned_to: type: admin - id: '991267535' + id: '991269596' author: - id: '991267535' + id: '991269596' type: admin - name: Ciaran196 Lee - email: admin196@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5641,7 +5665,7 @@ paths: Not found: value: type: error.list - request_id: 564ec2be-da91-4d28-a747-b646d0e4e4cf + request_id: 391dcfb9-6408-4cfa-a653-e180e2dec629 errors: - code: not_found message: Resource Not Found @@ -5655,7 +5679,7 @@ paths: Unauthorized: value: type: error.list - request_id: e436af9b-6afa-4236-b014-027af7395d29 + request_id: d25c4165-820c-4edf-a0fa-a1ad407c5c25 errors: - code: unauthorized message: Access Token Invalid @@ -5669,7 +5693,7 @@ paths: API plan restricted: value: type: error.list - request_id: 55a49023-06d7-4583-86d9-4e1b76bcabe4 + request_id: cd4ef991-7f3e-4b1b-9aed-589ea0a5db61 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5690,32 +5714,32 @@ paths: value: message_type: close type: admin - admin_id: 991267529 + admin_id: 991269590 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991267531 - snoozed_until: 1704906195 + admin_id: 991269592 + snoozed_until: 1706117275 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991267533 + admin_id: 991269594 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991267535 - assignee_id: 991267535 + admin_id: 991269596 + assignee_id: 991269596 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991267537 + admin_id: 991269598 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5746,22 +5770,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '422' - created_at: 1704902609 - updated_at: 1704902610 + id: '931' + created_at: 1706113692 + updated_at: 1706113694 waiting_since: snoozed_until: source: type: conversation - id: '403918317' + id: '403918609' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267543' - name: Ciaran200 Lee - email: admin200@email.com + id: '991269604' + name: Ciaran201 Lee + email: admin201@email.com attachments: [] url: redacted: false @@ -5769,7 +5793,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ebfd16abd014ef26e4d06 + id: 65b13a9c6abd01134954303a first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5791,20 +5815,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '73' + id: '202' part_type: default_assignment body: - created_at: 1704902610 - updated_at: 1704902610 - notified_at: 1704902610 + created_at: 1706113694 + updated_at: 1706113694 + notified_at: 1706113694 assigned_to: type: nobody_admin id: author: - id: '991267544' + id: '991269605' type: bot name: Operator - email: operator+this_is_an_id358_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id357_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5819,7 +5843,7 @@ paths: Not found: value: type: error.list - request_id: 79d74ccd-b6c7-4ba2-8877-c95f71ab318a + request_id: 825833db-3989-4954-bce1-7549922c360b errors: - code: not_found message: Resource Not Found @@ -5833,7 +5857,7 @@ paths: Unauthorized: value: type: error.list - request_id: 265be2ae-d75f-4b52-a46d-e15ec3ca0e42 + request_id: 19af0845-a8f6-4ad1-9a12-df97a163c8a4 errors: - code: unauthorized message: Access Token Invalid @@ -5847,7 +5871,7 @@ paths: API plan restricted: value: type: error.list - request_id: 912829e2-d65f-4a98-8d6f-f6abf1e1a2cd + request_id: 30b5a597-0d05-4234-8e07-409b7e01e80b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5886,7 +5910,7 @@ paths: value: customers: - type: user - id: 659ebfd76abd014ef26e4d0a + id: 65b13aa36abd01134954303e schema: "$ref": "#/components/schemas/conversation" '404': @@ -5897,7 +5921,7 @@ paths: Not found: value: type: error.list - request_id: 142e7af6-85ae-4d52-8eca-46018f87df78 + request_id: d8cb5f6d-7d9e-43e0-9ebb-ca9f38ed1ccd errors: - code: not_found message: Resource Not Found @@ -5911,7 +5935,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22a7bd4b-3712-48a3-8c0b-34f18cb67d9d + request_id: f3f2c892-f5c9-4da7-a978-a945d8fc6a6c errors: - code: unauthorized message: Access Token Invalid @@ -5925,7 +5949,7 @@ paths: API plan restricted: value: type: error.list - request_id: '0926496b-bdb6-4aa5-b1dc-f5197304484f' + request_id: c84ad3e1-a07c-4365-a987-457e5d4bb071 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5940,15 +5964,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991267551 + admin_id: 991269612 customer: - intercom_user_id: 659ebfd76abd014ef26e4d0a + intercom_user_id: 65b13aa36abd01134954303e not_found: summary: Not found value: - admin_id: 991267553 + admin_id: 991269614 customer: - intercom_user_id: 659ebfd86abd014ef26e4d0b + intercom_user_id: 65b13aa56abd01134954303f "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -5989,7 +6013,7 @@ paths: value: customers: - type: user - id: 659ebfe36abd014ef26e4d15 + id: 65b13ab36abd011349543049 schema: "$ref": "#/components/schemas/conversation" '404': @@ -6000,14 +6024,14 @@ paths: Conversation not found: value: type: error.list - request_id: 3a217d83-3e50-451c-bcf4-e78479843f97 + request_id: 45badacd-4e27-4b24-a1fb-2929f61886ec errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 5096be26-9d59-45fc-bc85-588251e45247 + request_id: 583f1ece-10b8-4e5e-9b18-321fb10c6100 errors: - code: not_found message: User Not Found @@ -6021,7 +6045,7 @@ paths: Last customer: value: type: error.list - request_id: 35576150-ceab-4b06-ac07-694accdecd02 + request_id: daba323e-545e-41ef-b4db-6d66272b8d44 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -6035,7 +6059,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4d6365e5-92b3-422a-a9cb-3a695165df16 + request_id: d8e7ca8c-1b90-425a-9e66-3c4c4a82f553 errors: - code: unauthorized message: Access Token Invalid @@ -6049,7 +6073,7 @@ paths: API plan restricted: value: type: error.list - request_id: 454fc060-e915-4e60-84de-b7946b76b4c9 + request_id: 76263846-356e-4c18-9cf5-3c750d3c93ed errors: - code: api_plan_restricted message: Active subscription needed. @@ -6064,27 +6088,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991267559 + admin_id: 991269620 customer: - intercom_user_id: 659ebfdd6abd014ef26e4d0e + intercom_user_id: 65b13aaa6abd011349543042 conversation_not_found: summary: Conversation not found value: - admin_id: 991267561 + admin_id: 991269622 customer: - intercom_user_id: 659ebfe46abd014ef26e4d16 + intercom_user_id: 65b13ab46abd01134954304a contact_not_found: summary: Contact not found value: - admin_id: 991267563 + admin_id: 991269624 customer: - intercom_user_id: 659ebfeb6abd014ef26e4d1d + intercom_user_id: 65b13abd6abd011349543051 last_customer: summary: Last customer value: - admin_id: 991267565 + admin_id: 991269626 customer: - intercom_user_id: 659ebff36abd014ef26e4d24 + intercom_user_id: 65b13ac66abd011349543058 "/conversations/redact": post: summary: Redact a conversation part @@ -6111,22 +6135,22 @@ paths: Redact a conversation part: value: type: conversation - id: '478' - created_at: 1704902666 - updated_at: 1704902667 - waiting_since: 1704902666 + id: '987' + created_at: 1706113760 + updated_at: 1706113763 + waiting_since: 1706113761 snoozed_until: source: type: conversation - id: '403918343' + id: '403918635' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267571' - name: Ciaran214 Lee - email: admin214@email.com + id: '991269632' + name: Ciaran215 Lee + email: admin215@email.com attachments: [] url: redacted: false @@ -6134,9 +6158,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ec0096abd014ef26e4d39 + id: 65b13ae06abd01134954306d first_contact_reply: - created_at: 1704902666 + created_at: 1706113761 type: conversation url: admin_assignee_id: @@ -6159,15 +6183,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '81' + id: '210' part_type: open body: "

    This message was deleted

    " - created_at: 1704902666 - updated_at: 1704902667 - notified_at: 1704902666 + created_at: 1706113761 + updated_at: 1706113762 + notified_at: 1706113761 assigned_to: author: - id: 659ec0096abd014ef26e4d39 + id: 65b13ae06abd01134954306d type: user name: Joe Bloggs email: joe@bloggs.com @@ -6185,7 +6209,7 @@ paths: Not found: value: type: error.list - request_id: c9c28803-cb75-4ef4-a84a-e91bf0e67d99 + request_id: 73d4d6a6-7e15-45d4-a284-2c210300abf7 errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6199,7 +6223,7 @@ paths: Unauthorized: value: type: error.list - request_id: '099f6c33-4434-4b7a-9fb2-35cc57fc895e' + request_id: 349b2858-c881-42a8-8971-30f39a50cbc8 errors: - code: unauthorized message: Access Token Invalid @@ -6215,14 +6239,167 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 478 - conversation_part_id: 81 + conversation_id: 987 + conversation_part_id: 210 not_found: summary: Not found value: type: conversation_part conversation_id: really_123_doesnt_exist conversation_part_id: really_123_doesnt_exist + "/custom_object_instances/{custom_object_type_identifier}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + post: + summary: create_or_update object_instance + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Create or update a custom object instance + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/create_or_update_custom_object_instance_request" + get: + summary: show object_instance + parameters: + - name: fetch_custom_object_instance_request + in: query + style: form + required: true + schema: + type: object + oneOf: + - description: The Intercom defined id representing the custom object instance. + title: Find by id + properties: + id: + type: string + required: + - id + additionalProperties: false + - description: The unique identifier for the instance in the external system + it originated from. + title: Find by external_id + properties: + external_id: + type: string + required: + - external_id + additionalProperties: false + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by external_id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + "/custom_object_instances/{custom_object_type_identifier}/{id}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + get: + summary: show object_instance + parameters: + - name: id + in: path + description: The id or external_id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + delete: + summary: delete object_instance + parameters: + - name: id + in: path + description: The Intercom id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Deleting a single Custom Object instance. + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance_deleted" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" "/data_attributes": get: summary: List all data attributes @@ -6392,7 +6569,7 @@ paths: custom: false archived: false model: company - - id: 63 + - id: 98 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6404,9 +6581,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267587' - created_at: 1704902676 - updated_at: 1704902676 + admin_id: '991269657' + created_at: 1706113776 + updated_at: 1706113776 model: company - type: data_attribute name: id @@ -6473,7 +6650,7 @@ paths: Unauthorized: value: type: error.list - request_id: b8bb4508-7fae-47a9-b909-cc250e54431e + request_id: 1be56805-66a7-4f50-ac70-a55d39d50d62 errors: - code: unauthorized message: Access Token Invalid @@ -6498,7 +6675,7 @@ paths: examples: Successful: value: - id: 66 + id: 101 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6508,9 +6685,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267589' - created_at: 1704902677 - updated_at: 1704902677 + admin_id: '991269659' + created_at: 1706113777 + updated_at: 1706113777 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6522,7 +6699,7 @@ paths: Same name already exists: value: type: error.list - request_id: 0dbe56e9-dab9-44cb-aabc-cdc5f856af06 + request_id: e7a03438-86b8-4587-8a3e-61c6c17e17b4 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6530,7 +6707,7 @@ paths: Invalid name: value: type: error.list - request_id: '080cc651-3c92-4f63-b7aa-154f07a8cacd' + request_id: 4cb3b7d5-84d5-41a9-b03e-fcb35b954a21 errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6538,7 +6715,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 0b26293c-c1f2-4c61-bf9c-103858dc4553 + request_id: dc2d1f52-77e3-41f2-bdbb-7f4d6b76bc23 errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6546,14 +6723,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: 2beb79ba-072b-4d3a-9ef7-be7e6125b71d + request_id: fbaa5547-c708-46b4-a969-f3faf24cb0e5 errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: c15e4120-0c0e-4e5f-8710-47a26cfca97f + request_id: 79349e93-dd8f-4606-9842-b7b156436e66 errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6568,7 +6745,7 @@ paths: Unauthorized: value: type: error.list - request_id: b48c89a3-1b5c-4547-86e3-7ae58324d785 + request_id: 2d1cf45b-4115-4443-8574-03fa5f203e45 errors: - code: unauthorized message: Access Token Invalid @@ -6647,7 +6824,7 @@ paths: examples: Successful: value: - id: 73 + id: 108 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6661,9 +6838,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991267596' - created_at: 1704902679 - updated_at: 1704902680 + admin_id: '991269666' + created_at: 1706113779 + updated_at: 1706113780 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6675,7 +6852,7 @@ paths: Too few options in list: value: type: error.list - request_id: 4f96facb-cf5a-4e05-a674-63ce507dc814 + request_id: 3e22e870-818e-45bd-bddf-9b1919f1d145 errors: - code: parameter_invalid message: Options isn't an array @@ -6689,7 +6866,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 6a119cf9-02dc-4dc2-a8f3-e00aabb5ebbf + request_id: df6b7286-a0d2-4291-8c1e-b3a6e59cf7df errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6703,7 +6880,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: e3295d23-0d29-4855-b750-87814df76277 + request_id: 1ec801d8-a2df-4bca-8a06-b87ae05fd323 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6718,7 +6895,7 @@ paths: Unauthorized: value: type: error.list - request_id: 35f17d52-d07b-4004-9239-4ad467644e5d + request_id: e6e9c3f8-657a-4396-ba64-69517bae6be4 errors: - code: unauthorized message: Access Token Invalid @@ -6837,7 +7014,7 @@ paths: Unauthorized: value: type: error.list - request_id: e7adf1b8-b34e-48db-9949-7802ca36ad0a + request_id: 3e967d10-a9d3-4ac1-a743-89e405f90ed6 errors: - code: unauthorized message: Access Token Invalid @@ -6923,8 +7100,8 @@ paths: events: [] pages: next: http://api.intercom.test/events?next page - email: user24@email.com - intercom_user_id: 659ec0206abd014ef26e4d52 + email: user26@email.com + intercom_user_id: 65b13af86abd011349543076 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6936,7 +7113,7 @@ paths: Unauthorized: value: type: error.list - request_id: f011b7bc-07be-4447-b161-afc4410d92bd + request_id: bcc4e16f-9be0-4668-af75-6effc02606a2 errors: - code: unauthorized message: Access Token Invalid @@ -6967,7 +7144,7 @@ paths: Unauthorized: value: type: error.list - request_id: d3955770-d5ee-4cd9-bc97-75ca8526b5eb + request_id: 99737dbe-e9a7-461e-9f64-64833cff1b3b errors: - code: unauthorized message: Access Token Invalid @@ -7011,7 +7188,7 @@ paths: examples: successful: value: - job_identifier: qdwplfnqgdjb4wna + job_identifier: w10fo1q9a0plfeip status: pending download_url: '' download_expires_at: '' @@ -7026,8 +7203,8 @@ paths: successful: summary: successful value: - created_at_after: 1704884690 - created_at_before: 1704902690 + created_at_after: 1706095786 + created_at_before: 1706113786 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -7061,7 +7238,7 @@ paths: examples: successful: value: - job_identifier: t99ds5pna2o4fgjb + job_identifier: xpzzhven69yqxnhk status: pending download_url: '' download_expires_at: '' @@ -7093,7 +7270,7 @@ paths: examples: successful: value: - job_identifier: ho49jvgjht3objmp + job_identifier: 2vkv4qhwuvpq2r52 status: canceled download_url: '' download_expires_at: '' @@ -7154,32 +7331,32 @@ paths: user message created: value: type: user_message - id: '403918354' - created_at: 1704902716 + id: '403918640' + created_at: 1706113788 body: heyy message_type: inapp - conversation_id: '494' + conversation_id: '992' lead message created: value: type: user_message - id: '403918355' - created_at: 1704902717 + id: '403918641' + created_at: 1706113789 body: heyy message_type: inapp - conversation_id: '495' + conversation_id: '993' admin message created: value: type: admin_message - id: '24' - created_at: 1704902718 + id: '35' + created_at: 1706113790 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991267630' - name: Ciaran255 Lee - email: admin255@email.com + id: '991269689' + name: Ciaran265 Lee + email: admin265@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7192,14 +7369,14 @@ paths: No body supplied for message: value: type: error.list - request_id: fcf08b01-bce3-4349-a989-39081c76d61b + request_id: 5c27f561-8ebc-42cd-baba-d1de037fb671 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 3416798c-f54e-4c5d-a891-83ab4942114e + request_id: 0ec95c5d-bf6d-4599-b087-0b1a20e1215f errors: - code: parameter_invalid message: Body is required @@ -7213,7 +7390,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: dd4f061f-86ee-4601-a548-bc072da25b4a + request_id: ddc6e1b3-947c-46e6-9fde-08104c93df5b errors: - code: parameter_not_found message: No subject supplied for email message @@ -7227,7 +7404,7 @@ paths: Unauthorized: value: type: error.list - request_id: f05d7fdf-69da-4058-8f90-8cb1664a7e9b + request_id: 92dfa2bd-524b-4693-88ef-d6364b48c99b errors: - code: unauthorized message: Access Token Invalid @@ -7241,7 +7418,7 @@ paths: API plan restricted: value: type: error.list - request_id: bc15225f-94fc-4215-a83a-45f9ac12fa6a + request_id: 8b4ff9a3-b266-4515-b1a7-c4592e20bb21 errors: - code: api_plan_restricted message: Active subscription needed. @@ -7258,7 +7435,7 @@ paths: value: from: type: user - id: 659ec03c6abd014ef26e4da7 + id: 65b13afc6abd01134954307b body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7266,7 +7443,7 @@ paths: value: from: type: lead - id: 659ec03d6abd014ef26e4da8 + id: 65b13afd6abd01134954307c body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7274,10 +7451,10 @@ paths: value: from: type: admin - id: '991267630' + id: '991269689' to: type: user - id: 659ec03e6abd014ef26e4da9 + id: 65b13afe6abd01134954307d message_type: conversation body: heyy no_body_supplied_for_message: @@ -7285,10 +7462,10 @@ paths: value: from: type: admin - id: '991267632' + id: '991269691' to: type: user - id: 659ec03f6abd014ef26e4daa + id: 65b13aff6abd01134954307e message_type: inapp body: subject: heyy @@ -7297,7 +7474,7 @@ paths: value: from: type: admin - id: '991267633' + id: '991269692' to: type: user user_id: '70' @@ -7308,10 +7485,10 @@ paths: value: from: type: admin - id: '991267634' + id: '991269693' to: type: user - id: 659ec0406abd014ef26e4dac + id: 65b13b006abd011349543080 message_type: email body: subject: heyy @@ -7342,12 +7519,12 @@ paths: total_pages: 1 type: pages data: - - id: '30' + - id: '85' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267641 + sender_id: 991269698 state: draft labels: [] cover_image_url: @@ -7357,15 +7534,15 @@ paths: - - deliver_silently: false - created_at: 1704902722 - updated_at: 1704902722 + created_at: 1706113793 + updated_at: 1706113793 newsfeed_assignments: [] - - id: '29' + - id: '86' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267639 + sender_id: 991269700 state: draft labels: [] cover_image_url: @@ -7375,8 +7552,8 @@ paths: - - deliver_silently: false - created_at: 1704902721 - updated_at: 1704902721 + created_at: 1706113793 + updated_at: 1706113793 newsfeed_assignments: [] total_count: 2 schema: @@ -7389,7 +7566,7 @@ paths: Unauthorized: value: type: error.list - request_id: 45c0d233-aeb5-4b8f-b652-9893dcef6544 + request_id: 8ff358dc-7d14-44f0-8a51-238779525df0 errors: - code: unauthorized message: Access Token Invalid @@ -7414,12 +7591,12 @@ paths: examples: successful: value: - id: '33' + id: '89' type: news-item - workspace_id: this_is_an_id466_that_should_be_at_least_ + workspace_id: this_is_an_id483_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991267648 + sender_id: 991269707 state: live labels: - New @@ -7430,10 +7607,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1704902723 - updated_at: 1704902723 + created_at: 1706113795 + updated_at: 1706113795 newsfeed_assignments: - - newsfeed_id: 53 + - newsfeed_id: 153 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7445,7 +7622,7 @@ paths: Unauthorized: value: type: error.list - request_id: e698bf6c-3069-47cb-9380-ac57fe87ca5b + request_id: 7e30f30d-661e-4623-8583-45c196b45966 errors: - code: unauthorized message: Access Token Invalid @@ -7466,14 +7643,14 @@ paths: - Product - Update - New - sender_id: 991267648 + sender_id: 991269707 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 53 + - newsfeed_id: 153 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7502,12 +7679,12 @@ paths: examples: successful: value: - id: '34' + id: '90' type: news-item - workspace_id: this_is_an_id470_that_should_be_at_least_ + workspace_id: this_is_an_id487_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991267651 + sender_id: 991269710 state: live labels: [] cover_image_url: @@ -7517,11 +7694,11 @@ paths: - - deliver_silently: false - created_at: 1704902724 - updated_at: 1704902724 + created_at: 1706113796 + updated_at: 1706113796 newsfeed_assignments: - - newsfeed_id: 55 - published_at: 1704902724 + - newsfeed_id: 155 + published_at: 1706113796 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7532,7 +7709,7 @@ paths: News Item Not Found: value: type: error.list - request_id: decf1905-c5d6-48e7-bbf5-23424635271e + request_id: d2f9342b-1f48-442e-98df-63fb382006ef errors: - code: not_found message: Resource Not Found @@ -7546,7 +7723,7 @@ paths: Unauthorized: value: type: error.list - request_id: a73ebf48-8a96-4b5b-9551-3e70c0fda634 + request_id: 1505f1ea-7fe8-45db-b850-0e5e4cdb506e errors: - code: unauthorized message: Access Token Invalid @@ -7577,12 +7754,12 @@ paths: examples: successful: value: - id: '37' + id: '93' type: news-item - workspace_id: this_is_an_id476_that_should_be_at_least_ + workspace_id: this_is_an_id493_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267659 + sender_id: 991269718 state: live labels: [] cover_image_url: @@ -7590,8 +7767,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1704902726 - updated_at: 1704902726 + created_at: 1706113798 + updated_at: 1706113798 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7603,7 +7780,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 8d269c67-ec53-486d-895e-809ba2b2fac6 + request_id: b8f7c8b1-b5b9-48ca-9a5d-789c9541e465 errors: - code: not_found message: Resource Not Found @@ -7617,7 +7794,7 @@ paths: Unauthorized: value: type: error.list - request_id: 778c29f5-915e-40f7-98c8-be902cbf2e31 + request_id: 1638b122-c64e-4a85-b244-8066797239c3 errors: - code: unauthorized message: Access Token Invalid @@ -7634,7 +7811,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267659 + sender_id: 991269718 reactions: - "\U0001F61D" - "\U0001F602" @@ -7643,7 +7820,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991267662 + sender_id: 991269721 reactions: - "\U0001F61D" - "\U0001F602" @@ -7673,7 +7850,7 @@ paths: examples: successful: value: - id: '40' + id: '96' object: news-item deleted: true schema: @@ -7686,7 +7863,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 2dc811cd-76fa-43e8-92fe-7c83b5f7001d + request_id: c2db9914-f097-451a-99ea-b5c5d60bf195 errors: - code: not_found message: Resource Not Found @@ -7700,7 +7877,7 @@ paths: Unauthorized: value: type: error.list - request_id: a02a14d3-5cb9-439f-b05c-31b45064c37a + request_id: f38add58-2a5a-4ba0-b24c-c1b0ea56f2ec errors: - code: unauthorized message: Access Token Invalid @@ -7753,7 +7930,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5ea01b2b-06c1-4ed1-9942-06890247fe3f + request_id: 2d10f75d-eb57-4777-a125-4f00cdb2e0e7 errors: - code: unauthorized message: Access Token Invalid @@ -7786,16 +7963,16 @@ paths: total_pages: 1 type: pages data: - - id: '68' + - id: '168' type: newsfeed name: Visitor Feed - created_at: 1704902730 - updated_at: 1704902730 - - id: '69' + created_at: 1706113802 + updated_at: 1706113802 + - id: '169' type: newsfeed name: Visitor Feed - created_at: 1704902730 - updated_at: 1704902730 + created_at: 1706113802 + updated_at: 1706113802 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7807,7 +7984,7 @@ paths: Unauthorized: value: type: error.list - request_id: b7b8e4fc-5843-4559-9e3e-5f10c39f140a + request_id: 02200fa0-e97b-4b50-9273-814eaac80ff6 errors: - code: unauthorized message: Access Token Invalid @@ -7841,11 +8018,11 @@ paths: examples: successful: value: - id: '72' + id: '172' type: newsfeed name: Visitor Feed - created_at: 1704902731 - updated_at: 1704902731 + created_at: 1706113803 + updated_at: 1706113803 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7856,7 +8033,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7bec245e-1d80-44a8-b04c-40728aa34c66 + request_id: 76be12b9-57f5-45a5-99a3-c137572cafd7 errors: - code: unauthorized message: Access Token Invalid @@ -7890,16 +8067,16 @@ paths: Note found: value: type: note - id: '77' - created_at: 1704211534 + id: '89' + created_at: 1705422604 contact: type: contact - id: 659ec04e6abd014ef26e4db7 + id: 65b13b0c6abd011349543083 author: type: admin - id: '991267678' - name: Ciaran302 Lee - email: admin302@email.com + id: '991269737' + name: Ciaran312 Lee + email: admin312@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7913,7 +8090,7 @@ paths: Note not found: value: type: error.list - request_id: 0614fee6-9d4f-423a-a053-4cfaa47482e2 + request_id: 15ea3c78-d2f1-4cc8-bd58-c0734a0173d6 errors: - code: not_found message: Resource Not Found @@ -7927,7 +8104,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8893816d-d388-4bf5-9cc6-5ca6d10dfe72 + request_id: c2d73689-46f1-4ae8-8659-2c16527c96fb errors: - code: unauthorized message: Access Token Invalid @@ -7963,16 +8140,16 @@ paths: type: segment.list segments: - type: segment - id: 659ec0516abd014ef26e4dbe + id: 65b13b0d6abd011349543086 name: John segment - created_at: 1704902737 - updated_at: 1704902737 + created_at: 1706113805 + updated_at: 1706113805 person_type: user - type: segment - id: 659ec0516abd014ef26e4dbf + id: 65b13b0d6abd011349543087 name: Jane segment - created_at: 1704902737 - updated_at: 1704902737 + created_at: 1706113805 + updated_at: 1706113805 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7984,7 +8161,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1f177e7c-8572-4af2-8dbf-790d3b4a5283 + request_id: 96f572dd-3c0d-499c-beb4-9c552b660934 errors: - code: unauthorized message: Access Token Invalid @@ -8018,10 +8195,10 @@ paths: Successful response: value: type: segment - id: 659ec0526abd014ef26e4dc2 + id: 65b13b0e6abd01134954308a name: John segment - created_at: 1704902738 - updated_at: 1704902738 + created_at: 1706113806 + updated_at: 1706113806 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -8033,7 +8210,7 @@ paths: Segment not found: value: type: error.list - request_id: a61365a1-4bf7-46f6-8523-2485249f69fc + request_id: 862242b8-0c0f-4274-9acb-2ef41442e92c errors: - code: not_found message: Resource Not Found @@ -8047,7 +8224,7 @@ paths: Unauthorized: value: type: error.list - request_id: bf02f0ae-2ee8-4e95-a19f-2339d3966de9 + request_id: fea80a8d-a487-4fd4-ba65-ba06603c66f8 errors: - code: unauthorized message: Access Token Invalid @@ -8077,7 +8254,7 @@ paths: type: list data: - type: subscription - id: '180' + id: '321' state: live consent_type: opt_out default_translation: @@ -8100,7 +8277,7 @@ paths: Unauthorized: value: type: error.list - request_id: ac3ec790-eb33-4273-bb15-94e3922ba9a1 + request_id: 50e1ea39-aaeb-44dd-a4f9-5ea2e7c332c4 errors: - code: unauthorized message: Access Token Invalid @@ -8130,7 +8307,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/d5e813fc-a1e6-4feb-83c7-a5e3d7323f72 + url: http://via.intercom.io/msgr/96afdf43-ffd4-4d0a-8ae5-2f18da27963b type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8163,7 +8340,7 @@ paths: Unauthorized: value: type: error.list - request_id: b508c27d-2c21-4f6f-836c-cc83840765d5 + request_id: d900dcd2-0598-4cfb-9156-a67a87d8b14a errors: - code: unauthorized message: Access Token Invalid @@ -8226,7 +8403,7 @@ paths: type: list data: - type: tag - id: '127' + id: '279' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8238,7 +8415,7 @@ paths: Unauthorized: value: type: error.list - request_id: 41eb6776-5f03-4fee-85ce-d1132e4e6399 + request_id: dafd1f63-0b19-4b86-81b1-b1286c3d4fa9 errors: - code: unauthorized message: Access Token Invalid @@ -8277,7 +8454,7 @@ paths: Action successful: value: type: tag - id: '130' + id: '282' name: test schema: "$ref": "#/components/schemas/tag" @@ -8289,7 +8466,7 @@ paths: Invalid parameters: value: type: error.list - request_id: 4c7feb9b-1e4b-4c13-8611-a345d2c70be5 + request_id: 2e205dfe-b8eb-409b-b40b-14a9cc12244f errors: - code: parameter_invalid message: invalid tag parameters @@ -8303,14 +8480,14 @@ paths: Company not found: value: type: error.list - request_id: ba6b73de-a50e-469a-bd24-3414e3eb8cd8 + request_id: d0045320-5587-4dc9-b68c-371c8127a80a errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 6e319ef6-07f6-4122-809b-1c40743bac49 + request_id: 34d6cebb-d934-4403-b709-499f3ae07a41 errors: - code: not_found message: User Not Found @@ -8324,7 +8501,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4b28d7de-40b0-4695-8d29-4a448c7fe5d2 + request_id: d0d42c09-fa56-4f02-a008-e26bc550e158 errors: - code: unauthorized message: Access Token Invalid @@ -8390,7 +8567,7 @@ paths: Tag found: value: type: tag - id: '138' + id: '290' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8402,7 +8579,7 @@ paths: Tag not found: value: type: error.list - request_id: 2a267451-14c8-4580-8f33-2d44cc2537a8 + request_id: bbb466db-5ced-49c4-929a-e55de503fc86 errors: - code: not_found message: Resource Not Found @@ -8416,7 +8593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 45fa6074-62e3-4731-b7c8-387c89dfe7d7 + request_id: c71a075a-32c1-43d1-8fc6-ee27f81e8920 errors: - code: unauthorized message: Access Token Invalid @@ -8452,7 +8629,7 @@ paths: Resource not found: value: type: error.list - request_id: 9a46fce0-7752-44af-806f-6d14aa0a1098 + request_id: 6a8eb55a-e49a-44a5-9a24-1c81982f91de errors: - code: not_found message: Resource Not Found @@ -8466,7 +8643,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 29e0257b-8ba4-40d8-a00b-c18642866d0a + request_id: 071bdd35-fc7c-4d5e-99af-370bb178bcab errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8481,7 +8658,7 @@ paths: Unauthorized: value: type: error.list - request_id: 63bc2fce-112a-451c-b56f-2a8bd568394b + request_id: db9cb32f-30d4-4205-ba26-bf7a63fa9a84 errors: - code: unauthorized message: Access Token Invalid @@ -8519,7 +8696,7 @@ paths: Unauthorized: value: type: error.list - request_id: 56e196f9-7766-4e91-9aae-7ed2098d13e5 + request_id: 20369070-18c5-4053-8858-a5764ce93961 errors: - code: unauthorized message: Access Token Invalid @@ -8554,7 +8731,7 @@ paths: successful: value: type: team - id: '991267722' + id: '991269775' name: team 1 admin_ids: [] schema: @@ -8567,7 +8744,7 @@ paths: Team not found: value: type: error.list - request_id: e0d87a7d-a6be-432d-82d8-54ad1ded4bff + request_id: afde345b-9a68-44ec-91d6-abe2a124945a errors: - code: team_not_found message: Team not found @@ -8581,7 +8758,7 @@ paths: Unauthorized: value: type: error.list - request_id: a7642b24-48cb-4640-9bcd-b92051657c54 + request_id: '039df8a1-0c7b-438f-9f50-9e107dfda49c' errors: - code: unauthorized message: Access Token Invalid @@ -8613,26 +8790,26 @@ paths: successful: value: type: visitor - id: 659ec0926abd014ef26e4edc + id: 65b13b286abd0113495430ae user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Violet Deer + pseudonym: Grey Cloud avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/violet-deer.png - app_id: this_is_an_id592_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/grey-cloud.png + app_id: this_is_an_id609_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902802 - remote_created_at: 1704902802 - signed_up_at: 1704902802 - updated_at: 1704902802 + created_at: 1706113832 + remote_created_at: 1706113832 + signed_up_at: 1706113832 + updated_at: 1706113832 session_count: 0 social_profiles: type: social_profile.list @@ -8665,7 +8842,7 @@ paths: visitor Not Found: value: type: error.list - request_id: d505b76a-c372-4f4d-a133-44c024682903 + request_id: 61b0a5e5-a4b4-4178-9fa7-ca19be064773 errors: - code: not_found message: Visitor Not Found @@ -8679,7 +8856,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6c9a138a-36e9-4c4a-accc-924eafa4cee8 + request_id: 168d6dd6-f618-4597-b526-9f74910858c3 errors: - code: unauthorized message: Access Token Invalid @@ -8694,7 +8871,7 @@ paths: successful: summary: successful value: - id: 659ec0926abd014ef26e4edc + id: 65b13b286abd0113495430ae name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -8727,7 +8904,7 @@ paths: successful: value: type: visitor - id: 659ec0936abd014ef26e4ee2 + id: 65b13b296abd0113495430b4 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8737,16 +8914,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id598_that_should_be_at_least_ + app_id: this_is_an_id615_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902803 - remote_created_at: 1704902803 - signed_up_at: 1704902803 - updated_at: 1704902803 + created_at: 1706113833 + remote_created_at: 1706113833 + signed_up_at: 1706113833 + updated_at: 1706113833 session_count: 0 social_profiles: type: social_profile.list @@ -8779,7 +8956,7 @@ paths: Visitor not found: value: type: error.list - request_id: aa48054b-62ff-4c7b-abc4-3e8f6c2a1633 + request_id: d7dc09d1-2cbd-4e04-a177-63f7c9dd2325 errors: - code: not_found message: Visitor Not Found @@ -8793,7 +8970,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0d3ed27a-0248-47ea-95bf-3a206885761d + request_id: c1ee868e-9c90-4bc9-8af3-4aecaec61331 errors: - code: unauthorized message: Access Token Invalid @@ -8827,7 +9004,7 @@ paths: successful: value: type: visitor - id: 659ec0956abd014ef26e4ee8 + id: 65b13b2b6abd0113495430ba user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8837,16 +9014,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id604_that_should_be_at_least_ + app_id: this_is_an_id621_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902805 - remote_created_at: 1704902805 - signed_up_at: 1704902805 - updated_at: 1704902805 + created_at: 1706113835 + remote_created_at: 1706113835 + signed_up_at: 1706113835 + updated_at: 1706113835 session_count: 0 social_profiles: type: social_profile.list @@ -8879,7 +9056,7 @@ paths: Visitor not found: value: type: error.list - request_id: 335184da-c6fe-4020-b1ff-48993f7594cf + request_id: df27c38f-9b5b-478c-b2ac-e4f3d067b27c errors: - code: not_found message: Visitor Not Found @@ -8893,7 +9070,7 @@ paths: Unauthorized: value: type: error.list - request_id: 613b17be-6510-4373-bfa7-a1ec831e529e + request_id: 7f9f8f5f-a2f5-45ac-8fdd-7628c385bb35 errors: - code: unauthorized message: Access Token Invalid @@ -8926,7 +9103,7 @@ paths: successful: value: type: visitor - id: 659ec0966abd014ef26e4eee + id: 65b13b2c6abd0113495430c0 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -8936,16 +9113,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id610_that_should_be_at_least_ + app_id: this_is_an_id627_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704902806 - remote_created_at: 1704902806 - signed_up_at: 1704902806 - updated_at: 1704902807 + created_at: 1706113836 + remote_created_at: 1706113836 + signed_up_at: 1706113836 + updated_at: 1706113837 session_count: 0 social_profiles: type: social_profile.list @@ -8978,7 +9155,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: fb746054-43c0-49c9-acf7-1a88914445a9 + request_id: e5a2d7ba-9ba4-4c9e-96be-462945b05fc1 errors: - code: not_found message: User Not Found @@ -8992,7 +9169,7 @@ paths: Unauthorized: value: type: error.list - request_id: dc30cce0-e7f5-452a-ae94-5a3887df8e8b + request_id: 7feeaa75-fed9-4d45-98cd-f2efa0c0ad2a errors: - code: unauthorized message: Access Token Invalid @@ -9023,8 +9200,8 @@ paths: successful: value: type: contact - id: 659ec0986abd014ef26e4ef5 - workspace_id: this_is_an_id616_that_should_be_at_least_ + id: 65b13b2e6abd0113495430c7 + workspace_id: this_is_an_id633_that_should_be_at_least_ external_id: role: user email: foo@bar.com @@ -9038,9 +9215,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902808 - updated_at: 1704902808 - signed_up_at: 1704902808 + created_at: 1706113838 + updated_at: 1706113839 + signed_up_at: 1706113838 last_seen_at: last_replied_at: last_contacted_at: @@ -9074,31 +9251,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec0986abd014ef26e4ef5/tags" + url: "/contacts/65b13b2e6abd0113495430c7/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec0986abd014ef26e4ef5/notes" + url: "/contacts/65b13b2e6abd0113495430c7/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec0986abd014ef26e4ef5/companies" + url: "/contacts/65b13b2e6abd0113495430c7/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec0986abd014ef26e4ef5/subscriptions" + url: "/contacts/65b13b2e6abd0113495430c7/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec0986abd014ef26e4ef5/subscriptions" + url: "/contacts/65b13b2e6abd0113495430c7/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -9117,7 +9294,7 @@ paths: Unauthorized: value: type: error.list - request_id: f3917e09-b7f7-466b-a03f-5c39af75ff09 + request_id: 3df0ee2e-9126-427a-b0bc-bcf2ffbf3894 errors: - code: unauthorized message: Access Token Invalid @@ -12020,30 +12197,6 @@ components: anyOf: - type: string - "$ref": "#/components/schemas/custom_object_instance" - custom_object_instance: - title: Custom Object Instance - type: object - nullable: true - description: An instance of a Custom Object Type. - properties: - id: - type: string - description: The Intercom defined id representing the custom object instance. - example: 5a7a19e9f59ae20001d1c1e6 - external_id: - type: string - description: The id you have defined for the custom object instance. - example: 0001d1c1e65a7a19e9f59ae2 - type: - type: string - description: The identifier of the custom object type that defines the structure - of the custom object instance. - example: Order - custom_attributes: - type: object - description: The custom attributes you have set on the custom object instance. - additionalProperties: - type: string customer_request: type: object nullable: true diff --git a/descriptions/2.9/api.intercom.io.yaml b/descriptions/2.9/api.intercom.io.yaml index e254724..76ec957 100644 --- a/descriptions/2.9/api.intercom.io.yaml +++ b/descriptions/2.9/api.intercom.io.yaml @@ -37,7 +37,7 @@ paths: Successful response: value: type: admin - id: '991267808' + id: '991269869' email: admin1@email.com name: Ciaran1 Lee email_verified: true @@ -45,7 +45,7 @@ paths: type: app id_code: this_is_an_id1_that_should_be_at_least_40 name: MyApp 1 - created_at: 1704902823 + created_at: 1706113850 secure: false identity_verification: false timezone: America/Los_Angeles @@ -83,7 +83,7 @@ paths: Successful response: value: type: admin - id: '991267809' + id: '991269870' name: Ciaran2 Lee email: admin2@email.com away_mode_enabled: true @@ -100,7 +100,7 @@ paths: Admin not found: value: type: error.list - request_id: adabb429-08c2-43f2-8a6b-784b9afd674c + request_id: b75071cc-688f-41e9-8ade-076233718565 errors: - code: admin_not_found message: Admin for admin_id not found @@ -114,7 +114,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5e1b6924-2eea-42c2-8622-3741f1910d5c + request_id: d384b141-4fde-4414-884e-3a11c020b070 errors: - code: unauthorized message: Access Token Invalid @@ -201,23 +201,23 @@ paths: per_page: 20 total_pages: 1 activity_logs: - - id: ee5f3abc-b0b6-41b0-a93e-cc2b5f36c9f2 + - id: df5d86ea-fc3a-468f-a12f-b72411604bf6 performed_by: type: admin - id: '991267813' + id: '991269874' email: admin5@email.com ip: 127.0.0.1 metadata: before: before after: after - created_at: 1704902827 + created_at: 1706113856 activity_type: app_name_change activity_description: Ciaran5 Lee changed your app name from before to after. - - id: 8db87959-db56-4f95-ae4d-8dd5fbcb4276 + - id: 36aceaf4-0ccb-4cb7-ad88-0e100838c037 performed_by: type: admin - id: '991267813' + id: '991269874' email: admin5@email.com ip: 127.0.0.1 metadata: @@ -226,7 +226,7 @@ paths: title: Initial message title before: Initial message title after: Eventual message title - created_at: 1704902827 + created_at: 1706113856 activity_type: message_state_change activity_description: Ciaran5 Lee changed your Initial message title message from Initial message title to Eventual message @@ -241,7 +241,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8ff769a0-9643-4d70-8294-6798ae21bb5c + request_id: e27c13d6-2aaf-42f2-80a3-943f9dd041b1 errors: - code: unauthorized message: Access Token Invalid @@ -271,7 +271,7 @@ paths: admins: - type: admin email: admin7@email.com - id: '991267816' + id: '991269876' name: Ciaran7 Lee away_mode_enabled: false away_mode_reassign: false @@ -287,7 +287,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3a6c9d43-d89e-4d07-8cd8-daaece08ed1c + request_id: 6aadf989-45ea-4eaa-b081-47d256bbeb5a errors: - code: unauthorized message: Access Token Invalid @@ -321,7 +321,7 @@ paths: Admin found: value: type: admin - id: '991267818' + id: '991269878' 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: c7eb7f2d-fdd3-41af-ad95-7130561ec38e + request_id: e9a06362-d2a3-4074-8510-ab74f922c290 errors: - code: admin_not_found message: Admin not found @@ -352,7 +352,7 @@ paths: Unauthorized: value: type: error.list - request_id: 766ffbdd-ecbe-469e-a0e8-eac8b373b5d5 + request_id: 6ab397cf-5868-4fb7-b38d-2b61a41f7d67 errors: - code: unauthorized message: Access Token Invalid @@ -390,20 +390,20 @@ paths: total_pages: 1 total_count: 1 data: - - id: '69' + - id: '124' type: article workspace_id: this_is_an_id22_that_should_be_at_least_4 - parent_id: 289 + parent_id: 503 parent_type: collection parent_ids: [] title: This is the article title description: '' body: '' - author_id: 991267821 + author_id: 991269881 state: published - created_at: 1704902833 - updated_at: 1704902833 - url: http://help-center.test/myapp-22/en/articles/69-this-is-the-article-title + created_at: 1706113859 + updated_at: 1706113859 + url: http://help-center.test/myapp-22/en/articles/124-this-is-the-article-title schema: "$ref": "#/components/schemas/article_list" '401': @@ -414,7 +414,7 @@ paths: Unauthorized: value: type: error.list - request_id: fca23410-2d91-4784-8e7e-12dff110af80 + request_id: 322b2dd9-9d01-497a-98f8-eb9cd6f14df3 errors: - code: unauthorized message: Access Token Invalid @@ -439,10 +439,10 @@ paths: examples: article created: value: - id: '72' + id: '127' type: article workspace_id: this_is_an_id26_that_should_be_at_least_4 - parent_id: 291 + parent_id: 505 parent_type: collection parent_ids: [] statistics: @@ -456,11 +456,11 @@ paths: title: Thanks for everything description: Description of the Article body:

    Body of the Article

    - author_id: 991267826 + author_id: 991269886 state: published - created_at: 1704902834 - updated_at: 1704902834 - url: http://help-center.test/myapp-26/en/articles/72-thanks-for-everything + created_at: 1706113861 + updated_at: 1706113861 + url: http://help-center.test/myapp-26/en/articles/127-thanks-for-everything schema: "$ref": "#/components/schemas/article" '400': @@ -471,7 +471,7 @@ paths: Bad Request: value: type: error.list - request_id: 84f09864-04a6-4dcc-b935-0b54c4efe7f8 + request_id: 67e698fe-898e-46ff-9546-7b9fab25f20d errors: - code: parameter_not_found message: author_id must be in the main body or default locale @@ -486,7 +486,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a17b1d3-4de5-4257-b44e-58de0e465d6d + request_id: 0ff9adf0-823b-46e5-8437-e2e3450641a8 errors: - code: unauthorized message: Access Token Invalid @@ -504,16 +504,16 @@ paths: title: Thanks for everything description: Description of the Article body: Body of the Article - author_id: 991267826 + author_id: 991269886 state: published - parent_id: 291 + parent_id: 505 parent_type: collection translated_content: fr: title: Merci pour tout description: Description de l'article body: Corps de l'article - author_id: 991267826 + author_id: 991269886 state: published bad_request: summary: Bad Request @@ -550,10 +550,10 @@ paths: examples: Article found: value: - id: '75' + id: '130' type: article workspace_id: this_is_an_id32_that_should_be_at_least_4 - parent_id: 294 + parent_id: 508 parent_type: collection parent_ids: [] statistics: @@ -567,11 +567,11 @@ paths: title: This is the article title description: '' body: '' - author_id: 991267831 + author_id: 991269891 state: published - created_at: 1704902836 - updated_at: 1704902836 - url: http://help-center.test/myapp-32/en/articles/75-this-is-the-article-title + created_at: 1706113863 + updated_at: 1706113863 + url: http://help-center.test/myapp-32/en/articles/130-this-is-the-article-title schema: "$ref": "#/components/schemas/article" '404': @@ -582,7 +582,7 @@ paths: Article not found: value: type: error.list - request_id: 05d1fd22-0d8e-4d12-9323-9201bb9f0c0f + request_id: 33f7e34b-29ba-4c7f-83ca-f3b8007fbd0e errors: - code: not_found message: Resource Not Found @@ -596,7 +596,7 @@ paths: Unauthorized: value: type: error.list - request_id: bc8f0fb0-6428-4249-aa88-309b37687493 + request_id: b463a37e-cadb-4180-bc7c-18053c522c22 errors: - code: unauthorized message: Access Token Invalid @@ -629,10 +629,10 @@ paths: examples: successful: value: - id: '78' + id: '133' type: article workspace_id: this_is_an_id38_that_should_be_at_least_4 - parent_id: 297 + parent_id: 511 parent_type: collection parent_ids: [] statistics: @@ -646,11 +646,11 @@ paths: title: Christmas is here! description: '' body:

    New gifts in store for the jolly season

    - author_id: 991267837 + author_id: 991269897 state: published - created_at: 1704902838 - updated_at: 1704902839 - url: http://help-center.test/myapp-38/en/articles/78-christmas-is-here + created_at: 1706113865 + updated_at: 1706113865 + url: http://help-center.test/myapp-38/en/articles/133-christmas-is-here schema: "$ref": "#/components/schemas/article" '404': @@ -661,7 +661,7 @@ paths: Article Not Found: value: type: error.list - request_id: 35f68ce1-a650-44ee-a083-0971b276344c + request_id: fd64a70d-a40c-4bc8-b8b1-495c421b7bf0 errors: - code: not_found message: Resource Not Found @@ -675,7 +675,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2e09b396-5913-4582-ad9c-25c6aa366bc7 + request_id: a337ceee-4db4-4117-9804-23a2b9749943 errors: - code: unauthorized message: Access Token Invalid @@ -723,7 +723,7 @@ paths: examples: successful: value: - id: '81' + id: '136' object: article deleted: true schema: @@ -736,7 +736,7 @@ paths: Article Not Found: value: type: error.list - request_id: dbd59725-2753-459d-90ea-fa2fa3a944fa + request_id: d3562e64-cdbb-49a5-a1ce-3bc5a8706db1 errors: - code: not_found message: Resource Not Found @@ -750,7 +750,7 @@ paths: Unauthorized: value: type: error.list - request_id: dd9e3b92-6042-4153-b65f-88f756982912 + request_id: 585820e6-7444-4af8-9994-8318b84b620d errors: - code: unauthorized message: Access Token Invalid @@ -783,16 +783,16 @@ paths: value: type: list data: - - id: '305' + - id: '519' workspace_id: this_is_an_id52_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-52/collection-17 order: 17 - created_at: 1704902843 - updated_at: 1704902843 + created_at: 1706113870 + updated_at: 1706113870 description: english collection description icon: bookmark - help_center_id: 161 + help_center_id: 259 type: collection total_count: 1 pages: @@ -810,7 +810,7 @@ paths: Unauthorized: value: type: error.list - request_id: c98dc46d-d655-4149-aa39-58c45d2dda6f + request_id: ecccaa96-1246-43fb-a9ae-55990405c06e errors: - code: unauthorized message: Access Token Invalid @@ -835,16 +835,16 @@ paths: examples: collection created: value: - id: '311' + id: '525' workspace_id: this_is_an_id56_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-56/ order: 1 - created_at: 1704902844 - updated_at: 1704902844 + created_at: 1706113871 + updated_at: 1706113871 description: '' icon: book-bookmark - help_center_id: 163 + help_center_id: 261 type: collection schema: "$ref": "#/components/schemas/collection" @@ -856,7 +856,7 @@ paths: Bad Request: value: type: error.list - request_id: 67da973c-f669-4ed2-9030-c0ca347c4fe9 + request_id: e7810623-e8f2-45e5-83a6-30585091332b errors: - code: parameter_not_found message: Name is a required parameter. @@ -870,7 +870,7 @@ paths: Unauthorized: value: type: error.list - request_id: 369b40e5-2c2d-493c-a524-768958f3f579 + request_id: f97240b9-049e-4ae1-bef5-cd21c2b98d65 errors: - code: unauthorized message: Access Token Invalid @@ -918,16 +918,16 @@ paths: examples: Collection found: value: - id: '316' + id: '530' workspace_id: this_is_an_id62_that_should_be_at_least_4 name: English collection title url: http://help-center.test/myapp-62/collection-22 order: 22 - created_at: 1704902845 - updated_at: 1704902845 + created_at: 1706113872 + updated_at: 1706113872 description: english collection description icon: bookmark - help_center_id: 166 + help_center_id: 264 type: collection schema: "$ref": "#/components/schemas/collection" @@ -939,7 +939,7 @@ paths: Collection not found: value: type: error.list - request_id: eb68c4f4-abde-4c20-a82b-eef744f14ec2 + request_id: b8c6b5cd-a8e4-4254-88f8-5ccee03afac2 errors: - code: not_found message: Resource Not Found @@ -953,7 +953,7 @@ paths: Unauthorized: value: type: error.list - request_id: e314504a-8797-4c9d-9e72-3707930d15a0 + request_id: 902de09f-b711-4bf4-8e8f-8603b9caa56d errors: - code: unauthorized message: Access Token Invalid @@ -986,16 +986,16 @@ paths: examples: successful: value: - id: '322' + id: '536' workspace_id: this_is_an_id68_that_should_be_at_least_4 name: Update collection name url: http://help-center.test/myapp-68/collection-25 order: 25 - created_at: 1704902846 - updated_at: 1704902847 + created_at: 1706113874 + updated_at: 1706113874 description: english collection description icon: folder - help_center_id: 169 + help_center_id: 267 type: collection schema: "$ref": "#/components/schemas/collection" @@ -1007,7 +1007,7 @@ paths: Collection Not Found: value: type: error.list - request_id: 5939266d-0a1b-43d5-bd33-db69c95859ab + request_id: fe26915d-c7a3-43d8-87c8-91943bbcaf53 errors: - code: not_found message: Resource Not Found @@ -1021,7 +1021,7 @@ paths: Unauthorized: value: type: error.list - request_id: 892bd4f5-c56d-46b6-a131-c2bea01008ce + request_id: 819d3220-049c-4b87-ae6a-893493141632 errors: - code: unauthorized message: Access Token Invalid @@ -1068,7 +1068,7 @@ paths: examples: successful: value: - id: '328' + id: '542' object: collection deleted: true schema: @@ -1081,7 +1081,7 @@ paths: collection Not Found: value: type: error.list - request_id: 3b15ff9a-f05c-4522-af82-ef4099e602f7 + request_id: 579abf9b-50cf-4e03-b18a-dfafb984fd48 errors: - code: not_found message: Resource Not Found @@ -1095,7 +1095,7 @@ paths: Unauthorized: value: type: error.list - request_id: 04b9d1ee-00bc-4773-bb69-44666700524b + request_id: 1d6cf551-464a-45c7-a34c-fc1fdf0bd1db errors: - code: unauthorized message: Access Token Invalid @@ -1129,10 +1129,10 @@ paths: examples: Collection found: value: - id: '175' + id: '273' workspace_id: this_is_an_id80_that_should_be_at_least_4 - created_at: 1704902849 - updated_at: 1704902849 + created_at: 1706113876 + updated_at: 1706113876 identifier: help-center-1 website_turned_on: false display_name: Intercom Help Center @@ -1146,7 +1146,7 @@ paths: Collection not found: value: type: error.list - request_id: 39268986-f572-4bb1-9fb9-0090c5f14aad + request_id: 7fab573d-62cd-4822-90c4-4335152d5b0c errors: - code: not_found message: Resource Not Found @@ -1160,7 +1160,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7d89793d-f51d-443e-9c6f-31c9d01f95de + request_id: 22f3e69d-d4dd-4be9-b16b-4298e7fa218f errors: - code: unauthorized message: Access Token Invalid @@ -1198,7 +1198,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6da88f8d-86af-4255-be51-a49842a27dfe + request_id: 4fb5b9a2-b2d8-43d6-a4dc-55882a675ed6 errors: - code: unauthorized message: Access Token Invalid @@ -1230,15 +1230,15 @@ paths: value: type: list data: - - id: '335' + - id: '549' workspace_id: this_is_an_id90_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-90/section-15 order: 15 - created_at: 1704902850 - updated_at: 1704902850 + created_at: 1706113878 + updated_at: 1706113878 type: section - parent_id: 334 + parent_id: 548 total_count: 1 pages: type: pages @@ -1255,7 +1255,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9b42eafd-19ec-43e1-ad96-5231654734d6 + request_id: 6459c63a-4bb4-44e5-9154-ffc931a05e09 errors: - code: unauthorized message: Access Token Invalid @@ -1280,15 +1280,15 @@ paths: examples: section created: value: - id: '340' + id: '554' workspace_id: this_is_an_id94_that_should_be_at_least_4 name: Thanks for everything url: http://help-center.test/myapp-94/ order: 1 - created_at: 1704902851 - updated_at: 1704902851 + created_at: 1706113879 + updated_at: 1706113879 type: section - parent_id: '338' + parent_id: '552' schema: "$ref": "#/components/schemas/section" '401': @@ -1299,7 +1299,7 @@ paths: Unauthorized: value: type: error.list - request_id: 68fbf9ad-4085-4bf7-b0dd-9f9b1ae0d3ac + request_id: cc42d3ee-751c-4529-803d-4106e7b83d8a errors: - code: unauthorized message: Access Token Invalid @@ -1315,7 +1315,7 @@ paths: summary: section created value: name: Thanks for everything - parent_id: 338 + parent_id: 552 "/help_center/sections/{id}": get: summary: Retrieve a section @@ -1344,15 +1344,15 @@ paths: examples: Section found: value: - id: '344' + id: '558' workspace_id: this_is_an_id98_that_should_be_at_least_4 name: English section title url: http://help-center.test/myapp-98/section-19 order: 19 - created_at: 1704902852 - updated_at: 1704902852 + created_at: 1706113879 + updated_at: 1706113879 type: section - parent_id: 343 + parent_id: 557 schema: "$ref": "#/components/schemas/section" '404': @@ -1363,7 +1363,7 @@ paths: Section not found: value: type: error.list - request_id: 4c3e97d3-4446-4e3c-b718-66c325a50c9a + request_id: '09d007ee-5f70-44cd-afbf-8c99daa57bbd' errors: - code: not_found message: Resource Not Found @@ -1377,7 +1377,7 @@ paths: Unauthorized: value: type: error.list - request_id: dcb62f52-fe34-447e-b497-304557f92427 + request_id: 406c3b24-0ca4-4632-b1ad-6909c4559ac3 errors: - code: unauthorized message: Access Token Invalid @@ -1410,15 +1410,15 @@ paths: examples: successful: value: - id: '350' + id: '564' workspace_id: this_is_an_id104_that_should_be_at_least_ name: Update section name url: http://help-center.test/myapp-104/section-22 order: 22 - created_at: 1704902853 - updated_at: 1704902854 + created_at: 1706113881 + updated_at: 1706113881 type: section - parent_id: '349' + parent_id: '563' schema: "$ref": "#/components/schemas/section" '404': @@ -1429,7 +1429,7 @@ paths: Section Not Found: value: type: error.list - request_id: cba3002d-bb7b-421f-80bf-ef4e287ee7ab + request_id: f420df63-64b1-48c2-8600-48c728f9167f errors: - code: not_found message: Resource Not Found @@ -1443,7 +1443,7 @@ paths: Unauthorized: value: type: error.list - request_id: 37cb6e6f-5ec5-4c2d-92b4-a2ee2fe1e186 + request_id: 8c2dc0ed-a8ea-449c-b4e7-ba89e8f4461c errors: - code: unauthorized message: Access Token Invalid @@ -1459,12 +1459,12 @@ paths: summary: successful value: name: Update section name - parent_id: 349 + parent_id: 563 section_not_found: summary: Section Not Found value: name: Update section name - parent_id: 351 + parent_id: 565 delete: summary: Delete a section parameters: @@ -1491,7 +1491,7 @@ paths: examples: successful: value: - id: '356' + id: '570' object: section deleted: true schema: @@ -1504,7 +1504,7 @@ paths: section Not Found: value: type: error.list - request_id: 4b2c0687-e07b-4aad-803d-3beb53e0d805 + request_id: 4b9e21a3-1637-42c3-9da2-79038e368d38 errors: - code: not_found message: Resource Not Found @@ -1518,7 +1518,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5ca35c91-895e-47b5-bf7a-0a032e0c3aed + request_id: 316ee1dc-c213-40ba-87df-3036966db9e8 errors: - code: unauthorized message: Access Token Invalid @@ -1551,12 +1551,12 @@ paths: value: type: company company_id: company_remote_id - id: 659ec0cb6abd0150e7d4a1b5 - app_id: this_is_an_id119_that_should_be_at_least_ + id: 65b13b5c6abd01144119aa37 + app_id: this_is_an_id116_that_should_be_at_least_ name: my company remote_created_at: 1374138000 - created_at: 1704902859 - updated_at: 1704902859 + created_at: 1706113884 + updated_at: 1706113884 monthly_spend: 0 session_count: 0 user_count: 0 @@ -1593,7 +1593,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9a5709fd-61be-41f5-bb27-9beda021bc82 + request_id: 40f82d77-b525-4994-ad18-c283d59943b0 errors: - code: unauthorized message: Access Token Invalid @@ -1667,11 +1667,18 @@ paths: tags: - Companies operationId: retrieveCompany - description: "You can fetch a single company by passing in `company_id` or `name`.\n\n - \ `https://api.intercom.io/companies?name={name}`\n\n `https://api.intercom.io/companies?company_id={company_id}`\n\nYou - can fetch all companies and filter by `segment_id` or `tag_id` as a query - parameter.\n \n `https://api.intercom.io/companies?tag_id={tag_id}`\n\n - \ `https://api.intercom.io/companies?segment_id={segment_id}`\n" + description: | + You can fetch a single company by passing in `company_id` or `name`. + + `https://api.intercom.io/companies?name={name}` + + `https://api.intercom.io/companies?company_id={company_id}` + + You can fetch all companies and filter by `segment_id` or `tag_id` as a query parameter. + + `https://api.intercom.io/companies?tag_id={tag_id}` + + `https://api.intercom.io/companies?segment_id={segment_id}` responses: '200': description: Successful @@ -1684,12 +1691,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec0cd6abd0150e7d4a1bd - app_id: this_is_an_id125_that_should_be_at_least_ + id: 65b13b5d6abd01144119aa3f + app_id: this_is_an_id122_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902861 - created_at: 1704902861 - updated_at: 1704902861 + remote_created_at: 1706113885 + created_at: 1706113885 + updated_at: 1706113885 monthly_spend: 0 session_count: 0 user_count: 4 @@ -1718,7 +1725,7 @@ paths: Company Not Found: value: type: error.list - request_id: b2eb1f08-fc11-4ab7-bbcc-e701c7b71b15 + request_id: 480401e1-4590-4b01-af54-b1cec067b68e errors: - code: company_not_found message: Company Not Found @@ -1732,7 +1739,7 @@ paths: Unauthorized: value: type: error.list - request_id: c2571b36-358b-46dd-b28e-87017711c463 + request_id: ad1d9e61-1ebc-4764-9496-4357945496e8 errors: - code: unauthorized message: Access Token Invalid @@ -1767,12 +1774,12 @@ paths: value: type: company company_id: '1' - id: 659ec0cf6abd0150e7d4a1c8 - app_id: this_is_an_id131_that_should_be_at_least_ - name: company2 - remote_created_at: 1704902863 - created_at: 1704902863 - updated_at: 1704902863 + id: 65b13b5f6abd01144119aa4a + app_id: this_is_an_id128_that_should_be_at_least_ + name: company1 + remote_created_at: 1706113887 + created_at: 1706113887 + updated_at: 1706113887 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1794,7 +1801,7 @@ paths: Company Not Found: value: type: error.list - request_id: 1286eab5-40f4-4ccf-b723-7ccf9d25e130 + request_id: a4a9af25-5b88-4d92-8157-55df66f3da2d errors: - code: company_not_found message: Company Not Found @@ -1808,7 +1815,7 @@ paths: Unauthorized: value: type: error.list - request_id: df99a5e1-3a85-4ee8-bfaa-736f1e2f3baa + request_id: 7970c149-67d6-410a-b169-533f66e66cd0 errors: - code: unauthorized message: Access Token Invalid @@ -1842,12 +1849,12 @@ paths: value: type: company company_id: '1' - id: 659ec0d16abd0150e7d4a1d2 - app_id: this_is_an_id137_that_should_be_at_least_ - name: company3 - remote_created_at: 1704902865 - created_at: 1704902865 - updated_at: 1704902865 + id: 65b13b616abd01144119aa54 + app_id: this_is_an_id134_that_should_be_at_least_ + name: company2 + remote_created_at: 1706113889 + created_at: 1706113889 + updated_at: 1706113889 monthly_spend: 0 session_count: 0 user_count: 1 @@ -1869,7 +1876,7 @@ paths: Company Not Found: value: type: error.list - request_id: 6d97fbfd-884b-495f-8597-3f1cc5bf3f68 + request_id: 2ea5dfdd-c144-420b-a5b8-47370bead97d errors: - code: company_not_found message: Company Not Found @@ -1883,7 +1890,7 @@ paths: Unauthorized: value: type: error.list - request_id: ea6fd60e-4f9a-4498-9157-581c1b5824b7 + request_id: e542f5df-49b2-4917-b047-680104c01fad errors: - code: unauthorized message: Access Token Invalid @@ -1915,7 +1922,7 @@ paths: examples: Successful: value: - id: 659ec0d26abd0150e7d4a1dc + id: 65b13b636abd01144119aa5e object: company deleted: true schema: @@ -1928,7 +1935,7 @@ paths: Company Not Found: value: type: error.list - request_id: 0a6631bb-f9ec-4f44-9a8d-4651642bd91b + request_id: 236612a1-c839-4341-a339-6dde17e31073 errors: - code: company_not_found message: Company Not Found @@ -1942,7 +1949,7 @@ paths: Unauthorized: value: type: error.list - request_id: 4fef364b-8faf-4cd0-9a12-63c40d27b501 + request_id: eb56a370-71f5-4cc4-86a6-31bade553fed errors: - code: unauthorized message: Access Token Invalid @@ -1994,7 +2001,7 @@ paths: Company Not Found: value: type: error.list - request_id: 6f6f775c-8943-4efd-91a5-f68f2d354b8a + request_id: d773d45c-0281-43bc-a694-cefd591d2ca0 errors: - code: company_not_found message: Company Not Found @@ -2008,7 +2015,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1607dee9-91b8-40a7-87cf-1ab65c7395eb + request_id: 9d1a91c7-c4a3-4f0c-bb74-372ed87db5d8 errors: - code: unauthorized message: Access Token Invalid @@ -2053,7 +2060,7 @@ paths: Company Not Found: value: type: error.list - request_id: ffa847a5-345e-436c-8b70-c372ed3c55eb + request_id: d1c009ec-bd76-4c33-9050-d43083a8702e errors: - code: company_not_found message: Company Not Found @@ -2067,7 +2074,7 @@ paths: Unauthorized: value: type: error.list - request_id: 1961e7c4-e2ec-4f2e-a609-2a70a12f7273 + request_id: bf703a7f-44cd-4af6-8151-80db0a42f4a8 errors: - code: unauthorized message: Access Token Invalid @@ -2124,12 +2131,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec0d76abd0150e7d4a1f8 - app_id: this_is_an_id161_that_should_be_at_least_ + id: 65b13b686abd01144119aa7a + app_id: this_is_an_id158_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902871 - created_at: 1704902871 - updated_at: 1704902871 + remote_created_at: 1706113896 + created_at: 1706113896 + updated_at: 1706113896 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2158,7 +2165,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3e39baca-fa03-4ff1-9f23-57ec847d708f + request_id: 42900b27-e641-4bac-bc99-9012032511dc errors: - code: unauthorized message: Access Token Invalid @@ -2210,12 +2217,12 @@ paths: data: - type: company company_id: remote_companies_scroll_2 - id: 659ec0d86abd0150e7d4a1fe - app_id: this_is_an_id165_that_should_be_at_least_ + id: 65b13b696abd01144119aa80 + app_id: this_is_an_id162_that_should_be_at_least_ name: IntercomQATest1 - remote_created_at: 1704902872 - created_at: 1704902872 - updated_at: 1704902872 + remote_created_at: 1706113897 + created_at: 1706113897 + updated_at: 1706113897 monthly_spend: 0 session_count: 0 user_count: 4 @@ -2229,7 +2236,7 @@ paths: custom_attributes: {} pages: total_count: - scroll_param: 958fdfa5-9134-4378-9d03-2cf10be6c276 + scroll_param: 15ad36af-361e-4a91-880f-f3be75e82de9 schema: "$ref": "#/components/schemas/company_scroll" '401': @@ -2240,7 +2247,7 @@ paths: Unauthorized: value: type: error.list - request_id: 159aecde-b763-4fda-8b78-82eaec4fe6ae + request_id: 02046a2a-f829-4f20-869a-fdc6712456b8 errors: - code: unauthorized message: Access Token Invalid @@ -2275,12 +2282,12 @@ paths: value: type: company company_id: '1' - id: 659ec0da6abd0150e7d4a207 - app_id: this_is_an_id169_that_should_be_at_least_ - name: company7 - remote_created_at: 1704902874 - created_at: 1704902874 - updated_at: 1704902874 + id: 65b13b6a6abd01144119aa89 + app_id: this_is_an_id166_that_should_be_at_least_ + name: company6 + remote_created_at: 1706113898 + created_at: 1706113898 + updated_at: 1706113898 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2294,6 +2301,20 @@ paths: custom_attributes: {} schema: "$ref": "#/components/schemas/company" + '400': + description: Bad Request + content: + application/json: + examples: + Bad Request: + value: + type: error.list + request_id: fe58a5c1-b7c8-4aa2-bb6c-75bbec40ce97 + errors: + - code: parameter_not_found + message: company not specified + schema: + "$ref": "#/components/schemas/error" '404': description: Company Not Found content: @@ -2302,10 +2323,10 @@ paths: Company Not Found: value: type: error.list - request_id: 7f28d574-cf79-44c2-9f2a-5f96103cbd98 + request_id: 160b5fad-5463-472a-8a4d-533b49b0745f errors: - - code: not_found - message: User Not Found + - code: company_not_found + message: Company Not Found schema: "$ref": "#/components/schemas/error" '401': @@ -2316,7 +2337,7 @@ paths: Unauthorized: value: type: error.list - request_id: babe1ec5-ef88-491d-b687-c0c953fe8e50 + request_id: f2d83d5e-812c-4dd0-8ed2-d62ebd70c3ba errors: - code: unauthorized message: Access Token Invalid @@ -2339,11 +2360,14 @@ paths: successful: summary: Successful value: - id: 659ec0da6abd0150e7d4a207 + id: 65b13b6a6abd01144119aa89 + bad_request: + summary: Bad Request + value: company_not_found: summary: Company Not Found value: - id: 659ec0da6abd0150e7d4a20b + id: '123' get: summary: List attached companies for contact parameters: @@ -2375,13 +2399,13 @@ paths: data: - type: company company_id: '1' - id: 659ec0e56abd0150e7d4a239 - app_id: this_is_an_id183_that_should_be_at_least_ - name: company23 - remote_created_at: 1704902885 - created_at: 1704902885 - updated_at: 1704902885 - last_request_at: 1704730085 + id: 65b13b706abd01144119aaaa + app_id: this_is_an_id182_that_should_be_at_least_ + name: company12 + remote_created_at: 1706113904 + created_at: 1706113904 + updated_at: 1706113904 + last_request_at: 1705941104 monthly_spend: 0 session_count: 0 user_count: 1 @@ -2410,7 +2434,7 @@ paths: Contact not found: value: type: error.list - request_id: 21347082-9532-4e27-a90d-8ac088450d34 + request_id: b46dde04-6dc7-416c-a632-2ab563715d4a errors: - code: not_found message: User Not Found @@ -2424,7 +2448,7 @@ paths: Unauthorized: value: type: error.list - request_id: eb5b95ba-3be4-4b74-bfd0-47bc77206396 + request_id: 74df38e2-6ec6-4110-b9e0-c591e98f01c1 errors: - code: unauthorized message: Access Token Invalid @@ -2467,12 +2491,12 @@ paths: value: type: company company_id: '1' - id: 659ec0dc6abd0150e7d4a213 - app_id: this_is_an_id175_that_should_be_at_least_ - name: company10 - remote_created_at: 1704902876 - created_at: 1704902876 - updated_at: 1704902876 + id: 65b13b6d6abd01144119aa99 + app_id: this_is_an_id174_that_should_be_at_least_ + name: company8 + remote_created_at: 1706113901 + created_at: 1706113901 + updated_at: 1706113901 monthly_spend: 0 session_count: 0 user_count: 0 @@ -2494,14 +2518,14 @@ paths: Company Not Found: value: type: error.list - request_id: 89533a08-b57b-403b-9038-494d4ea9f6f4 + request_id: 51ee5fe2-2588-476f-8cbb-9d5a5cc42026 errors: - code: company_not_found message: Company Not Found Contact Not Found: value: type: error.list - request_id: 585d1fce-af5b-4965-a6ca-817512558176 + request_id: 38771dfc-c2ac-4814-adef-be5be0fbb4ee errors: - code: not_found message: User Not Found @@ -2515,7 +2539,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6e569ae0-7273-48f8-a6d0-af048ce2b6e6 + request_id: 7c2e012e-7507-452f-8ec1-1b9e0ec0255a errors: - code: unauthorized message: Access Token Invalid @@ -2551,44 +2575,44 @@ paths: type: list data: - type: note - id: '82' - created_at: 1704298087 + id: '94' + created_at: 1705509106 contact: type: contact - id: 659ec0e76abd0150e7d4a244 + id: 65b13b726abd01144119aab5 author: type: admin - id: '991267918' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269979' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '81' - created_at: 1704211687 + id: '93' + created_at: 1705422706 contact: type: contact - id: 659ec0e76abd0150e7d4a244 + id: 65b13b726abd01144119aab5 author: type: admin - id: '991267918' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269979' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " - type: note - id: '80' - created_at: 1704211687 + id: '92' + created_at: 1705422706 contact: type: contact - id: 659ec0e76abd0150e7d4a244 + id: 65b13b726abd01144119aab5 author: type: admin - id: '991267918' - name: Ciaran109 Lee - email: admin109@email.com + id: '991269979' + name: Ciaran110 Lee + email: admin110@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -2609,7 +2633,7 @@ paths: Contact not found: value: type: error.list - request_id: 734b9c3a-eb85-4e51-a9ac-d2276d1aa85d + request_id: bbe3a6a9-bdaf-415b-8cfc-2058b2ba16d2 errors: - code: not_found message: User Not Found @@ -2643,16 +2667,16 @@ paths: Successful response: value: type: note - id: '87' - created_at: 1704902888 + id: '99' + created_at: 1706113907 contact: type: contact - id: 659ec0e86abd0150e7d4a246 + id: 65b13b736abd01144119aab7 author: type: admin - id: '991267920' - name: Ciaran111 Lee - email: admin111@email.com + id: '991269981' + name: Ciaran112 Lee + email: admin112@email.com away_mode_enabled: false away_mode_reassign: false body: "

    Hello

    " @@ -2666,14 +2690,14 @@ paths: Admin not found: value: type: error.list - request_id: 2fdf4adf-e739-45c4-b761-8b6663cc0931 + request_id: e6e3cdb4-ef1f-4b8d-a1df-1767c7eaada2 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: c7d979e7-23c9-4251-a0a6-38363f21d3b9 + request_id: 4caf395f-c9b0-4909-af42-c47c037448c3 errors: - code: not_found message: User Not Found @@ -2703,20 +2727,20 @@ paths: successful_response: summary: Successful response value: - contact_id: 659ec0e86abd0150e7d4a246 - admin_id: 991267920 + contact_id: 65b13b736abd01144119aab7 + admin_id: 991269981 body: Hello admin_not_found: summary: Admin not found value: - contact_id: 659ec0e96abd0150e7d4a247 + contact_id: 65b13b736abd01144119aab8 admin_id: 123 body: Hello contact_not_found: summary: Contact not found value: contact_id: 123 - admin_id: 991267922 + admin_id: 991269983 body: Hello "/contacts/{contact_id}/segments": get: @@ -2749,10 +2773,10 @@ paths: type: list data: - type: segment - id: 659ec0ea6abd0150e7d4a249 + id: 65b13b746abd01144119aaba name: segment - created_at: 1704902890 - updated_at: 1704902890 + created_at: 1706113908 + updated_at: 1706113908 person_type: user schema: "$ref": "#/components/schemas/contact_segments" @@ -2764,7 +2788,7 @@ paths: Contact not found: value: type: error.list - request_id: bff9aac3-5462-45d7-85d3-34cd1711c6ee + request_id: bc020221-6d3a-413f-aa7c-e6c82312eb81 errors: - code: not_found message: User Not Found @@ -2778,7 +2802,7 @@ paths: Unauthorized: value: type: error.list - request_id: 64ee93fa-162b-461c-86f5-8d00d8557ae1 + request_id: ded54169-1d6b-43ea-a648-1d5488e4868a errors: - code: unauthorized message: Access Token Invalid @@ -2822,7 +2846,7 @@ paths: type: list data: - type: subscription - id: '182' + id: '323' state: live consent_type: opt_out default_translation: @@ -2836,7 +2860,7 @@ paths: content_types: - email - type: subscription - id: '184' + id: '325' state: live consent_type: opt_in default_translation: @@ -2859,7 +2883,7 @@ paths: Contact not found: value: type: error.list - request_id: 8f1e0767-7d1c-4375-b4fc-50f3cf092b23 + request_id: fdd9c8a4-3da0-4dc4-ad65-b2e371965f10 errors: - code: not_found message: User Not Found @@ -2873,7 +2897,7 @@ paths: Unauthorized: value: type: error.list - request_id: 3e63fd6d-1534-46c8-8eee-760a17d0b4d0 + request_id: 75315990-842f-4aef-9b52-40f83f1a18b2 errors: - code: unauthorized message: Access Token Invalid @@ -2914,7 +2938,7 @@ paths: Successful: value: type: subscription - id: '197' + id: '338' state: live consent_type: opt_in default_translation: @@ -2937,14 +2961,14 @@ paths: Contact not found: value: type: error.list - request_id: 5aec4256-6499-460a-9341-0469caf7a5e0 + request_id: 5f3a5285-01cc-4679-bd90-218184d826f6 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: cbb2d192-f32c-4359-96ef-afa56734e463 + request_id: fffbdaaf-3590-4486-938b-ca1b0c6a19d3 errors: - code: not_found message: Resource Not Found @@ -2958,7 +2982,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2f6b4e03-4296-417a-9351-c5f4236bb265 + request_id: 2798ee9f-1f7d-4218-849b-847328e3165b errors: - code: unauthorized message: Access Token Invalid @@ -2986,12 +3010,12 @@ paths: successful: summary: Successful value: - id: 197 + id: 338 consent_type: opt_in contact_not_found: summary: Contact not found value: - id: 201 + id: 342 consent_type: opt_in resource_not_found: summary: Resource not found @@ -3037,7 +3061,7 @@ paths: Successful: value: type: subscription - id: '213' + id: '354' state: live consent_type: opt_in default_translation: @@ -3060,14 +3084,14 @@ paths: Contact not found: value: type: error.list - request_id: 604ccbe5-f431-40ff-a279-1354f5710cdd + request_id: 644eb279-d647-4a1a-8dac-83fbc71cf249 errors: - code: not_found message: User Not Found Resource not found: value: type: error.list - request_id: ab578239-97fe-4526-a1e4-ee775f50fa18 + request_id: 97d51603-88e6-4d09-8ba9-84313d3de93e errors: - code: not_found message: Resource Not Found @@ -3081,7 +3105,7 @@ paths: Unauthorized: value: type: error.list - request_id: 02467c89-f2c6-4694-88f4-3b82213bac98 + request_id: 19f4bac6-245a-4530-8d4b-10b92dcc83a6 errors: - code: unauthorized message: Access Token Invalid @@ -3119,7 +3143,7 @@ paths: type: list data: - type: tag - id: '150' + id: '298' name: Manual tag schema: "$ref": "#/components/schemas/tag_list" @@ -3131,7 +3155,7 @@ paths: Contact not found: value: type: error.list - request_id: 8f1e9ab1-ac6d-4e58-8955-2c0c0bc2110a + request_id: 6657f59e-523c-4809-aeac-8f63d0a8a4bd errors: - code: not_found message: User Not Found @@ -3145,7 +3169,7 @@ paths: Unauthorized: value: type: error.list - request_id: 493116be-1b5e-457f-a4e8-2075e35b0937 + request_id: 258366be-6be9-4a04-bd36-47ac654d940a errors: - code: unauthorized message: Access Token Invalid @@ -3180,7 +3204,7 @@ paths: successful: value: type: tag - id: '151' + id: '299' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3192,14 +3216,14 @@ paths: Contact not found: value: type: error.list - request_id: 86725617-bfde-4f9d-ae94-4deb40e0f247 + request_id: ddd8bbcc-0bbe-4ead-a725-c825cab41a92 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 267fb369-85c0-4219-9407-18f9df64e68d + request_id: f9ef667e-fbad-43a9-9b87-4659844d07a4 errors: - code: not_found message: Resource Not Found @@ -3213,7 +3237,7 @@ paths: Unauthorized: value: type: error.list - request_id: 660e2fbe-662a-4744-b1dc-7e3fe635620e + request_id: 3e18b0d3-4ed1-4cfb-8713-9861c9dc831d errors: - code: unauthorized message: Access Token Invalid @@ -3236,11 +3260,11 @@ paths: successful: summary: successful value: - id: 151 + id: 299 contact_not_found: summary: Contact not found value: - id: 152 + id: 300 tag_not_found: summary: Tag not found value: @@ -3282,7 +3306,7 @@ paths: successful: value: type: tag - id: '154' + id: '302' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -3294,14 +3318,14 @@ paths: Contact not found: value: type: error.list - request_id: c2f491ba-6701-4ffe-9820-e4dd9c5853c8 + request_id: c5d93c25-aa97-422d-8983-7e42b207e868 errors: - code: not_found message: User Not Found Tag not found: value: type: error.list - request_id: 9a57aa58-8bf3-47ef-8c36-782dc7ca8eb1 + request_id: 54be0c59-5dde-49b5-8f03-9eb060e75e95 errors: - code: not_found message: Resource Not Found @@ -3315,7 +3339,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7725f925-8de6-459c-8cbc-daae6f45c19d + request_id: daeed2b4-f6b9-4c2e-8fc6-6a8e7fa3f4c0 errors: - code: unauthorized message: Access Token Invalid @@ -3349,8 +3373,8 @@ paths: successful: value: type: contact - id: 659ec0f56abd0150e7d4a260 - workspace_id: this_is_an_id249_that_should_be_at_least_ + id: 65b13b806abd01144119aad1 + workspace_id: this_is_an_id248_that_should_be_at_least_ external_id: '70' role: user email: joebloggs@intercom.io @@ -3364,9 +3388,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902901 - updated_at: 1704902901 - signed_up_at: 1704902901 + created_at: 1706113920 + updated_at: 1706113920 + signed_up_at: 1706113920 last_seen_at: last_replied_at: last_contacted_at: @@ -3400,31 +3424,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec0f56abd0150e7d4a260/tags" + url: "/contacts/65b13b806abd01144119aad1/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec0f56abd0150e7d4a260/notes" + url: "/contacts/65b13b806abd01144119aad1/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec0f56abd0150e7d4a260/companies" + url: "/contacts/65b13b806abd01144119aad1/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec0f56abd0150e7d4a260/subscriptions" + url: "/contacts/65b13b806abd01144119aad1/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec0f56abd0150e7d4a260/subscriptions" + url: "/contacts/65b13b806abd01144119aad1/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3443,7 +3467,7 @@ paths: Unauthorized: value: type: error.list - request_id: 47121a8d-212c-4056-80b9-2651473965fd + request_id: 46c73cef-668c-4d42-bab8-737581e8f772 errors: - code: unauthorized message: Access Token Invalid @@ -3488,8 +3512,8 @@ paths: successful: value: type: contact - id: 659ec0f66abd0150e7d4a261 - workspace_id: this_is_an_id253_that_should_be_at_least_ + id: 65b13b816abd01144119aad2 + workspace_id: this_is_an_id252_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3503,9 +3527,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902902 - updated_at: 1704902902 - signed_up_at: 1704902902 + created_at: 1706113921 + updated_at: 1706113921 + signed_up_at: 1706113921 last_seen_at: last_replied_at: last_contacted_at: @@ -3539,31 +3563,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec0f66abd0150e7d4a261/tags" + url: "/contacts/65b13b816abd01144119aad2/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec0f66abd0150e7d4a261/notes" + url: "/contacts/65b13b816abd01144119aad2/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec0f66abd0150e7d4a261/companies" + url: "/contacts/65b13b816abd01144119aad2/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec0f66abd0150e7d4a261/subscriptions" + url: "/contacts/65b13b816abd01144119aad2/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec0f66abd0150e7d4a261/subscriptions" + url: "/contacts/65b13b816abd01144119aad2/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3582,7 +3606,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7209d3c9-888b-4fa6-8687-c7a507e25ca1 + request_id: 3cd23252-fd47-49ad-a8ac-8e3303b8a646 errors: - code: unauthorized message: Access Token Invalid @@ -3613,7 +3637,7 @@ paths: examples: successful: value: - id: 659ec0f76abd0150e7d4a262 + id: 65b13b826abd01144119aad3 object: contact deleted: true schema: @@ -3626,7 +3650,7 @@ paths: Unauthorized: value: type: error.list - request_id: 975d0473-04a5-4050-bf13-4660177336ac + request_id: 7bed832e-d814-4d43-a1f9-26b8ba99a8b0 errors: - code: unauthorized message: Access Token Invalid @@ -3654,8 +3678,8 @@ paths: successful: value: type: contact - id: 659ec0f86abd0150e7d4a264 - workspace_id: this_is_an_id261_that_should_be_at_least_ + id: 65b13b836abd01144119aad5 + workspace_id: this_is_an_id260_that_should_be_at_least_ external_id: '70' role: user email: joe@bloggs.com @@ -3669,9 +3693,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902904 - updated_at: 1704902905 - signed_up_at: 1704902904 + created_at: 1706113923 + updated_at: 1706113923 + signed_up_at: 1706113923 last_seen_at: last_replied_at: last_contacted_at: @@ -3705,31 +3729,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec0f86abd0150e7d4a264/tags" + url: "/contacts/65b13b836abd01144119aad5/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec0f86abd0150e7d4a264/notes" + url: "/contacts/65b13b836abd01144119aad5/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec0f86abd0150e7d4a264/companies" + url: "/contacts/65b13b836abd01144119aad5/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec0f86abd0150e7d4a264/subscriptions" + url: "/contacts/65b13b836abd01144119aad5/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec0f86abd0150e7d4a264/subscriptions" + url: "/contacts/65b13b836abd01144119aad5/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -3748,7 +3772,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8c7b36e7-b3df-4afc-9c7c-88cd47668026 + request_id: 94cf8e88-cbee-4f58-aabf-7d1b2f2a14bf errors: - code: unauthorized message: Access Token Invalid @@ -3763,8 +3787,8 @@ paths: successful: summary: successful value: - from: 659ec0f86abd0150e7d4a263 - into: 659ec0f86abd0150e7d4a264 + from: 65b13b836abd01144119aad4 + into: 65b13b836abd01144119aad5 "/contacts/search": post: summary: Search contacts @@ -3873,7 +3897,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7e2edb61-c818-423f-8e0d-05a588b5f802 + request_id: e6fe76e5-25dd-406e-a3c6-f9379b370f8c errors: - code: unauthorized message: Access Token Invalid @@ -3893,15 +3917,15 @@ paths: value: - field: id operator: "=" - value: 659ec0fa6abd0150e7d4a267 + value: 65b13b856abd01144119aad8 - operator: OR value: - field: id operator: "=" - value: 659ec0fa6abd0150e7d4a267 + value: 65b13b856abd01144119aad8 - field: id operator: "=" - value: 659ec0fa6abd0150e7d4a267 + value: 65b13b856abd01144119aad8 "/contacts": get: summary: List all contacts @@ -3940,7 +3964,7 @@ paths: Unauthorized: value: type: error.list - request_id: f8a075d2-3aea-4d38-89b3-d9cd48b5a802 + request_id: e0a15a2b-435d-4d34-8391-13cde54dc3bd errors: - code: unauthorized message: Access Token Invalid @@ -3966,8 +3990,8 @@ paths: successful: value: type: contact - id: 659ec0fc6abd0150e7d4a269 - workspace_id: this_is_an_id273_that_should_be_at_least_ + id: 65b13b876abd01144119aada + workspace_id: this_is_an_id272_that_should_be_at_least_ external_id: role: user email: joebloggs@intercom.io @@ -3981,8 +4005,8 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704902908 - updated_at: 1704902908 + created_at: 1706113927 + updated_at: 1706113927 signed_up_at: last_seen_at: last_replied_at: @@ -4017,31 +4041,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec0fc6abd0150e7d4a269/tags" + url: "/contacts/65b13b876abd01144119aada/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec0fc6abd0150e7d4a269/notes" + url: "/contacts/65b13b876abd01144119aada/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec0fc6abd0150e7d4a269/companies" + url: "/contacts/65b13b876abd01144119aada/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec0fc6abd0150e7d4a269/subscriptions" + url: "/contacts/65b13b876abd01144119aada/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec0fc6abd0150e7d4a269/subscriptions" + url: "/contacts/65b13b876abd01144119aada/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -4060,7 +4084,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0011c608-bd94-4b58-ac28-6cc7a6f5d052 + request_id: f8884617-2fcc-4ba9-88a0-668d142f18ea errors: - code: unauthorized message: Access Token Invalid @@ -4104,7 +4128,7 @@ paths: examples: successful: value: - id: 659ec0fd6abd0150e7d4a26a + id: 65b13b886abd01144119aadb object: contact archived: true schema: @@ -4136,7 +4160,7 @@ paths: examples: successful: value: - id: 659ec0fd6abd0150e7d4a26b + id: 65b13b886abd01144119aadc object: contact archived: false schema: @@ -4171,7 +4195,7 @@ paths: successful: value: type: tag - id: '156' + id: '304' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4183,7 +4207,7 @@ paths: Conversation not found: value: type: error.list - request_id: 1a9bc534-45ec-4078-a30a-73e916bf32dc + request_id: e211fde3-67d7-4c8c-90b9-cbbd9af9ac79 errors: - code: not_found message: Conversation not found @@ -4197,7 +4221,7 @@ paths: Unauthorized: value: type: error.list - request_id: 93d77b80-eec9-4055-b0aa-cfbca88f86ff + request_id: 3a0253a7-b5b4-4af7-992d-d1e013ca34ff errors: - code: unauthorized message: Access Token Invalid @@ -4226,13 +4250,13 @@ paths: successful: summary: successful value: - id: 156 - admin_id: 991267953 + id: 304 + admin_id: 991270014 conversation_not_found: summary: Conversation not found value: - id: 157 - admin_id: 991267955 + id: 305 + admin_id: 991270016 "/conversations/{conversation_id}/tags/{id}": delete: summary: Remove tag from a conversation @@ -4270,7 +4294,7 @@ paths: successful: value: type: tag - id: '159' + id: '307' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -4282,14 +4306,14 @@ paths: Conversation not found: value: type: error.list - request_id: 277712ce-27e0-4c7b-ae91-066ceeb19cf7 + request_id: f100cdbb-1136-4837-acac-bf30669762ca errors: - code: not_found message: Conversation not found Tag not found: value: type: error.list - request_id: 8f109750-c9b8-4328-b623-e808834cf1d8 + request_id: 3c3d95d6-d8ef-4f0d-887f-57dabf5b8411 errors: - code: tag_not_found message: Tag not found @@ -4303,7 +4327,7 @@ paths: Unauthorized: value: type: error.list - request_id: cf174ea1-9258-485e-b746-0855445bd20f + request_id: f1a65ab3-90a7-4b16-a763-ea9057dc199b errors: - code: unauthorized message: Access Token Invalid @@ -4326,15 +4350,15 @@ paths: successful: summary: successful value: - admin_id: 991267957 + admin_id: 991270018 conversation_not_found: summary: Conversation not found value: - admin_id: 991267959 + admin_id: 991270020 tag_not_found: summary: Tag not found value: - admin_id: 991267960 + admin_id: 991270021 "/conversations": get: summary: List all conversations @@ -4381,22 +4405,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '501' - created_at: 1704902917 - updated_at: 1704902917 + id: '999' + created_at: 1706113936 + updated_at: 1706113936 waiting_since: snoozed_until: source: type: conversation - id: '403918362' + id: '403918646' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267963' - name: Ciaran151 Lee - email: admin151@email.com + id: '991270024' + name: Ciaran152 Lee + email: admin152@email.com attachments: [] url: redacted: false @@ -4404,7 +4428,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1056abd0150e7d4a26f + id: 65b13b906abd01144119aae0 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4433,7 +4457,7 @@ paths: Unauthorized: value: type: error.list - request_id: 2396f4ba-476a-4638-85a3-8ce8e9ff04cf + request_id: 34423167-b015-4c66-a7f3-6f788aaf827f errors: - code: unauthorized message: Access Token Invalid @@ -4447,7 +4471,7 @@ paths: API plan restricted: value: type: error.list - request_id: 815c687f-7a92-4c2e-b80f-496d3867d0bc + request_id: 6f608c36-24a3-4b2e-b3f7-769473619f40 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4479,11 +4503,11 @@ paths: conversation created: value: type: user_message - id: '403918372' - created_at: 1704902945 + id: '403918656' + created_at: 1706113964 body: Hello there message_type: inapp - conversation_id: '526' + conversation_id: '1024' schema: "$ref": "#/components/schemas/message" '404': @@ -4494,7 +4518,7 @@ paths: Contact Not Found: value: type: error.list - request_id: 9ba8a498-d28d-405d-8bac-a9d4b08cf966 + request_id: 68b9e9b2-10c1-4578-a970-fe2beb199302 errors: - code: not_found message: User Not Found @@ -4508,7 +4532,7 @@ paths: Unauthorized: value: type: error.list - request_id: 004bcbf6-03a8-4119-8c10-6ad97eca232e + request_id: 2a97dda2-a4d1-4b5e-95eb-b99ed47f9648 errors: - code: unauthorized message: Access Token Invalid @@ -4522,7 +4546,7 @@ paths: API plan restricted: value: type: error.list - request_id: 52e8f221-479a-4953-8b8a-7d9531207c3d + request_id: e64ca6c5-46f6-4ded-8784-5f8a6b8bf741 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4539,7 +4563,7 @@ paths: value: from: type: user - id: 659ec1206abd0150e7d4a284 + id: 65b13bab6abd01144119aaf5 body: Hello there contact_not_found: summary: Contact Not Found @@ -4591,22 +4615,22 @@ paths: conversation found: value: type: conversation - id: '530' - created_at: 1704902951 - updated_at: 1704902951 + id: '1028' + created_at: 1706113970 + updated_at: 1706113970 waiting_since: snoozed_until: source: type: conversation - id: '403918376' + id: '403918660' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267977' - name: Ciaran158 Lee - email: admin158@email.com + id: '991270038' + name: Ciaran159 Lee + email: admin159@email.com attachments: [] url: redacted: false @@ -4614,7 +4638,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1276abd0150e7d4a288 + id: 65b13bb26abd01144119aaf9 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4647,7 +4671,7 @@ paths: Not found: value: type: error.list - request_id: 976db409-4830-4b64-82c0-2ce5b559f2aa + request_id: 4f0dc3ac-860b-4286-bfb5-885991b2fec5 errors: - code: not_found message: Resource Not Found @@ -4661,7 +4685,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22d16229-c2c9-4c15-90dc-7ecba105ff05 + request_id: ff8b2d14-b58f-48c8-8d98-b45bfa8ac1db errors: - code: unauthorized message: Access Token Invalid @@ -4675,7 +4699,7 @@ paths: API plan restricted: value: type: error.list - request_id: 9f7d5e4b-469d-46fb-9b5e-1cc20be52c67 + request_id: 7521c5d3-e0dc-4e56-9259-c3dfa31a3d7e errors: - code: api_plan_restricted message: Active subscription needed. @@ -4718,22 +4742,22 @@ paths: conversation found: value: type: conversation - id: '534' - created_at: 1704902957 - updated_at: 1704902959 + id: '1032' + created_at: 1706113976 + updated_at: 1706113977 waiting_since: snoozed_until: source: type: conversation - id: '403918380' + id: '403918664' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991267985' - name: Ciaran162 Lee - email: admin162@email.com + id: '991270046' + name: Ciaran163 Lee + email: admin163@email.com attachments: [] url: redacted: false @@ -4741,7 +4765,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec12d6abd0150e7d4a28c + id: 65b13bb86abd01144119aafd first_contact_reply: admin_assignee_id: team_assignee_id: @@ -4766,34 +4790,34 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '88' + id: '217' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902959 - updated_at: 1704902959 - notified_at: 1704902959 + created_at: 1706113977 + updated_at: 1706113977 + notified_at: 1706113977 assigned_to: author: - id: '991267986' + id: '991270047' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false - type: conversation_part - id: '89' + id: '218' part_type: conversation_attribute_updated_by_admin body: - created_at: 1704902959 - updated_at: 1704902959 - notified_at: 1704902959 + created_at: 1706113977 + updated_at: 1706113977 + notified_at: 1706113977 assigned_to: author: - id: '991267986' + id: '991270047' type: bot name: Operator - email: operator+this_is_an_id317_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id316_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -4808,7 +4832,7 @@ paths: Not found: value: type: error.list - request_id: 4906a994-7f85-45ba-8973-a278fecc945e + request_id: a001d1c1-2d5c-4554-8a41-8117288ea369 errors: - code: not_found message: Resource Not Found @@ -4822,7 +4846,7 @@ paths: Unauthorized: value: type: error.list - request_id: 5f5d043c-6266-4e89-8b02-00a9c9c2c61b + request_id: 8bb0d043-95b5-48ae-ab2e-d2b7c807a4ad errors: - code: unauthorized message: Access Token Invalid @@ -4836,7 +4860,7 @@ paths: API plan restricted: value: type: error.list - request_id: 86cde0a3-0310-4277-b7e6-44242c14cb77 + request_id: 93c04308-3d45-42e8-a279-f9d030b69d29 errors: - code: api_plan_restricted message: Active subscription needed. @@ -4955,22 +4979,22 @@ paths: total_count: 1 conversations: - type: conversation - id: '541' - created_at: 1704902970 - updated_at: 1704902970 + id: '1039' + created_at: 1706113988 + updated_at: 1706113988 waiting_since: snoozed_until: source: type: conversation - id: '403918387' + id: '403918671' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268015' - name: Ciaran185 Lee - email: admin185@email.com + id: '991270076' + name: Ciaran186 Lee + email: admin186@email.com attachments: [] url: redacted: false @@ -4978,7 +5002,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec13a6abd0150e7d4a293 + id: 65b13bc46abd01144119ab04 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5013,15 +5037,15 @@ paths: value: - field: id operator: "=" - value: '541' + value: '1039' - operator: OR value: - field: id operator: "=" - value: '541' + value: '1039' - field: id operator: "=" - value: '541' + value: '1039' "/conversations/{id}/reply": post: summary: Reply to a conversation @@ -5060,22 +5084,22 @@ paths: User reply: value: type: conversation - id: '549' - created_at: 1704902979 - updated_at: 1704902980 - waiting_since: 1704902980 + id: '1047' + created_at: 1706113994 + updated_at: 1706113994 + waiting_since: 1706113994 snoozed_until: source: type: conversation - id: '403918390' + id: '403918674' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268017' - name: Ciaran186 Lee - email: admin186@email.com + id: '991270078' + name: Ciaran187 Lee + email: admin187@email.com attachments: [] url: redacted: false @@ -5083,9 +5107,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1426abd0150e7d4a29a + id: 65b13bca6abd01144119ab0b first_contact_reply: - created_at: 1704902980 + created_at: 1706113995 type: conversation url: admin_assignee_id: @@ -5109,15 +5133,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '91' + id: '220' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902980 - updated_at: 1704902980 - notified_at: 1704902980 + created_at: 1706113995 + updated_at: 1706113995 + notified_at: 1706113995 assigned_to: author: - id: 659ec1426abd0150e7d4a29a + id: 65b13bca6abd01144119ab0b type: user name: Joe Bloggs email: joe@bloggs.com @@ -5128,22 +5152,22 @@ paths: Admin note reply: value: type: conversation - id: '550' - created_at: 1704902981 - updated_at: 1704902983 + id: '1048' + created_at: 1706113996 + updated_at: 1706113996 waiting_since: snoozed_until: source: type: conversation - id: '403918391' + id: '403918675' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268019' - name: Ciaran187 Lee - email: admin187@email.com + id: '991270080' + name: Ciaran188 Lee + email: admin188@email.com attachments: [] url: redacted: false @@ -5151,7 +5175,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1456abd0150e7d4a29b + id: 65b13bcb6abd01144119ab0c first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5174,7 +5198,7 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '92' + id: '221' part_type: note body: |-

    An Unordered HTML List

    @@ -5189,15 +5213,15 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704902983 - updated_at: 1704902983 - notified_at: 1704902983 + created_at: 1706113996 + updated_at: 1706113996 + notified_at: 1706113996 assigned_to: author: - id: '991268019' + id: '991270080' type: admin - name: Ciaran187 Lee - email: admin187@email.com + name: Ciaran188 Lee + email: admin188@email.com attachments: [] external_id: redacted: false @@ -5205,22 +5229,22 @@ paths: User last conversation reply: value: type: conversation - id: '552' - created_at: 1704902984 - updated_at: 1704902985 - waiting_since: 1704902985 + id: '1050' + created_at: 1706113998 + updated_at: 1706113999 + waiting_since: 1706113999 snoozed_until: source: type: conversation - id: '403918393' + id: '403918677' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268023' - name: Ciaran189 Lee - email: admin189@email.com + id: '991270084' + name: Ciaran190 Lee + email: admin190@email.com attachments: [] url: redacted: false @@ -5228,9 +5252,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1486abd0150e7d4a29d + id: 65b13bce6abd01144119ab0e first_contact_reply: - created_at: 1704902985 + created_at: 1706113999 type: conversation url: admin_assignee_id: @@ -5254,15 +5278,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '93' + id: '222' part_type: open body: "

    Thanks again :)

    " - created_at: 1704902985 - updated_at: 1704902985 - notified_at: 1704902985 + created_at: 1706113999 + updated_at: 1706113999 + notified_at: 1706113999 assigned_to: author: - id: 659ec1486abd0150e7d4a29d + id: 65b13bce6abd01144119ab0e type: user name: Joe Bloggs email: joe@bloggs.com @@ -5280,7 +5304,7 @@ paths: Not found: value: type: error.list - request_id: b0430f67-8bd1-44bb-a70c-9c9da6d5dad9 + request_id: 5cf59fbc-f661-41d2-8d6f-62543abff8da errors: - code: not_found message: Resource Not Found @@ -5294,7 +5318,7 @@ paths: Unauthorized: value: type: error.list - request_id: f85784f4-8633-446e-beb7-c69244f8ad0a + request_id: c336b2dd-bf5c-4a01-b440-f699de3814b3 errors: - code: unauthorized message: Access Token Invalid @@ -5308,7 +5332,7 @@ paths: API plan restricted: value: type: error.list - request_id: 98fc3b5a-66c2-40b9-aec9-657787c6825e + request_id: 7818eeea-0df0-4e9d-9cf1-fad248894b8b errors: - code: api_plan_restricted message: Active subscription needed. @@ -5325,14 +5349,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec1426abd0150e7d4a29a + intercom_user_id: 65b13bca6abd01144119ab0b body: Thanks again :) admin_note_reply: summary: Admin note reply value: message_type: note type: admin - admin_id: 991268019 + admin_id: 991270080 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -5342,14 +5366,14 @@ paths: value: message_type: comment type: user - intercom_user_id: 659ec1486abd0150e7d4a29d + intercom_user_id: 65b13bce6abd01144119ab0e body: Thanks again :) not_found: summary: Not found value: message_type: comment type: user - intercom_user_id: 659ec14a6abd0150e7d4a29e + intercom_user_id: 65b13bd06abd01144119ab0f body: Thanks again :) "/conversations/{id}/parts": post: @@ -5383,22 +5407,22 @@ paths: Close a conversation: value: type: conversation - id: '556' - created_at: 1704902992 - updated_at: 1704902992 + id: '1054' + created_at: 1706114004 + updated_at: 1706114005 waiting_since: snoozed_until: source: type: conversation - id: '403918397' + id: '403918681' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268031' - name: Ciaran193 Lee - email: admin193@email.com + id: '991270092' + name: Ciaran194 Lee + email: admin194@email.com attachments: [] url: redacted: false @@ -5406,7 +5430,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec14f6abd0150e7d4a2a1 + id: 65b13bd46abd01144119ab12 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5429,18 +5453,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '94' + id: '223' part_type: close body: "

    Goodbye :)

    " - created_at: 1704902992 - updated_at: 1704902992 - notified_at: 1704902992 + created_at: 1706114005 + updated_at: 1706114005 + notified_at: 1706114005 assigned_to: author: - id: '991268031' + id: '991270092' type: admin - name: Ciaran193 Lee - email: admin193@email.com + name: Ciaran194 Lee + email: admin194@email.com attachments: [] external_id: redacted: false @@ -5448,22 +5472,22 @@ paths: Snooze a conversation: value: type: conversation - id: '557' - created_at: 1704902993 - updated_at: 1704902994 + id: '1055' + created_at: 1706114006 + updated_at: 1706114007 waiting_since: - snoozed_until: 1704906594 + snoozed_until: 1706117607 source: type: conversation - id: '403918398' + id: '403918682' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268033' - name: Ciaran194 Lee - email: admin194@email.com + id: '991270094' + name: Ciaran195 Lee + email: admin195@email.com attachments: [] url: redacted: false @@ -5471,7 +5495,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1516abd0150e7d4a2a2 + id: 65b13bd66abd01144119ab13 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5494,18 +5518,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '95' + id: '224' part_type: snoozed body: - created_at: 1704902994 - updated_at: 1704902994 - notified_at: 1704902994 + created_at: 1706114007 + updated_at: 1706114007 + notified_at: 1706114007 assigned_to: author: - id: '991268033' + id: '991270094' type: admin - name: Ciaran194 Lee - email: admin194@email.com + name: Ciaran195 Lee + email: admin195@email.com attachments: [] external_id: redacted: false @@ -5513,22 +5537,22 @@ paths: Open a conversation: value: type: conversation - id: '562' - created_at: 1704902992 - updated_at: 1704903001 + id: '1060' + created_at: 1706114005 + updated_at: 1706114015 waiting_since: snoozed_until: source: type: conversation - id: '403918399' + id: '403918683' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268035' - name: Ciaran195 Lee - email: admin195@email.com + id: '991270096' + name: Ciaran196 Lee + email: admin196@email.com attachments: [] url: redacted: false @@ -5536,7 +5560,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1556abd0150e7d4a2a7 + id: 65b13bda6abd01144119ab18 first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5559,18 +5583,18 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '97' + id: '226' part_type: open body: - created_at: 1704903001 - updated_at: 1704903001 - notified_at: 1704903001 + created_at: 1706114015 + updated_at: 1706114015 + notified_at: 1706114015 assigned_to: author: - id: '991268035' + id: '991270096' type: admin - name: Ciaran195 Lee - email: admin195@email.com + name: Ciaran196 Lee + email: admin196@email.com attachments: [] external_id: redacted: false @@ -5578,22 +5602,22 @@ paths: Assign a conversation: value: type: conversation - id: '566' - created_at: 1704903002 - updated_at: 1704903003 + id: '1064' + created_at: 1706114015 + updated_at: 1706114016 waiting_since: snoozed_until: source: type: conversation - id: '403918402' + id: '403918686' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268037' - name: Ciaran196 Lee - email: admin196@email.com + id: '991270098' + name: Ciaran197 Lee + email: admin197@email.com attachments: [] url: redacted: false @@ -5601,9 +5625,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ec15a6abd0150e7d4a2aa + id: 65b13bdf6abd01144119ab1b first_contact_reply: - admin_assignee_id: 991268037 + admin_assignee_id: 991270098 team_assignee_id: open: true state: open @@ -5624,20 +5648,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '98' + id: '227' part_type: assign_and_reopen body: - created_at: 1704903003 - updated_at: 1704903003 - notified_at: 1704903003 + created_at: 1706114016 + updated_at: 1706114016 + notified_at: 1706114016 assigned_to: type: admin - id: '991268037' + id: '991270098' author: - id: '991268037' + id: '991270098' type: admin - name: Ciaran196 Lee - email: admin196@email.com + name: Ciaran197 Lee + email: admin197@email.com attachments: [] external_id: redacted: false @@ -5652,7 +5676,7 @@ paths: Not found: value: type: error.list - request_id: c48014f3-9a25-4205-a073-a07f24a43a02 + request_id: cf827260-1a7f-4a43-9c34-4c31faf25af9 errors: - code: not_found message: Resource Not Found @@ -5666,7 +5690,7 @@ paths: Unauthorized: value: type: error.list - request_id: 14c5ae3e-7f3a-4127-988d-74a2e4195df2 + request_id: daaa35db-633a-4440-bfc9-435ca4c002c5 errors: - code: unauthorized message: Access Token Invalid @@ -5680,7 +5704,7 @@ paths: API plan restricted: value: type: error.list - request_id: 2187d8df-523a-4710-9e30-b050799b1faa + request_id: 07add73a-334f-47eb-954d-5c8d44bc95bb errors: - code: api_plan_restricted message: Active subscription needed. @@ -5701,32 +5725,32 @@ paths: value: message_type: close type: admin - admin_id: 991268031 + admin_id: 991270092 body: Goodbye :) snooze_a_conversation: summary: Snooze a conversation value: message_type: snoozed - admin_id: 991268033 - snoozed_until: 1704906594 + admin_id: 991270094 + snoozed_until: 1706117607 open_a_conversation: summary: Open a conversation value: message_type: open - admin_id: 991268035 + admin_id: 991270096 assign_a_conversation: summary: Assign a conversation value: message_type: assignment type: admin - admin_id: 991268037 - assignee_id: 991268037 + admin_id: 991270098 + assignee_id: 991270098 not_found: summary: Not found value: message_type: close type: admin - admin_id: 991268039 + admin_id: 991270100 body: Goodbye :) "/conversations/{id}/run_assignment_rules": post: @@ -5757,22 +5781,22 @@ paths: Assign a conversation using assignment rules: value: type: conversation - id: '570' - created_at: 1704903007 - updated_at: 1704903007 + id: '1068' + created_at: 1706114021 + updated_at: 1706114021 waiting_since: snoozed_until: source: type: conversation - id: '403918406' + id: '403918690' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268045' - name: Ciaran200 Lee - email: admin200@email.com + id: '991270106' + name: Ciaran201 Lee + email: admin201@email.com attachments: [] url: redacted: false @@ -5780,7 +5804,7 @@ paths: type: contact.list contacts: - type: contact - id: 659ec15f6abd0150e7d4a2ae + id: 65b13be46abd01144119ab1f first_contact_reply: admin_assignee_id: team_assignee_id: @@ -5803,20 +5827,20 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '99' + id: '228' part_type: default_assignment body: - created_at: 1704903007 - updated_at: 1704903007 - notified_at: 1704903007 + created_at: 1706114021 + updated_at: 1706114021 + notified_at: 1706114021 assigned_to: type: nobody_admin id: author: - id: '991268046' + id: '991270107' type: bot name: Operator - email: operator+this_is_an_id358_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id357_that_should_be_at_least_@intercom.io attachments: [] external_id: redacted: false @@ -5831,7 +5855,7 @@ paths: Not found: value: type: error.list - request_id: ac56d974-d053-4f54-91d3-b99f5a82c593 + request_id: 58193cca-1a7c-4a09-97ac-3d29ca144cb0 errors: - code: not_found message: Resource Not Found @@ -5845,7 +5869,7 @@ paths: Unauthorized: value: type: error.list - request_id: e9a3ba92-94cf-414a-adfb-cbcc66f6c8f5 + request_id: 215dfc65-f0d0-4820-8606-0b55f2cf9cd2 errors: - code: unauthorized message: Access Token Invalid @@ -5859,7 +5883,7 @@ paths: API plan restricted: value: type: error.list - request_id: 750b2a5d-1efd-4e25-9d47-52ecf1afc481 + request_id: 1f28d578-05c0-4257-b2ef-273c9a3779a5 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5898,7 +5922,7 @@ paths: value: customers: - type: user - id: 659ec1646abd0150e7d4a2b2 + id: 65b13bea6abd01144119ab23 schema: "$ref": "#/components/schemas/conversation" '404': @@ -5909,7 +5933,7 @@ paths: Not found: value: type: error.list - request_id: 07c8070a-e2a3-4b68-a516-b4afa3baec7f + request_id: 02b656f7-27d1-4e61-bc37-2ff5122beea5 errors: - code: not_found message: Resource Not Found @@ -5923,7 +5947,7 @@ paths: Unauthorized: value: type: error.list - request_id: 67962eff-aac0-431a-b413-da1eb2a0b3bb + request_id: 8de691d4-6dac-476a-a828-469cd8edf6f2 errors: - code: unauthorized message: Access Token Invalid @@ -5937,7 +5961,7 @@ paths: API plan restricted: value: type: error.list - request_id: 8ae1fda0-308c-43f4-83f1-ed2e65221558 + request_id: 5e5029e8-8a55-4c5e-b5be-7a697d3f4988 errors: - code: api_plan_restricted message: Active subscription needed. @@ -5952,15 +5976,15 @@ paths: attach_a_contact_to_a_conversation: summary: Attach a contact to a conversation value: - admin_id: 991268053 + admin_id: 991270114 customer: - intercom_user_id: 659ec1646abd0150e7d4a2b2 + intercom_user_id: 65b13bea6abd01144119ab23 not_found: summary: Not found value: - admin_id: 991268055 + admin_id: 991270116 customer: - intercom_user_id: 659ec1656abd0150e7d4a2b3 + intercom_user_id: 65b13bec6abd01144119ab24 "/conversations/{conversation_id}/customers/{contact_id}": delete: summary: Detach a contact from a group conversation @@ -6001,7 +6025,7 @@ paths: value: customers: - type: user - id: 659ec16e6abd0150e7d4a2bd + id: 65b13bf66abd01144119ab2e schema: "$ref": "#/components/schemas/conversation" '404': @@ -6012,14 +6036,14 @@ paths: Conversation not found: value: type: error.list - request_id: 44889af5-e733-45ff-95bc-c079767afac3 + request_id: 901ec333-8bf0-453f-82f5-7ae3be4b1d54 errors: - code: not_found message: Resource Not Found Contact not found: value: type: error.list - request_id: 15ff32db-31f4-4ce5-b28b-298b07a388b0 + request_id: 04aeafc4-cb0b-4c9c-b87d-bd94dc785271 errors: - code: not_found message: User Not Found @@ -6033,7 +6057,7 @@ paths: Last customer: value: type: error.list - request_id: 709095b4-b462-48bf-b186-978c4bdbf96e + request_id: e9418e65-e53c-4366-99a4-00d2f430fc50 errors: - code: parameter_invalid message: Removing the last customer is not allowed @@ -6047,7 +6071,7 @@ paths: Unauthorized: value: type: error.list - request_id: b5c691eb-4e01-4e43-bf10-822ed6c33629 + request_id: bf4bfc20-f446-438c-a6e5-551ecbfadd5b errors: - code: unauthorized message: Access Token Invalid @@ -6061,7 +6085,7 @@ paths: API plan restricted: value: type: error.list - request_id: 0a93505d-5e4f-4efd-a964-7f83d349939c + request_id: 90339d58-e2d8-446a-b970-b576e8423a2f errors: - code: api_plan_restricted message: Active subscription needed. @@ -6076,27 +6100,27 @@ paths: detach_a_contact_from_a_group_conversation: summary: Detach a contact from a group conversation value: - admin_id: 991268061 + admin_id: 991270122 customer: - intercom_user_id: 659ec1686abd0150e7d4a2b6 + intercom_user_id: 65b13bef6abd01144119ab27 conversation_not_found: summary: Conversation not found value: - admin_id: 991268063 + admin_id: 991270124 customer: - intercom_user_id: 659ec16f6abd0150e7d4a2be + intercom_user_id: 65b13bf76abd01144119ab2f contact_not_found: summary: Contact not found value: - admin_id: 991268065 + admin_id: 991270126 customer: - intercom_user_id: 659ec1756abd0150e7d4a2c5 + intercom_user_id: 65b13bff6abd01144119ab36 last_customer: summary: Last customer value: - admin_id: 991268067 + admin_id: 991270128 customer: - intercom_user_id: 659ec17c6abd0150e7d4a2cc + intercom_user_id: 65b13c066abd01144119ab3d "/conversations/redact": post: summary: Redact a conversation part @@ -6123,22 +6147,22 @@ paths: Redact a conversation part: value: type: conversation - id: '626' - created_at: 1704903056 - updated_at: 1704903058 - waiting_since: 1704903057 + id: '1124' + created_at: 1706114077 + updated_at: 1706114079 + waiting_since: 1706114078 snoozed_until: source: type: conversation - id: '403918432' + id: '403918716' delivered_as: admin_initiated subject: '' body: "

    this is the message body

    " author: type: admin - id: '991268073' - name: Ciaran214 Lee - email: admin214@email.com + id: '991270134' + name: Ciaran215 Lee + email: admin215@email.com attachments: [] url: redacted: false @@ -6146,9 +6170,9 @@ paths: type: contact.list contacts: - type: contact - id: 659ec1906abd0150e7d4a2e1 + id: 65b13c1d6abd01144119ab52 first_contact_reply: - created_at: 1704903057 + created_at: 1706114078 type: conversation url: admin_assignee_id: @@ -6172,15 +6196,15 @@ paths: type: conversation_part.list conversation_parts: - type: conversation_part - id: '107' + id: '236' part_type: open body: "

    This message was deleted

    " - created_at: 1704903057 - updated_at: 1704903058 - notified_at: 1704903057 + created_at: 1706114078 + updated_at: 1706114079 + notified_at: 1706114078 assigned_to: author: - id: 659ec1906abd0150e7d4a2e1 + id: 65b13c1d6abd01144119ab52 type: user name: Joe Bloggs email: joe@bloggs.com @@ -6198,7 +6222,7 @@ paths: Not found: value: type: error.list - request_id: f132f527-b220-4d2c-b8e1-3032b7bf624a + request_id: e16ba66e-4b33-4dd6-a352-210ce58b2c4b errors: - code: conversation_part_or_message_not_found message: Conversation part or message not found @@ -6212,7 +6236,7 @@ paths: Unauthorized: value: type: error.list - request_id: 83bdf77e-e8fa-41e6-b804-48e89b3b5d79 + request_id: d6f3269a-73a3-4903-99f6-05d5f942bef8 errors: - code: unauthorized message: Access Token Invalid @@ -6228,14 +6252,167 @@ paths: summary: Redact a conversation part value: type: conversation_part - conversation_id: 626 - conversation_part_id: 107 + conversation_id: 1124 + conversation_part_id: 236 not_found: summary: Not found value: type: conversation_part conversation_id: really_123_doesnt_exist conversation_part_id: really_123_doesnt_exist + "/custom_object_instances/{custom_object_type_identifier}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + post: + summary: create_or_update object_instance + parameters: + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Create or update a custom object instance + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + requestBody: + content: + application/json: + schema: + "$ref": "#/components/schemas/create_or_update_custom_object_instance_request" + get: + summary: show object_instance + parameters: + - name: fetch_custom_object_instance_request + in: query + style: form + required: true + schema: + type: object + oneOf: + - description: The Intercom defined id representing the custom object instance. + title: Find by id + properties: + id: + type: string + required: + - id + additionalProperties: false + - description: The unique identifier for the instance in the external system + it originated from. + title: Find by external_id + properties: + external_id: + type: string + required: + - external_id + additionalProperties: false + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by external_id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + "/custom_object_instances/{custom_object_type_identifier}/{id}": + parameters: + - name: custom_object_type_identifier + in: path + description: The unique identifier of the custom object type that defines the + structure of the custom object instance. + example: Order + required: true + schema: + type: string + get: + summary: show object_instance + parameters: + - name: id + in: path + description: The id or external_id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Fetch a Custom Object Instance by id + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" + delete: + summary: delete object_instance + parameters: + - name: id + in: path + description: The Intercom id of the custom object instance + required: true + schema: + type: string + - name: Intercom-Version + in: header + schema: + "$ref": "#/components/schemas/intercom_version" + tags: + - Custom Object Instances + description: Deleting a single Custom Object instance. + responses: + '200': + description: successful + content: + application/json: + schema: + "$ref": "#/components/schemas/custom_object_instance_deleted" + '401': + description: Unauthorized + content: + application/json: + schema: + "$ref": "#/components/schemas/error" "/data_attributes": get: summary: List all data attributes @@ -6405,7 +6582,7 @@ paths: custom: false archived: false model: company - - id: 88 + - id: 114 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6417,9 +6594,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268089' - created_at: 1704903065 - updated_at: 1704903065 + admin_id: '991270159' + created_at: 1706114089 + updated_at: 1706114089 model: company - type: data_attribute name: id @@ -6486,7 +6663,7 @@ paths: Unauthorized: value: type: error.list - request_id: 134f4f6a-16e2-4b53-834b-1f7b3b834969 + request_id: 7d3ac2d1-e36b-4609-8d6c-af31700f2b97 errors: - code: unauthorized message: Access Token Invalid @@ -6511,7 +6688,7 @@ paths: examples: Successful: value: - id: 91 + id: 117 type: data_attribute name: Mithril Shirt full_name: custom_attributes.Mithril Shirt @@ -6521,9 +6698,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268091' - created_at: 1704903067 - updated_at: 1704903067 + admin_id: '991270161' + created_at: 1706114090 + updated_at: 1706114090 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6535,7 +6712,7 @@ paths: Same name already exists: value: type: error.list - request_id: 719c9de8-ecd7-42cd-a817-52e8abd7d012 + request_id: baa8164d-0efa-4376-9ee5-bcb725614efc errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6543,7 +6720,7 @@ paths: Invalid name: value: type: error.list - request_id: 72dd093e-76ff-41dd-898f-caddcc1f1bec + request_id: de000274-c152-44a7-af00-9dc31282362b errors: - code: parameter_invalid message: Your name for this attribute must only contain alphanumeric @@ -6551,7 +6728,7 @@ paths: Attribute already exists: value: type: error.list - request_id: 0ac95dec-fdea-4f21-95a0-0faac4111ef7 + request_id: c0acf76d-f5c5-4d4b-b06d-08b24db3bc3c errors: - code: parameter_invalid message: You already have 'The One Ring' in your company data. @@ -6559,14 +6736,14 @@ paths: Invalid Data Type: value: type: error.list - request_id: adae7702-c350-467c-ae77-e359b005d2e4 + request_id: 34a8fd66-2de1-4e54-8beb-93826874e28f errors: - code: parameter_invalid message: Data Type isn't an option Too few options for list: value: type: error.list - request_id: 91e8f34c-fd04-452c-ae96-641c1b30e72e + request_id: 9f4799c4-de06-4190-b673-fc87d3cb5c6a errors: - code: parameter_invalid message: The Data Attribute model field must be either contact @@ -6581,7 +6758,7 @@ paths: Unauthorized: value: type: error.list - request_id: add275ad-5ef1-4663-b626-1209ab51885c + request_id: 177f64fc-35f6-4692-952b-1e3c2797a9e8 errors: - code: unauthorized message: Access Token Invalid @@ -6660,7 +6837,7 @@ paths: examples: Successful: value: - id: 98 + id: 124 type: data_attribute name: The One Ring full_name: custom_attributes.The One Ring @@ -6674,9 +6851,9 @@ paths: ui_writable: false custom: true archived: false - admin_id: '991268098' - created_at: 1704903069 - updated_at: 1704903070 + admin_id: '991270168' + created_at: 1706114093 + updated_at: 1706114093 model: company schema: "$ref": "#/components/schemas/data_attribute" @@ -6688,7 +6865,7 @@ paths: Too few options in list: value: type: error.list - request_id: e38502e7-7292-4914-8054-24762ad484dd + request_id: 11981c3b-7797-4fdc-ae74-d8e1b828244b errors: - code: parameter_invalid message: Options isn't an array @@ -6702,7 +6879,7 @@ paths: Attribute Not Found: value: type: error.list - request_id: 6ab1582d-89ae-472e-a671-2dbb3f5a0737 + request_id: c2b94ca8-2b93-41d3-80ae-35b1aba603e3 errors: - code: field_not_found message: We couldn't find that data attribute to update @@ -6716,7 +6893,7 @@ paths: Has Dependant Object: value: type: error.list - request_id: 290b7892-5dbf-441b-b405-20c404963954 + request_id: 2442e000-a498-4572-9843-dd2bdcd0ba44 errors: - code: data_invalid message: The Data Attribute you are trying to archive has a @@ -6731,7 +6908,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7664bf52-aaa1-430a-bf9a-ba21f9e5abe0 + request_id: 7256226d-d21a-47dd-a073-4039fd72bccb errors: - code: unauthorized message: Access Token Invalid @@ -6850,7 +7027,7 @@ paths: Unauthorized: value: type: error.list - request_id: e8a11750-b5c0-4d2b-8ea2-ff7c56ca74bd + request_id: 694f1209-935a-4c52-a4e1-914d43a686fe errors: - code: unauthorized message: Access Token Invalid @@ -6936,8 +7113,8 @@ paths: events: [] pages: next: http://api.intercom.test/events?next page - email: user24@email.com - intercom_user_id: 659ec1a66abd0150e7d4a2fa + email: user26@email.com + intercom_user_id: 65b13c316abd01144119ab5b user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 schema: "$ref": "#/components/schemas/data_event_summary" @@ -6949,7 +7126,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0e835f49-86fa-49cb-8fb0-4858a0e3808d + request_id: 3adeb38d-44fa-4365-925c-88020aefba36 errors: - code: unauthorized message: Access Token Invalid @@ -6980,7 +7157,7 @@ paths: Unauthorized: value: type: error.list - request_id: ddc7294c-f22b-48d7-b013-effacea5dab6 + request_id: 0a07215c-a9e4-4975-8309-db156db595b8 errors: - code: unauthorized message: Access Token Invalid @@ -7024,7 +7201,7 @@ paths: examples: successful: value: - job_identifier: mnw179sm6z9l88o9 + job_identifier: 1dm6tkujxi4jnxyw status: pending download_url: '' download_expires_at: '' @@ -7039,8 +7216,8 @@ paths: successful: summary: successful value: - created_at_after: 1704885080 - created_at_before: 1704903080 + created_at_after: 1706096099 + created_at_before: 1706114099 "/export/content/data/{job_identifier}": get: summary: Show content data export @@ -7074,7 +7251,7 @@ paths: examples: successful: value: - job_identifier: uks44tbfv0z065ut + job_identifier: ehe4amizy6iy6kvh status: pending download_url: '' download_expires_at: '' @@ -7106,7 +7283,7 @@ paths: examples: successful: value: - job_identifier: xj0yyljha1e0mnby + job_identifier: 8p6ap9udj7o62xou status: canceled download_url: '' download_expires_at: '' @@ -7167,32 +7344,32 @@ paths: user message created: value: type: user_message - id: '403918443' - created_at: 1704903108 + id: '403918721' + created_at: 1706114101 body: heyy message_type: inapp - conversation_id: '642' + conversation_id: '1129' lead message created: value: type: user_message - id: '403918444' - created_at: 1704903109 + id: '403918722' + created_at: 1706114102 body: heyy message_type: inapp - conversation_id: '643' + conversation_id: '1130' admin message created: value: type: admin_message - id: '32' - created_at: 1704903110 + id: '40' + created_at: 1706114104 subject: heyy body: heyy message_type: inapp owner: type: admin - id: '991268132' - name: Ciaran255 Lee - email: admin255@email.com + id: '991270191' + name: Ciaran265 Lee + email: admin265@email.com away_mode_enabled: false away_mode_reassign: false schema: @@ -7205,14 +7382,14 @@ paths: No body supplied for message: value: type: error.list - request_id: 3558f87a-c1b1-4fad-8db3-40cfe0ac29d7 + request_id: 8e05a9f8-c5d3-46f2-a1a4-62b3f3fe33f0 errors: - code: parameter_invalid message: Body is required No body supplied for email message: value: type: error.list - request_id: 1b3f44e2-0b15-41aa-bcaf-8f12e10cb8e8 + request_id: 8e5c998d-dd7b-44c2-a0f8-f5db00b5cea3 errors: - code: parameter_invalid message: Body is required @@ -7226,7 +7403,7 @@ paths: No subject supplied for email message: value: type: error.list - request_id: 44b4664b-3912-42e4-b8c2-54dd543c6af1 + request_id: f078f9a9-be27-47a1-886e-3ddc1f546b39 errors: - code: parameter_not_found message: No subject supplied for email message @@ -7240,7 +7417,7 @@ paths: Unauthorized: value: type: error.list - request_id: a282bd59-45d0-443a-a44d-05c5ba498b3c + request_id: d6944b4a-2887-4a17-8a2e-8eb8535fa6e1 errors: - code: unauthorized message: Access Token Invalid @@ -7254,7 +7431,7 @@ paths: API plan restricted: value: type: error.list - request_id: debd62af-7fbe-4821-9896-e76564f8b32d + request_id: 49e107ad-9109-47fa-be02-3bcab1a02b06 errors: - code: api_plan_restricted message: Active subscription needed. @@ -7271,7 +7448,7 @@ paths: value: from: type: user - id: 659ec1c36abd0150e7d4a34f + id: 65b13c356abd01144119ab60 body: heyy referer: https://twitter.com/bob lead_message_created: @@ -7279,7 +7456,7 @@ paths: value: from: type: lead - id: 659ec1c46abd0150e7d4a350 + id: 65b13c366abd01144119ab61 body: heyy referer: https://twitter.com/bob admin_message_created: @@ -7287,10 +7464,10 @@ paths: value: from: type: admin - id: '991268132' + id: '991270191' to: type: user - id: 659ec1c66abd0150e7d4a351 + id: 65b13c376abd01144119ab62 message_type: conversation body: heyy no_body_supplied_for_message: @@ -7298,10 +7475,10 @@ paths: value: from: type: admin - id: '991268134' + id: '991270193' to: type: user - id: 659ec1c76abd0150e7d4a352 + id: 65b13c386abd01144119ab63 message_type: inapp body: subject: heyy @@ -7310,7 +7487,7 @@ paths: value: from: type: admin - id: '991268135' + id: '991270194' to: type: user user_id: '70' @@ -7321,10 +7498,10 @@ paths: value: from: type: admin - id: '991268136' + id: '991270195' to: type: user - id: 659ec1c86abd0150e7d4a354 + id: 65b13c396abd01144119ab65 message_type: email body: subject: heyy @@ -7355,12 +7532,12 @@ paths: total_pages: 1 type: pages data: - - id: '43' + - id: '99' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268141 + sender_id: 991270200 state: draft labels: [] cover_image_url: @@ -7370,15 +7547,15 @@ paths: - - deliver_silently: false - created_at: 1704903113 - updated_at: 1704903113 + created_at: 1706114107 + updated_at: 1706114107 newsfeed_assignments: [] - - id: '44' + - id: '100' type: news-item - workspace_id: this_is_an_id462_that_should_be_at_least_ + workspace_id: this_is_an_id479_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268143 + sender_id: 991270202 state: draft labels: [] cover_image_url: @@ -7388,8 +7565,8 @@ paths: - - deliver_silently: false - created_at: 1704903113 - updated_at: 1704903113 + created_at: 1706114107 + updated_at: 1706114107 newsfeed_assignments: [] total_count: 2 schema: @@ -7402,7 +7579,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0602da35-fcea-44cd-85d0-7827acc88f61 + request_id: f8f22d91-2b4d-4dd7-8d34-af41c5200434 errors: - code: unauthorized message: Access Token Invalid @@ -7427,12 +7604,12 @@ paths: examples: successful: value: - id: '47' + id: '103' type: news-item - workspace_id: this_is_an_id466_that_should_be_at_least_ + workspace_id: this_is_an_id483_that_should_be_at_least_ title: Halloween is here! body: "

    New costumes in store for this spooky season

    " - sender_id: 991268150 + sender_id: 991270209 state: live labels: - New @@ -7443,10 +7620,10 @@ paths: - "\U0001F606" - "\U0001F605" deliver_silently: true - created_at: 1704903115 - updated_at: 1704903115 + created_at: 1706114109 + updated_at: 1706114109 newsfeed_assignments: - - newsfeed_id: 78 + - newsfeed_id: 178 published_at: 1664638214 schema: "$ref": "#/components/schemas/news_item" @@ -7458,7 +7635,7 @@ paths: Unauthorized: value: type: error.list - request_id: b00f2529-64e4-4a6b-837d-02a403b88061 + request_id: a3203d0b-cc47-4000-8d81-95c0dcdf3f7e errors: - code: unauthorized message: Access Token Invalid @@ -7479,14 +7656,14 @@ paths: - Product - Update - New - sender_id: 991268150 + sender_id: 991270209 deliver_silently: true reactions: - "\U0001F606" - "\U0001F605" state: live newsfeed_assignments: - - newsfeed_id: 78 + - newsfeed_id: 178 published_at: 1664638214 "/news/news_items/{id}": get: @@ -7515,12 +7692,12 @@ paths: examples: successful: value: - id: '48' + id: '104' type: news-item - workspace_id: this_is_an_id470_that_should_be_at_least_ + workspace_id: this_is_an_id487_that_should_be_at_least_ title: We have news body: "

    Hello there,

    " - sender_id: 991268153 + sender_id: 991270212 state: live labels: [] cover_image_url: @@ -7530,11 +7707,11 @@ paths: - - deliver_silently: false - created_at: 1704903116 - updated_at: 1704903116 + created_at: 1706114110 + updated_at: 1706114110 newsfeed_assignments: - - newsfeed_id: 80 - published_at: 1704903116 + - newsfeed_id: 180 + published_at: 1706114110 schema: "$ref": "#/components/schemas/news_item" '404': @@ -7545,7 +7722,7 @@ paths: News Item Not Found: value: type: error.list - request_id: b8eb8670-4862-471f-b437-ba15d77194a7 + request_id: d32b26d7-e423-45f3-83fb-474c9a94a307 errors: - code: not_found message: Resource Not Found @@ -7559,7 +7736,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8732dfef-e019-4325-b51d-45a18d4c7500 + request_id: a1c104dd-501e-4297-84b8-a0c16868d215 errors: - code: unauthorized message: Access Token Invalid @@ -7590,12 +7767,12 @@ paths: examples: successful: value: - id: '51' + id: '107' type: news-item - workspace_id: this_is_an_id476_that_should_be_at_least_ + workspace_id: this_is_an_id493_that_should_be_at_least_ title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268161 + sender_id: 991270220 state: live labels: [] cover_image_url: @@ -7603,8 +7780,8 @@ paths: - "\U0001F61D" - "\U0001F602" deliver_silently: false - created_at: 1704903117 - updated_at: 1704903118 + created_at: 1706114111 + updated_at: 1706114111 newsfeed_assignments: [] schema: "$ref": "#/components/schemas/news_item" @@ -7616,7 +7793,7 @@ paths: News Item Not Found: value: type: error.list - request_id: 8d07d3ac-39cc-41b4-9772-50bb72e9da96 + request_id: 10633c4d-0534-41a9-8f9c-9ed88b510fbb errors: - code: not_found message: Resource Not Found @@ -7630,7 +7807,7 @@ paths: Unauthorized: value: type: error.list - request_id: d6709299-6441-4b1f-b1de-26335bf68fc9 + request_id: 075aebac-d7e7-4b7d-a9ea-3284d72cab3e errors: - code: unauthorized message: Access Token Invalid @@ -7647,7 +7824,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268161 + sender_id: 991270220 reactions: - "\U0001F61D" - "\U0001F602" @@ -7656,7 +7833,7 @@ paths: value: title: Christmas is here! body: "

    New gifts in store for the jolly season

    " - sender_id: 991268164 + sender_id: 991270223 reactions: - "\U0001F61D" - "\U0001F602" @@ -7686,7 +7863,7 @@ paths: examples: successful: value: - id: '54' + id: '110' object: news-item deleted: true schema: @@ -7699,7 +7876,7 @@ paths: News Item Not Found: value: type: error.list - request_id: fa76bc54-44ef-45f7-985b-5ee154db7eae + request_id: 1b86cbb2-948e-47ad-9304-9c01d420208d errors: - code: not_found message: Resource Not Found @@ -7713,7 +7890,7 @@ paths: Unauthorized: value: type: error.list - request_id: 72a31612-a382-48bc-a278-1104ada2e19c + request_id: 257ff56a-877f-47a9-b4d4-e3cab1287630 errors: - code: unauthorized message: Access Token Invalid @@ -7766,7 +7943,7 @@ paths: Unauthorized: value: type: error.list - request_id: 7923cb95-d32d-4c76-97b9-16c6b27a33df + request_id: 2e7bee7b-b880-4bb2-8045-c630adf5f47a errors: - code: unauthorized message: Access Token Invalid @@ -7799,16 +7976,16 @@ paths: total_pages: 1 type: pages data: - - id: '93' + - id: '193' type: newsfeed name: Visitor Feed - created_at: 1704903122 - updated_at: 1704903122 - - id: '94' + created_at: 1706114116 + updated_at: 1706114116 + - id: '194' type: newsfeed name: Visitor Feed - created_at: 1704903122 - updated_at: 1704903122 + created_at: 1706114116 + updated_at: 1706114116 total_count: 2 schema: "$ref": "#/components/schemas/paginated_response" @@ -7820,7 +7997,7 @@ paths: Unauthorized: value: type: error.list - request_id: aae2be8a-f910-4e0c-80af-48e00ebe2fcb + request_id: ee6ef9dd-147b-4bd0-bb91-7fe076876f9e errors: - code: unauthorized message: Access Token Invalid @@ -7854,11 +8031,11 @@ paths: examples: successful: value: - id: '97' + id: '197' type: newsfeed name: Visitor Feed - created_at: 1704903123 - updated_at: 1704903123 + created_at: 1706114117 + updated_at: 1706114117 schema: "$ref": "#/components/schemas/newsfeed" '401': @@ -7869,7 +8046,7 @@ paths: Unauthorized: value: type: error.list - request_id: 8b46d741-29a7-40b3-947a-4829480e4096 + request_id: 0f2b3ba3-d569-43ff-bf0c-d66af624953e errors: - code: unauthorized message: Access Token Invalid @@ -7903,16 +8080,16 @@ paths: Note found: value: type: note - id: '100' - created_at: 1704211926 + id: '102' + created_at: 1705422918 contact: type: contact - id: 659ec1d66abd0150e7d4a35f + id: 65b13c466abd01144119ab68 author: type: admin - id: '991268180' - name: Ciaran302 Lee - email: admin302@email.com + id: '991270239' + name: Ciaran312 Lee + email: admin312@email.com away_mode_enabled: false away_mode_reassign: false body: "

    This is a note.

    " @@ -7926,7 +8103,7 @@ paths: Note not found: value: type: error.list - request_id: acebba53-e776-4383-94e3-3f167030f7b5 + request_id: eb9f952a-30b0-4216-a5cb-d488a77ad227 errors: - code: not_found message: Resource Not Found @@ -7940,7 +8117,7 @@ paths: Unauthorized: value: type: error.list - request_id: 223f3c98-a084-4699-9d50-9773c99e07ac + request_id: '08e401f2-90b2-435b-9419-cc32e1cca3c6' errors: - code: unauthorized message: Access Token Invalid @@ -7976,16 +8153,16 @@ paths: type: segment.list segments: - type: segment - id: 659ec1da6abd0150e7d4a366 + id: 65b13c476abd01144119ab6b name: John segment - created_at: 1704903130 - updated_at: 1704903130 + created_at: 1706114119 + updated_at: 1706114119 person_type: user - type: segment - id: 659ec1da6abd0150e7d4a367 + id: 65b13c476abd01144119ab6c name: Jane segment - created_at: 1704903130 - updated_at: 1704903130 + created_at: 1706114119 + updated_at: 1706114119 person_type: user schema: "$ref": "#/components/schemas/segment_list" @@ -7997,7 +8174,7 @@ paths: Unauthorized: value: type: error.list - request_id: 87545ed9-4400-4b25-8bcd-3bde3675c989 + request_id: 479e25f2-0895-41e8-8b72-ea22d38ca588 errors: - code: unauthorized message: Access Token Invalid @@ -8031,10 +8208,10 @@ paths: Successful response: value: type: segment - id: 659ec1da6abd0150e7d4a36a + id: 65b13c486abd01144119ab6f name: John segment - created_at: 1704903130 - updated_at: 1704903130 + created_at: 1706114120 + updated_at: 1706114120 person_type: user schema: "$ref": "#/components/schemas/segment" @@ -8046,7 +8223,7 @@ paths: Segment not found: value: type: error.list - request_id: 18b3d0ef-97cf-484d-a64e-ba40e8c8d467 + request_id: c26a5acc-13b6-44d6-b2fb-3ed40f0c0afb errors: - code: not_found message: Resource Not Found @@ -8060,7 +8237,7 @@ paths: Unauthorized: value: type: error.list - request_id: 95e9f393-edb1-4865-80b0-23105345f8bf + request_id: 30c6158e-c096-4c3f-9509-385cd6ec7b15 errors: - code: unauthorized message: Access Token Invalid @@ -8090,7 +8267,7 @@ paths: type: list data: - type: subscription - id: '226' + id: '367' state: live consent_type: opt_out default_translation: @@ -8113,7 +8290,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0c3d1d38-8525-4a81-af3d-8a973d8ac42c + request_id: ae16a68c-e616-4418-a693-1a4b10b89959 errors: - code: unauthorized message: Access Token Invalid @@ -8143,7 +8320,7 @@ paths: examples: successful: value: - url: http://via.intercom.io/msgr/0cae109c-4b59-4cfe-b6fe-0c39911713ba + url: http://via.intercom.io/msgr/c524b974-d49e-4472-b06a-53f2f9252f6c type: phone_call_redirect schema: "$ref": "#/components/schemas/phone_switch" @@ -8176,7 +8353,7 @@ paths: Unauthorized: value: type: error.list - request_id: 62c5624a-8b19-4365-b4fd-5fc1a577f273 + request_id: 43352fe8-5939-42cd-9d00-1fe74a7d3336 errors: - code: unauthorized message: Access Token Invalid @@ -8239,7 +8416,7 @@ paths: type: list data: - type: tag - id: '180' + id: '320' name: Manual tag 1 schema: "$ref": "#/components/schemas/tag_list" @@ -8251,7 +8428,7 @@ paths: Unauthorized: value: type: error.list - request_id: 04e59143-670c-4733-87b0-4da28100a832 + request_id: d3d0afda-1754-4bb0-829c-6441d3d9d61e errors: - code: unauthorized message: Access Token Invalid @@ -8290,7 +8467,7 @@ paths: Action successful: value: type: tag - id: '183' + id: '323' name: test schema: "$ref": "#/components/schemas/tag" @@ -8302,7 +8479,7 @@ paths: Invalid parameters: value: type: error.list - request_id: f337d11c-a9a0-4843-8b46-4fd811b81551 + request_id: 1ffa73aa-007f-479f-a844-e4afb39ba86c errors: - code: parameter_invalid message: invalid tag parameters @@ -8316,14 +8493,14 @@ paths: Company not found: value: type: error.list - request_id: 9e5945a8-5c02-40e7-b7d1-c6d222ab1f03 + request_id: 20b6e937-9ea4-4451-a0b8-f6eb55cc50a0 errors: - code: company_not_found message: Company Not Found User not found: value: type: error.list - request_id: 5ece62b3-8e00-49ba-8eb8-b38f8a577979 + request_id: 7493f1c7-0722-4893-bba8-a016c57183b0 errors: - code: not_found message: User Not Found @@ -8337,7 +8514,7 @@ paths: Unauthorized: value: type: error.list - request_id: fdc1f68d-117d-479f-b28e-ae11e226da61 + request_id: a5ab2ca1-1478-4cc6-8a8c-6f87a0348de2 errors: - code: unauthorized message: Access Token Invalid @@ -8403,7 +8580,7 @@ paths: Tag found: value: type: tag - id: '191' + id: '331' name: Manual tag schema: "$ref": "#/components/schemas/tag" @@ -8415,7 +8592,7 @@ paths: Tag not found: value: type: error.list - request_id: 95e9daad-d1c9-4c3e-b12f-dffbe5137c0b + request_id: 87e4bc29-45c3-4a8b-9079-340e68bd90a5 errors: - code: not_found message: Resource Not Found @@ -8429,7 +8606,7 @@ paths: Unauthorized: value: type: error.list - request_id: '075884f3-5a26-4046-943c-e26915324cdd' + request_id: 70d0955a-d0ce-426e-80af-fc8457156f38 errors: - code: unauthorized message: Access Token Invalid @@ -8465,7 +8642,7 @@ paths: Resource not found: value: type: error.list - request_id: 9a632310-0fa2-4b6c-a132-6150c33c6caa + request_id: 5a176cc3-7352-4c00-be5f-fcdaf18139e6 errors: - code: not_found message: Resource Not Found @@ -8479,7 +8656,7 @@ paths: Tag has dependent objects: value: type: error.list - request_id: 69f92b81-62f7-4809-aef6-f7ac7522fd57 + request_id: ff04a39e-dcb4-4b6f-ad37-3fcaae96058d errors: - code: tag_has_dependent_objects message: 'Unable to delete Tag with dependent objects. Segments: @@ -8494,7 +8671,7 @@ paths: Unauthorized: value: type: error.list - request_id: 9930d1fa-1006-4fe4-84d9-72b025b4a9b0 + request_id: 1458d341-3cec-45c9-b2ea-65690188a26a errors: - code: unauthorized message: Access Token Invalid @@ -8532,7 +8709,7 @@ paths: Unauthorized: value: type: error.list - request_id: c12903f7-cb1b-48da-b4f6-28a34e1ba091 + request_id: a9b2ab90-bd13-4248-9721-3ec201b4e1a6 errors: - code: unauthorized message: Access Token Invalid @@ -8567,7 +8744,7 @@ paths: successful: value: type: team - id: '991268224' + id: '991270277' name: team 1 admin_ids: [] schema: @@ -8580,7 +8757,7 @@ paths: Team not found: value: type: error.list - request_id: 9f6bb07a-6aa1-4f82-976a-6c832e3be6ca + request_id: b929ff36-8bf2-44e4-82c1-7c18c7c04a76 errors: - code: team_not_found message: Team not found @@ -8594,7 +8771,7 @@ paths: Unauthorized: value: type: error.list - request_id: f1223500-e010-4943-873a-1f9190146fb2 + request_id: 2786f890-a814-41ee-81fd-12f1693b54b0 errors: - code: unauthorized message: Access Token Invalid @@ -8627,8 +8804,8 @@ paths: Ticket Type Attribute created: value: type: ticket_type_attribute - id: '133' - workspace_id: this_is_an_id568_that_should_be_at_least_ + id: '391' + workspace_id: this_is_an_id585_that_should_be_at_least_ name: Attribute Title description: Attribute Description data_type: string @@ -8640,10 +8817,10 @@ paths: visible_on_create: true visible_to_contacts: true default: false - ticket_type_id: 45 + ticket_type_id: 188 archived: false - created_at: 1704903150 - updated_at: 1704903150 + created_at: 1706114136 + updated_at: 1706114136 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8654,7 +8831,7 @@ paths: Unauthorized: value: type: error.list - request_id: eb17fd71-1ec6-4372-a14f-9f3043b827dd + request_id: 7c7298b9-feb2-431b-afcd-84250af5a2f4 errors: - code: unauthorized message: Access Token Invalid @@ -8707,8 +8884,8 @@ paths: Ticket Type Attribute updated: value: type: ticket_type_attribute - id: '134' - workspace_id: this_is_an_id572_that_should_be_at_least_ + id: '392' + workspace_id: this_is_an_id589_that_should_be_at_least_ name: name description: New Attribute Description data_type: string @@ -8718,10 +8895,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 47 + ticket_type_id: 190 archived: false - created_at: 1704903151 - updated_at: 1704903151 + created_at: 1706114736 + updated_at: 1706114736 schema: "$ref": "#/components/schemas/ticket_type_attribute" '401': @@ -8732,7 +8909,7 @@ paths: Unauthorized: value: type: error.list - request_id: 22285163-10e7-40be-89d1-2ad6b9c040e2 + request_id: c0b62633-e4ab-46b0-b6e5-a5be6f9690a8 errors: - code: unauthorized message: Access Token Invalid @@ -8771,21 +8948,21 @@ paths: type: list data: - type: ticket_type - id: '49' + id: '192' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id576_that_should_be_at_least_ + workspace_id: this_is_an_id593_that_should_be_at_least_ archived: false - created_at: 1704903152 - updated_at: 1704903152 + created_at: 1706114737 + updated_at: 1706114737 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '135' - workspace_id: this_is_an_id576_that_should_be_at_least_ + id: '393' + workspace_id: this_is_an_id593_that_should_be_at_least_ name: name description: description data_type: string @@ -8796,10 +8973,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 49 + ticket_type_id: 192 archived: false - created_at: 1704903152 - updated_at: 1704903152 + created_at: 1706114737 + updated_at: 1706114737 schema: "$ref": "#/components/schemas/ticket_type_list" '401': @@ -8810,7 +8987,7 @@ paths: Unauthorized: value: type: error.list - request_id: 6aaeb527-407d-489e-ae95-c418e54f0285 + request_id: eb769045-b74a-4b23-a2ff-a426455368b7 errors: - code: unauthorized message: Access Token Invalid @@ -8839,14 +9016,14 @@ paths: Ticket type created: value: type: ticket_type - id: '52' + id: '195' name: Customer Issue description: Customer Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id580_that_should_be_at_least_ + workspace_id: this_is_an_id597_that_should_be_at_least_ archived: false - created_at: 1704903153 - updated_at: 1704903153 + created_at: 1706114738 + updated_at: 1706114738 is_internal: false ticket_type_attributes: type: list @@ -8861,7 +9038,7 @@ paths: Unauthorized: value: type: error.list - request_id: dd48c269-fbe9-43cb-937f-9ca5605126a6 + request_id: ed55d8d3-6da1-4245-946c-e5af30abf06c errors: - code: unauthorized message: Access Token Invalid @@ -8906,21 +9083,21 @@ paths: Ticket type found: value: type: ticket_type - id: '54' + id: '197' name: Bug Report description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id584_that_should_be_at_least_ + workspace_id: this_is_an_id601_that_should_be_at_least_ archived: false - created_at: 1704903154 - updated_at: 1704903154 + created_at: 1706114739 + updated_at: 1706114739 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '139' - workspace_id: this_is_an_id584_that_should_be_at_least_ + id: '397' + workspace_id: this_is_an_id601_that_should_be_at_least_ name: name description: description data_type: string @@ -8931,10 +9108,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 54 + ticket_type_id: 197 archived: false - created_at: 1704903154 - updated_at: 1704903154 + created_at: 1706114739 + updated_at: 1706114739 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -8945,7 +9122,7 @@ paths: Unauthorized: value: type: error.list - request_id: d4e669eb-a7a2-4cf7-a4d7-edcb6273b2a0 + request_id: 8be30cdc-7d81-45ee-bdd9-861dc2714d1e errors: - code: unauthorized message: Access Token Invalid @@ -8978,21 +9155,21 @@ paths: Ticket type updated: value: type: ticket_type - id: '56' + id: '199' name: Bug Report 2 description: Bug Report Template icon: "\U0001F39F️" - workspace_id: this_is_an_id588_that_should_be_at_least_ + workspace_id: this_is_an_id605_that_should_be_at_least_ archived: false - created_at: 1704903155 - updated_at: 1704903155 + created_at: 1706114740 + updated_at: 1706114740 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '141' - workspace_id: this_is_an_id588_that_should_be_at_least_ + id: '399' + workspace_id: this_is_an_id605_that_should_be_at_least_ name: name description: description data_type: string @@ -9003,10 +9180,10 @@ paths: visible_on_create: false visible_to_contacts: false default: false - ticket_type_id: 56 + ticket_type_id: 199 archived: false - created_at: 1704903155 - updated_at: 1704903155 + created_at: 1706114740 + updated_at: 1706114740 schema: "$ref": "#/components/schemas/ticket_type" '401': @@ -9017,7 +9194,7 @@ paths: Unauthorized: value: type: error.list - request_id: 88c8603e-c424-484d-b33e-383ce0f6167f + request_id: 5a90ed7d-f44e-47ee-8a7e-4ec78b7c8319 errors: - code: unauthorized message: Access Token Invalid @@ -9062,7 +9239,7 @@ paths: Admin note reply: value: type: ticket_part - id: '112' + id: '241' part_type: note body: |-

    An Unordered HTML List

    @@ -9077,13 +9254,13 @@ paths:
  • Tea
  • Milk
  • - created_at: 1704903158 - updated_at: 1704903158 + created_at: 1706114743 + updated_at: 1706114743 author: - id: '991268250' + id: '991270311' type: admin - name: Ciaran367 Lee - email: admin367@email.com + name: Ciaran371 Lee + email: admin371@email.com attachments: [] redacted: false schema: @@ -9096,7 +9273,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0e766865-1004-415e-9b84-dbadb5832369 + request_id: d12de4a5-1ee8-48a6-a822-1408939aebd5 errors: - code: unauthorized message: Access Token Invalid @@ -9113,7 +9290,7 @@ paths: value: message_type: note type: admin - admin_id: 991268250 + admin_id: 991270311 body: "

    An Unordered HTML List

    An Ordered HTML List

    \
    1. Coffee
    2. Tea
    3. Milk
    @@ -9139,29 +9316,29 @@ paths: Successful response: value: type: ticket - id: '646' + id: '1133' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: submitted ticket_type: type: ticket_type - id: '63' + id: '206' name: my-ticket-type-6 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id602_that_should_be_at_least_ + workspace_id: this_is_an_id619_that_should_be_at_least_ archived: false - created_at: 1704903161 - updated_at: 1704903161 + created_at: 1706114746 + updated_at: 1706114746 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '149' - workspace_id: this_is_an_id602_that_should_be_at_least_ - name: title + id: '407' + workspace_id: this_is_an_id619_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9171,14 +9348,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 63 + ticket_type_id: 206 archived: false - created_at: 1704903161 - updated_at: 1704903161 + created_at: 1706114746 + updated_at: 1706114746 - type: ticket_type_attribute - id: '150' - workspace_id: this_is_an_id602_that_should_be_at_least_ - name: description + id: '408' + workspace_id: this_is_an_id619_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9188,34 +9365,34 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 63 + ticket_type_id: 206 archived: false - created_at: 1704903161 - updated_at: 1704903161 + created_at: 1706114746 + updated_at: 1706114746 contacts: type: contact.list contacts: - - id: 659ec1f96abd0150e7d4a399 + - id: 65b13eba6abd01144119ab92 role: user admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903162 - updated_at: 1704903162 + created_at: 1706114747 + updated_at: 1706114747 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '113' + id: '242' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903162 - updated_at: 1704903162 + created_at: 1706114747 + updated_at: 1706114747 author: - id: '991268270' + id: '991270331' type: bot name: Operator - email: operator+this_is_an_id602_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id619_that_should_be_at_least_@intercom.io attachments: [] redacted: false total_count: 1 @@ -9229,7 +9406,7 @@ paths: Unauthorized: value: type: error.list - request_id: 0726de3e-f176-4fe2-9368-400f6dda5fa2 + request_id: 80c5c648-11b5-41e4-af77-76169c623feb errors: - code: unauthorized message: Access Token Invalid @@ -9244,12 +9421,12 @@ paths: successful_response: summary: Successful response value: - ticket_type_id: 63 + ticket_type_id: 206 contacts: - - id: 659ec1f96abd0150e7d4a399 + - id: 65b13eba6abd01144119ab92 ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem "/tickets/{id}": put: summary: Update a ticket @@ -9277,29 +9454,29 @@ paths: Successful response: value: type: ticket - id: '647' + id: '1134' ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem ticket_state: in_progress ticket_type: type: ticket_type - id: '65' + id: '208' name: my-ticket-type-8 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id606_that_should_be_at_least_ + workspace_id: this_is_an_id623_that_should_be_at_least_ archived: false - created_at: 1704903163 - updated_at: 1704903163 + created_at: 1706114749 + updated_at: 1706114749 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '154' - workspace_id: this_is_an_id606_that_should_be_at_least_ - name: title + id: '412' + workspace_id: this_is_an_id623_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9309,14 +9486,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 65 + ticket_type_id: 208 archived: false - created_at: 1704903163 - updated_at: 1704903163 + created_at: 1706114749 + updated_at: 1706114749 - type: ticket_type_attribute - id: '155' - workspace_id: this_is_an_id606_that_should_be_at_least_ - name: description + id: '413' + workspace_id: this_is_an_id623_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9326,87 +9503,87 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 65 + ticket_type_id: 208 archived: false - created_at: 1704903164 - updated_at: 1704903164 + created_at: 1706114749 + updated_at: 1706114749 contacts: type: contact.list contacts: - - id: 659ec1fc6abd0150e7d4a39a + - id: 65b13ebd6abd01144119ab93 role: lead - admin_assignee_id: '991268284' + admin_assignee_id: '991270345' team_assignee_id: '0' - created_at: 1704903164 - updated_at: 1704903166 + created_at: 1706114749 + updated_at: 1706114751 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '114' + id: '243' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903164 - updated_at: 1704903164 + created_at: 1706114749 + updated_at: 1706114749 author: - id: '991268282' + id: '991270343' type: admin - name: Ciaran397 Lee - email: admin397@email.com + name: Ciaran401 Lee + email: admin401@email.com attachments: [] redacted: false - type: ticket_part - id: '115' + id: '244' part_type: ticket_attribute_updated_by_admin - created_at: 1704903165 - updated_at: 1704903165 + created_at: 1706114750 + updated_at: 1706114750 author: - id: '991268283' + id: '991270344' type: bot name: Operator - email: operator+this_is_an_id606_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id623_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '116' + id: '245' part_type: ticket_attribute_updated_by_admin - created_at: 1704903165 - updated_at: 1704903165 + created_at: 1706114751 + updated_at: 1706114751 author: - id: '991268283' + id: '991270344' type: bot name: Operator - email: operator+this_is_an_id606_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id623_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '117' + id: '246' part_type: ticket_state_updated_by_admin ticket_state: in_progress previous_ticket_state: submitted - created_at: 1704903165 - updated_at: 1704903165 + created_at: 1706114751 + updated_at: 1706114751 author: - id: '991268283' + id: '991270344' type: bot name: Operator - email: operator+this_is_an_id606_that_should_be_at_least_@intercom.io + email: operator+this_is_an_id623_that_should_be_at_least_@intercom.io attachments: [] redacted: false - type: ticket_part - id: '118' + id: '247' part_type: assignment - created_at: 1704903166 - updated_at: 1704903166 + created_at: 1706114751 + updated_at: 1706114751 assigned_to: type: admin - id: '991268284' + id: '991270345' author: - id: '991268282' + id: '991270343' type: admin - name: Ciaran397 Lee - email: admin397@email.com + name: Ciaran401 Lee + email: admin401@email.com attachments: [] redacted: false total_count: 5 @@ -9420,14 +9597,14 @@ paths: Admin not found: value: type: error.list - request_id: 7cedc463-e2bf-4d95-bca7-8eefd6c2bf61 + request_id: 65d4c237-6b59-473d-869b-f48345a1b186 errors: - code: assignee_not_found message: Assignee not found Assignee not found: value: type: error.list - request_id: 50c1dfb0-c334-4616-b3f6-f7a5247418a0 + request_id: 53faf97f-dfe0-43b6-8ce3-d2a32265bef9 errors: - code: assignee_not_found message: Assignee not found @@ -9439,7 +9616,7 @@ paths: Unauthorized: value: type: error.list - request_id: d09c3433-f842-4bfd-9ae6-ca991a4d71ef + request_id: 65e74b79-1d69-4409-9226-34a51b8595bf errors: - code: unauthorized message: Access Token Invalid @@ -9455,33 +9632,33 @@ paths: summary: Successful response value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991268282' - assignee_id: '991268284' + admin_id: '991270343' + assignee_id: '991270345' open: true snoozed_until: 1673609604 admin_not_found: summary: Admin not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: admin_id: '123' - assignee_id: '991268292' + assignee_id: '991270353' assignee_not_found: summary: Assignee not found value: ticket_attributes: - title: example - description: there is a problem + _default_title_: example + _default_description_: there is a problem state: in_progress assignment: - admin_id: '991268298' + admin_id: '991270359' assignee_id: '456' get: summary: Retrieve a ticket @@ -9509,29 +9686,29 @@ paths: Ticket found: value: type: ticket - id: '650' + id: '1137' ticket_attributes: - title: attribute_value - description: + _default_title_: attribute_value + _default_description_: ticket_state: submitted ticket_type: type: ticket_type - id: '69' + id: '212' name: my-ticket-type-12 description: my ticket type description is awesome. icon: "\U0001F981" - workspace_id: this_is_an_id614_that_should_be_at_least_ + workspace_id: this_is_an_id631_that_should_be_at_least_ archived: false - created_at: 1704903171 - updated_at: 1704903171 + created_at: 1706114758 + updated_at: 1706114758 is_internal: false ticket_type_attributes: type: list data: - type: ticket_type_attribute - id: '165' - workspace_id: this_is_an_id614_that_should_be_at_least_ - name: title + id: '423' + workspace_id: this_is_an_id631_that_should_be_at_least_ + name: _default_title_ description: ola data_type: string input_options: @@ -9541,14 +9718,14 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 69 + ticket_type_id: 212 archived: false - created_at: 1704903171 - updated_at: 1704903171 + created_at: 1706114758 + updated_at: 1706114758 - type: ticket_type_attribute - id: '166' - workspace_id: this_is_an_id614_that_should_be_at_least_ - name: description + id: '424' + workspace_id: this_is_an_id631_that_should_be_at_least_ + name: _default_description_ description: ola data_type: string input_options: @@ -9558,34 +9735,34 @@ paths: visible_on_create: true visible_to_contacts: false default: false - ticket_type_id: 69 + ticket_type_id: 212 archived: false - created_at: 1704903172 - updated_at: 1704903172 + created_at: 1706114758 + updated_at: 1706114758 contacts: type: contact.list contacts: - - id: 659ec2046abd0150e7d4a39d + - id: 65b13ec66abd01144119ab96 role: lead admin_assignee_id: '0' team_assignee_id: '0' - created_at: 1704903172 - updated_at: 1704903172 + created_at: 1706114758 + updated_at: 1706114759 ticket_parts: type: ticket_part.list ticket_parts: - type: ticket_part - id: '121' + id: '250' part_type: ticket_state_updated_by_admin ticket_state: submitted previous_ticket_state: submitted - created_at: 1704903172 - updated_at: 1704903172 + created_at: 1706114759 + updated_at: 1706114759 author: - id: '991268311' + id: '991270372' type: admin - name: Ciaran423 Lee - email: admin423@email.com + name: Ciaran427 Lee + email: admin427@email.com attachments: [] redacted: false total_count: 1 @@ -9599,7 +9776,7 @@ paths: Unauthorized: value: type: error.list - request_id: 97ea65cd-1af7-48ca-913c-fbad2abf35ca + request_id: a94d4cf7-b607-4aef-b64a-f012deac5385 errors: - code: unauthorized message: Access Token Invalid @@ -9631,26 +9808,26 @@ paths: successful: value: type: visitor - id: 659ec22a6abd0150e7d4a48a + id: 65b13eca6abd01144119ab99 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' phone: name: Gareth Bale - pseudonym: Purple Glass + pseudonym: Lime Ship avatar: type: avatar - image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/purple-glass.png - app_id: this_is_an_id621_that_should_be_at_least_ + image_url: https://static.intercomassets.com/app/pseudonym_avatars_2019/lime-ship.png + app_id: this_is_an_id638_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903210 - remote_created_at: 1704903210 - signed_up_at: 1704903210 - updated_at: 1704903210 + created_at: 1706114762 + remote_created_at: 1706114762 + signed_up_at: 1706114762 + updated_at: 1706114763 session_count: 0 social_profiles: type: social_profile.list @@ -9683,7 +9860,7 @@ paths: visitor Not Found: value: type: error.list - request_id: 1b4d3a59-b458-4c52-805a-bc3f4f3662f5 + request_id: 3db39929-6034-47a3-b770-28546bb6bee9 errors: - code: not_found message: Visitor Not Found @@ -9697,7 +9874,7 @@ paths: Unauthorized: value: type: error.list - request_id: c26882e6-1edd-41aa-81f2-c0f26aba210e + request_id: 3563c51a-974b-4823-8e66-e79f9d260d6e errors: - code: unauthorized message: Access Token Invalid @@ -9712,7 +9889,7 @@ paths: successful: summary: successful value: - id: 659ec22a6abd0150e7d4a48a + id: 65b13eca6abd01144119ab99 name: Gareth Bale visitor_not_found: summary: visitor Not Found @@ -9745,7 +9922,7 @@ paths: successful: value: type: visitor - id: 659ec22c6abd0150e7d4a490 + id: 65b13ecc6abd01144119ab9f user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9755,16 +9932,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id627_that_should_be_at_least_ + app_id: this_is_an_id644_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903212 - remote_created_at: 1704903212 - signed_up_at: 1704903212 - updated_at: 1704903212 + created_at: 1706114764 + remote_created_at: 1706114764 + signed_up_at: 1706114764 + updated_at: 1706114764 session_count: 0 social_profiles: type: social_profile.list @@ -9797,7 +9974,7 @@ paths: Visitor not found: value: type: error.list - request_id: 2dc62d18-cd91-4c71-9f27-7d7a4a049f1f + request_id: 2bff53e0-4e6c-4850-acc6-8e77964cba20 errors: - code: not_found message: Visitor Not Found @@ -9811,7 +9988,7 @@ paths: Unauthorized: value: type: error.list - request_id: b04092a8-8860-4161-b5e5-affce5cc8df7 + request_id: e4a33afe-f695-48a0-8a47-b62958f23b39 errors: - code: unauthorized message: Access Token Invalid @@ -9845,7 +10022,7 @@ paths: successful: value: type: visitor - id: 659ec22d6abd0150e7d4a496 + id: 65b13ecd6abd01144119aba5 user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9855,16 +10032,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id633_that_should_be_at_least_ + app_id: this_is_an_id650_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903213 - remote_created_at: 1704903213 - signed_up_at: 1704903213 - updated_at: 1704903213 + created_at: 1706114765 + remote_created_at: 1706114765 + signed_up_at: 1706114765 + updated_at: 1706114765 session_count: 0 social_profiles: type: social_profile.list @@ -9897,7 +10074,7 @@ paths: Visitor not found: value: type: error.list - request_id: d3013261-2481-46ec-a0fe-1714c9dd16f6 + request_id: abb67f91-35c9-4265-9b39-c8d0690aea0c errors: - code: not_found message: Visitor Not Found @@ -9911,7 +10088,7 @@ paths: Unauthorized: value: type: error.list - request_id: f76f6669-a89b-4ef1-9a65-d5d149294065 + request_id: 255a7c25-36f6-419c-81c1-f84bef05aba7 errors: - code: unauthorized message: Access Token Invalid @@ -9944,7 +10121,7 @@ paths: successful: value: type: visitor - id: 659ec22f6abd0150e7d4a49c + id: 65b13ecf6abd01144119abab user_id: 3ecf64d0-9ed1-4e9f-88e1-da7d6e6782f3 anonymous: true email: '' @@ -9954,16 +10131,16 @@ paths: avatar: type: avatar image_url: - app_id: this_is_an_id639_that_should_be_at_least_ + app_id: this_is_an_id656_that_should_be_at_least_ companies: type: company.list companies: [] location_data: {} last_request_at: - created_at: 1704903215 - remote_created_at: 1704903215 - signed_up_at: 1704903215 - updated_at: 1704903215 + created_at: 1706114767 + remote_created_at: 1706114767 + signed_up_at: 1706114767 + updated_at: 1706114767 session_count: 0 social_profiles: type: social_profile.list @@ -9996,7 +10173,7 @@ paths: Visitor Not Found: value: type: error.list - request_id: 625e56cc-5d1c-4722-874a-f348384fed15 + request_id: 4044b7a4-e6d7-4e89-96f7-f722e83f0a09 errors: - code: not_found message: User Not Found @@ -10010,7 +10187,7 @@ paths: Unauthorized: value: type: error.list - request_id: 60f702dc-b524-480c-b9bf-ead0c06d229d + request_id: 71afdc94-7ad7-407d-a656-8e50fa059123 errors: - code: unauthorized message: Access Token Invalid @@ -10041,8 +10218,8 @@ paths: successful: value: type: contact - id: 659ec2306abd0150e7d4a4a3 - workspace_id: this_is_an_id645_that_should_be_at_least_ + id: 65b13ed16abd01144119abb2 + workspace_id: this_is_an_id662_that_should_be_at_least_ external_id: role: user email: foo@bar.com @@ -10056,9 +10233,9 @@ paths: has_hard_bounced: false marked_email_as_spam: false unsubscribed_from_emails: false - created_at: 1704903216 - updated_at: 1704903216 - signed_up_at: 1704903216 + created_at: 1706114769 + updated_at: 1706114769 + signed_up_at: 1706114769 last_seen_at: last_replied_at: last_contacted_at: @@ -10092,31 +10269,31 @@ paths: tags: type: list data: [] - url: "/contacts/659ec2306abd0150e7d4a4a3/tags" + url: "/contacts/65b13ed16abd01144119abb2/tags" total_count: 0 has_more: false notes: type: list data: [] - url: "/contacts/659ec2306abd0150e7d4a4a3/notes" + url: "/contacts/65b13ed16abd01144119abb2/notes" total_count: 0 has_more: false companies: type: list data: [] - url: "/contacts/659ec2306abd0150e7d4a4a3/companies" + url: "/contacts/65b13ed16abd01144119abb2/companies" total_count: 0 has_more: false opted_out_subscription_types: type: list data: [] - url: "/contacts/659ec2306abd0150e7d4a4a3/subscriptions" + url: "/contacts/65b13ed16abd01144119abb2/subscriptions" total_count: 0 has_more: false opted_in_subscription_types: type: list data: [] - url: "/contacts/659ec2306abd0150e7d4a4a3/subscriptions" + url: "/contacts/65b13ed16abd01144119abb2/subscriptions" total_count: 0 has_more: false utm_campaign: @@ -10135,7 +10312,7 @@ paths: Unauthorized: value: type: error.list - request_id: 993dfc21-1873-4056-9f38-00ab0c0f805e + request_id: e687ffef-5b9d-49e2-9349-c795d1da40f2 errors: - code: unauthorized message: Access Token Invalid @@ -13205,30 +13382,6 @@ components: anyOf: - type: string - "$ref": "#/components/schemas/custom_object_instance" - custom_object_instance: - title: Custom Object Instance - type: object - nullable: true - description: An instance of a Custom Object Type. - properties: - id: - type: string - description: The Intercom defined id representing the custom object instance. - example: 5a7a19e9f59ae20001d1c1e6 - external_id: - type: string - description: The id you have defined for the custom object instance. - example: 0001d1c1e65a7a19e9f59ae2 - type: - type: string - description: The identifier of the custom object type that defines the structure - of the custom object instance. - example: Order - custom_attributes: - type: object - description: The custom attributes you have set on the custom object instance. - additionalProperties: - type: string customer_request: type: object nullable: true @@ -15360,7 +15513,7 @@ components: - ticket_part.list example: ticket_part.list ticket_parts: - title: Tickt Parts + title: Ticket Parts type: array description: A list of Ticket Part objects for each ticket. There is a limit of 500 parts.