---
title: "Open the fixed native authentication flow for one agent"
method: POST
path: "/api/v1/agents/{agent}/auth"
tags: ["agents"]
---

# Open the fixed native authentication flow for one agent

`POST /api/v1/agents/{agent}/auth`

## Path parameters

- `agent` string, required — Agent adapter identifier.

## Response `201`

Created

- StartAgentAuthResponse
  - `action` string, required
  - `agentId` string, required
  - `guidance` string
  - `terminal` ShellTerminalResponse, required
    - `createdAt` string, date-time, required
    - `handleId` string, required
    - `projectId` string
    - `sessionId` string
    - `title` string, required
    - `workingDir` string, required
  - `terminalInput` string

## Other responses

- `400` — Bad Request
- `500` — Internal Server Error
- `501` — Not Implemented

## Changes

- **2026-09-03** `68ada7465b3a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/changes/api/v1/agents/:agent/auth/post.md)

---

[API](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon.md) · [All operations](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/llms.txt) · [OpenAPI document](https://skmtc.dev/composiohq/apis/agent-orchestrator-http-daemon/revisions/7f0cfe5dddc2?raw)
