Skip to content
TriedDocs
Chats and SMS

Get SMS chat

Retrieve an SMS conversation with all its messages.

GEThttps://api.tried.com.au/get-sms-chat/{chat_id}

Returns an SMS chat and its messages, oldest first. Beyond Retell

Request#

Path parameters#

Parameter Type Required Description
chat_id string Yes The SMS chat.

Example request#

curl "https://api.tried.com.au/get-sms-chat/chat_7e8f9a0b1c2d3e4f5a6b7c8d" \
  -H "Authorization: Bearer $TRIED_API_KEY"
const res = await fetch("https://api.tried.com.au/get-sms-chat/chat_7e8f9a0b1c2d3e4f5a6b7c8d", {
  headers: { Authorization: `Bearer ${process.env.TRIED_API_KEY}` },
});
const data = await res.json();
import os, requests

res = requests.get(
    "https://api.tried.com.au/get-sms-chat/chat_7e8f9a0b1c2d3e4f5a6b7c8d",
    headers={"Authorization": f"Bearer {os.environ['TRIED_API_KEY']}"},
)
data = res.json()

Response#

200 OK with the SMS chat object.

Errors#

Status When
401 Missing or invalid API key.
403 The key's IP allowlist or scopes reject the request. This route needs the calls scope.
404 No SMS chat with this ID in the workspace.
429 Rate limit exceeded. See Rate limits.

See Errors for the body format.