Create an inbound SIP trunk
Creates an inbound trunk: the resource that receives calls from your carrier. Requires an admin-role key. An inbound trunk needs at least one phone number or one allowed peer address; the trunk gets its own credentials, media-encryption policy, Krisp toggle, and ringing timeout.
Phone numbers are unique across the platform: a number already answering
elsewhere returns 409 (“Already in use and cannot be added to this trunk: …”).
Wildcard peer addresses (0.0.0.0, ::, *, any /0) are refused, since the
allow-list is the security boundary.
Authentication
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Request
E.164 numbers (with leading +) this trunk answers. Deduplicated.
Restrict accepted caller numbers to this list (optional). If set, the trunk is dedicated even without numbers.
Defaults to allow.
Noise cancellation for callers arriving on this trunk. Defaults to true.