---
title: "Get an API key for your Andru account"
method: POST
path: "/api/a2a/register"
tags: ["Registration"]
---

# Get an API key for your Andru account

`POST /api/a2a/register`

## Request

- Base URL: `https://api.andru-ai.com`
- URL: `https://api.andru-ai.com/api/a2a/register`
- Auth: none declared

Requires a signed-in Andru account: send your Supabase session token as Authorization: Bearer <token>. Returns an API key for that account + 5 free calls a day on A2A (and another 5 on MCP). Body fields are labels only.

## Request body

- RegisterRequest: Registration request. All fields optional; the key is issued to the signed-in account.
  - `company_name` string: Company name, used in the key label
  - `agent_name` string: Name of the requesting agent

## Response `200`

Existing user — credentials returned

- RegisterResponse
  - `success` boolean
  - `apiKey` string
  - `keyId` string
  - `userId` string
  - `isNew` boolean
  - `freeQuota` object
    - `limit` 5
    - `used` integer
    - `remaining` integer

## Other responses

- `201`: Registration successful (new user)

---

[API](https://skmtc.dev/andru-ai/apis/andru.md) · [All operations](https://skmtc.dev/andru-ai/apis/andru/llms.txt) · [OpenAPI document](https://skmtc.dev/andru-ai/apis/andru/revisions/c2c34f598d13?raw)
