Agents
Update an Agent inbox item
Update an Agent inbox item. The request enforces Agent roles, ownership, workspace boundaries, and lifecycle state.
PATCH
/
api
/
v1
/
agents
/
{agentId}
/
inbox
/
{agentInboxItemId}
Update an Agent inbox item
curl --request PATCH \
--url https://api.revoengine.com/api/v1/agents/{agentId}/inbox/{agentInboxItemId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "sync",
"instruction": "Re-run the customer usage sync for workspace EU-1.",
"payload": {
"workspaceId": "eu-1",
"source": "retry"
},
"priority": 500,
"scheduleFor": "2026-04-12T12:15:00.000Z",
"dedupeKey": "sync:workspace:eu-1"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'sync',
instruction: 'Re-run the customer usage sync for workspace EU-1.',
payload: {workspaceId: 'eu-1', source: 'retry'},
priority: 500,
scheduleFor: '2026-04-12T12:15:00.000Z',
dedupeKey: 'sync:workspace:eu-1'
})
};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/inbox/{agentInboxItemId}', 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/{agentInboxItemId}"
payload = {
"type": "sync",
"instruction": "Re-run the customer usage sync for workspace EU-1.",
"payload": {
"workspaceId": "eu-1",
"source": "retry"
},
"priority": 500,
"scheduleFor": "2026-04-12T12:15:00.000Z",
"dedupeKey": "sync:workspace:eu-1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Body
application/json
Response
200
⌘I
Update an Agent inbox item
curl --request PATCH \
--url https://api.revoengine.com/api/v1/agents/{agentId}/inbox/{agentInboxItemId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"type": "sync",
"instruction": "Re-run the customer usage sync for workspace EU-1.",
"payload": {
"workspaceId": "eu-1",
"source": "retry"
},
"priority": 500,
"scheduleFor": "2026-04-12T12:15:00.000Z",
"dedupeKey": "sync:workspace:eu-1"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
type: 'sync',
instruction: 'Re-run the customer usage sync for workspace EU-1.',
payload: {workspaceId: 'eu-1', source: 'retry'},
priority: 500,
scheduleFor: '2026-04-12T12:15:00.000Z',
dedupeKey: 'sync:workspace:eu-1'
})
};
fetch('https://api.revoengine.com/api/v1/agents/{agentId}/inbox/{agentInboxItemId}', 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/{agentInboxItemId}"
payload = {
"type": "sync",
"instruction": "Re-run the customer usage sync for workspace EU-1.",
"payload": {
"workspaceId": "eu-1",
"source": "retry"
},
"priority": 500,
"scheduleFor": "2026-04-12T12:15:00.000Z",
"dedupeKey": "sync:workspace:eu-1"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)
