Channels
Set or clear this address's own action or actor
Upserts the address with its action, the actor it speaks as, or both; a field left out is left alone. action: null forgets the exception and defers back to the route table; any other action requires the same fields a route or channel default would (agent_id for agent, text for message).
actor_id binds an actor of this project, so the address speaks as the same actor your own sessions use. A changed actor deletes the address's conversations and their sessions — a session's actor is fixed — and the next message opens a fresh one; the actor naturali created for the address is deleted with them. An actor you bind is never deleted here.
put/v1/projects/{project_id}/addresses/{identifier}
Request
- Base URL: https://api.naturali.ai
- URL: https://api.naturali.ai/v1/projects/{project_id}/addresses/{identifier}
- 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
{
"actor_id": "actor_V1StGXR8Z5jdHi6B",
"action": "agent",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"text": "Subscribe at https://example.com/pricing",
"language": "en-US",
"display_name": "Ana"
}Response
Action updated.
Example response
{
"action": "agent",
"agent_id": "agent_V1StGXR8Z5jdHi6B",
"text": "Subscribe at https://example.com/pricing",
"language": "en-US",
"config": {
"media": {
"audio": "transcribe"
},
"discord": {
"allowed_role_ids": [
"1290000000000000042"
]
}
},
"id": "addr_V1StGXR8Z5jdHi6B",
"project_id": "proj_V1StGXR8Z5jdHi6B",
"identifier": "whatsapp:dm:5511999998888",
"display_name": "Ana",
"actor_id": "actor_V1StGXR8Z5jdHi6B"
}Changes
No recorded changes to this operation across all 1 revision of this API.