POST
/
agents
curl --request POST \
  --url https://eu-voiceglow-runtime-vbmbkqccuq-ey.a.run.app/v3/agents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent": {
    "title": "My Customer Service Agent",
    "description": "An AI agent that handles customer inquiries",
    "nodes": [],
    "ownerID": "workspace_123",
    "lastModified": 1234567890,
    "SECRET_API_KEY": "vg_abcdef123456"
  }
}'
{
  "success": true,
  "message": "Agent created successfully",
  "data": {
    "ID": "ag_123456789",
    "title": "My Customer Service Agent",
    "description": "An AI agent that handles customer inquiries"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
agent
object
required

Response

200
application/json
Successful response
success
boolean
required
message
string
required
data
object
required