Agents
Create an Agent inbox item
Create an Agent inbox item. The request enforces Agent roles, ownership, workspace boundaries, and lifecycle state.
POST
/
api
/
v1
/
agents
/
{agentId}
/
inbox
Create an Agent inbox item
curl --request POST \
--url https://api.revoengine.com/api/v1/agents/{agentId}/inbox \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instruction": "Investigate the failed nightly billing export."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({instruction: 'Investigate the failed nightly billing export.'})
};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/inbox"
payload = { "instruction": "Investigate the failed nightly billing export." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
201
⌘I
Create an Agent inbox item
curl --request POST \
--url https://api.revoengine.com/api/v1/agents/{agentId}/inbox \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"instruction": "Investigate the failed nightly billing export."
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({instruction: 'Investigate the failed nightly billing export.'})
};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/inbox', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/agents/{agentId}/inbox"
payload = { "instruction": "Investigate the failed nightly billing export." }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
