Skip to content

Extend Twilio API mocks with additional endpoints #67

@waldekmastykarz

Description

@waldekmastykarz

Summary

The current Twilio samples (twilio-api-mocks and twilio-resilience-testing) cover 51 endpoints for the most commonly used Twilio operations. This issue tracks expanding coverage to additional Twilio API resources.

Current Coverage (51 mocks)

  • Accounts - CRUD operations
  • Messages - CRUD + Media subresource
  • Calls - CRUD + Recordings subresource
  • IncomingPhoneNumbers - CRUD + Local/TollFree/Mobile
  • AvailablePhoneNumbers - Local/TollFree/Mobile search
  • Conferences - CRUD + Participants
  • Queues - CRUD + Members
  • Recordings - CRUD + Transcriptions

Proposed Additions

High Priority (commonly used)

  • Addresses - CRUD + DependentPhoneNumbers (SID: AD)
  • Applications - CRUD for TwiML apps (SID: AP)
  • Usage Records - List + subresources (Daily, Monthly, Today, Yesterday, ThisMonth, LastMonth)
  • Usage Triggers - CRUD for usage alerts

Medium Priority

  • Transcriptions - CRUD operations
  • Notifications - List notifications
  • Outgoing Caller IDs - CRUD operations
  • Short Codes - List/Update operations
  • Keys - API key management

Lower Priority (specialized use cases)

  • SIP Domains - SIP trunking resources
  • Connect Apps - Twilio Connect
  • Authorized Connect Apps - App authorizations

Out of Scope

These are separate Twilio products with different base URLs (not part of the core 2010-04-01 API):

  • Verify API
  • Lookup API
  • Conversations API
  • Video API
  • Studio API
  • TaskRouter API
  • Flex API
  • Sync API
  • Notify API

Notes

  • Both twilio-api-mocks (success responses) and twilio-resilience-testing (error injection) should be updated together
  • Follow existing mock patterns and SID formats
  • Reference Twilio docs for accurate response schemas

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions