Skip to content

Commit 223e8d9

Browse files
authored
Revert "Add GET /conversations/deleted endpoint to Unstable API spec (#391)" (#394)
This reverts commit 34cc619.
1 parent 79d65c9 commit 223e8d9

File tree

1 file changed

+0
-138
lines changed

1 file changed

+0
-138
lines changed

descriptions/0/api.intercom.io.yaml

Lines changed: 0 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -8557,100 +8557,6 @@ paths:
85578557
summary: Bad request
85588558
value:
85598559
ticket_type_id: '54'
8560-
"/conversations/deleted":
8561-
get:
8562-
summary: List all deleted conversation IDs
8563-
parameters:
8564-
- name: Intercom-Version
8565-
in: header
8566-
schema:
8567-
"$ref": "#/components/schemas/intercom_version"
8568-
- name: page
8569-
in: query
8570-
required: false
8571-
description: The page of results to fetch. Defaults to first page
8572-
example: 1
8573-
schema:
8574-
type: integer
8575-
- name: per_page
8576-
in: query
8577-
required: false
8578-
description: How many results per page
8579-
schema:
8580-
type: integer
8581-
default: 20
8582-
maximum: 60
8583-
- name: order
8584-
in: query
8585-
required: false
8586-
description: "`asc` or `desc`. Returns the conversation IDs in ascending or descending order. Defaults to desc"
8587-
example: desc
8588-
schema:
8589-
type: string
8590-
tags:
8591-
- Conversations
8592-
operationId: listDeletedConversationIds
8593-
description: |+
8594-
List all deleted conversation IDs.
8595-
8596-
{% admonition type="warning" name="Pagination" %}
8597-
You can use pagination to limit the number of results returned. The default is `20` results per page. You can navigate to next pages using the `page` param.
8598-
{% /admonition %}
8599-
responses:
8600-
'200':
8601-
description: View all deleted conversation IDs
8602-
content:
8603-
application/json:
8604-
examples:
8605-
successful:
8606-
value:
8607-
type: conversations.list
8608-
total_count: 4
8609-
pages:
8610-
type: pages
8611-
next: https://api.intercom.io/conversations/deleted?per_page=2&order=desc&page=2
8612-
page: 1
8613-
per_page: 2
8614-
total_pages: 2
8615-
conversations:
8616-
- type: conversation
8617-
id: '512'
8618-
metrics_retained: false
8619-
deleted_at: 1734537460
8620-
- type: conversation
8621-
id: '513'
8622-
metrics_retained: true
8623-
deleted_at: 1734537400
8624-
schema:
8625-
"$ref": "#/components/schemas/deleted_conversation_list"
8626-
'401':
8627-
description: Unauthorized
8628-
content:
8629-
application/json:
8630-
examples:
8631-
Unauthorized:
8632-
value:
8633-
type: error.list
8634-
request_id: 310f55b0-2660-43e8-bed4-7e82b2f40920
8635-
errors:
8636-
- code: unauthorized
8637-
message: Access Token Invalid
8638-
schema:
8639-
"$ref": "#/components/schemas/error"
8640-
'400':
8641-
description: Resource not available
8642-
content:
8643-
application/json:
8644-
examples:
8645-
Resource not available:
8646-
value:
8647-
type: error.list
8648-
request_id: 7a80b950-b392-499f-85db-ea7c6c424d37
8649-
errors:
8650-
- code: intercom_version_invalid
8651-
message: Requested resource is not available in current API version.
8652-
schema:
8653-
"$ref": "#/components/schemas/error"
86548560
"/custom_channel_events/notify_new_conversation":
86558561
post:
86568562
summary: Notify Intercom of a new conversation created in a custom channel
@@ -18798,50 +18704,6 @@ components:
1879818704
type: boolean
1879918705
description: Whether the conversation is deleted or not.
1880018706
example: true
18801-
deleted_conversation_item:
18802-
title: Conversation
18803-
type: object
18804-
x-tags:
18805-
- Conversation
18806-
description: A deleted conversation record containing its ID, metrics retained status and deletion timestamp.
18807-
properties:
18808-
type:
18809-
type: string
18810-
description: String representing the object's type. Always has the value `conversation`.
18811-
example: 'conversation'
18812-
id:
18813-
type: string
18814-
description: The ID of the deleted conversation.
18815-
example: '512'
18816-
metrics_retained:
18817-
type: boolean
18818-
description: Whether reporting metrics are retained for this conversation ID
18819-
example: true
18820-
deleted_at:
18821-
type: integer
18822-
format: date-time
18823-
description: The time when the conversation was deleted.
18824-
example: 1734537745
18825-
deleted_conversation_list:
18826-
title: Conversations
18827-
type: object
18828-
description: A paginated list of deleted conversation IDs.
18829-
properties:
18830-
type:
18831-
type: string
18832-
description: String representing the object's type. Always has the value `conversations.list`.
18833-
example: conversations.list
18834-
conversations:
18835-
type: array
18836-
description: The list of deleted conversation IDs.
18837-
items:
18838-
"$ref": "#/components/schemas/deleted_conversation_item"
18839-
total_count:
18840-
type: integer
18841-
description: Total number of items available.
18842-
example: 10
18843-
pages:
18844-
"$ref": "#/components/schemas/pages_link"
1884518707
conversation_first_contact_reply:
1884618708
title: First contact reply
1884718709
type: object

0 commit comments

Comments
 (0)