Skip to main content
GET
/
v1
/
fetch-message
/
{message_id}
Fetch a single message by ID
curl --request GET \
  --url https://api.salescaptain.com/v1/fetch-message/{message_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Message fetched successfully!",
  "data": {
    "conversation_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "message_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "contact_id": "f6a7b8c9-d0e1-2345-f123-456789012345",
    "conversation_profile_id": "c3d4e5f6-a7b8-9012-cdef-123456789012",
    "conversation_profile_email": "[email protected]",
    "conversation_profile_number": "+1987654321",
    "type_of_message": "sms_message",
    "direction": "inbound",
    "assigned_account_id": "d4e5f6a7-b8c9-0123-def1-234567890123",
    "created_at": "2026-03-15T08:00:00.000Z"
  }
}

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Path Parameters

message_id
string<uuid>
required

Unique identifier for the message

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Response

Message fetched successfully or error response

message
string
Example:

"Message fetched successfully!"

data
object

Message information object