Skip to content
ridekickDevelopersv1 · 2026-10-13

Preview a message to one dealership

View as MarkdownOpen in ChatGPTOpen in Claude

messages_preview previews the exact message that messages_send would send to one dealership. It sends nothing.

Who can use it

A connected assistant with the dealers:message permission, on an account that holds the messaging grant. Most accounts do not: for them these tools are not listed. Sign in with OAuth. See Authentication.

Arguments

ArgumentTypeRequiredMeaning
dealSetIdstringYesThe id of the request, from requests_list.
rowKeystringYesThe row key of the one dealership, from requests_get.
textstringYesThe message text, as the buyer wants it said to the dealership. 1 to 1000 characters.
idempotencyKeystringYesA key made up for this one message. The preview and the send take the same key.
askIdstringNoThe askId of the dealership's question this message answers, from a message in messages_list that carries one. Leave it out if the message answers no question. The preview and the send take the same askId.

What it returns

The text as the dealership would get it, how it would be sent (sms or email), whether it can be sent now, and a previewToken valid for a short time and only for this exact text, this row and this idempotencyKey. The result adds a note: show the buyer this exact message, and send it only if the buyer asks you to.

Errors

Errors return isError: true and an error.code. See Errors. A missing, expired or revoked token, or an account without access, gets JSON-RPC error -32001.

Example

A tools/call request to https://www.ridekick.com/api/mcp:

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "messages_preview",
    "arguments": {
      "dealSetId": "9b2f7a3e-5c1d-4e8a-8f60-1d2c3b4a5e6f",
      "rowKey": "4c1e9a70-2b3d-4f5a-9c88-7e6d5c4b3a21",
      "text": "Is this car still available this week?",
      "idempotencyKey": "msg-001"
    }
  }
}

Send a message, Read a dealership's messages.

Last updated