API Versioning and Deprecation Policy#

The DIDWW API v3 uses versioning to ensure backward compatibility while enabling new features and enhancements. Versioning is based on the date of your first API v3 request authenticated with an API key.

  • Each customer is assigned a fixed API version when they first send an API request with an API key in the Api-Key header. Minting access tokens and requests with access tokens do not assign a version.

  • The assigned version will not change automatically. You are responsible for upgrading via the DIDWW User Panel when ready.

  • New versions may introduce changes to existing behavior or add new parameters and resources.

The /v3 URL path identifies the major API version. Dated versions, such as 2026-11-19, identify the API behavior selected by your account’s default version, by the api_version of the access token (version 2026-11-19), or by the X-DIDWW-API-Version request header (API-key requests, versions up to 2026-04-16). A dated version is a release identifier, not a deprecation or retirement date.

This page applies to DIDWW REST API v3. It does not define versioning or retirement rules for the separate OTP Verification API.

You can view your current API version in the response metadata field: meta.api_version.

To review or change your current version, visit the API page in the User Panel.

Version Support Policy#

All released dated DIDWW API v3 versions remain available and maintained after newer versions are introduced. Released versions are not removed or retired, and their existing API behavior and contract remain unchanged. New features and changes, including breaking changes, are introduced in new dated versions rather than changing a previously released version.

An existing integration does not need to upgrade simply because a newer version is released. Your account’s default version does not change automatically. You can continue using that version and test a newer version before deciding whether to upgrade the default: with X-DIDWW-API-Version for versions up to 2026-04-16, or with an access token minted for 2026-11-19.

Accounts without a configured default version, including new accounts, use version 2026-11-19, the latest version. Their API keys are accepted only by POST /token and the export file download; API requests need an access token.

An account that uses only access tokens is not assigned a default version by its requests. A token minted for such an account without api_version carries the current default version of the platform, which can change when a newer version is released. Set api_version explicitly when minting tokens.

Version availability and account version selection are separate: the version-selection restrictions below still apply when using the request header, using an access token, or changing your account’s default version.



Upgrading Your API Version#

How you select a version for a request depends on the credential the request uses.

Version 2026-11-19: access token#

Version 2026-11-19 accepts only bearer access tokens. The version of a request is the api_version of its access token, which you request when you mint the token. The X-DIDWW-API-Version header does not select the version of a bearer request. For details, see Authentication for API v2026-11-19.

To test version 2026-11-19 without changing the default version of your account, mint a token with "api_version": "2026-11-19" and send it with your requests:

http

 1POST /token HTTP/1.1
 2Host: auth.didww.com
 3Content-Type: application/json
 4Api-Key: [API key]
 5
 6{
 7  "aud": "api.didww.com",
 8  "scope": "read",
 9  "api_version": "2026-11-19"
10}

curl

1curl -i -X POST https://auth.didww.com/token -H "Api-Key: [API key]" -H "Content-Type: application/json" --data-raw '{"api_version": "2026-11-19", "aud": "api.didww.com", "scope": "read"}'

response

 1HTTP/1.1 200 OK
 2Content-Type: application/json
 3Cache-Control: no-store
 4Pragma: no-cache
 5
 6{
 7  "access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOi...",
 8  "token_type": "Bearer",
 9  "expires_in": 900,
10  "aud": [
11    "api.didww.com"
12  ],
13  "scope": "read",
14  "api_version": "2026-11-19"
15}

The following read-only request uses that token:

http

1GET /v3/voice_in_trunk_groups HTTP/1.1
2Host: api.didww.com
3Accept: application/vnd.api+json
4Content-Type: application/vnd.api+json
5Authorization: Bearer [access token]

curl

1curl -i -X GET https://api.didww.com/v3/voice_in_trunk_groups -H "Accept: application/vnd.api+json" -H "Content-Type: application/vnd.api+json" -H "Authorization: Bearer [access token]"

response

 1HTTP/1.1 200 OK
 2Content-Type: application/vnd.api+json
 3
 4{
 5  "data": [
 6    {
 7      "id": "1d5c8f3e-6a2b-4e97-b0c4-7f81a9d2e356",
 8      "type": "voice_in_trunk_groups",
 9      "attributes": {
10        "created_at": "2023-09-01T08:06:37.162Z",
11        "external_reference_id": null,
12        "name": "TG test",
13        "capacity_limit": null
14      },
15      "relationships": {
16        "voice_in_trunks": {
17          "links": {
18            "self": "https://api.didww.com/v3/voice_in_trunk_groups/1d5c8f3e-6a2b-4e97-b0c4-7f81a9d2e356/relationships/voice_in_trunks",
19            "related": "https://api.didww.com/v3/voice_in_trunk_groups/1d5c8f3e-6a2b-4e97-b0c4-7f81a9d2e356/voice_in_trunks"
20          }
21        }
22      },
23      "meta": {
24        "trunks_count": 2
25      }
26    }
27  ],
28  "meta": {
29    "total_records": 1,
30    "api_version": "2026-11-19"
31  },
32  "links": {
33    "first": "https://api.didww.com/v3/voice_in_trunk_groups?page%5Bnumber%5D=1&page%5Bsize%5D=50",
34    "last": "https://api.didww.com/v3/voice_in_trunk_groups?page%5Bnumber%5D=1&page%5Bsize%5D=50"
35  }
36}

An access token is never served a version older than 2026-11-19 or older than the default version of your account. If api_version is omitted when minting, the token carries the default version of your account, or the current default version of the platform when your account has none.

Versions up to 2026-04-16: API key#

Requests authenticated with an API key in the Api-Key header can select a version up to 2026-04-16 with the X-DIDWW-API-Version header. This header overrides the default version for the current request only. An API-key request whose version resolves to 2026-11-19, through the header or the default version of the account, is refused with 401 Unauthorized.

X-DIDWW-API-Version: 2026-04-16

You can manage your default API version in the DIDWW User Panel.

Important

  • If the X-DIDWW-API-Version header or the api_version of an access token specifies a version older than your currently assigned version, it will be ignored.

  • After the default version of your account is 2026-11-19 or later, API requests must be authenticated with access tokens: API keys are accepted only by the token service and the export file download.

  • Downgrading your API version is not supported.

  • The meta.api_version field in the response reflects the version used for that request.

Upgrade Checklist#

  1. Record the default version shown in the User Panel and the meta.api_version returned by your existing integration.

  2. Review the documentation and changelogs for the target version and any intervening versions. Check changed endpoint paths, resource types, relationships, attributes, filters, and error handling.

  3. Test the target version in the DIDWW API Sandbox using a separate Sandbox account and API key. Set the version explicitly (the version header for versions up to 2026-04-16, the token’s api_version for 2026-11-19) and confirm meta.api_version in responses. Do not assume the Sandbox account has the same default version as production.

  4. Update and test request payloads, response parsing, and application workflows before changing the production default. A successful read-only request does not validate every write operation or callback.

  5. Change the default version in the User Panel only after completing these checks. Verify the effective version and integration behavior afterward.

Warning

Changing the default version is not reversible through a downgrade. After upgrading, sending an older version header or minting a token for an older version does not restore the previous API behavior. Plan and test the migration before upgrading.



Deprecation and Sunset#

Deprecation identifies an API version, endpoint, or field that clients should migrate away from. Deprecation alone does not establish when that functionality will stop working. Sunset identifies a scheduled end of availability. These are separate lifecycle events.

For version-specific changes, use the documentation and changelogs below. For example, version 2021-04-19 removed the DID pending_removal attribute and replaced it with billing_cycles_count. Integrations upgrading to that version or later must use the replacement. This change does not, by itself, announce the retirement of an entire older API version.

The OpenAPI Reference for version 2026-11-19 also identifies deprecated fields with deprecated: true. In did_order_items attributes, setup_price and monthly_price are deprecated aliases of nrc and mrc respectively, retained for backward compatibility in that version. Prefer nrc and mrc when implementing against version 2026-11-19. A deprecated schema property does not provide a removal date.

Retirement Timelines#

DIDWW does not sunset released dated API v3 versions. There is no version-retirement deadline or retirement notice period under this policy: earlier versions remain available when a newer version is introduced.

Deprecating or replacing a field in a newer version does not change or remove that field from an earlier released version where it was supported. Use the documentation and changelog for the version your request actually uses. Publishing a newer version or omitting older versions from the machine-readable documentation indexes is not a retirement notice.

For questions about a version-specific replacement or migration, contact DIDWW Customer Support.

HTTP Lifecycle Headers#

The HTTP standards define a Deprecation response header for signaling deprecation and a Sunset response header for signaling an expected end of availability. These are response headers, not version-selection request headers.

The version-support policy is documented on this page, this explanation does not claim that DIDWW API responses emit these headers. Do not infer a retirement date from a version identifier, a deprecated schema property, or the absence of a lifecycle header.