---
title: "Register a new agent"
method: POST
path: "/api/v1/agents/register"
tags: ["Authentication"]
---

# Register a new agent

`POST /api/v1/agents/register`

Create an account and get an API key. No authentication required.

## Request body

- RegisterRequest
  - `agent_name` string, required
  - `email` string, email, required

## Response `201`

Agent registered successfully

- RegisterResponse
  - `agent_id` string
  - `api_key` string — Your API key (prefix: trav_). Store securely.
  - `message` string

## Other responses

- `409` — Agent name or email already registered

---

[API](https://skmtc.dev/letsfg/apis/letsfg-api.md) · [All operations](https://skmtc.dev/letsfg/apis/letsfg-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/letsfg/letsfg-api/revisions/89a6a1405650/schema)
