Skip to content
memghost.com Open App

Send a command to an agent

POST
/remote-agents/{agentId}/commands
agentId
required
string format: uuid
object
command_type
required
string
payload
object
key
additional properties
any

Command accepted

object
id
required
string format: uuid
message
required
string

Agent not found

object
error
required
string
message
required
string
details
object
key
additional properties
any

Agent offline or has pending command

object
error
required
string
message
required
string
details
object
key
additional properties
any