Docs Rizler

V1 Agents

V1 Import Agent

POSThttps://app.rizzdial.com/api/ai/agent/v1/import
V1 Import Agent
curl --request POST \
  --url https://app.rizzdial.com/api/ai/agent/v1/import \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "agent_data": {}
}'
{
  "message": "Agent imported successfully",
  "success": true,
  "agent_id": "agent_123",
  "agent_version": "V1"
}

V1 Import Agent#

Creates a V1 agent from an Export Agent JSON body. Send that object directly, or wrap it in agent_data or data. A V2 export is rejected. Use POST /api/ai/agent/v2/import for V2.

Authorizationstringheaderrequired

Bearer token in the format: Bearer {access_token}

agent_dataobjectbody

Export Agent JSON. You can also send that object as the raw body, or wrap it in data.

curl --request POST \
  --url https://app.rizzdial.com/api/ai/agent/v1/import \
  --header 'Authorization: Bearer {{bearer_token}}' \
  --header 'Content-Type: application/json' \
  --data '{"agent_data":{}}'
successboolean

true when the agent is created

messagestring

Agent imported successfully

agent_idstring

Public id of the new agent

agent_versionstring

V1