curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply"
payload = { "content": "<string>" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": {
"channel": "email",
"conversationId": "Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA",
"messageId": "18c2f5d2a9b3e1f7",
"status": "sent"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}Reply in a conversation
Replies in a conversation, as the app’s Reply does. Email: from the conversation’s mailbox, to the sender of the message answered (its Reply-To address first) or, for a message you sent, to its first recipient, under the conversation’s subject and threaded into it; inReplyToMessageId picks the message answered (default the newest) and cc / bcc add copies. The app’s send rules apply: a recipient who unsubscribed from the mailbox, or opted out of your team’s email, is refused with RECIPIENT_UNSUBSCRIBED (a team opt-out still lets a reply through when they wrote into this conversation after opting out), a provider that throttles or rejects the mailbox pauses or disconnects it as in the app, and the recipients’ pending AI replies and campaign sequences stop as when you reply in the app. LinkedIn: sent into the chat from the LinkedIn account the chat is on, which needs inbox access, within that account’s daily and weekly message allowances. Send an X-Idempotency-Key header of 8 to 200 characters to make retries safe: the same request with the same key within 24 hours answers the first result and sends nothing, and the key on a different request answers 409. A first request refused before anything was sent (any 4xx) can be retried under its key; one that failed in a way that may still have sent it answers 409 IDEMPOTENCY_KEY_OUTCOME_UNKNOWN instead of sending again. Rate limit: 20 requests per minute, 600 per day, shared by every send route.
Errors:
422VALIDATION_FAILED—channelorcontentis missing,contentis blank or too long,cc/bcc/inReplyToMessageIdwere sent on LinkedIn, an address is not an email address, the body carries another field, theX-Idempotency-Keyheader was sent with a value outside 8-200 characters or twice, or the inbox refused the address the reply would go to, taken from the conversation.409IDEMPOTENCY_KEY_IN_USE— A request with thisX-Idempotency-Keyis still sending; retry it shortly to get its result. If it keeps answering this, the first request stopped before its result was recorded: check whether it was sent before sending again with a new key.409IDEMPOTENCY_KEY_REUSED— ThisX-Idempotency-Keywas sent in the last 24 hours with a different request; nothing was sent.409IDEMPOTENCY_KEY_OUTCOME_UNKNOWN— The first request with thisX-Idempotency-Keyfailed in a way that may still have sent it (a server error or a timeout), so nothing more was sent. Check whether it was sent before sending again with a new key.404CONVERSATION_NOT_FOUND— No conversation with this id on the mailboxes or LinkedIn accounts you can read; nothing was sent.404MESSAGE_NOT_FOUND—inReplyToMessageIdis not a message of the conversation.422CONVERSATION_HAS_NO_SUBJECT— The email conversation has no subject, and a reply goes out under its subject; nothing was sent.403LINKEDIN_PERMISSION_DENIED— The LinkedIn conversation is on an account shared with you for campaigns only; replying needs inbox access.404MAILBOX_NOT_FOUND— The mailbox to send from is not yours, or not shared with you with inbox access.422INVALID_RECIPIENT— No recipient is a valid email address.422RECIPIENT_UNSUBSCRIBED— A recipient opted out of email from your team; nothing was sent. A reply in a conversation they wrote into after opting out can still go.429MAILBOX_RATE_LIMITED— The mail provider throttled the mailbox; nothing was sent and, as in the app, its campaign sends are paused.422MAILBOX_NEEDS_RECONNECT— The mailbox’s provider connection lapsed or rejected the send, and the app disconnected it; reconnect it in the app.422MAILBOX_TEMPORARILY_UNAVAILABLE— The mail provider is refusing the mailbox for now; nothing was sent. Retry in a few minutes.422LINKEDIN_ACCOUNT_DISCONNECTED— The LinkedIn account is disconnected; reconnect it in the app.429LINKEDIN_ACCOUNT_RATE_LIMITED— LinkedIn is limiting the account for now and Fuse holds its sends, for up to a day; nothing was sent. Retry-After, when present, is the seconds left until the hold ends.422LINKEDIN_MESSAGE_LIMIT_REACHED— The LinkedIn account has sent its daily or weekly messages; retry once they refill.429RATE_LIMITED— Too many sends: the quota every send route shares (20 per minute, 600 per day) or, on LinkedIn, the LinkedIn service’s own per-user send limit was exceeded. Retry after the Retry-After / RateLimit-Reset seconds when present, else after a minute.
Requires one of the following token scopes: inbox.
curl --request POST \
--url https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"content": "<string>"
}
'import requests
url = "https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply"
payload = { "content": "<string>" }
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({content: '<string>'})
};
fetch('https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"message": {
"channel": "email",
"conversationId": "Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA",
"messageId": "18c2f5d2a9b3e1f7",
"status": "sent"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"param": "<string>",
"doc_url": "<string>",
"request_id": "<string>"
}
}