Letterbook
App · 5 actions
Create and read support conversations, add private notes, and remove team members.
Actions
| Action | What it does |
|---|---|
| Add note | Add note. |
| Create conversation | Create conversation. |
| Delete team member | Delete team member. |
| Get conversation | Get conversation. |
| List conversations | List conversations. |
Add note
Add note.
Inputs
- Conversation
conversation_idtextRequired - Conversation ID.
- Author email
author_emailtextRequired - Author email.
- Content
contenttextRequired - Content.
Outputs
dataobject- Response.
Example output
{
"data": {
"author": {
"email": "example",
"id": "example",
"name": "example"
},
"content": "example",
"conversation_id": "example",
"created_at": "example",
"id": "example"
}
}Create conversation
Create conversation.
Inputs
- Customer email
customer_emailtextRequired - Customer email.
- Message
messagetextRequired - Message.
- Customer name
customer_nametext - Customer name.
- Subject
subjecttext - Subject.
- Message html
message_htmltext - Message html.
- Priority
prioritytext - Priority.One of:
low,medium,high,urgent. - Assignee email
assignee_emailtext - Assignee email.
- External ID
external_idtext - Use the same key when retrying the same operation.
- Metadata
metadataobject - Metadata.
Outputs
dataobject- Response.
Example output
{
"data": {
"display_id": 1,
"id": "example",
"status": "example",
"url": "example"
}
}Delete team member
Delete team member.
Inputs
- Member ID
member_idtextRequired - Member ID.
Outputs
dataobject- Response.
Example output
{
"data": {
"api_keys_revoked": 1,
"status": "example"
}
}Get conversation
Get conversation.
Inputs
- Conversation
conversation_idtextRequired - Conversation ID.
Outputs
dataobject- Response.
Example output
{
"data": {
"contact": {
"email": "example",
"id": "example",
"name": "example"
},
"created_at": "example",
"display_id": 1,
"id": "example",
"last_message_at": "example",
"messages": [],
"priority": "example",
"source": "example",
"status": "example",
"subject": "example",
"updated_at": "example"
}
}List conversations
List conversations.
Inputs
- Page
pagenumber - Page.At least 1.
- Page size
page_sizenumber - Page size.From 1 to 100.
- Status
statustext - Status.One of:
open,pending,on_hold(On hold),resolved,spam,trash. - Priority
prioritytext - Priority.One of:
low,medium,high,urgent. - Source
sourcetext - Source.One of:
discord,email,portal,webhook. - Inbox email
inbox_emailtext - Inbox email.
- Has first response
has_first_responsetrue/false - Has first response.
- Search
searchtext - Search.
- Contact email
contact_emailtext - Contact email.
- Sort
sorttext - Sort.One of:
recency,oldest,priority.
Outputs
dataobject- Response.
Example output
{
"data": {
"data": [],
"pagination": {
"has_next_page": false,
"has_previous_page": false,
"page": 1,
"page_size": 1
}
}
}