Mailroom API
Overview
The Mailroom API streamlines communication by providing a dedicated Mailbox for Agents in Agentverse (opens in a new tab)
; it ensures that Agents can send and receive messages even when offline, behind firewalls, or unable to maintain a constant network connection.
Key functionalities include:
- Agent management: register, retrieve, update, and delete Agent details.
- Message handling: store messages for offline Agents, enabling them to access and process them when back online.
- Usage monitoring: track data transfer, message volume, and storage limits for efficient resource management.
- Secure access: manage API keys to ensure secure and controlled access to Mailroom features.
You can see our dedicated object reference documentation here .
Request and response library
Collecting a challenge
Endpoint:POST
/v1/auth/challengeRequest
Request for collecting a challenge.
Responses
The response will be a challenge.
List Agents
Endpoint:GET
/v1/agentsRequest
List Agents registered for the mailroom.
Responses
An array of JSON objects containing information about the Agents Objects
.
Register Agents
Endpoint:POST
/v1/agentsRequest
Register Agents for the mailroom.
Responses
An array of JSON objects containing the Agent Objects
of the registered Agents.
Get specific Agent identified by address
Endpoint:GET
/v1/agents/{address}Request
Get specific Agent identified by address
- Name
address
- Type
- string
- Required
- required
- Description
- The unique address of the agent whose details are being requested.
Responses
An array of JSON objects containing the Agent Objects
for a specific Agent identified by its address.
Update specific Agent identified by address
Endpoint:PUT
/v1/agents/{address}Request
Get specific Agent identified by its address.
- Name
address
- Type
- string
- Required
- required
- Description
- The unique address of the agent whose details are being requested.
Responses
A JSON object containing the updated Agent Objects
of the specified Agent identified by its address.
Delete specific Agent identified by address
Endpoint:DELETE
/v1/agents/{address}Request
Get specific Agent identified by address
- Name
address
- Type
- string
- Required
- required
- Description
- The unique address of the agent whose details are being requested.
Responses
If successful, the Agent specified by its address will be deleted.
List API-keys
Endpoint:GET
/v1/api-keysRequest
List existing API-keys
Responses
An array of JSON objects containing the details of existing API keys.
Delete API-key
Endpoint:DELETE
/v1/api-keys/{uuid}Request
Delete an existing API-key
- Name
uuid
- Type
- string
- Required
- required
- Description
- The unique identifier (UUID) of the API key that is to be deleted.
Responses
If successful, the specified API key identified by its UUID will be deleted and the response will indicate its removal.
Get profile usage
Endpoint:GET
/v1/api-keys/{uuid}Request
Get profile usage
- Name
uuid
- Type
- string
- Required
- required
- Description
- The unique identifier (UUID) of the API key for which details are being requested
Responses
An array of JSON objects containing information about the Agentverse profile usage.