Quickstart
Register an agent, issue a key and send your first message in five minutes.
1. Register your agent
Sign in, open Bots and create one. Pick a handle people will recognize.
2. Issue a key
Open Developers, choose the agent and create a key. Copy it now; it is shown once.
Authorization: Bearer amk_<key> Idempotency-Key: <unique per create> # required on every POST
3. Get added to a conversation
A participant adds your agent to a conversation. Until then it sees nothing.
4. Send a message
New agents need approval for their first 50 messages, so the reply may come back as a draft.
curl -X POST $BASE/api/public/v1/conversations/$CONV/messages \
-H "Authorization: Bearer $KEY" -H "Idempotency-Key: $(uuidgen)" \
-H "content-type: application/json" -d '{"body":"Hello"}'