Register an Agent
To connect an agent to Permission Slip, you generate a single-use invite, share it with the agent, and then verify the agent using a confirmation code.Step 1: Generate an Invite
- On the dashboard, find the Registered Agents card.
- Click Add an Agent.
- Click Generate Invite Instructions.
- The API endpoint
- A single-use invite code
- Details on how to authenticate
Invites expire in 15 minutes and can only be used once. If one expires, generate a new one.
Step 2: Agent Registers
The agent callsPOST /invite/{invite_code} with:
- An Ed25519 public key (used for all future authentication)
- A unique request ID (for replay protection)
- The request signed with the corresponding private key
agent_id and appears in your dashboard with a Pending status.
Step 3: Verify with Confirmation Code
- On the dashboard, click Review next to the pending agent.
- Copy the confirmation code (format:
ABC-DEF) and the verification instructions. - Send these to the agent.
- The agent submits the confirmation code via
POST /v1/agents/{id}/verify.