Close Activities.email Threads API
The activities.email_threads API from Close — 2 operation(s) for activities.email_threads.
The activities.email_threads API from Close — 2 operation(s) for activities.email_threads.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/close-activities-email-threads-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
description: Close CRM REST API
title: Close Activities.email Threads API
version: 1.0.0
servers:
- url: https://api.close.com/api/v1
security:
- ApiKeyAuth: []
- OAuth2: []
tags:
- name: activities.email_threads
externalDocs:
url: https://developer.close.com/api/resources/activities/email-threads
paths:
/activity/emailthread/:
get:
operationId: activities.email_threads_list
tags:
- activities.email_threads
summary: List or filter all EmailThread activities
description: You'll get one object per email conversation (generally grouped by subject).
parameters:
- $ref: '#/components/parameters/LimitParam'
- $ref: '#/components/parameters/SkipParam'
- $ref: '#/components/parameters/ActivityFilters_IdInParam'
- $ref: '#/components/parameters/ActivityFilters_LeadIdParam'
- $ref: '#/components/parameters/ActivityFilters_ContactIdParam'
- $ref: '#/components/parameters/ActivityFilters_UserIdParam'
- $ref: '#/components/parameters/ActivityFilters_OrganizationIdParam'
- $ref: '#/components/parameters/ActivityFilters_TypeParam'
- $ref: '#/components/parameters/ActivityFilters_DateCreatedGteParam'
- $ref: '#/components/parameters/ActivityFilters_DateCreatedLteParam'
- $ref: '#/components/parameters/ActivityFilters_DateCreatedGtParam'
- $ref: '#/components/parameters/ActivityFilters_DateCreatedLtParam'
- $ref: '#/components/parameters/ActivityFilters_ActivityAtGteParam'
- $ref: '#/components/parameters/ActivityFilters_ActivityAtLteParam'
- $ref: '#/components/parameters/ActivityFilters_ActivityAtGtParam'
- $ref: '#/components/parameters/ActivityFilters_ActivityAtLtParam'
- $ref: '#/components/parameters/FieldsParam'
responses:
'200':
content:
application/json:
example:
data:
- _type: EmailThread
activity_at: '2014-12-07T04:10:46+00:00'
contact_id: null
created_by: null
created_by_name: null
date_created: '2014-12-07T04:10:46+00:00'
date_updated: '2014-12-07T04:11:00.476000+00:00'
emails:
- _type: Email
activity_at: '2014-12-07T04:10:46+00:00'
attachments: []
bcc: []
body_preview: 'Hey Karen,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
Additi'
bulk_email_action_id: null
cc: []
contact_id: cont_alksdjfalksdfj8NzQM56BzBZ8X2GWaowuifsOeWyeJ
created_by: null
created_by_name: null
date_created: '2014-12-07T04:10:46+00:00'
date_scheduled: null
date_sent: '2014-12-07T04:10:46+00:00'
date_updated: '2014-12-07T04:11:00.459000+00:00'
direction: outgoing
email_account_id: emailacct_aslkdjfalksjdfCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Sun, 07 Dec 2014 04:10:46 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5483d346af89c_c0031a60fdc11130711c@ns5001546.ip-192-95-32.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: karen@example.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_12342j3451lk25iH1Rrtk9LWxwpUZmHygjww4c5iFw4
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5483d346af89c_c0031a60fdc11130711c@ns5001546.ip-192-95-32.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: seq_1BTljGuCooX0nbFoPihl07
sequence_name: My Sequence
sequence_subscription_id: sub_wRlAku35U53xEV7PcNY3Qo
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- karen@example.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
- _type: Email
activity_at: '2014-11-28T17:26:00+00:00'
attachments: []
bcc: []
body_preview: 'Hey Carlos,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
Addit'
bulk_email_action_id: null
cc: []
contact_id: cont_Hw4160e5c61QoFpEkvbUeGYJ0uDMLODYfrBRLWDFHh6
created_by: null
created_by_name: null
date_created: '2014-11-28T17:26:00+00:00'
date_scheduled: null
date_sent: '2014-11-28T17:26:00+00:00'
date_updated: '2014-11-28T17:26:47.740000+00:00'
direction: outgoing
email_account_id: emailacct_eLq7Zxa3CPKgapCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Fri, 28 Nov 2014 17:26:00 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5478b0283055a_724e3fb94e13cb5c60513397@ns5001376.ip-192-95-32.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: carlos@abc.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_3ANoOJE7DkTwxG9s1TY3SP3VhiJFeua3gt85nuzb0by
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5478b0283055a_724e3fb94e13cb5c60513397@ns5001376.ip-192-95-32.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: null
sequence_name: null
sequence_subscription_id: null
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- carlos@abc.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
- _type: Email
activity_at: '2014-11-26T10:15:44+00:00'
attachments: []
bcc: []
body_preview: 'Hey TrueAccord,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
A'
bulk_email_action_id: null
cc: []
contact_id: cont_6d0dRVHWGMvsJLFjAms1xTL0LCeQoRVWyZtpQs0Y98S
created_by: null
created_by_name: null
date_created: '2014-11-26T10:15:44+00:00'
date_scheduled: null
date_sent: '2014-11-26T10:15:44+00:00'
date_updated: '2014-11-26T10:17:58.234000+00:00'
direction: outgoing
email_account_id: emailacct_eLq7Zxa3CPKgapCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Wed, 26 Nov 2014 10:15:44 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5475a850a030a_620f1ba3e246281806c1@ns5000834.ip-142-4-219.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: ohad@trueaccord.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_lcAFcE1n7vbkjtlcwpSSLGpheZKBSrmrPFcCM9S13q0
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5475a850a030a_620f1ba3e246281806c1@ns5000834.ip-142-4-219.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: null
sequence_name: null
sequence_subscription_id: null
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- ohad@abc.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
id: acti_giHHCV8uOnialksjdflaksjdflq5zXxWi6FQL88MoNH
latest_normalized_subject: Excited to have you on board!
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
n_emails: 3
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
participants:
- email: steli@close.com
name: Steli Efti
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users:
- user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
has_more: false
schema:
type: object
properties:
data:
items:
$ref: '#/components/schemas/EmailThreadActivity'
type: array
has_more:
type: boolean
required:
- data
- has_more
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
/activity/emailthread/{id}/:
get:
operationId: activities.email_threads_get
tags:
- activities.email_threads
summary: Get a single EmailThread activity
parameters:
- in: path
name: id
required: true
schema:
type: string
- $ref: '#/components/parameters/FieldsParam'
responses:
'200':
content:
application/json:
example:
_type: EmailThread
activity_at: '2014-12-07T04:10:46+00:00'
contact_id: null
created_by: null
created_by_name: null
date_created: '2014-12-07T04:10:46+00:00'
date_updated: '2014-12-07T04:11:00.476000+00:00'
emails:
- _type: Email
activity_at: '2014-12-07T04:10:46+00:00'
attachments: []
bcc: []
body_preview: 'Hey Karen,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
Additi'
bulk_email_action_id: null
cc: []
contact_id: cont_alksdjfalksdfj8NzQM56BzBZ8X2GWaowuifsOeWyeJ
created_by: null
created_by_name: null
date_created: '2014-12-07T04:10:46+00:00'
date_scheduled: null
date_sent: '2014-12-07T04:10:46+00:00'
date_updated: '2014-12-07T04:11:00.459000+00:00'
direction: outgoing
email_account_id: emailacct_aslkdjfalksjdfCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Sun, 07 Dec 2014 04:10:46 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5483d346af89c_c0031a60fdc11130711c@ns5001546.ip-192-95-32.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: karen@example.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_12342j3451lk25iH1Rrtk9LWxwpUZmHygjww4c5iFw4
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5483d346af89c_c0031a60fdc11130711c@ns5001546.ip-192-95-32.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: seq_1BTljGuCooX0nbFoPihl07
sequence_name: My Sequence
sequence_subscription_id: sub_wRlAku35U53xEV7PcNY3Qo
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- karen@example.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
- _type: Email
activity_at: '2014-11-28T17:26:00+00:00'
attachments: []
bcc: []
body_preview: 'Hey Carlos,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
Addit'
bulk_email_action_id: null
cc: []
contact_id: cont_Hw4160e5c61QoFpEkvbUeGYJ0uDMLODYfrBRLWDFHh6
created_by: null
created_by_name: null
date_created: '2014-11-28T17:26:00+00:00'
date_scheduled: null
date_sent: '2014-11-28T17:26:00+00:00'
date_updated: '2014-11-28T17:26:47.740000+00:00'
direction: outgoing
email_account_id: emailacct_eLq7Zxa3CPKgapCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Fri, 28 Nov 2014 17:26:00 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5478b0283055a_724e3fb94e13cb5c60513397@ns5001376.ip-192-95-32.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: carlos@abc.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_3ANoOJE7DkTwxG9s1TY3SP3VhiJFeua3gt85nuzb0by
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5478b0283055a_724e3fb94e13cb5c60513397@ns5001376.ip-192-95-32.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: null
sequence_name: null
sequence_subscription_id: null
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- carlos@abc.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
- _type: Email
activity_at: '2014-11-26T10:15:44+00:00'
attachments: []
bcc: []
body_preview: 'Hey TrueAccord,
Thanks for signing up for Close. My name is Steli Efti and I''m
the CEO of Close. Please let me know if I can do anything to
help make your trial into a massive success.
A'
bulk_email_action_id: null
cc: []
contact_id: cont_6d0dRVHWGMvsJLFjAms1xTL0LCeQoRVWyZtpQs0Y98S
created_by: null
created_by_name: null
date_created: '2014-11-26T10:15:44+00:00'
date_scheduled: null
date_sent: '2014-11-26T10:15:44+00:00'
date_updated: '2014-11-26T10:17:58.234000+00:00'
direction: outgoing
email_account_id: emailacct_eLq7Zxa3CPKgapCmLShmuvlPMFy7Ze61FVeEj1VXnlG
envelope:
bcc: []
cc: []
date: Wed, 26 Nov 2014 10:15:44 +0000
from:
- email: steli@close.com
name: Steli Efti
in_reply_to: null
message_id: <5475a850a030a_620f1ba3e246281806c1@ns5000834.ip-142-4-219.net.mail>
reply_to: []
sender:
- email: steli@close.com
name: Steli Efti
subject: Excited to have you on board!
to:
- email: ohad@trueaccord.com
name: null
followup_sequence_add_cc_bcc: false
followup_sequence_delay: null
has_reply: false
id: acti_lcAFcE1n7vbkjtlcwpSSLGpheZKBSrmrPFcCM9S13q0
in_reply_to_id: null
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
message_ids:
- <5475a850a030a_620f1ba3e246281806c1@ns5000834.ip-142-4-219.net.mail>
need_smtp_credentials: false
opens: []
opens_summary: null
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
references: []
send_as_id: null
send_attempts: []
sender: Steli Efti <steli@close.com>
sequence_id: null
sequence_name: null
sequence_subscription_id: null
status: sent
subject: Excited to have you on board!
template_id: null
template_name: null
thread_id: acti_giHHCV8uOniX2wuFmKY14VWqOEq5zXxWi6FQL88MoNH
to:
- ohad@abc.com
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users: []
id: acti_giHHCV8uOnialksjdflaksjdflq5zXxWi6FQL88MoNH
latest_normalized_subject: Excited to have you on board!
lead_id: lead_5cIz6MHYMYEJLDTJRzoyfLHAMymuWlPweEMvslHoBf5
n_emails: 3
organization_id: orga_RbREgmiiwcr1w2b4cOnCMQaQPSIFxMqAD2Dh243uxcH
participants:
- email: steli@close.com
name: Steli Efti
updated_by: null
updated_by_name: null
user_id: user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
user_name: Steli Efti
users:
- user_N6KhMpzHRCYQHdn4gRNIFNN5JExnsrprKA6ekxM63XA
schema:
$ref: '#/components/schemas/EmailThreadActivity'
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
delete:
operationId: activities.email_threads_delete
tags:
- activities.email_threads
summary: Delete an EmailThread activity
description: This will also delete all the email activities belonging to this thread.
parameters:
- in: path
name: id
required: true
schema:
type: string
responses:
'200':
description: Successful response
'400':
description: Bad request
'401':
description: Unauthorized
'404':
description: Not found
components:
schemas:
QuotedEmailHTML:
title: QuotedEmailHTML
type: object
properties:
expand:
title: Expand
type: boolean
html:
title: HTML
type: string
required:
- expand
- html
EmailOpen:
title: EmailOpen
type: object
properties:
ip_address:
title: Ip Address
anyOf:
- type: string
- type: 'null'
opened_at:
title: Opened At
type: string
format: date-time
opened_by:
title: Opened By
anyOf:
- type: string
- type: 'null'
user_agent:
title: User Agent
anyOf:
- type: string
- type: 'null'
required:
- ip_address
- opened_at
- opened_by
- user_agent
NotImportantThreadReason:
title: NotImportantThreadReason
type: string
enum:
- manual
- scheduling-emails
- automated-outbound
- marketing-or-transactional
- by-default
ImportantThreadReason:
title: ImportantThreadReason
type: string
enum:
- manual
- contains-manual-message
- most-recent-communication
- has-response
- whitelisted
- by-default
- unset-initial-default
QuotedEmailText:
title: QuotedEmailText
type: object
properties:
expand:
title: Expand
type: boolean
text:
title: Text
type: string
required:
- expand
- text
SummaryFeedbackRating:
title: SummaryFeedbackRating
type: string
enum:
- positive
- negative
EmailIdentity:
title: EmailIdentity
type: object
properties:
email:
title: Email
type: string
name:
title: Name
type: string
required:
- email
- name
EmailThreadActivity:
title: EmailThreadActivity
type: object
properties:
_type:
title: Type
type: string
activity_at:
title: Activity At
anyOf:
- type: string
format: date-time
- type: 'null'
comment_summary:
title: Comment Summary
anyOf:
- $ref: '#/components/schemas/CommentSummary'
- type: 'null'
contact_id:
title: Contact ID
anyOf:
- type: string
- type: 'null'
created_by:
title: Created By
anyOf:
- type: string
- type: 'null'
created_by_name:
title: Created By Name
default: null
anyOf:
- type: string
- type: 'null'
date_created:
title: Date Created
type: string
format: date-time
date_updated:
title: Date Updated
type: string
format: date-time
emails:
title: Emails
type: array
items:
$ref: '#/components/schemas/EmailInThread'
id:
title: ID
type: string
importance:
title: Importance
anyOf:
- $ref: '#/components/schemas/ImportantEmailThread'
- $ref: '#/components/schemas/NotImportantEmailThread'
latest_emails:
title: Latest Emails
type: array
items:
$ref: '#/components/schemas/EmailPreview'
latest_normalized_subject:
title: Latest Normalized Subject
anyOf:
- type: string
- type: 'null'
lead_id:
title: Lead ID
anyOf:
- type: string
- type: 'null'
n_emails:
title: Number of Emails
anyOf:
- type: integer
- type: 'null'
organization_id:
title: Organization ID
type: string
participants:
title: Participants
type: array
items:
$ref: '#/components/schemas/EmailIdentity'
summary:
title: Summary
anyOf:
- $ref: '#/components/schemas/EmailThreadSummary'
- type: 'null'
updated_by:
title: Updated By
anyOf:
- type: string
- type: 'null'
updated_by_name:
title: Updated By Name
default: null
anyOf:
- type: string
- type: 'null'
user_id:
title: User ID
anyOf:
- type: string
- type: 'null'
user_name:
title: User Name
default: null
anyOf:
- type: string
- type: 'null'
users:
title: Users
type: array
items:
type: string
required:
- _type
- activity_at
- contact_id
- created_by
- date_created
- date_updated
- id
- latest_normalized_subject
- lead_id
- n_emails
- organization_id
- updated_by
- user_id
- users
NotImportantEmailThread:
title: NotImportantEmailThread
type: object
properties:
reason:
$ref: '#/components/schemas/NotImportantThreadReason'
type:
title: Type
type: string
const: not_important
required:
- reason
- type
SummaryStatus:
title: SummaryStatus
type: string
enum:
- pending
- success
- failure
- expired
CommentSummary:
title: CommentSummary
type: object
properties:
comment_count:
title: Comment Count
type: integer
thread_id:
title: Thread ID
type: string
required:
- comment_count
- thread_id
CommunicationDirection:
title: CommunicationDirection
description: Direction of communication. Outgoing means the communication flowing from the user to the lead/contact. Inbound means the opposite.
type: string
enum:
- incoming
- outgoing
EmailThreadSummaryFeedback:
title: EmailThreadSummaryFeedback
type: object
properties:
detail:
title: Detail
anyOf:
- type: string
- type: 'null'
given_at:
title: Given At
type: string
format: date-time
rating:
$ref: '#/components/schemas/SummaryFeedbackRating'
required:
- detail
- given_at
- rating
EmailInThread:
title: EmailInThread
type: object
properties:
_type:
title: Type
type: string
activity_at:
title: Activity At
anyOf:
- type: string
format: date-time
- type: 'null'
agent_action_reason:
title: Agent Action Reason
default: null
anyOf:
- type: string
- type: 'null'
agent_config_id:
title: Agent Config ID
default: null
anyOf:
- type: s
# --- truncated at 32 KB (49 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/close/refs/heads/main/openapi/close-activities-email-threads-api-openapi.yml