curl --request PATCH \
--url https://api.tryfuse.ai/api/v1/business/conversations/{conversationId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversationId": "Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA",
"channel": "email",
"isRead": true,
"isArchived": true,
"label": "interested"
}{
"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>"
}
}Mark, move or label a conversation
Changes one conversation as the app’s inbox does from its header. isRead marks every message of the conversation read or unread; a LinkedIn conversation can only be marked read. On email, isFavorite stars the conversation or takes the star off, and isArchived, isSpam and isDeleted move it to Archived, Spam or Trash, or with false back to the Inbox. Each applies to every email of the conversation, at the mail provider too; when several are sent they are applied in the order read, favorite, spam, archived, deleted, so of two folder moves the later one wins. label is email only and belongs on an email: it is set on the conversation’s newest received email, the one the app’s AI labels, and taken off every other email of the conversation that carries one of the two labels, so the conversation reads back the label sent; null takes both off every email. The label is the inbox’s; it does not change a campaign lead’s outcome. A label the conversation cannot take is refused before any flag changes, and the flags are then applied before the label; every change is safe to repeat, so a failed call can simply be retried. The answer names the changes applied. To change many email conversations at once, use PATCH /business/conversations. Rate limit: 30 requests per minute, 1000 per day, the app’s own limits for changing a conversation, counted apart from the conversation reads.
Errors:
422VALIDATION_FAILED—channelis missing, none ofisRead,isFavorite,isArchived,isSpam,isDeletedandlabelwas sent, more than one ofisArchived,isSpamandisDeletedwas sent (one folder change per request),labelis not interested, not_interested or null, or a LinkedIn conversation was sentisRead: false(LinkedIn has no way to mark one unread) or any other field (the app stars, moves and labels emails only).404CONVERSATION_NOT_FOUND— No conversation with this id on the mailboxes or LinkedIn accounts you can read.403LINKEDIN_PERMISSION_DENIED— The LinkedIn conversation is on an account shared with you for campaigns only.422CONVERSATION_HAS_NO_RECEIVED_EMAIL— A label was sent for a conversation with no email from the other side yet; nothing was changed.422EMAIL_LABELS_NOT_EDITABLE— An email of the conversation carries a label your inbox does not have (a teammate’s own, on a shared mailbox); no label was changed.422CONVERSATION_TOO_LARGE— The conversation has more emails than one change may touch; nothing was changed.422MAILBOX_NEEDS_RECONNECT— The mailbox’s provider connection has lapsed; reconnect it in the app.429RATE_LIMITED— Too many conversation reads or changes: their shared quota (60 per minute, 5000 per day) or, on LinkedIn, the LinkedIn service’s own per-user 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 PATCH \
--url https://api.tryfuse.ai/api/v1/business/conversations/{conversationId} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}"
payload = {}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.tryfuse.ai/api/v1/business/conversations/{conversationId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"conversationId": "Z21haWw6c2FtQGFjbWUuY29tOjE4YzJmM2E5YjdkMWU0ZjA",
"channel": "email",
"isRead": true,
"isArchived": true,
"label": "interested"
}{
"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>"
}
}Authorizations
Path Parameters
Body
Response
Success