curl --location --request POST 'https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}'
const response = await fetch("https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}),
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
{
"id": "bbbb1111-cccc-2222-dddd-444444444444",
"task_id": "9f8e7d6c-5b4a-3210-9876-543210fedcba",
"direction": "outbound",
"content": "We've reviewed the NDA \u2014 see the attached mark-up.",
"file_ids": [],
"sender": {
"id": "11111111-2222-3333-4444-555555555555",
"name": "Jane Doe",
"email": "jane@example.com"
},
"sender_agent": null,
"sender_display_name": "Jane Doe",
"created_at": "2025-12-31T01:01:40Z"
}
Tasks
Reply to Requester
Send a reply back to whoever requested the task.
POST
/
api
/
v1
/
tasks
/
{task_id}
/
thread
curl --location --request POST 'https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}'
const response = await fetch("https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}),
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
{
"id": "bbbb1111-cccc-2222-dddd-444444444444",
"task_id": "9f8e7d6c-5b4a-3210-9876-543210fedcba",
"direction": "outbound",
"content": "We've reviewed the NDA \u2014 see the attached mark-up.",
"file_ids": [],
"sender": {
"id": "11111111-2222-3333-4444-555555555555",
"name": "Jane Doe",
"email": "jane@example.com"
},
"sender_agent": null,
"sender_display_name": "Jane Doe",
"created_at": "2025-12-31T01:01:40Z"
}
This reaches the requester over the task’s origin channel. For a connected personal mailbox the reply is staged as a draft for the mailbox owner to review and send, rather than sent immediately. For an internal note that the requester never sees, add a comment instead.
The requester thread is behind its own feature flag, separate from tasks. This endpoint returns
404 unless it is enabled for your organization.Body parameters
string
required
The reply body, sent to the requester.
array
Files to attach, from the file upload endpoint.
curl --location --request POST 'https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}'
const response = await fetch("https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}),
});
const data = await response.json();
console.log(data);
import requests
url = "https://api.wordsmith.ai/api/v1/tasks/9f8e7d6c-5b4a-3210-9876-543210fedcba/thread"
headers = {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"content": "We've reviewed the NDA \u2014 see the attached mark-up."
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
{
"id": "bbbb1111-cccc-2222-dddd-444444444444",
"task_id": "9f8e7d6c-5b4a-3210-9876-543210fedcba",
"direction": "outbound",
"content": "We've reviewed the NDA \u2014 see the attached mark-up.",
"file_ids": [],
"sender": {
"id": "11111111-2222-3333-4444-555555555555",
"name": "Jane Doe",
"email": "jane@example.com"
},
"sender_agent": null,
"sender_display_name": "Jane Doe",
"created_at": "2025-12-31T01:01:40Z"
}
⌘I