Actors
Create an actor
Creates a new actor in the project named in the path.
post/v1/projects/{project_id}/actors
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/actors
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.naturali.ai/authorize, token URL https://api.naturali.ai/token, scopes: mcp:access)
Request body
Example request
{
"name": "Alice",
"external_id": "+15551234567",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"chat_id": "chat_V1StGXR8Z5jdHi6B"
}Response
Actor already exists — returned when externalId matches an existing actor in this project (idempotent)
Example response
{
"id": "actor_V1StGXR8Z5jdHi6B",
"project_id": "proj_V1StGXR8Z5jdHi6B",
"name": "Alice",
"external_id": "+15551234567",
"tags": {
"team": "finance",
"env": "prod"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.