Skip to content

Write to a client (they see it in IDEALX)

POST
/v1/firms/{firmId}/conversations
curl -X POST "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/conversations" \
-H "Authorization: Bearer $IDEALX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"personId": "per_01937d0a5b6c7d8e9f0a1b2c3d4e5f61",
"subject": "Your quarterly review",
"body": "Hi Alex, your review is ready."
}'
firmId
required
string
Media typeapplication/json
object
personId
required
string
subject
required
string
body
required
string
attachments
Array<object>
<= 5 items

PDF, image, Word, Excel, CSV or text; up to 4 MB

object
name
required
string
<= 200 characters
contentType
required
string
dataBase64
required
string

Example generated

{
"personId": "example",
"subject": "example",
"body": "example",
"attachments": [
{
"name": "example",
"contentType": "example",
"dataBase64": "example"
}
]
}

Started

Media typeapplication/json
object
id
required
string
kind
required
string
Allowed values: firm support assistant
subject
required
string
firmId
required
string | null
personId
required
string
status
required
string
Allowed values: open closed
lastMessageAt
required
string
unread
required
number

Example

{
"kind": "firm",
"status": "open"
}