Resolve Inbound Channel (M2M)
Resolve a channel's public identifier - for telephony, the dialled number - to the agent, a freshly minted short-lived deployment token, and the credentials agent-runtime needs to answer. Called server-to-server by agent-runtime on behalf of an inbound call that carries no user identity of any kind. Not reachable from a browser.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Body of POST /v1/bundler/channel-resolve.
(kind, key, provider) generalises WidgetPublicResolveIn's single embed_key to a channel-agnostic identifier: for telephony, key is the dialled E.164 number and provider is the telephony provider's stable name, so a second channel kind is a new resolution branch rather than a second route.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/bundler/channel-resolve" \ -H "Content-Type: application/json" \ -d '{ "kind": "string", "key": "string", "provider": "string" }'{ "agent_id": "2b1e3b65-2c04-4fa2-a2d7-467901e98978", "deployment_id": "6ef0ac85-9892-4664-a2a5-58bf2af5a8a6", "channel_id": "bbe8aa76-a4bb-46f6-a785-df8e831cc459", "agent_config": { "custom_tools": [ { "id": "string", "name": "string", "description": "string", "json_schema": {}, "webhook_url": "string", "webhook_secret": "string", "timeout_ms": 0, "method": "GET", "headers": [ { "name": "string", "value": "string" } ], "query_params": [ { "name": "string", "source": "string" } ], "path_params": [ { "name": "string", "source": "string" } ], "body_source": "arguments", "credential_id": "13c40afa-2996-4a0c-b2e9-68fba9462242", "auth_placement": "bearer", "auth_param_name": "string", "auth_value": "string" } ], "guardrails": [ { "id": "string", "hook_point": "string", "webhook_url": "string", "webhook_secret": "string", "fail_open": true, "timeout_ms": 0 } ], "conversation_storage_enabled": true, "a2a_tools": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "target_kind": "string", "target_url": "string", "scheme_kind": "string", "credential": { "property1": "string", "property2": "string" } } ], "evaluation_enabled": true, "extraction_field_defs": [ {} ], "evaluation_criteria_defs": [ {} ], "system_tools": [ { "name": "string", "config": {} } ], "max_conversation_duration_seconds": 0, "max_duration_message": "string", "client_events": [ "string" ], "chat_mode_enabled": false, "dtmf_enabled": false }, "deployment_token": "string", "telephony": { "provider_type": "string", "account_id": "string", "auth_token": "string", "signing_secret": "string" }, "status": "string"}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}