Get message

Read one message with its conversation, tags and case.

GET https://cotlet.dev/api/v1/sprout-social/messages/{message_id}

read

Returns the full message, the earlier messages in the same conversation, the tags on it and the case attached to it, if there is one. Use it before replying or tagging a message that is short or refers to an earlier one.

Parameters

Parameters: get_message
NameTypeDescription
message_id string required string Message ID from list_inbox_messages.

Request

cURL
curl https://cotlet.dev/api/v1/sprout-social/messages/message_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("sprout-social", "get_message", {"message_id":"message_8c41d2"})
Node.js
const result = await cotlet.call('sprout-social', 'get_message', {"message_id":"message_8c41d2"});
CLI
cotlet call sprout-social get_message --data '{"message_id":"message_8c41d2"}'

Example response

JSON

{
  "message_id": "msg_88a1f9",
  "profile_id": "p_fb_03",
  "network": "facebook",
  "type": "private_message",
  "author": "Sam Okafor",
  "text": "I was charged twice in October.",
  "thread": [
    {
      "author": "Sam Okafor",
      "text": "Hi, I have a question about my invoice.",
      "sent_at": "2026-10-16T17:02:00+02:00"
    },
    {
      "author": "Acme",
      "text": "Hi Sam, how can we help?",
      "sent_at": "2026-10-16T17:20:00+02:00"
    }
  ],
  "tags": [],
  "case": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.