Skip to main content
POST
Create AI agent

Body

application/json
external_id
string
required

Your stable external ID from the source system for this AI agent.

Minimum string length: 1
Example:

"agent_123"

name
string
required

Display name for the AI agent.

Minimum string length: 1
Example:

"My OpenClaw Agent"

type
enum<string>
required

Agent type. Only custom agents are supported for now.

Available options:
custom
Example:

"custom"

Response

Created AI agent

created_at
number
required

Created at as epoch timestamp (ms).

Example:

1756692778077

external_id
string
required

Your stable external ID from the source system for this AI agent.

Example:

"agent_123"

id
string
required

CraftCX AI Agent ID.

Example:

"pfh0haxfpzowht3oi213cqos"

name
string
required

Display name for the AI agent.

Example:

"My OpenClaw Agent"

type
enum<string>
required

Agent type.

Available options:
custom
Example:

"custom"