Skip to main content
POST
Register an agent

Authorizations

Authorization
string
header
required

An Egma API key.

Query Parameters

projectId
string

Project to act in. A project-scoped API key already identifies its project.

Minimum string length: 1

Body

application/json
name
string
required

Display name for the agent in Egma.

Example:

"Receptionist"

agentPlatform
enum<string>
required

The product or framework that runs your agent.

Available options:
retell,
livekit
connection
object

Choose one supported agentPlatform, connectionType, accessVariant, and modality from List supported connection options. Its fields describe config and its credentialFields describe credentials. Egma validates the complete combination before saving it.

Examples:

Response

An existing agent reused by the registration.

result
enum<string>
required
Available options:
reused
agent
object
required
connection
object
required