phone_number_id + optional webhook URL.
Kupe inbound is a deployment: agent + telephony account + name + status + availability window. Calls outside the window are not connected. Requires feature_inbound. See Inbound.
Create
Kupe AppPOST /api/v1/phone/mapping body (AgentPhoneMappingCreate): agent_id xor workflow_id, phone_number_id, optional webhook_url, config_source, user_id.
Kupe Hub POST /v1/inbound requires org_id, project_id, agent_id, telephony_account_id, name. Optional status (draft | active | paused) and availability.
There is no workflow_id. Kupe App POST /api/v1/phone/mapping/workflow has no replacement.
availability.always: true (default) ignores days and hours. days_of_week is 0=Sun … 6=Sat. Kupe App mappings had no hours window — that is new.
List / patch / delete
Kupe-managed Plivo numbers get Answer / Hangup URLs attached on purchase. You do not pass
webhook_url on the deployment.
