About
Below is a log of changes to the CCCAMBOX TV Reseller API. Updates that affect only products or features in beta or limited release may not be reflected. Each change can be described as either a breaking change or an ongoing change.- Breaking changes = new API version: When any backwards-incompatible changes are made, a new version of the API is released. These changes are marked in the changelog with the π₯ symbol. Users have control over when they upgrade their API version to receive breaking changes. Learn how to try out and upgrade to newer API versions.
- Ongoing changes: Ongoing changes are backwards-compatible and are added on a continuous basis. There is no need to update the API version to receive these updates.
Key
π± New featureπ Improvement
π§ Fix
π₯ Breaking change
β οΈ Deprecated
π Security-related
API filters, docs, and reliability improvements
Account Information
- π± New feature: Added
GET /v1/meto return the authenticated accountβscredits,lines_count, andserver_information. - β οΈ Deprecated:
GET /v1/creditsin favor ofGET /v1/me.
Packages
- π± New feature: Added
GET /v1/packagesto list available premium and trial packages, includingcredits_cost,extra_connection_credits_cost, andmin_balancevalues. - π Improvement:
GET /v1/packagessupports an optionaltypefilter withall,premium, andtrialvalues.
Line Listing Filters
- π± New feature: Added a new
status=expiringfilter toGET /v1/lines/allto return enabled lines expiring within the next 7 days. - π± New feature: Added the
searchquery parameter toGET /v1/lines/allto search lines by partial username, line ID, or label. - π± New feature: Added
orderBy=labelsupport toGET /v1/lines/allso line listings can be sorted by the exposed label field. - π Improvement: The line listing documentation now reflects ISO 8601 datetime output examples more accurately.
- π± New feature: Added pagination metadata to
GET /v1/lines/all, includingoffset,limit,hasNextPage,hasPreviousPage,nextOffset, andpreviousOffset. - π Improvement: Line ordering is now stabilized with a secondary
idsort to make paginated results more consistent when multiple rows share the same primary sort value. - π₯ Breaking Change:
GET /v1/lines/allnow returns a summary line shape and no longer includesmacaddressorparental_codein each list item. To retrieve those fields, query a specific line withGET /v1/lines. - π± New feature:
GET /v1/linesnow returns the lineβsbouquetsin addition to the existing detailed line fields.
Line Cost Simulation
- π± New feature: Added
POST /v1/lines/simulateto return the credit cost of creating a regular line without persisting it. - π± New feature: Added
POST /v1/lines/simulate/trialto return the credit cost of creating a trial line without persisting it.
Documentation and OpenAPI
- π± New feature: Added Swagger UI endpoints for the public OpenAPI document at
/doc/ui.
Rate Limiting
- π Improvement: API key rate limits are now 100 requests/minute for
GETrequests and 20 requests/minute forPOST,PUT, andDELETErequests. - π Improvement: Account-based rate limits are now 300 requests/minute for
GETrequests and 60 requests/minute forPOST,PUT, andDELETErequests. - π Improvement: Failed authentication attempts are limited to 10 requests/minute.
- π Improvement: Rate limiting is now enforced at both the API key and authenticated account level, with the effective response headers reflecting the most restrictive active limit.
- π Improvement: Responses now include standard rate limit headers:
RateLimit-Policy,RateLimit-Limit,RateLimit-Remaining, andRateLimit-Reset. - π Improvement:
429 Too Many Requestsresponses now include aRetry-Afterheader to indicate when requests can be retried.
Authentication and Error Handling
- π Security-related: Authentication failures caused by invalid, disabled, banned, or missing credentials now resolve more consistently to
401 Not Authorizedresponses. - π§ Fix: Error reporting is more defensive for unauthenticated or malformed requests and avoids crashing when request bodies or members are unavailable.
- π§ Fix:
400 Bad Requestvalidation failures now return more consistent structured error details, making invalid request payloads easier to diagnose.
Line identifier and MAC address updates
Update Line ID Type
- π₯ Breaking Change: Due to a database migration, all line IDs are now strings instead of numbers. This change ensures better compatibility and future-proofing of the API.
Update/Delete Line Using MAC Address
- π₯ Breaking Change: The endpoint for updating a line using the MAC Address has been modified. You must now use the key new_macaddress instead of macaddress.
- π± New feature: Added the ability to update or delete a line using only the MAC Address.
Adding Hostname Value to Get Lines Path
- π± New feature: Added the hostname key to the Get Lines output.