API reference
Route blends
Blended routes that spread traffic across several member routes.
BrowseRoute blends
Preview a blended route
POST/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Request body (application/json)
membersrequiredobject[]
memberRouteIdstring (uuid) | null · members[].memberRouteId
memberVendorTrunkIdstring (uuid) | null · members[].memberVendorTrunkId
raterequirednumber · members[].rate
min 0weightPctrequirednumber · members[].weightPct
0 to 100routeTypestring · members[].routeType
One ofdirect,premium,standard,nclicapacityinteger · members[].capacity
min 0maxCpsinteger · members[].maxCps
min 0priorityinteger · members[].priority
1 to 20enabledboolean · members[].enabled
typestring
One ofvoice,smscountryCodestring
numberTypestring
One ofmobile,fixed,both
Response 200
datarequiredobject
blendedRaterequirednumber · data.blendedRate
Weighted rate (display figure)capacityrequirednumber · data.capacity
memberCountrequiredinteger · data.memberCount
membersrequiredobject[] · data.members
coveragerequiredobject | null · data.coverage
coverageSummaryrequiredstring | null · data.coverageSummary
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Propose the cheapest complete blend for a destination
POST/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 20 requests per minute
Request body (application/json)
typestring
default "voice"One ofvoice,smscountryCoderequiredstring
numberTypestring
default "both"One ofmobile,fixed,both
Response 200
datarequiredobject
Proposed members, their coverage and a coverage summary
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
List your blended routes
GET/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Response 200
datarequiredobject[]
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Create a blended route
POST/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 30 requests per minute
Refused when no member is enabled, or when the blend cannot carry the destination it claims unless acknowledgeIncomplete is set.
Request body (application/json)
namerequiredstring
max 255 charstyperequiredstring
One ofvoice,smscountryrequiredstring
max 100 charscountryCoderequiredstring
prefixstring[]
destinationNamestring
max 255 charscliTypestring
One offull_cli,ncli,local_cli,mixed_clibillingIncrementstring
visibilitystring
One ofpublic,privatedialerCompatibleboolean
membersrequiredobject[]
memberRouteIdstring (uuid) | null · members[].memberRouteId
memberVendorTrunkIdstring (uuid) | null · members[].memberVendorTrunkId
raterequirednumber · members[].rate
min 0weightPctrequirednumber · members[].weightPct
0 to 100routeTypestring · members[].routeType
One ofdirect,premium,standard,nclicapacityinteger · members[].capacity
min 0maxCpsinteger · members[].maxCps
min 0priorityinteger · members[].priority
1 to 20enabledboolean · members[].enabled
numberTypestring
One ofmobile,fixed,bothacknowledgeIncompleteboolean
Response 201
datarequiredobject
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Get a blended route
GET/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Parameters
idrequiredpath · string
Response 200
datarequiredobject
idrequiredstring (uuid) · data.id
namerequiredstring · data.name
typerequiredstring · data.type
One ofvoice,smscountryrequiredstring · data.country
countryCoderequiredstring · data.countryCode
visibilityrequiredstring · data.visibility
One ofpublic,privatestatusrequiredstring · data.status
One ofactive,paused,suspended,pending_reviewnumberTyperequiredstring | null · data.numberType
coveragerequiredobject | null · data.coverage
coverageSummaryrequiredstring | null · data.coverageSummary
createdAtrequiredstring (date-time) · data.createdAt
ISO-8601 timestamp (UTC)
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 404
NOT_FOUND: no such resource on your account. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Update a blended route
PATCH/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Parameters
idrequiredpath · string
Request body (application/json)
namestring
max 255 charsvisibilitystring
One ofpublic,privatedialerCompatibleboolean
membersobject[]
memberRouteIdstring (uuid) | null · members[].memberRouteId
memberVendorTrunkIdstring (uuid) | null · members[].memberVendorTrunkId
raterequirednumber · members[].rate
min 0weightPctrequirednumber · members[].weightPct
0 to 100routeTypestring · members[].routeType
One ofdirect,premium,standard,nclicapacityinteger · members[].capacity
min 0maxCpsinteger · members[].maxCps
min 0priorityinteger · members[].priority
1 to 20enabledboolean · members[].enabled
numberTypestring
One ofmobile,fixed,bothacknowledgeIncompleteboolean
Response 200
datarequiredobject
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 404
NOT_FOUND: no such resource on your account. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.
Archive a blended route
DELETE/
- Access
- API key. Full-access keys only; not reachable by scoped keys.
- Rate limit
- 100 requests per second (the default)
Parameters
idrequiredpath · string
Response 200
datarequiredobject
archivedrequiredboolean · data.archived
One oftrue
Errors
- 400
VALIDATION_ERROR,INVALID_INPUTorBAD_REQUEST. ForVALIDATION_ERROR,error.detailsis an array of{ path, message }. - 401
UNAUTHORIZED: missing, invalid, expired or revoked credential. - 403
FORBIDDEN: not allowed - a scoped key lacks the scope, or the endpoint is session-only. - 404
NOT_FOUND: no such resource on your account. - 409
CONFLICT(or a code-specific 409): the change clashes with existing state. - 429
RATE_LIMITED: slow down and retry after theRetry-Afterseconds. - 500
INTERNAL_ERROR: unexpected failure. QuoteX-Request-Idto support.