Skip to main content
POST
register a sip trunk

Authorizations

Authorization
string
header
required

your rumik api key, e.g. rk_live_.... create one in the rumik dashboard.

Body

application/json

Register one of the user's own numbers. India only for now.

phoneNumber
string
required

your number, an Indian mobile number in E.164 (+91…; spaces and dashes tolerated).

terminationUri
string
required

your carrier's SIP endpoint for outbound calls from this number: sip: / sips: scheme, optional user@, port and ;transport= params.

displayName
string | null

a label; defaults to the number.

authUsername
string | null

the digest username your carrier authenticates with. required.

authPassword
string | null

the digest password. required; never returned.

Response

created.

one of your own numbers registered on the platform.

id
string<uuid>
required

the trunk's id — fromTrunkId on POST /v1/calls.

phoneNumber
string
required

the number, E.164.

displayName
string
required
terminationUri
string
required
hasAuth
boolean
required

whether credentials are stored.

status
string
required

active.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
authUsername
string | null
originationUri
string | null

the SIP address your carrier must send inbound calls to.

assignedAgentId
string<uuid> | null

the agent answering the number, or null.

assignedAgentName
string | null

that agent's name.