Skip to main content
GET
/
projects
/
{projectId}
/
messages
/
{messageId}
Get a specific message
curl --request GET \
  --url https://local.withsutro.com/projects/{projectId}/messages/{messageId} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-sutro-api-client: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": [
    {
      "type": "text",
      "text": "<string>"
    }
  ],
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

projectId
string
required
messageId
string<uuid>
required

Response

The requested message

id
string<uuid>
required

Unique identifier for the message

content
object[]
required

Array of message parts

createdAt
string<date-time>
required

Timestamp when the message was created