WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Send a message in a chat

POST/api/linkedin/gateway/chats/{chat_id}/messages

Sends a message into an existing chat. This is the raw messaging call the higher-level Send a connection request or message endpoint uses under the hood, exposed directly for when you already have a chat to reply into.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
chat_id *stringThe chat to send the message into.

Body parameters

FieldTypeDescription
account_id *stringThe connected account this chat belongs to.
text *stringThe message body.
quote_idstringThe id of a message to quote or reply to.
thread_idstringSlack only — the id of the thread to reply in.
The upstream call also supports attaching files, a voice note, or a video note — Warmably's gateway currently only forwards JSON bodies, so those binary fields aren't reachable through this route yet.

Response fields

FieldTypeDescription
message_idstring | nullThe id of the newly sent message.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated.·403 Forbidden. The account_id doesn't belong to this key.·404 Not Found. No chat with that id belongs to this account.·Unprocessable message. The recipient can't be reached, has blocked the account, or the chat has no active connection to send into.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl -X POST https://api.warmably.com/api/linkedin/gateway/chats/9c5e1a2b-.../messages \
  -H "Authorization: Bearer wm_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "account_id": "459993d2-b0e7-4b19-baf9-45252ca324cf",
    "text": "Sounds good, talk soon!"
  }'
Response
201 Created
{
  "object": "MessageSent",
  "message_id": "d4a1...-..."
}
No key yet? Create one from Dashboard → API Keys.