sip

Update a SIP trunk

put/api/v1/trunks/{id}

Request

  • Base URL: https://www.callagent.pro
  • URL: https://www.callagent.pro/api/v1/trunks/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Request body

providerstring required

sipgate | sipload | easybell | dusnet | telnyx | voipms | sipstation | custom (use custom for a Fritz!Box / DSL line)

trunk_namestring required

REQUIRED — the trunk's display name. Named trunk_name rather than name because this resource's own name column already means something else internally (a generated Asterisk config identifier, not shown or settable via this API). name is also accepted as an alias for this field on POST/PUT, so either key works.

namestring

Alias for trunk_name — send either, not both. See trunk_name's description.

hoststring
portinteger
usernamestring required
secretstring required
direction'inbound' | 'outbound' | 'both'
inbound_assistant_idinteger nullable
is_defaultboolean

Response

Saved. Returns the whole refreshed connections view.

okboolean

Changes

No recorded changes to this operation across all 1 revision of this API.