Guide API reference API reference: Threads and emails

API reference: Threads and emails

On this page

GET /v1/companies/{companyId}/emails

Parameter In Type Required Notes
companyId path string (uuid) yes
page query integer (int32)
size query integer (int32)

Answers 200 with list of EmailResponse.

POST /v1/companies/{companyId}/emails

Parameter In Type Required Notes
companyId path string (uuid) yes

Body (application/json): EmailRequest

Answers 202 with EmailResponse.

GET /v1/companies/{companyId}/emails/{emailId}

Parameter In Type Required Notes
companyId path string (uuid) yes
emailId path string (uuid) yes

Answers 200 with EmailResponse.

DELETE /v1/companies/{companyId}/threads

Parameter In Type Required Notes
companyId path string (uuid) yes
before query string (date-time)

Answers 200 with ClearedResponse.

GET /v1/companies/{companyId}/threads

Parameter In Type Required Notes
companyId path string (uuid) yes
identityId query string (uuid)
page query integer (int32)
size query integer (int32)

Answers 200 with list of any.

DELETE /v1/companies/{companyId}/threads/{threadId}

Parameter In Type Required Notes
companyId path string (uuid) yes
threadId path string (uuid) yes

Answers 204.

GET /v1/companies/{companyId}/threads/{threadId}

Parameter In Type Required Notes
companyId path string (uuid) yes
threadId path string (uuid) yes
from query integer (int32)
limit query integer (int32)

Answers 200 with AdminThreadDetailResponse or ClientThreadDetailResponse.

POST /v1/companies/{companyId}/threads/{threadId}/files/{fileId}/revoke

Parameter In Type Required Notes
companyId path string (uuid) yes
threadId path string (uuid) yes
fileId path string (uuid) yes

Answers 204.

POST /v1/companies/{companyId}/threads/{threadId}/nudge

Parameter In Type Required Notes
companyId path string (uuid) yes
threadId path string (uuid) yes

Answers 202.

Types

EmailResponse

Field Type Required Notes
id string (uuid) yes
to string yes
subject string yes
replyTo string
resourceId string (uuid)
threadId string (uuid)
via string yes
requestedBy string yes
status string yes
error string
createdAt string (date-time) yes
sentAt string (date-time)
bouncedAt string (date-time)

EmailRequest

Field Type Required Notes
to string (email) yes at most 254 characters
subject string yes at most 255 characters
text string yes at most 50000 characters
replyTo string (email) at most 254 characters
resourceId string (uuid)

ClearedResponse

Field Type Required Notes
deleted integer (int32) yes

This page is made from /docs/v1/api/threads-emails.md, the Markdown that AI assistants read. Questions: hi@determesh.com.