sdkagent

twilio-python API reference

400 public APIs from twilio-python (twilio/twilio-python) — 196 classes, 4 functions, 200 methods. Signatures extracted by static analysis of the actual source.

Repository: twilio/twilio-python

KindCount
Classes196
Functions4
Methods200

API list

classtwilio.base.api_response.ApiResponse
Wrapper for API responses that includes HTTP metadata.
classtwilio.base.client_base.ClientBase
A client for accessing the Twilio API.
functwilio.base.deserialize.decimal(d:Optional[str]) -> Union[Decimal, str]
Parses a decimal string into a Decimal :param d: decimal string
functwilio.base.deserialize.integer(i:str) -> Union[int, str]
Parses an integer string into an int :param i: integer string :return: int
classtwilio.base.domain.Domain
This represents at Twilio API subdomain.
methodtwilio.base.domain.Domain.absolute_url(uri:str) -> str
Converts a relative `uri` to an absolute url.
classtwilio.base.obsolete.ObsoleteException
Base class for warnings about obsolete features.
classtwilio.base.page.Page
Represents a page of records in a collection.
methodtwilio.base.page.Page.next()
Returns the next record in the `Page`.
methodtwilio.base.page.Page.next_page() -> Optional['Page']
Return the `Page` after this one.
methodtwilio.base.page.Page.next_page_async() -> Optional['Page']
Asynchronously return the `Page` after this one.
methodtwilio.base.page.Page.previous_page() -> Optional['Page']
Return the `Page` before this one.
methodtwilio.base.page.Page.previous_page_async() -> Optional['Page']
Asynchronously return the `Page` before this one.
methodtwilio.base.page.Page.process_response(response:Response) -> Any
Load a JSON response.
functwilio.base.serialize.object(obj)
Return a jsonified string represenation of obj if obj is jsonifiable else return obj untouched
functwilio.base.values.of(d:Dict[str, object]) -> Dict[str, object]
Remove unset values from a dict.
classtwilio.base.version.Version
Represents an API version.
methodtwilio.base.version.Version.absolute_url(uri:str) -> str
Turns a relative uri into an absolute url.
methodtwilio.base.version.Version.relative_uri(uri:str) -> str
Turns a relative uri into a versioned relative uri.
classtwilio.http.AsyncHttpClient
An abstract class representing an asynchronous HTTP client.
methodtwilio.http.HttpClient.log_request(kwargs:Dict[str, Any]) -> None
Logs the HTTP request
methodtwilio.http.HttpClient.log_response(status_code:int, response:Response) -> None
Logs the HTTP response
classtwilio.http.client_token_manager.ClientTokenManager
Client Token Manager
classtwilio.http.orgs_token_manager.OrgTokenManager
Orgs Token Manager
classtwilio.http.request.Request
An HTTP request.
classtwilio.jwt.Jwt
Base class for building a Json Web Token
methodtwilio.jwt.access_token.AccessToken.add_grant(grant)
Add a grant to this AccessToken
classtwilio.jwt.access_token.AccessTokenGrant
A Grant giving access to a Twilio Resource
methodtwilio.jwt.access_token.AccessTokenGrant.to_payload()
:return: dict something
classtwilio.jwt.access_token.grants.ChatGrant
Grant to access Twilio Chat
classtwilio.jwt.access_token.grants.PlaybackGrant
Grant to access Twilio Live stream
methodtwilio.jwt.access_token.grants.PlaybackGrant.key()
Return the grant's key.
methodtwilio.jwt.access_token.grants.PlaybackGrant.to_payload()
Return the grant.
classtwilio.jwt.access_token.grants.SyncGrant
Grant to access Twilio Sync
classtwilio.jwt.access_token.grants.TaskRouterGrant
Grant to access Twilio TaskRouter
classtwilio.jwt.access_token.grants.VideoGrant
Grant to access Twilio Video
classtwilio.jwt.access_token.grants.VoiceGrant
Grant to access Twilio Programmable Voice
classtwilio.jwt.client.ClientCapabilityToken
A token to control permissions with Twilio Client
classtwilio.rest.Client
A client for accessing the Twilio API.
methodtwilio.rest.Client.api() -> 'Api'
Access the Api Twilio Domain :returns: Api Twilio Domain
methodtwilio.rest.Client.chat() -> 'Chat'
Access the Chat Twilio Domain :returns: Chat Twilio Domain
methodtwilio.rest.Client.iam() -> 'Iam'
Access the Iam Twilio Domain :returns: Iam Twilio Domain
methodtwilio.rest.Client.oauth() -> 'Oauth'
Access the Oauth Twilio Domain :returns: Oauth Twilio Domain
methodtwilio.rest.Client.proxy() -> 'Proxy'
Access the Proxy Twilio Domain :returns: Proxy Twilio Domain
methodtwilio.rest.Client.sync() -> 'Sync'
Access the Sync Twilio Domain :returns: Sync Twilio Domain
methodtwilio.rest.Client.video() -> 'Video'
Access the Video Twilio Domain :returns: Video Twilio Domain
methodtwilio.rest.Client.voice() -> 'Voice'
Access the Voice Twilio Domain :returns: Voice Twilio Domain
methodtwilio.rest.api.v2010.account.call.CallContext.events() -> EventList
Access the events
methodtwilio.rest.api.v2010.account.call.CallContext.notifications() -> NotificationList
Access the notifications
methodtwilio.rest.api.v2010.account.call.CallContext.payments() -> PaymentList
Access the payments
methodtwilio.rest.api.v2010.account.call.CallContext.recordings() -> RecordingList
Access the recordings
methodtwilio.rest.api.v2010.account.call.CallContext.siprec() -> SiprecList
Access the siprec
methodtwilio.rest.api.v2010.account.call.CallContext.streams() -> StreamList
Access the streams
methodtwilio.rest.api.v2010.account.call.CallContext.transcriptions() -> TranscriptionList
Access the transcriptions
methodtwilio.rest.api.v2010.account.call.CallContext.user_defined_messages() -> UserDefinedMessageList
Access the user_defined_messages
methodtwilio.rest.api.v2010.account.call.CallInstance.events() -> EventList
Access the events
methodtwilio.rest.api.v2010.account.call.CallInstance.notifications() -> NotificationList
Access the notifications
methodtwilio.rest.api.v2010.account.call.CallInstance.payments() -> PaymentList
Access the payments
methodtwilio.rest.api.v2010.account.call.CallInstance.recordings() -> RecordingList
Access the recordings
methodtwilio.rest.api.v2010.account.call.CallInstance.siprec() -> SiprecList
Access the siprec
methodtwilio.rest.api.v2010.account.call.CallInstance.streams() -> StreamList
Access the streams
methodtwilio.rest.api.v2010.account.call.CallInstance.transcriptions() -> TranscriptionList
Access the transcriptions
methodtwilio.rest.api.v2010.account.call.CallInstance.user_defined_messages() -> UserDefinedMessageList
Access the user_defined_messages
methodtwilio.rest.api.v2010.account.message.MessageInstance.feedback() -> FeedbackList
Access the feedback
methodtwilio.rest.api.v2010.account.message.MessageInstance.media() -> MediaList
Access the media
methodtwilio.rest.api.v2010.account.recording.add_on_result.payload.data.DataList.get() -> DataContext
Constructs a DataContext
methodtwilio.rest.api.v2010.account.usage.UsageList.records() -> RecordList
Access the records
methodtwilio.rest.api.v2010.account.usage.UsageList.triggers() -> TriggerList
Access the triggers
classtwilio.rest.assistants.v1.assistant.feedback.FeedbackInstance.AssistantsV1ServiceCreateFeedbackRequest
:ivar message_id: The message ID.
classtwilio.rest.assistants.v1.assistant.feedback.FeedbackList.AssistantsV1ServiceCreateFeedbackRequest
:ivar message_id: The message ID.
classtwilio.rest.assistants.v1.knowledge.KnowledgeContext.AssistantsV1ServiceCreateKnowledgeRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.knowledge.KnowledgeInstance.AssistantsV1ServiceCreateKnowledgeRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.knowledge.KnowledgeList.AssistantsV1ServiceCreateKnowledgeRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.policy.PolicyInstance
:ivar id: The Policy ID.
classtwilio.rest.assistants.v1.session.SessionInstance
:ivar id: The Session ID.
methodtwilio.rest.assistants.v1.session.SessionInstance.messages() -> MessageList
Access the messages
classtwilio.rest.assistants.v1.session.message.MessageInstance
:ivar id: The message ID.
classtwilio.rest.assistants.v1.tool.ToolContext.AssistantsV1ServiceCreateToolRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.tool.ToolContext.AssistantsV1ServiceUpdateToolRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.tool.ToolInstance.AssistantsV1ServiceCreateToolRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.tool.ToolInstance.AssistantsV1ServiceUpdateToolRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.tool.ToolList.AssistantsV1ServiceCreateToolRequest
:ivar assistant_id: The Assistant ID.
classtwilio.rest.assistants.v1.tool.ToolList.AssistantsV1ServiceUpdateToolRequest
:ivar assistant_id: The Assistant ID.
methodtwilio.rest.chat.v1.service.ServiceContext.channels() -> ChannelList
Access the channels
methodtwilio.rest.chat.v1.service.ServiceContext.roles() -> RoleList
Access the roles
methodtwilio.rest.chat.v1.service.ServiceContext.users() -> UserList
Access the users
methodtwilio.rest.chat.v1.service.ServiceInstance.channels() -> ChannelList
Access the channels
methodtwilio.rest.chat.v1.service.ServiceInstance.roles() -> RoleList
Access the roles
methodtwilio.rest.chat.v1.service.ServiceInstance.users() -> UserList
Access the users
methodtwilio.rest.chat.v1.service.user.UserContext.user_channels() -> UserChannelList
Access the user_channels
methodtwilio.rest.chat.v1.service.user.UserList.list(limit:Optional[int]=None, page_size:Optional[int]=None) -> List[UserInstance]
Lists UserInstance records from the API as a list.
methodtwilio.rest.chat.v2.service.ServiceContext.bindings() -> BindingList
Access the bindings
methodtwilio.rest.chat.v2.service.ServiceContext.channels() -> ChannelList
Access the channels
methodtwilio.rest.chat.v2.service.ServiceContext.roles() -> RoleList
Access the roles
methodtwilio.rest.chat.v2.service.ServiceContext.users() -> UserList
Access the users
methodtwilio.rest.chat.v2.service.ServiceInstance.bindings() -> BindingList
Access the bindings
methodtwilio.rest.chat.v2.service.ServiceInstance.channels() -> ChannelList
Access the channels
methodtwilio.rest.chat.v2.service.ServiceInstance.roles() -> RoleList
Access the roles
methodtwilio.rest.chat.v2.service.ServiceInstance.users() -> UserList
Access the users
methodtwilio.rest.chat.v2.service.user.UserContext.user_bindings() -> UserBindingList
Access the user_bindings
methodtwilio.rest.chat.v2.service.user.UserContext.user_channels() -> UserChannelList
Access the user_channels
methodtwilio.rest.chat.v2.service.user.UserList.list(limit:Optional[int]=None, page_size:Optional[int]=None) -> List[UserInstance]
Lists UserInstance records from the API as a list.
classtwilio.rest.content.v1.content.ContentContext.AuthenticationAction
:ivar type: :ivar copy_code_text:
classtwilio.rest.content.v1.content.ContentContext.FlowsPageComponent
:ivar label: :ivar type:
classtwilio.rest.content.v1.content.ContentContext.ListItem
:ivar id: :ivar item: :ivar description:
classtwilio.rest.content.v1.content.ContentContext.QuickReplyAction
:ivar type: :ivar title: :ivar id:
classtwilio.rest.content.v1.content.ContentContext.TwilioCallToAction
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentContext.TwilioCarousel
:ivar body: :ivar cards:
classtwilio.rest.content.v1.content.ContentContext.TwilioListPicker
:ivar body: :ivar button: :ivar items:
classtwilio.rest.content.v1.content.ContentContext.TwilioMedia
:ivar body: :ivar media:
classtwilio.rest.content.v1.content.ContentContext.TwilioQuickReply
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentContext.TwilioSchedule
:ivar id: :ivar title: :ivar time_slots:
classtwilio.rest.content.v1.content.ContentContext.TwilioText
:ivar body:
classtwilio.rest.content.v1.content.ContentInstance.AuthenticationAction
:ivar type: :ivar copy_code_text:
classtwilio.rest.content.v1.content.ContentInstance.FlowsPageComponent
:ivar label: :ivar type:
classtwilio.rest.content.v1.content.ContentInstance.ListItem
:ivar id: :ivar item: :ivar description:
classtwilio.rest.content.v1.content.ContentInstance.QuickReplyAction
:ivar type: :ivar title: :ivar id:
classtwilio.rest.content.v1.content.ContentInstance.TwilioCallToAction
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentInstance.TwilioCarousel
:ivar body: :ivar cards:
classtwilio.rest.content.v1.content.ContentInstance.TwilioListPicker
:ivar body: :ivar button: :ivar items:
classtwilio.rest.content.v1.content.ContentInstance.TwilioMedia
:ivar body: :ivar media:
classtwilio.rest.content.v1.content.ContentInstance.TwilioQuickReply
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentInstance.TwilioSchedule
:ivar id: :ivar title: :ivar time_slots:
classtwilio.rest.content.v1.content.ContentInstance.TwilioText
:ivar body:
classtwilio.rest.content.v1.content.ContentList.AuthenticationAction
:ivar type: :ivar copy_code_text:
classtwilio.rest.content.v1.content.ContentList.CarouselCard
:ivar title: :ivar body: :ivar media: :ivar actions:
classtwilio.rest.content.v1.content.ContentList.FlowsPageComponent
:ivar label: :ivar type:
classtwilio.rest.content.v1.content.ContentList.ListItem
:ivar id: :ivar item: :ivar description:
classtwilio.rest.content.v1.content.ContentList.QuickReplyAction
:ivar type: :ivar title: :ivar id:
classtwilio.rest.content.v1.content.ContentList.TwilioCallToAction
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentList.TwilioCarousel
:ivar body: :ivar cards:
classtwilio.rest.content.v1.content.ContentList.TwilioListPicker
:ivar body: :ivar button: :ivar items:
classtwilio.rest.content.v1.content.ContentList.TwilioMedia
:ivar body: :ivar media:
classtwilio.rest.content.v1.content.ContentList.TwilioQuickReply
:ivar body: :ivar actions:
classtwilio.rest.content.v1.content.ContentList.TwilioSchedule
:ivar id: :ivar title: :ivar time_slots:
classtwilio.rest.content.v1.content.ContentList.TwilioText
:ivar body:
classtwilio.rest.content.v1.content.approval_create.ApprovalCreateInstance.ContentApprovalRequest
:ivar name: Name of the template.
classtwilio.rest.content.v1.content.approval_create.ApprovalCreateList.ContentApprovalRequest
:ivar name: Name of the template.
methodtwilio.rest.conversations.v1.conversation.ConversationInstance.messages() -> MessageList
Access the messages
methodtwilio.rest.conversations.v1.conversation.ConversationInstance.participants() -> ParticipantList
Access the participants
methodtwilio.rest.conversations.v1.conversation.ConversationInstance.webhooks() -> WebhookList
Access the webhooks
methodtwilio.rest.conversations.v1.conversation.message.MessageInstance.delivery_receipts() -> DeliveryReceiptList
Access the delivery_receipts
methodtwilio.rest.conversations.v1.service.ServiceContext.bindings() -> BindingList
Access the bindings
methodtwilio.rest.conversations.v1.service.ServiceContext.configuration() -> ConfigurationList
Access the configuration
methodtwilio.rest.conversations.v1.service.ServiceContext.conversations() -> ConversationList
Access the conversations
methodtwilio.rest.conversations.v1.service.ServiceContext.participant_conversations() -> ParticipantConversationList
Access the participant_conversations
methodtwilio.rest.conversations.v1.service.ServiceContext.roles() -> RoleList
Access the roles
methodtwilio.rest.conversations.v1.service.ServiceContext.users() -> UserList
Access the users
methodtwilio.rest.conversations.v1.service.ServiceInstance.bindings() -> BindingList
Access the bindings
methodtwilio.rest.conversations.v1.service.ServiceInstance.configuration() -> ConfigurationList
Access the configuration
methodtwilio.rest.conversations.v1.service.ServiceInstance.conversations() -> ConversationList
Access the conversations
methodtwilio.rest.conversations.v1.service.ServiceInstance.participant_conversations() -> ParticipantConversationList
Access the participant_conversations
methodtwilio.rest.conversations.v1.service.ServiceInstance.roles() -> RoleList
Access the roles
methodtwilio.rest.conversations.v1.service.ServiceInstance.users() -> UserList
Access the users
methodtwilio.rest.conversations.v1.service.conversation.ConversationInstance.messages() -> MessageList
Access the messages
methodtwilio.rest.conversations.v1.service.conversation.ConversationInstance.participants() -> ParticipantList
Access the participants
methodtwilio.rest.conversations.v1.service.conversation.ConversationInstance.webhooks() -> WebhookList
Access the webhooks
methodtwilio.rest.conversations.v1.service.conversation.message.MessageInstance.delivery_receipts() -> DeliveryReceiptList
Access the delivery_receipts
methodtwilio.rest.conversations.v1.service.user.UserContext.user_conversations() -> UserConversationList
Access the user_conversations
methodtwilio.rest.conversations.v1.user.UserContext.user_conversations() -> UserConversationList
Access the user_conversations
methodtwilio.rest.conversations.v1.user.UserList.list(limit:Optional[int]=None, page_size:Optional[int]=None) -> List[UserInstance]
Lists UserInstance records from the API as a list.
classtwilio.rest.conversations.v2.action.ActionInstance
:ivar id: Unique identifier for this Action.
classtwilio.rest.conversations.v2.action.ActionList.ConversationsV2SendMessageContent
:ivar text: Plain text message body.
classtwilio.rest.conversations.v2.action.ActionList.CreateConversationActionRequest
:ivar type: Action type discriminator.
classtwilio.rest.conversations.v2.communication.CommunicationInstance
:ivar id: Communication ID.
classtwilio.rest.conversations.v2.configuration.ConfigurationInstance
:ivar id: Configuration ID.
classtwilio.rest.conversations.v2.configuration.ConfigurationList.ConversationsV2CaptureRule
:ivar _from: The from address.
classtwilio.rest.conversations.v2.configuration.ConfigurationList.UpdateConfigurationRequestChannelSettingsValueStatusTimeouts
:ivar inactive: :ivar closed:
classtwilio.rest.conversations.v2.configuration.ConfigurationList.UpdateConfigurationRequestStatusCallbacks
:ivar url: :ivar method:
classtwilio.rest.conversations.v2.conversation.ConversationInstance
:ivar id: Conversation ID.
classtwilio.rest.conversations.v2.conversation.ConversationList.PatchConversationByIdRequest
:ivar name: The name of the Conversation.
methodtwilio.rest.conversations.v2.operation.OperationList.get(sid:str) -> OperationContext
Constructs a OperationContext :param sid:
classtwilio.rest.conversations.v2.participant.ParticipantInstance
:ivar id: Participant ID.
classtwilio.rest.events.v1.schema.SchemaInstance
:ivar id: The unique identifier of the schema.
methodtwilio.rest.events.v1.schema.SchemaInstance.versions() -> SchemaVersionList
Access the versions
classtwilio.rest.events.v1.schema.schema_version.SchemaVersionInstance
:ivar id: The unique identifier of the schema.
classtwilio.rest.flex_api.v1.insights_conversations.InsightsConversationsInstance
:ivar account_id: The id of the account.
methodtwilio.rest.insights.v1.call.CallContext.annotation() -> AnnotationList
Access the annotation
methodtwilio.rest.insights.v1.call.CallContext.events() -> EventList
Access the events
methodtwilio.rest.insights.v1.call.CallContext.metrics() -> MetricList
Access the metrics
methodtwilio.rest.insights.v1.call.CallContext.summary() -> CallSummaryList
Access the summary
classtwilio.rest.insights.v1.call.CallInstance
:ivar sid: :ivar url: :ivar links:
methodtwilio.rest.insights.v1.call.CallInstance.annotation() -> AnnotationList
Access the annotation
methodtwilio.rest.insights.v1.call.CallInstance.events() -> EventList
Access the events
methodtwilio.rest.insights.v1.call.CallInstance.metrics() -> MetricList
Access the metrics
methodtwilio.rest.insights.v1.call.CallInstance.summary() -> CallSummaryList
Access the summary
methodtwilio.rest.insights.v1.call.annotation.AnnotationList.get() -> AnnotationContext
Constructs a AnnotationContext
classtwilio.rest.insights.v2.outbound.OutboundContext.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.outbound.OutboundInstance.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.outbound.OutboundList.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.report.ReportContext.AccountReportKYT
:ivar outbound_carrier_calling:
classtwilio.rest.insights.v2.report.ReportContext.AccountReportNetworkIssues
:ivar sdk: :ivar twilio_gateway:
classtwilio.rest.insights.v2.report.ReportContext.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.report.ReportContext.InsightsV2CreateAccountReportRequest
:ivar time_range: :ivar filters:
classtwilio.rest.insights.v2.report.ReportInstance.AccountReportKYT
:ivar outbound_carrier_calling:
classtwilio.rest.insights.v2.report.ReportInstance.AccountReportNetworkIssues
:ivar sdk: :ivar twilio_gateway:
classtwilio.rest.insights.v2.report.ReportInstance.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.report.ReportInstance.InsightsV2CreateAccountReportRequest
:ivar time_range: :ivar filters:
classtwilio.rest.insights.v2.report.ReportList.AccountReportKYT
:ivar outbound_carrier_calling:
classtwilio.rest.insights.v2.report.ReportList.AccountReportNetworkIssues
:ivar sdk: :ivar twilio_gateway:
classtwilio.rest.insights.v2.report.ReportList.CountyCarrierValueCarriers
:ivar carrier: The name of the carrier.
classtwilio.rest.insights.v2.report.ReportList.InsightsV2CreateAccountReportRequest
:ivar time_range: :ivar filters:
classtwilio.rest.insights.v3.query.QueryList.QueryDefinitionFilters
:ivar op: :ivar expressions:
classtwilio.rest.insights.v3.query.QueryList.QueryDefinitionFiltersExpressions
:ivar op: :ivar field: :ivar values:
classtwilio.rest.intelligence.v2.transcript.sentence.SentenceInstance
:ivar media_channel: The channel number.
classtwilio.rest.intelligence.v3.configuration.ConfigurationList.Context
:ivar memory: :ivar knowledge:
classtwilio.rest.intelligence.v3.operator.OperatorList.OperatorContext
:ivar memory: :ivar knowledge:
methodtwilio.rest.ip_messaging.v1.service.ServiceContext.channels() -> ChannelList
Access the channels
methodtwilio.rest.ip_messaging.v1.service.ServiceContext.roles() -> RoleList
Access the roles
methodtwilio.rest.ip_messaging.v1.service.ServiceContext.users() -> UserList
Access the users
methodtwilio.rest.ip_messaging.v1.service.ServiceInstance.channels() -> ChannelList
Access the channels
methodtwilio.rest.ip_messaging.v1.service.ServiceInstance.roles() -> RoleList
Access the roles
methodtwilio.rest.ip_messaging.v1.service.ServiceInstance.users() -> UserList
Access the users
methodtwilio.rest.ip_messaging.v1.service.user.UserContext.user_channels() -> UserChannelList
Access the user_channels
methodtwilio.rest.ip_messaging.v1.service.user.UserList.get(sid:str) -> UserContext
Constructs a UserContext :param sid:
methodtwilio.rest.ip_messaging.v2.service.ServiceContext.bindings() -> BindingList
Access the bindings
methodtwilio.rest.ip_messaging.v2.service.ServiceContext.channels() -> ChannelList
Access the channels
methodtwilio.rest.ip_messaging.v2.service.ServiceContext.roles() -> RoleList
Access the roles
methodtwilio.rest.ip_messaging.v2.service.ServiceContext.users() -> UserList
Access the users
methodtwilio.rest.ip_messaging.v2.service.ServiceInstance.bindings() -> BindingList
Access the bindings
methodtwilio.rest.ip_messaging.v2.service.ServiceInstance.channels() -> ChannelList
Access the channels
methodtwilio.rest.ip_messaging.v2.service.ServiceInstance.roles() -> RoleList
Access the roles
methodtwilio.rest.ip_messaging.v2.service.ServiceInstance.users() -> UserList
Access the users
methodtwilio.rest.ip_messaging.v2.service.user.UserContext.user_bindings() -> UserBindingList
Access the user_bindings
methodtwilio.rest.ip_messaging.v2.service.user.UserContext.user_channels() -> UserChannelList
Access the user_channels
methodtwilio.rest.ip_messaging.v2.service.user.UserList.get(sid:str) -> UserContext
Constructs a UserContext :param sid:
methodtwilio.rest.knowledge.KnowledgeBase.KnowledgeBase.v1() -> V1
:returns: Versions v1 of Knowledge
methodtwilio.rest.knowledge.KnowledgeBase.KnowledgeBase.v2() -> V2
:returns: Versions v2 of Knowledge
classtwilio.rest.knowledge.v2.chunk.ChunkInstance
:ivar content: The chunk content.
classtwilio.rest.knowledge.v2.knowledge.KnowledgeList.KnowledgeCore
:ivar name: The name of the knowledge source.
classtwilio.rest.knowledge.v2.search.SearchInstance
:ivar chunks:
classtwilio.rest.lookups.v2.query.QueryInstance.LookupRequest
:ivar phone_numbers:
classtwilio.rest.lookups.v2.query.QueryInstance.ReassignedNumberParameters
:ivar last_verified_date:
classtwilio.rest.lookups.v2.query.QueryInstance.RiskParameters
:ivar partner_sub_id:
classtwilio.rest.lookups.v2.query.QueryList.LookupRequest
:ivar phone_numbers:
classtwilio.rest.lookups.v2.query.QueryList.ReassignedNumberParameters
:ivar last_verified_date:
classtwilio.rest.lookups.v2.query.QueryList.RiskParameters
:ivar partner_sub_id:
classtwilio.rest.lookups.v2.rate_limit.RateLimitInstance
:ivar rate_limits:
classtwilio.rest.marketplace.v1.module_data.ModuleDataInstance
:ivar url: URL to query the subresource.
classtwilio.rest.marketplace.v1.module_data_management.ModuleDataManagementInstance
:ivar url: URL to query the subresource.
classtwilio.rest.marketplace.v1.referral_conversion.ReferralConversionInstance.CreateReferralConversionRequest
:ivar referral_account_sid:
classtwilio.rest.marketplace.v1.referral_conversion.ReferralConversionList.CreateReferralConversionRequest
:ivar referral_account_sid:
classtwilio.rest.memory.v1.bulk.BulkInstance
:ivar message:
classtwilio.rest.memory.v1.bulk.BulkList.ProfileData
:ivar traits: Multiple trait groups.
classtwilio.rest.memory.v1.bulk.BulkList.UpdateProfilesBulkRequest
:ivar profiles:
classtwilio.rest.memory.v1.data_mapping.DataMappingList.CreateDataMappingInput
:ivar display_name: Name of the data mapping.
classtwilio.rest.memory.v1.data_mapping.DataMappingList.DataMappingCore
:ivar display_name: Name of the data mapping.
classtwilio.rest.memory.v1.event.EventInstance
:ivar message:
classtwilio.rest.memory.v1.event.EventList.CommunicationLifecycleEventRecipient
:ivar address: The recipient's address.
classtwilio.rest.memory.v1.event.EventList.CommunicationLifecycleEventSender
:ivar address: The sender's address.
classtwilio.rest.memory.v1.event.EventList.ProfileEventRequest
:ivar type: The type of event being sent.
classtwilio.rest.memory.v1.observation.ObservationInstance
:ivar content: The main content of the observation.
classtwilio.rest.memory.v1.profile.ProfileList.ProfileData
:ivar traits: Multiple trait groups.
classtwilio.rest.memory.v1.profile.ProfileList.ProfilePatch
:ivar traits: Multiple trait groups.
classtwilio.rest.memory.v1.recall.RecallList.CommunicationContent
:ivar text: Primary text content (optional).
classtwilio.rest.memory.v1.recall.RecallList.CommunicationRecipients
:ivar id: Participant identifier.
classtwilio.rest.memory.v1.recall.RecallList.Participant
:ivar id: Participant identifier.
classtwilio.rest.memory.v1.revision.RevisionInstance
:ivar content: The main content of the observation.
classtwilio.rest.memory.v1.trait.TraitInstance
:ivar name: The name of the trait.
methodtwilio.rest.messaging.v1.service.ServiceContext.alpha_senders() -> AlphaSenderList
Access the alpha_senders
methodtwilio.rest.messaging.v1.service.ServiceContext.channel_senders() -> ChannelSenderList
Access the channel_senders
methodtwilio.rest.messaging.v1.service.ServiceContext.destination_alpha_senders() -> DestinationAlphaSenderList
Access the destination_alpha_senders
methodtwilio.rest.messaging.v1.service.ServiceContext.phone_numbers() -> PhoneNumberList
Access the phone_numbers
methodtwilio.rest.messaging.v1.service.ServiceContext.short_codes() -> ShortCodeList
Access the short_codes
methodtwilio.rest.messaging.v1.service.ServiceContext.us_app_to_person() -> UsAppToPersonList
Access the us_app_to_person
methodtwilio.rest.messaging.v1.service.ServiceContext.us_app_to_person_usecases() -> UsAppToPersonUsecaseList
Access the us_app_to_person_usecases
methodtwilio.rest.messaging.v1.service.ServiceInstance.alpha_senders() -> AlphaSenderList
Access the alpha_senders
methodtwilio.rest.messaging.v1.service.ServiceInstance.channel_senders() -> ChannelSenderList
Access the channel_senders
methodtwilio.rest.messaging.v1.service.ServiceInstance.destination_alpha_senders() -> DestinationAlphaSenderList
Access the destination_alpha_senders
methodtwilio.rest.messaging.v1.service.ServiceInstance.phone_numbers() -> PhoneNumberList
Access the phone_numbers
methodtwilio.rest.messaging.v1.service.ServiceInstance.short_codes() -> ShortCodeList
Access the short_codes
methodtwilio.rest.messaging.v1.service.ServiceInstance.us_app_to_person() -> UsAppToPersonList
Access the us_app_to_person
methodtwilio.rest.messaging.v1.service.ServiceInstance.us_app_to_person_usecases() -> UsAppToPersonUsecaseList
Access the us_app_to_person_usecases
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderContext.MessagingV2ChannelsSenderProfile
:ivar name: The name of the sender.
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseEmails
:ivar email: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderContext.MessagingV2ChannelsSenderProfileGenericResponseWebsites
:ivar website: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderContext.MessagingV2RcsCarrier
:ivar name: The name of the carrier.
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderInstance.MessagingV2ChannelsSenderProfile
:ivar name: The name of the sender.
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseEmails
:ivar email: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderInstance.MessagingV2ChannelsSenderProfileGenericResponseWebsites
:ivar website: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderInstance.MessagingV2RcsCarrier
:ivar name: The name of the carrier.
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderList.MessagingV2ChannelsSenderProfile
:ivar name: The name of the sender.
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseEmails
:ivar email: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderList.MessagingV2ChannelsSenderProfileGenericResponseWebsites
:ivar website: :ivar label:
classtwilio.rest.messaging.v2.channels_sender.ChannelsSenderList.MessagingV2RcsCarrier
:ivar name: The name of the carrier.
classtwilio.rest.messaging.v3.typing_indicator.TypingIndicatorInstance.TypingIndicatorRequest
:ivar channel: The messaging channel.
classtwilio.rest.messaging.v3.typing_indicator.TypingIndicatorList.TypingIndicatorRequest
:ivar channel: The messaging channel.
methodtwilio.rest.notify.v1.service.ServiceContext.bindings() -> BindingList
Access the bindings
methodtwilio.rest.notify.v1.service.ServiceContext.notifications() -> NotificationList
Access the notifications
methodtwilio.rest.notify.v1.service.ServiceInstance.bindings() -> BindingList
Access the bindings
methodtwilio.rest.notify.v1.service.ServiceInstance.notifications() -> NotificationList
Access the notifications
classtwilio.rest.numbers.v2.application.ApplicationContext.CreateShortCodeApplicationRequestSetup
:ivar charges_apply:
classtwilio.rest.numbers.v2.application.ApplicationInstance.CreateShortCodeApplicationRequestSetup
:ivar charges_apply:
classtwilio.rest.numbers.v2.application.ApplicationList.CreateShortCodeApplicationRequestSetup
:ivar charges_apply:
classtwilio.rest.oauth.v1.authorize.AuthorizeInstance
:ivar redirect_to: The callback URL
classtwilio.rest.oauth.v2.authorize.AuthorizeInstance
:ivar redirect_to: The callback URL
methodtwilio.rest.preview.wireless.command.CommandList.get(sid:str) -> CommandContext
Constructs a CommandContext :param sid:
methodtwilio.rest.preview.wireless.sim.usage.UsageList.get() -> UsageContext
Constructs a UsageContext
classtwilio.rest.preview_iam.v1.authorize.AuthorizeInstance
:ivar redirect_to: The callback URL
methodtwilio.rest.preview_iam.versionless.organization.account.AccountList.get(account_sid:str) -> AccountContext
Constructs a AccountContext :param account_sid:
classtwilio.rest.preview_iam.versionless.organization.user.UserContext.ScimPatchRequest
:ivar schemas: :ivar operations:
classtwilio.rest.preview_iam.versionless.organization.user.UserInstance.ScimPatchRequest
:ivar schemas: :ivar operations:
classtwilio.rest.preview_iam.versionless.organization.user.UserList.ScimPatchRequest
:ivar schemas: :ivar operations:
methodtwilio.rest.preview_iam.versionless.organization.user.UserList.get(id:str) -> UserContext
Constructs a UserContext :param id:
classtwilio.rest.pricing.v1.messaging.country.CountryInstance
:ivar country: The name of the country.
classtwilio.rest.pricing.v1.phone_number.country.CountryInstance
:ivar country: The name of the country.
classtwilio.rest.pricing.v1.voice.country.CountryInstance
:ivar country: The name of the country.
classtwilio.rest.pricing.v1.voice.number.NumberInstance
:ivar number: The phone number.
classtwilio.rest.pricing.v2.country.CountryInstance
:ivar country: The name of the country.
classtwilio.rest.pricing.v2.voice.country.CountryInstance
:ivar country: The name of the country.
methodtwilio.rest.proxy.ProxyBase.ProxyBase.v1() -> V1
:returns: Versions v1 of Proxy
methodtwilio.rest.proxy.v1.service.ServiceContext.phone_numbers() -> PhoneNumberList
Access the phone_numbers
methodtwilio.rest.proxy.v1.service.ServiceContext.sessions() -> SessionList
Access the sessions
methodtwilio.rest.proxy.v1.service.ServiceInstance.phone_numbers() -> PhoneNumberList
Access the phone_numbers
methodtwilio.rest.proxy.v1.service.ServiceInstance.sessions() -> SessionList
Access the sessions
methodtwilio.rest.proxy.v1.service.session.SessionInstance.interactions() -> InteractionList
Access the interactions
methodtwilio.rest.proxy.v1.service.session.SessionInstance.participants() -> ParticipantList
Access the participants
methodtwilio.rest.proxy.v1.service.session.participant.ParticipantInstance.message_interactions() -> MessageInteractionList
Access the message_interactions
methodtwilio.rest.serverless.v1.service.ServiceContext.assets() -> AssetList
Access the assets
methodtwilio.rest.serverless.v1.service.ServiceContext.builds() -> BuildList
Access the builds
methodtwilio.rest.serverless.v1.service.ServiceContext.environments() -> EnvironmentList
Access the environments
methodtwilio.rest.serverless.v1.service.ServiceContext.functions() -> FunctionList
Access the functions
methodtwilio.rest.serverless.v1.service.ServiceInstance.assets() -> AssetList
Access the assets
methodtwilio.rest.serverless.v1.service.ServiceInstance.builds() -> BuildList
Access the builds
methodtwilio.rest.serverless.v1.service.ServiceInstance.environments() -> EnvironmentList
Access the environments
methodtwilio.rest.serverless.v1.service.ServiceInstance.functions() -> FunctionList
Access the functions
methodtwilio.rest.serverless.v1.service.environment.EnvironmentContext.deployments() -> DeploymentList
Access the deployments
methodtwilio.rest.serverless.v1.service.environment.EnvironmentContext.logs() -> LogList
Access the logs
methodtwilio.rest.serverless.v1.service.environment.EnvironmentContext.variables() -> VariableList
Access the variables
classtwilio.rest.studio.v1.flow.engagement.engagement_context.EngagementContextInstance
:ivar account_sid: The SID of the Account.
classtwilio.rest.studio.v2.flow.flow_test_user.FlowTestUserInstance
:ivar sid: Unique identifier of the flow.
methodtwilio.rest.sync.v1.service.ServiceContext.documents() -> DocumentList
Access the documents
methodtwilio.rest.sync.v1.service.ServiceContext.sync_lists() -> SyncListList
Access the sync_lists
methodtwilio.rest.sync.v1.service.ServiceContext.sync_maps() -> SyncMapList
Access the sync_maps
methodtwilio.rest.sync.v1.service.ServiceContext.sync_streams() -> SyncStreamList
Access the sync_streams
methodtwilio.rest.sync.v1.service.ServiceInstance.documents() -> DocumentList
Access the documents
methodtwilio.rest.sync.v1.service.ServiceInstance.sync_lists() -> SyncListList
Access the sync_lists
methodtwilio.rest.sync.v1.service.ServiceInstance.sync_maps() -> SyncMapList
Access the sync_maps
methodtwilio.rest.sync.v1.service.ServiceInstance.sync_streams() -> SyncStreamList
Access the sync_streams
methodtwilio.rest.taskrouter.v1.workspace.task.TaskContext.reservations() -> ReservationList
Access the reservations
methodtwilio.rest.taskrouter.v1.workspace.task.TaskInstance.reservations() -> ReservationList
Access the reservations
methodtwilio.rest.taskrouter.v1.workspace.workflow.WorkflowInstance.cumulative_statistics() -> WorkflowCumulativeStatisticsList
Access the cumulative_statistics
methodtwilio.rest.taskrouter.v1.workspace.workflow.WorkflowInstance.real_time_statistics() -> WorkflowRealTimeStatisticsList
Access the real_time_statistics
methodtwilio.rest.taskrouter.v1.workspace.workflow.WorkflowInstance.statistics() -> WorkflowStatisticsList
Access the statistics
methodtwilio.rest.verify.v2.service.ServiceContext.access_tokens() -> AccessTokenList
Access the access_tokens
methodtwilio.rest.verify.v2.service.ServiceContext.approve_challenge() -> ApproveChallengeList
Access the approve_challenge
methodtwilio.rest.verify.v2.service.ServiceContext.entities() -> EntityList
Access the entities
methodtwilio.rest.verify.v2.service.ServiceContext.messaging_configurations() -> MessagingConfigurationList
Access the messaging_configurations
methodtwilio.rest.verify.v2.service.ServiceContext.new_challenge() -> NewChallengeList
Access the new_challenge
methodtwilio.rest.verify.v2.service.ServiceContext.new_factors() -> NewFactorList
Access the new_factors
methodtwilio.rest.verify.v2.service.ServiceContext.new_verify_factors() -> NewVerifyFactorList
Access the new_verify_factors
methodtwilio.rest.verify.v2.service.ServiceContext.rate_limits() -> RateLimitList
Access the rate_limits
methodtwilio.rest.verify.v2.service.ServiceContext.verification_checks() -> VerificationCheckList
Access the verification_checks
methodtwilio.rest.verify.v2.service.ServiceContext.verifications() -> VerificationList
Access the verifications
methodtwilio.rest.verify.v2.service.ServiceContext.webhooks() -> WebhookList
Access the webhooks
methodtwilio.rest.verify.v2.service.ServiceInstance.access_tokens() -> AccessTokenList
Access the access_tokens
methodtwilio.rest.verify.v2.service.ServiceInstance.approve_challenge() -> ApproveChallengeList
Access the approve_challenge
methodtwilio.rest.verify.v2.service.ServiceInstance.entities() -> EntityList
Access the entities
methodtwilio.rest.verify.v2.service.ServiceInstance.messaging_configurations() -> MessagingConfigurationList
Access the messaging_configurations
methodtwilio.rest.verify.v2.service.ServiceInstance.new_challenge() -> NewChallengeList
Access the new_challenge
methodtwilio.rest.verify.v2.service.ServiceInstance.new_factors() -> NewFactorList
Access the new_factors
methodtwilio.rest.verify.v2.service.ServiceInstance.new_verify_factors() -> NewVerifyFactorList
Access the new_verify_factors
methodtwilio.rest.verify.v2.service.ServiceInstance.rate_limits() -> RateLimitList
Access the rate_limits
methodtwilio.rest.verify.v2.service.ServiceInstance.verification_checks() -> VerificationCheckList
Access the verification_checks
methodtwilio.rest.verify.v2.service.ServiceInstance.verifications() -> VerificationList
Access the verifications
methodtwilio.rest.verify.v2.service.ServiceInstance.webhooks() -> WebhookList
Access the webhooks
classtwilio.rest.verify.v2.service.new_challenge.NewChallengeContext.CreatePasskeysChallengeRequest
:ivar identity: :ivar factor_sid:
classtwilio.rest.verify.v2.service.new_challenge.NewChallengeInstance.CreatePasskeysChallengeRequest
:ivar identity: :ivar factor_sid:
classtwilio.rest.verify.v2.service.new_challenge.NewChallengeList.CreatePasskeysChallengeRequest
:ivar identity: :ivar factor_sid:
methodtwilio.rest.verify.v2.service.rate_limit.RateLimitInstance.buckets() -> BucketList
Access the buckets
methodtwilio.rest.video.v1.room.participant.ParticipantInstance.anonymize() -> AnonymizeList
Access the anonymize
methodtwilio.rest.video.v1.room.participant.ParticipantInstance.published_tracks() -> PublishedTrackList
Access the published_tracks
methodtwilio.rest.video.v1.room.participant.ParticipantInstance.subscribe_rules() -> SubscribeRulesList
Access the subscribe_rules
methodtwilio.rest.video.v1.room.participant.ParticipantInstance.subscribed_tracks() -> SubscribedTrackList
Access the subscribed_tracks
classtwilio.twiml.fax_response.FaxResponse
<Response> TwiML for Faxes
classtwilio.twiml.fax_response.Receive
<Receive> TwiML Verb
classtwilio.twiml.messaging_response.Body
<Body> TwiML Noun
classtwilio.twiml.messaging_response.Media
<Media> TwiML Noun
classtwilio.twiml.messaging_response.Message
<Message> TwiML Verb
classtwilio.twiml.messaging_response.MessagingResponse
<Response> TwiML for Messages
classtwilio.twiml.messaging_response.Redirect
<Redirect> TwiML Verb
classtwilio.twiml.voice_response.AiSession
<AiSession> TwiML Noun
classtwilio.twiml.voice_response.Application
<Application> TwiML Noun
classtwilio.twiml.voice_response.ApplicationSid
<ApplicationSid> TwiML Noun
classtwilio.twiml.voice_response.Assistant
<Assistant> TwiML Noun
classtwilio.twiml.voice_response.Autopilot
<Autopilot> TwiML Noun
classtwilio.twiml.voice_response.Client
<Client> TwiML Noun
classtwilio.twiml.voice_response.Conference
<Conference> TwiML Noun
classtwilio.twiml.voice_response.Config
<Config> TwiML Noun
classtwilio.twiml.voice_response.Connect
<Connect> TwiML Verb
classtwilio.twiml.voice_response.Conversation
<Conversation> TwiML Noun
classtwilio.twiml.voice_response.ConversationRelay
<ConversationRelay> TwiML Noun
classtwilio.twiml.voice_response.ConversationRelaySession
<ConversationRelaySession> TwiML Noun
classtwilio.twiml.voice_response.Dial
<Dial> TwiML Verb
classtwilio.twiml.voice_response.Echo
<Echo> TwiML Verb
classtwilio.twiml.voice_response.Enqueue
<Enqueue> TwiML Noun
classtwilio.twiml.voice_response.Gather
<Gather> TwiML Verb
classtwilio.twiml.voice_response.Hangup
<Hangup> TwiML Verb
classtwilio.twiml.voice_response.Header
A custom SIP header to include in the request
classtwilio.twiml.voice_response.Headers
The SIP headers to include in the request

About this data

These signatures were extracted from the public source of twilio/twilio-python using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries