Skip to navigation

Set a SIP trunk's CPS

View as Markdown

Sets the calls-per-second rate for one of your imported SIP trunks. The rate applies to every number on that trunk and takes effect within about a second, including for calls already queued. Admin role required.

Set it to what your carrier actually allows: too high and the carrier rejects calls, too low and campaigns run slower than they need to. See the Calls per second guide.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Request

This endpoint expects an object.
terminationUrlstringRequired

The trunk's address as shown on the Concurrency page. Normalized the same way as at import, so sip: prefixes and URI parameters are ignored; a different port is a different trunk.

cpsLimitintegerRequired1-50
Calls per second for every number on the trunk. Whole number from 1 to 50.

Response

Rate applied
statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error