register a sip trunk
register one of your own numbers (India, +91 mobile numbers only for now; at most 10 per account). terminationUri is your carrier’s SIP endpoint for calls placed from the number; authUsername / authPassword are the digest credentials it authenticates with — both are required, and the password is never returned. the number is provisioned on the SIP host inside this request; a refusal leaves nothing behind. then point the carrier at the returned originationUri for inbound calls, and assign an agent.
Authorizations
your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.
Body
Register one of the user's own numbers. India only for now.
your number, an Indian mobile number in E.164 (+91…; spaces and dashes tolerated).
your carrier's SIP endpoint for outbound calls from this number: sip: / sips: scheme, optional user@, port and ;transport= params.
a label; defaults to the number.
the digest username your carrier authenticates with. required.
the digest password. required; never returned.
Response
created.
one of your own numbers registered on the platform.
the trunk's id — fromTrunkId on POST /v1/calls.
the number, E.164.
whether credentials are stored.
active.
the SIP address your carrier must send inbound calls to.
the agent answering the number, or null.
that agent's name.