Create a machine user
1
Add the machine user
Go to Settings → Machine Users and click + Add Machine User.Two fields matter:
- Name: only visible to your team. Use this to describe what the agent does, e.g. “Support Agent” or “Tier 1 Triage Bot”.
- Public name: visible to customers when the agent sends a message, e.g. “Plainey” or “Acme Support”.
2
Create an API key
From the machine user’s page, click + Add API key and pick the permissions your agent needs.Common permissions for an agent that reads threads and replies to customers:
thread:read: read threads and timelinesthread:reply: send replies viareplyToThreadgeneratedReply:create: add suggested replies for a user to reviewthread:assignandthread:unassign: for handoffs between the agent and humanscustomer:read: look up customer context before replying
3
Use the API key
Why use a machine user
Machine users give you three things:- A clear author for every message. Customers and users can tell at a glance which messages came from the agent.
- Independent permissions. You can scope the agent’s API key narrowly without touching what your team can do.
- Rotation without downtime. You can issue and revoke API keys for the machine user without disrupting access as machine users can have more than one API key.
- Per-agent assignment. Threads can be assigned to a machine user directly. See routing.

