API referenceAgents
Create an agent
Creates the agent, a default policy, and an optional inbox.
POST
Creates the agent, a default policy, and an optional inbox.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
Idempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
name*stringslug*stringdaily_send_budget?integerdescription?stringinbox?Agent
application/json- response
id?stringname?stringslug?stringstatus?stringValue in
"active""paused"policy_id?stringdaily_send_budget?integerinbox_id?string|nullcurl -X POST 'https://api.mailroom.gosuevals.com/v1/agents' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "slug": "string"}'Example Response201
{ "id": "string", "name": "string", "slug": "string", "status": "active", "policy_id": "string", "daily_send_budget": 0, "inbox_id": "string"}