Post a Studio message
Adds a coordination message with its verified author. Message text is context and does not grant execution or approval authority.
curl --request POST \
--url https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({operationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message"
payload = { "operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Authorizations
Bearer JWT token or API Key (sk-*).
Path Parameters
Body
Caller-generated UUID idempotency key for this exact operation.
Optional expected actor identity. The host derives the actual actor from verified execution ancestry.
Message body. Maximum 10kB.
10000"The nightly sync has completed successfully."
Message id this message replies to. Must belong to the same thread.
"00000000-0000-4000-8000-000000000001"
Attachment descriptors included with the message. Use STORAGE_UPLOAD with storageUploadSessionId for direct uploads that may still be finalizing.
[
{
"type": "STORAGE_UPLOAD",
"storageUploadSessionId": "00000000-0000-4000-8000-000000000001",
"chatAttachmentId": "00000000-0000-4000-8000-000000000002",
"name": "report.pdf",
"mimeType": "application/pdf"
}
]
Upload batch id whose finalized files are bound to this message.
"00000000-0000-4000-8000-000000000003"
Response
curl --request POST \
--url https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({operationId: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/studio/sessions/{sessionId}/chat/message"
payload = { "operationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
