Skip to main content
Ctrl+K

DIDWW Docs

Support Sign in
  • Services & Tools
  • phone.systems™
  • Integrations
  • MCP
    • API Documentation
    • Call Events
    • OTP Verification
API3 Version:
v2026-11-19 (Latest) v2026-04-16 v2022-05-10 v2021-12-15 v2021-04-19 v2017-09-18
  • Services & Tools
  • phone.systems™
  • Integrations
  • MCP
  • API Documentation
  • Call Events
  • OTP Verification
API3 Version:
v2026-11-19 (Latest) v2026-04-16 v2022-05-10 v2021-12-15 v2021-04-19 v2017-09-18
Support Sign in

Section Navigation

Overview

  • Introduction

Working with the API

  • Getting Started
  • DIDWW API Sandbox
  • API Requests in Postman
  • OpenAPI Reference
  • SDKs and Tools
  • Use Case Examples
    • Buy DID Number(s) that Requires Verification
    • Buy Available DID Number(s)
    • Select, Reserve & Buy Available DID Number(s)
    • Register Emergency Calling Service
    • Update Emergency Calling Service
  • Specification
    • Sorting
    • Pagination
    • Filters
    • Sparse Fieldsets
    • Inclusion of Related Resources
    • Headers
    • Assigning Related Resources
    • Error Objects
  • API Versioning and Deprecation Policy

API Documentation v2026-11-19 (Latest)

  • Overview
  • Authentication
  • Coverage Resources
    • Countries
      • Get Countries
      • Get Country
      • Country Object
    • Regions
      • Get Regions
      • Get Region
      • Regions Object
    • Cities
      • Get Cities
      • Get City
      • City Object
    • NANPA Prefixes
      • Get NANPA Prefixes
      • Get NANPA Prefix
      • NANPA Prefix Object
    • DID Groups
      • Get DID Groups
      • Get DID Group
      • DID Group Object
    • Available DIDs
      • Get Available DIDs
      • Get Available DID
      • Available DID Object
    • DID Reservations
      • Get DID Reservations
      • Get DID Reservation
      • Create DID Reservation
      • Delete DID Reservation
      • DID Reservation Object
  • Inventory Resources
    • Balance
      • Get Balance
      • Balance Object
    • Orders
      • Get Orders
      • Get Order
      • Create Order
      • Update Order
      • Cancel Order
      • Order Object
    • DIDs
      • Get DIDs
      • Get DID
      • Update DID
      • DID Object
    • DID History
      • Get DID Histories
      • Get DID History
      • DID History Object
    • Inbound Trunks
      • Get Inbound Trunks
      • Get Inbound Trunk
      • Create Inbound Trunk
      • Update Inbound Trunk
      • Delete Inbound Trunk
      • Inbound Trunk Object
      • Codecs
      • Rerouting Disconnect Codes
    • Inbound Trunk Groups
      • Get Inbound Trunk Groups
      • Get Inbound Trunk Group
      • Create Inbound Trunk Group
      • Update Inbound Trunk Group
      • Delete Inbound Trunk Group
      • Inbound Trunk Group Object
    • Outbound Trunks
      • Get Outbound Trunks
      • Get Outbound Trunk
      • Create Outbound Trunk
      • Update Outbound Trunk
      • Delete Outbound Trunk
      • Outbound Trunk Regenerate Credentials
      • Outbound Trunk Object
    • SMS Trunks
      • Get SMS Trunks
      • Get SMS Trunk
      • Create SMS Trunk
      • Update SMS Trunk
      • Delete SMS Trunk
      • Regenerate SMS Trunk Credentials
      • SMS Trunk Object
    • SMS Trunk Groups
      • Get SMS Trunk Groups
      • Get SMS Trunk Group
      • Create SMS Trunk Group
      • Update SMS Trunk Group
      • Delete SMS Trunk Group
      • SMS Trunk Group Object
    • Sender ID Verifications
      • Get Sender ID Verifications
      • Get Sender ID Verification
      • Update Sender ID Verification
      • Sender ID Verification Object
    • Capacity Pools
      • Get Capacity Pools
      • Get Capacity Pool
      • Update Capacity Pool
      • Capacity Pool Object
    • Shared Capacity Groups
      • Get Shared Capacity Groups
      • Get Shared Capacity Group
      • Create Shared Capacity Groups
      • Update Shared Capacity Groups
      • Delete Shared Capacity Group
      • Shared Capacity Group Object
  • Regulation Resources
    • Identities
      • Get Identities
      • Get Identity
      • Create Identity
      • Update Identity
      • Delete Identity
      • Identity Object
    • Addresses
      • Get Addresses
      • Get Address
      • Create Addresses
      • Update Addresses
      • Delete Address
      • Addresses Object
    • Address Requirements
      • Get Address Requirements
      • Get Address Requirement
      • Address Requirement Object
      • Address Requirement Validations
    • Address Verifications
      • Get Address Verifications
      • Get Address Verification
      • Create Address Verification
      • Update Address Verification
      • Address Verifications Object
    • Supporting Document Templates
      • Get Supporting Document Templates
      • Get Supporting Document Template
      • Supporting Document Template Object
    • Encrypted Files
      • Get Public Keys
      • Encryption details
      • Get Encrypted Files
      • Get Encrypted File
      • Create Encrypted File
      • Delete Encrypted File
      • Encrypted Files Object
    • Proofs
      • Get Proofs
      • Get Proof
      • Create Proof
      • Update Proof
      • Delete Proof
      • Proofs Object
    • Permanent Supporting Documents
      • Get Permanent Supporting Documents
      • Get Permanent Supporting Document
      • Create Permanent Supporting Document
      • Update Permanent Supporting Document
      • Delete Permanent Supporting Document
      • Permanent Supporting Documents Object
    • Proof Types
      • Get Proof Types
      • Get Proof Type
      • Proof Types Object
    • Areas
      • Get Areas
      • Get Area
      • Area Object
  • Emergency Resources
    • Emergency Requirements
      • Get Emergency Requirements
      • Get Emergency Requirement
      • Emergency Requirement Object
      • Emergency Requirement Validations
    • Emergency Calling Services
      • Get Emergency Calling Services
      • Get Emergency Calling Service
      • Delete Emergency Calling Service
      • Emergency Calling Service Object
    • Emergency Verifications
      • Get Emergency Verifications
      • Get Emergency Verification
      • Create Emergency Verification
      • Update Emergency Verification
      • Emergency Verification Object
  • Export
    • Get Exports
    • Get Export
    • Create Export
    • Update Export
    • Get CSV File of Export
    • Export Object
    • Export Filters Object
  • Prices Resources
    • Inbound Call Prices
      • Look up Inbound Call Prices
      • Get Inbound Call Price File
      • Inbound Call Price Object
    • Outbound Call Prices
      • Look up Outbound Call Prices
      • Get Outbound Call Price File
      • Outbound Call Price Object
    • SMS Prices
      • Look up SMS OUT Prices
      • Get SMS OUT Price File
      • SMS OUT Price Object
      • Look up SMS IN Prices
      • Get SMS IN Price File
      • SMS IN Price Object
  • Common Definitions
  • Callback Details
  • Changelog

Inclusion of Related Resources#

The include parameter allows you to retrieve related resources in a single request. This is also known as side-loading and reduces the need for multiple API calls by returning related objects alongside the primary resource.

Included resources are returned in the top-level included array. The relationships object of each resource links to them by type and id.

Note

Using include reduces the number of requests needed to fetch related data and improves performance when working with linked resources.



Include a single related resource#

You can include a single related resource by specifying it in the include parameter.

In this example, each DID record includes its associated voice_in_trunk resource. This allows you to retrieve additional details about related resources without sending a separate request:

http

1GET /v3/dids?include=voice_in_trunk HTTP/1.1
2Host: api.didww.com
3Accept: application/vnd.api+json

curl

1curl -i -X GET 'https://api.didww.com/v3/dids?include=voice_in_trunk' -H "Accept: application/vnd.api+json"


Include multiple related resources#

You can include multiple related resources by separating them with commas.

In this example, the request includes the DID’s voice_in_trunk and voice_in_trunk_group resources in a single request.

http

1GET /v3/dids?include=voice_in_trunk%2Cvoice_in_trunk_group HTTP/1.1
2Host: api.didww.com
3Accept: application/vnd.api+json

curl

1curl -i -X GET 'https://api.didww.com/v3/dids?include=voice_in_trunk%2Cvoice_in_trunk_group' -H "Accept: application/vnd.api+json"


Include nested related resources#

You can also include relationships of already-included objects.

In this example, the request includes voice_in_trunk and its related voice_in_trunk_group:

http

1GET /v3/dids?include=voice_in_trunk.voice_in_trunk_group HTTP/1.1
2Host: api.didww.com
3Accept: application/vnd.api+json

curl

1curl -i -X GET 'https://api.didww.com/v3/dids?include=voice_in_trunk.voice_in_trunk_group' -H "Accept: application/vnd.api+json"

previous

Sparse Fieldsets

next

Headers

On this page
  • Include a single related resource
  • Include multiple related resources
  • Include nested related resources

Last updated on Dec 04, 2026.