Logo

Services & Tools

  • Phone Numbers
  • Voice
  • SMS
  • Cloud Phone System
  • Logs & Analytics
  • Identities
  • Billing
  • Account Settings
  • Presence
  • Glossary

Development Tools

  • API Documentation
    • API Keys
    • Environments and Endpoints
    • Rate Limits
    • API Versioning
    • Upgrading API 3 Version
    • PHP SDK
    • Ruby Client
    • Postman Public Workspace
    • Specification
      • Sorting
      • Pagination
      • Filtering
      • Inclusion of Related Resources
      • Headers
      • Assigning of Related Resources
      • Errors
    • Changelog
    • Version (Latest) 2022-05-10
    • Version 2021-12-15
    • Version 2021-04-19
    • Version 2017-09-18
  • Call Events

Integrations

  • Microsoft Teams Direct Routing
  • Amazon Chime SDK
  • Asterisk
  • Twilio
  • Avaya
  • Ribbon
  • Telinta
  • Zapier
  • Pabbly
  • Genesys Cloud CX
  • FreePBX
  • DIDWW Prometheus Exporter
DIDWW
  • API Documentation
  • Specification
  • Inclusion of Related Resources

Inclusion of Related Resources

Side-loading allows you to retrieve related records as part of a single request, and to define which related resources should be returned. Includes are specified with the include parameter. The response will include a top-level object relationships with associated data under the appropriate resource key.

http

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

curl

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

Multiple related resources may be returned by adding several include parameters to a single URL.

http

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

curl

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

Includes may also be applied to relations of included objects.

http

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

curl

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

© Copyright DIDWW Ireland Limited. Last updated on May 06, 2025.