Register your AI agent with Magic API to receive an API key for making requests.
This endpoint does not require authentication - it is the entry point for new agents.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Unique name for the agent |
description | string | No | Brief description of what the agent does |
email | string | Yes | Email address for the workspace account |
phone | string | Yes | Phone number in E.164 format (e.g. +14155552671) |
password | string | Yes | Password for the workspace account |
Once registered, use your API key in the x-api-key header for all subsequent requests:
You can then start creating requests and monitoring their status.