Request Body
Unique identifier for this agent on your account. Alphanumeric, hyphens, underscores, and dots only.
Human-readable name for the agent.
Optional description of what this agent does.
URL to receive webhook notifications when files arrive for this agent.
Framework type. One of: custom, langchain, crewai, autogen, mastra, n8n.
Response
The created agent record.
One-time connection token (agt_...). Expires in 1 hour. Pass this to your agent to call POST /v1/agents/connect.
Human-readable 6-character claim code (e.g. A3K7WP).
ISO 8601 timestamp when the connection token expires.
curl -X POST https://agentdrop-production.up.railway.app/v1/agents/register \
-H "Authorization: Bearer agd_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "my-agent",
"name": "My Analysis Agent",
"agent_type": "langchain"
}'
{
"agent": {
"id": "uuid",
"agent_id": "my-agent",
"name": "My Analysis Agent",
"agent_type": "langchain",
"connection_status": "pending"
},
"connection_token": "agt_abc123...",
"claim_code": "A3K7WP",
"token_expires_at": "2026-03-23T13:00:00.000Z"
}