Conversation

Start a conversation

Updated Dec 3, 2026

POST/conversations

Starts a conversation with one of your customers, the person user names. from says who writes first.

from: user: the person asks. The conversation is an email conversation, as if they had written to your support address, with subject as its subject. It sits on the account user names, and your team's replies go to that account's own address: an account without one answers 409 no_address. When no account holds user.email, it's a conversation with that address. Your server named the person, so the conversation counts as proven (email.authenticated is true). It waits for your team without an owner. Every reply your team sends is mailed to the person, and their answers by mail continue the conversation. Sleekmate answers it only while the email channel and Sleekmate answers emails are on.

from: team: your team writes first, as the key's owner, who becomes the conversation's owner. It works like a conversation started in the inbox, and channel picks how:

  • chat: the message shows in the customer's chat, on your portal or in your widget, like a reply. A chat needs an account: an address no account holds answers 404 user_not_found, and a customer who can't open the chat on your board answers 409 chat_unavailable.
  • email: the message is mailed, with subject, to the address of the account user names, or to user.email when no account holds it. An account without an address answers 409 no_address.

user names the person by data_id, your own ID for them, or by email, and data_id decides when both are sent. A data_id that matches nobody answers 404 user_not_found, and two accounts with the same data_id or address answer 409 identity_conflict. Matching only reads: it never sets a data_id or an address on anyone.

note adds an internal note for your team after the first message, written as the key's owner. If the note can't be added, the conversation still starts and the answer has no note.

Send an Idempotency-Key, so that a retry after a timeout never starts and mails a second conversation. The same key with the same body within 24 hours answers the first start again, with Idempotent-Replayed: true. 409 maybe_started means the start failed after its first message may have been stored, so the conversation may exist and may have reached the person. Keep the key: a repeat with it answers maybe_started again and never starts a second conversation. Look for the conversation with GET /conversations before you send it again with a new key. See Safe retries.

The body takes only the fields below: any other answers 400 validation_error naming it, and so do owner_id and assignee_id, since this API takes no team member's ID. A field sent as null counts as not sent, and so does an optional text that is blank.

A person can start 10 conversations an hour this way, and your workspace 1,000 a day. A start by your team counts as a reply toward the key owner's 60 in 10 minutes, and toward their 30 starts an hour and your workspace's 200 a day, together with the ones started in the inbox. Over a limit, the answer is 429 rate_limited with Retry-After. A new conversation sends the conversation.create webhook.

Authorization

AuthorizationstringHeaderrequired
Bearer <token>

Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.

Parameters

Header

Idempotency-Keystring

Makes a retry safe: the same key with the same body within 24 hours answers the first request's answer again and writes nothing. 1 to 255 visible ASCII characters without spaces, such as a UUID. Use a new key for every new request. See Safe retries.

Example: "4f9c2a1e-8b7d-4c3a-9e6f-2d1b0a9c8e7f"
minLength: 1maxLength: 255pattern: ^[!-~]+$

Request body required

application/json
fromenum<string>required

user: the person writes first, by email. team: your team writes first, as the key's owner.

Allowed values"user""team"
userUserReferencerequired

The person a request is about, by your own ID for them or by their email address. Send at least one. When both are sent, data_id decides and the address plays no part. A data_id matches the account that holds it, also one without an email address, and an address matches the account of that address. Two accounts with the same value answer 409 identity_conflict. A field sent as null or blank counts as not sent.

channelenum<string>

Required with from: team. Leave it out with from: user: a person's conversation is always an email.

Allowed values"chat""email"
subjectstring

One line. Required with from: user and for your team's email. Your team's chat takes none.

Example: "Export to CSV fails"
minLength: 1maxLength: 150
textstringrequired

The first message: the person's own words, or your team's message in Markdown.

Example: "The export button does nothing on my account."
minLength: 1maxLength: 10000
notestring

An internal note for your team, in Markdown. The person never sees it.

Example: "Reported through our in-app assistant."
minLength: 1maxLength: 10000
sourceenum<string>

Where the start comes from: api your own systems, mcp your MCP server. The conversation shows it as source.

Allowed values"api""mcp"
Default: "api"

Responses

Started: the conversation as it is now, its first message, and the note when one was added. A repeat of the same request answers the same, with Idempotent-Replayed: true and the conversation as it is by then.

Headers

Idempotent-Replayedenum<string>

true when the answer repeats the first start for this Idempotency-Key. Not sent otherwise.

Allowed values"true"
statusstring
dataobject