Skip to content
Linq Copy agent prompt

Sip Profiles

SIP configuration

Your Linq representative provides the signaling and media IP ranges and ports to allow through your firewall during onboarding.

Set primary_uri to your endpoint as scheme + host — sips: for TLS or sip: for UDP, with no user part (we add it). Each call arrives at your endpoint as:

sip:<called-number>@<your-host>

so you can route on the dialed number. The caller’s number is in the From header in E.164.

Create a SIP profile
client.SipProfiles.New(ctx, body) (*SipProfile, error)
POST/v3/sip-profiles
List SIP profiles
client.SipProfiles.List(ctx) (*SipProfileListResponse, error)
GET/v3/sip-profiles
Get a SIP profile by ID
client.SipProfiles.Get(ctx, sipProfileID) (*SipProfile, error)
GET/v3/sip-profiles/{sipProfileId}
Update a SIP profile
client.SipProfiles.Update(ctx, sipProfileID, body) (*SipProfile, error)
PUT/v3/sip-profiles/{sipProfileId}
Delete a SIP profile
client.SipProfiles.Delete(ctx, sipProfileID) error
DELETE/v3/sip-profiles/{sipProfileId}
Assign or clear a phone number's SIP profile
client.SipProfiles.Assign(ctx, phoneNumber, body) (*SipProfileAssignResponse, error)
PUT/v3/phone-numbers/{phoneNumber}/sip-profile
ModelsExpand Collapse
type SipProfile struct{…}
ID string

Unique identifier for the SIP profile

AssignedNumberCount int64

How many phone numbers reference this profile

CreatedAt Time
formatdate-time
Name string

Human-readable name

PrimaryUri string

Your SIP endpoint as scheme + host (sip: UDP / sips: TLS); no user part — we set it to the called number on each call.

UpdatedAt Time
formatdate-time
Version int64

Monotonic version, incremented on each update

BackupUri stringOptional

Optional failover SIP URI. Null when unset.