Retrieve a specific message by ID.
Responses
-
Message details
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
GET
/requests/{requestId}/messages/{messageId}
curl \
--request GET 'https://api.usecollect.com/v1/requests/{requestId}/messages/{messageId}' \
--user "username:password"
Response examples (200)
{
"id": "msg_123",
"text": "Here is the response generated by the agent...",
"title": "AI Agent - reply sent",
"createdAt": "2026-01-21T10:12:46Z",
"requestId": "req_456",
"updatedAt": "2026-01-21T10:12:46Z"
}