Telnyx API
SIP trunking, SMS, MMS, Call Control and Telephony Data Services.
- Homepage
- https://api.apis.guru/v2/specs/telnyx.com/2.0.0.json
- Provider
- telnyx.com
- OpenAPI version
- 3.0.0
- Spec (JSON)
- https://api.apis.guru/v2/specs/telnyx.com/2.0.0/openapi.json
- Spec (YAML)
- https://api.apis.guru/v2/specs/telnyx.com/2.0.0/openapi.yaml
Tools (363)
Extracted live via the executor SDK.
-
accessTokens.createTelephonyCredentialTokenCreate an Access Token (JWT) for the credential.
-
addresses.createAddressCreates an address.
-
addresses.deleteAddressDeletes an existing address.
-
addresses.findAddresssReturns a list of your addresses.
-
addresses.getAddressRetrieves the details of an existing address.
-
addresses.validateAddressValidates an address for emergency services.
-
authenticationProviders.createAuthenticationProviderCreates an authentication provider.
-
authenticationProviders.deleteAuthenticationProviderDeletes an existing authentication provider.
-
authenticationProviders.findAuthenticationProvidersReturns a list of your SSO authentication providers.
-
authenticationProviders.getAuthenticationProviderRetrieves the details of an existing authentication provider.
-
authenticationProviders.updateAuthenticationProviderUpdates settings of an existing authentication provider.
-
billing.getUserBalanceRetrieve user balance details
-
billingGroups.createBillingGroupCreate a billing group
-
billingGroups.deleteBillingGroupDelete a billing group
-
billingGroups.listBillingGroupsList all billing groups
-
billingGroups.retrieveBillingGroupRetrieve a billing group
-
billingGroups.updateBillingGroupUpdate a billing group
-
bulkCredentials.bulkCredentialActionPerform activate or deactivate action on all credentials filtered by the provided tag. Activate action will change the status to active, making it possible to connect calls with the credential. Deactivate action will change the status to inactive, making it impossible to connect calls with the credential.
-
bulkCredentials.createBulkTelephonyCredentialCreates several credentials in bulk.
-
bulkCredentials.deleteBulkTelephonyCredentialDelete several credentials in bulk.
-
bulkCredentials.updateBulkTelephonyCredentialUpdate several credentials in bulk.
-
callCommands.callAnswerAnswer an incoming call. You must issue this command before executing subsequent commands on an incoming call.
Expected Webhooks:
call.answered
-
callCommands.callBridgeBridge two call control calls.
Expected Webhooks:
call.bridgedfor Leg Acall.bridgedfor Leg B
-
callCommands.callDialDial a number or SIP URI from a given connection. A successful response will include a
call_leg_idwhich can be used to correlate the command with subsequent webhooks.Expected Webhooks:
call.initiatedcall.answeredorcall.hangupcall.machine.detection.endedifanswering_machine_detectionwas requestedcall.machine.greeting.endedifanswering_machine_detectionwas set todetect_beep,greeting_endordetect_words
-
callCommands.callEnqueuePut the call in a queue.
-
callCommands.callForkStartCall forking allows you to stream the media from a call to a specific target in realtime. This stream can be used to enable realtime audio analysis to support a variety of use cases, including fraud detection, or the creation of AI-generated audio responses. Requests must specify either the
targetattribute or therxandtxattributes.Expected Webhooks:
call.fork.startedcall.fork.stopped
Simple Telnyx RTP Encapsulation Protocol (STREP)
Note: This header/encapsulation is not used when the
rxandtxparameters have been specified; it only applies when media is forked using thetargetattribute.If the destination for forked media is specified using the "target" attribute, the RTP will be encapsulated in an extra Telnyx protocol, which adds a 24 byte header to the RTP payload in each packet. The STREP header includes the Call Control
call_leg_idfor stream identification, along with bits that represent the direction (inbound or outbound) of the media. This 24-byte header sits between the UDP header and the RTP header.The STREP header makes it possible to fork RTP for multiple calls (or two RTP streams for the same call) to the same IP:port, where the streams can be demultiplexed by your application using the information in the header. Of course, it's still possible to ignore this header completely, for example, if sending forked media for different calls to different ports or IP addresses. In this case, simply strip 24 bytes (or use the second byte to find the header length) from the received UDP payload to get the RTP (RTP header and payload).
STREP Specification 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |1 1|Version|L|D| HeaderLen | reserved (2 bytes) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | reserved (4 bytes, for UDP ports or anything else) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | The call_leg_id | | from Call Control | | (128 bits / 16 bytes) | | (this is binary data) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 11 Static bits 11, always set to 11 to easily distinguish forked media from RTP (10) and T.38 media (usually 00) and SIP (which begins with a capital letter, so begins with bits 01). This is a magic number. Version Four bits to indicate the version number of the protocol, starting at 0001. L One bit to represent the leg of the call (A or B). 0 represents the A (first) leg of the call. 1 represents the B (second) leg of the call. D One bit to represent the direction of this RTP stream. 0 represents media received by Telnyx. 1 represents media transmitted by Telnyx. HeaderLen (1 byte) The length of the header in bytes. Note that this value does not include the length of the payload. The total size of the RTP can be calculated by subtracting the HeaderLen from the UDP length (minus 8 for the UDP header). In version 1, this value will always be 24. Reserved (6 bytes) Reserved for future use and to make sure that the header is a multiple of 32 bits Call Leg ID A 128-bit identifier for the call leg. This is the call_leg_id from Call Control. -
callCommands.callForkStopStop forking a call.
Expected Webhooks:
call.fork.stopped
-
callCommands.callGatherStopStop current gather.
Expected Webhooks:
call.gather.ended
-
callCommands.callGatherUsingAudioPlay an audio file on the call until the required DTMF signals are gathered to build interactive menus.
You can pass a list of valid digits along with an 'invalid_audio_url', which will be played back at the beginning of each prompt. Playback will be interrupted when a DTMF signal is received. The command must be issued before the
gather_using_audiocommand.Expected Webhooks:
call.playback.startedcall.playback.endedcall.dtmf.received(you may receive many of these webhooks)call.gather.ended
-
callCommands.callGatherUsingSpeakConvert text to speech and play it on the call until the required DTMF signals are gathered to build interactive menus.
You can pass a list of valid digits along with an 'invalid_payload', which will be played back at the beginning of each prompt. Speech will be interrupted when a DTMF signal is received. The command must be issued before the
gather_using_speakcommand.Expected Webhooks:
call.dtmf.received(you may receive many of these webhooks)call.gather.ended
-
callCommands.callHangupHang up the call.
Expected Webhooks:
call.hangupcall.recording.saved
-
callCommands.callPlaybackStartPlay an audio file on the call. If multiple play audio commands are issued consecutively, the audio files will be placed in a queue awaiting playback.
Notes:
- When
overlayis enabled,target_legsis limited toself. - A customer cannot Play Audio with
overlay=trueunless there is a Play Audio withoverlay=falseactively playing.
Expected Webhooks:
call.playback.startedcall.playback.ended
- When
-
callCommands.callPlaybackStopStop audio being played on the call.
Expected Webhooks:
call.playback.endedorcall.speak.ended
-
callCommands.callRecordPausePause recording the call. Recording can be resumed via Resume recording command.
Expected Webhooks:
There are no webhooks associated with this command.
-
callCommands.callRecordResumeResume recording the call.
Expected Webhooks:
There are no webhooks associated with this command.
-
callCommands.callRecordStartStart recording the call. Recording will stop on call hang-up, or can be initiated via the Stop Recording command.
Expected Webhooks:
call.recording.saved
-
callCommands.callRecordStopStop recording the call.
Expected Webhooks:
call.recording.saved
-
callCommands.callReferInitiate a SIP Refer on a Call Control call. You can initiate a SIP Refer at any point in the duration of a call.
Expected Webhooks:
call.refer.startedcall.refer.completedcall.refer.failed
-
callCommands.callRejectReject an incoming call.
Expected Webhooks:
call.hangup
-
callCommands.callSendDtmfSends DTMF tones from this leg. DTMF tones will be heard by the other end of the call.
Expected Webhooks:
There are no webhooks associated with this command.
-
callCommands.callSpeakConvert text to speech and play it back on the call. If multiple speak text commands are issued consecutively, the audio files will be placed in a queue awaiting playback.
Expected Webhooks:
call.speak.startedcall.speak.ended
-
callCommands.callTranscriptionStartStart real-time transcription. Transcription will stop on call hang-up, or can be initiated via the Transcription stop command.
-
callCommands.callTranscriptionStopStop real-time transcription.
-
callCommands.callTransferTransfer a call to a new destination. If the transfer is unsuccessful, a
call.hangupwebhook for the other call (Leg B) will be sent indicating that the transfer could not be completed. The original call will remain active and may be issued additional commands, potentially transfering the call to an alternate destination.Expected Webhooks:
call.initiatedcall.bridgedto Leg Bcall.answeredorcall.hangupcall.machine.detection.endedifanswering_machine_detectionwas requestedcall.machine.greeting.endedifanswering_machine_detectionwas set todetect_beep,greeting_endordetect_words
-
callCommands.leaveQueueRemoves the call from a queue.
-
callControlApplications.createCallControlApplicationCreate a call control application.
-
callControlApplications.deleteCallControlApplicationDeletes a call control application.
-
callControlApplications.listCallControlApplicationsReturn a list of call control applications.
-
callControlApplications.retrieveCallControlApplicationRetrieves the details of an existing call control application.
-
callControlApplications.updateCallControlApplicationUpdates settings of an existing call control application.
-
callInformation.retrieveCallStatusReturns the status of a call (data is available 10 minutes after call ended).
-
cdrUsageReports.getUsageReportSyncGenerate and fetch voice usage report synchronously. This endpoint will both generate and fetch the voice report over a specified time period. No polling is necessary but the response may take up to a couple of minutes.
-
conferenceCommands.conferenceDialParticipantInDials a phone number and, when the call is answered, automatically joins them into the specified conference.
Expected Webhooks:
call.hangupcall.answeredconference.participant.joinedconference.participant.left
-
conferenceCommands.conferenceHoldParticipantsHold a list of participants in a conference call
-
conferenceCommands.conferenceJoinJoin an existing call leg to a conference. Issue the Join Conference command with the conference ID in the path and the
call_control_idof the leg you wish to join to the conference as an attribute.Expected Webhooks:
conference.participant.joinedconference.participant.left
-
conferenceCommands.conferenceLeaveRemoves a call leg from a conference and moves it back to parked state. Expected Webhooks:
conference.participant.left
-
conferenceCommands.conferenceMuteParticipantsMute a list of participants in a conference call
-
conferenceCommands.conferencePlayAudioPlay audio to all or some participants on a conference call.
-
conferenceCommands.conferenceSpeakTextConvert text to speech and play it to all or some participants.
-
conferenceCommands.conferenceStartRecordingStart recording the conference. Recording will stop on conference end, or via the Stop Recording command.
Expected Webhooks:
conference.recording.saved
-
conferenceCommands.conferenceStopAudioStop audio being played to all or some participants on a conference call.
-
conferenceCommands.conferenceStopRecordingStop recording the conference.
Expected Webhooks:
conference.recording.saved
-
conferenceCommands.conferenceUnholdParticipantsUnhold a list of participants in a conference call
-
conferenceCommands.conferenceUnmuteParticipantsUnmute a list of participants in a conference call
-
conferenceCommands.conferenceUpdateUpdate conference participant supervisor_role
-
conferenceCommands.createConferenceCreate a conference from an existing call leg using a
call_control_idand a conference name. Upon creating the conference, the call will be automatically bridged to the conference. Conferences will expire after all participants have left the conference or after 4 hours regardless of the number of active participants.Expected Webhooks:
conference.createdconference.participant.joinedconference.participant.leftconference.endedconference.recording.savedconference.floor.changed
-
conferenceCommands.listConferenceParticipantsLists conference participants
-
conferenceCommands.listConferencesLists conferences. Conferences are created on demand, and will expire after all participants have left the conference or after 4 hours regardless of the number of active participants. Conferences are listed in descending order by
expires_at. -
conferenceCommands.retrieveConferenceRetrieve an existing conference
-
connections.listConnectionsReturns a list of your connections irrespective of type.
-
connections.retrieveConnectionRetrieves the high-level details of an existing connection. To retrieve specific authentication information, use the endpoint for the specific connection type.
-
credentialConnections.createCredentialConnectionCreates a credential connection.
-
credentialConnections.deleteCredentialConnectionDeletes an existing credential connection.
-
credentialConnections.listCredentialConnectionsReturns a list of your credential connections.
-
credentialConnections.retrieveCredentialConnectionRetrieves the details of an existing credential connection.
-
credentialConnections.updateCredentialConnectionUpdates settings of an existing credential connection.
-
credentials.createTelephonyCredentialCreate a credential.
-
credentials.deleteTelephonyCredentialDelete an existing credential.
-
credentials.findTelephonyCredentialsList all On-demand Credentials.
-
credentials.getTelephonyCredentialGet the details of an existing On-demand Credential.
-
credentials.listTagsReturns a list of tags used on Credentials
-
credentials.telephonyCredentialActionPerform activate or deactivate action on provided Credential. Activate action will change the status to active, making it possible to connect calls with the credential. Deactivate action will change the status to inactive, making it impossible to connect calls with the credential.
-
credentials.updateTelephonyCredentialUpdate an existing credential.
-
csvDownloads.createCsvDownloadCreate a CSV download
-
csvDownloads.listCsvDownloadsList CSV downloads
-
csvDownloads.retrieveCsvDownloadRetrieve a CSV download
-
debugging.listCallEventsFilters call events by given filter parameters. Events are ordered by
event_timestamp. If filter forcall_leg_idorcall_session_idis not present, it only filters events from the last 24 hours.Note: Only one
filter[event_timestamp]can be passed. -
detailRecords.detailRecordsSearchSearch for any detail record across the Telnyx Platform
-
documents.createDocumentUpload a document.
Uploaded files must be linked to a service within 30 minutes or they will be automatically deleted. -
documents.deleteDocumentDelete a document.
A document can only be deleted if it's not linked to a service. If it is linked to a service, it must be unlinked prior to deleting. -
documents.downloadDocServiceDocumentDownload a document.
-
documents.listDocumentLinksList all documents links ordered by created_at descending.
-
documents.listDocumentsList all documents ordered by created_at descending.
-
documents.retrieveDocumentRetrieve a document.
-
documents.updateDocumentUpdate a document.
-
fqdnConnections.createFqdnConnectionCreates a FQDN connection.
-
fqdnConnections.deleteFqdnConnectionDeletes an FQDN connection.
-
fqdnConnections.listFqdnConnectionsReturns a list of your FQDN connections.
-
fqdnConnections.retrieveFqdnConnectionRetrieves the details of an existing FQDN connection.
-
fqdnConnections.updateFqdnConnectionUpdates settings of an existing FQDN connection.
-
fqdNs.createFqdnCreate a new FQDN object.
-
fqdNs.deleteFqdnDelete an FQDN.
-
fqdNs.listFqdnsGet all FQDNs belonging to the user that match the given filters.
-
fqdNs.retrieveFqdnReturn the details regarding a specific FQDN.
-
fqdNs.updateFqdnUpdate the details of a specific FQDN.
-
inboundChannels.listOutboundChannelsReturns the inbound channels for your account. Inbound channels allows you to use Channel Billing for calls to your Telnyx phone numbers. Please check the Telnyx Support Articles section for full information and examples of how to utilize Channel Billing.
-
inboundChannels.updateOutboundChannelsUpdate the inbound channels for the account
-
inventoryLevel.createInventoryCoverageRequestCreates an inventory coverage request. If locality, npa or national_destination_code is used in groupBy, and no region or locality filters are used, the whole paginated set is returned.
-
ipConnections.createIpConnectionCreates an IP connection.
-
ipConnections.deleteIpConnectionDeletes an existing IP connection.
-
ipConnections.listIpConnectionsReturns a list of your IP connections.
-
ipConnections.retrieveIpConnectionRetrieves the details of an existing ip connection.
-
ipConnections.updateIpConnectionUpdates settings of an existing IP connection.
-
iPs.createIpCreate a new IP object.
-
iPs.deleteIpDelete an IP.
-
iPs.listIpsGet all IPs belonging to the user that match the given filters.
-
iPs.retrieveIpReturn the details regarding a specific IP.
-
iPs.updateIpUpdate the details of a specific IP.
-
managedAccounts.createManagedAccountCreate a new managed account owned by the authenticated user. You need to be explictly approved by Telnyx in order to become a manager account.
-
managedAccounts.disableManagedAccountDisables a managed account, forbidding it to use Telnyx services, including sending or receiving phone calls and SMS messages. Ongoing phone calls will not be affected. The managed account and its sub-users will still be able to log in via the mission control portal.
-
managedAccounts.enableManagedAccountEnables a managed account and its sub-users to use Telnyx services.
-
managedAccounts.listManagedAccountsLists the accounts managed by the current user. Users need to be explictly approved by Telnyx in order to become manager accounts.
-
managedAccounts.retrieveManagedAccountRetrieves the details of a single managed account.
-
mdrDetailReports.deleteMdrRequestDelete generated messaging detail report by id
-
mdrDetailReports.getCdrRequestsFetch all previous requests for messaging detail reports. Messaging detail reports are reports for pulling all messaging records.
-
mdrDetailReports.getMdrRequestFetch single messaging detail report by id.
-
mdrDetailReports.getReportsMdrsFetch all Mdr records
-
mdrDetailReports.submitMdrRequestSubmit a request for new messaging detail report. Messaging detail report pulls all raw messaging data according to defined filters.
-
mdrSearchBeta.getMdrMessageBodyFetch Mdr message body
-
mdrSearchBeta.getPaginatedMdrsFetch all Mdr records
-
mdrUsageReports.deleteUsageReportDelete messaging usage report by id
-
mdrUsageReports.getUsageReportFetch a single messaging usage report by id
-
mdrUsageReports.getUsageReportsFetch all messaging usage reports. Usage reports are aggregated messaging data for specified time period and breakdown
-
mdrUsageReports.getUsageReportSync1Generate and fetch messaging usage report synchronously. This endpoint will both generate and fetch the messaging report over a specified time period. No polling is necessary but the response may take up to a couple of minutes.
-
mdrUsageReports.submitUsageReportSubmit request for new new messaging usage report. This endpoint will pull and aggregate messaging data in specified time period.
-
mediaStorageApi.createMediaUpload media file to Telnyx so it can be used with other Telnyx services
-
mediaStorageApi.deleteMediaDeletes a stored media file.
-
mediaStorageApi.downloadMediaDownloads a stored media file.
-
mediaStorageApi.getMediaReturns the information about a stored media file.
-
mediaStorageApi.listMediaReturns a list of stored media files.
-
mediaStorageApi.updateMediaUpdates a stored media file.
-
messages.createLongCodeMessageSend a long code message
-
messages.createMessageSend a message with a Phone Number, Alphanumeric Sender ID, Short Code or Number Pool.
This endpoint allows you to send a message with any messaging resource. Current messaging resources include: long-code, short-code, number-pool, and alphanumeric-sender-id.
-
messages.createNumberPoolMessageSend a message using number pool
-
messages.createShortCodeMessageSend a short code message
-
messages.retrieveMessageNote: This API endpoint can only retrieve messages that are no older than 10 days since their creation. If you require messages older than this, please generate an
-
messagingHostedNumber.createMessagingHostedNumberOrderCreate a messaging hosted number order
-
messagingHostedNumber.deleteMessagingHostedNumberDelete a messaging hosted number
-
messagingHostedNumber.listMessagingHostedNumberOrderList messaging hosted number orders
-
messagingHostedNumber.retrieveMessagingHostedNumberOrderRetrieve a messaging hosted number order
-
messagingHostedNumber.uploadFileMessagingHostedNumberOrderUpload file required for a messaging hosted number order
-
messagingProfiles.createMessagingProfileCreate a messaging profile
-
messagingProfiles.deleteMessagingProfileDelete a messaging profile
-
messagingProfiles.listMessagingProfileMetricsList messaging profile metrics
-
messagingProfiles.listMessagingProfilePhoneNumbersList phone numbers associated with a messaging profile
-
messagingProfiles.listMessagingProfilesList messaging profiles
-
messagingProfiles.listMessagingProfileShortCodesList short codes associated with a messaging profile
-
messagingProfiles.retrieveMessagingProfileRetrieve a messaging profile
-
messagingProfiles.retrieveMessagingProfileDetailedMetricsRetrieve messaging profile metrics
-
messagingProfiles.updateMessagingProfileUpdate a messaging profile
-
messagingUrlDomains.listMessagingUrlDomainsList messaging URL domains
-
mobileOperatorNetworks.mobileOperatorNetworksGetTelnyx has a set of GSM mobile operators partners that are available through our mobile network roaming. This resource is entirely managed by Telnyx and may change over time. That means that this resource won't allow any write operations for it. Still, it's available so it can be used as a support resource that can be related to other resources or become a configuration option.
-
notifications.createNotificationChannelsCreate a notification channel.
-
notifications.createNotificationProfileCreate a notification profile.
-
notifications.createNotificationSettingAdd a notification setting.
-
notifications.deleteNotificationChannelDelete a notification channel.
-
notifications.deleteNotificationProfileDelete a notification profile.
-
notifications.deleteNotificationSettingDelete a notification setting.
-
notifications.findNotificationsEventsReturns a list of your notifications events.
-
notifications.findNotificationsEventsConditionsReturns a list of your notifications events conditions.
-
notifications.findNotificationsProfilesReturns a list of your notifications profiles.
-
notifications.listNotificationChannelsList notification channels.
-
notifications.listNotificationSettingsList notification settings.
-
notifications.retrieveNotificationChannelRetrieve a notification channel.
-
notifications.retrieveNotificationProfileRetrieve a notification profile.
-
notifications.retrieveNotificationSettingRetrieve a notification setting.
-
notifications.updateNotificationChannelUpdate a notification channel.
-
notifications.updateNotificationProfileUpdate a notification profile.
-
numberBackgroundJobs.createPhoneNumbersJobDeletePhoneNumbersCreates a new background job to delete a batch of numbers. At most one thousand numbers can be updated per API call.
-
numberBackgroundJobs.createPhoneNumbersJobUpdateEmergencySettingsCreates a background job to update the emergency settings of a collection of phone numbers. At most one thousand numbers can be updated per API call.
-
numberBackgroundJobs.createPhoneNumbersJobUpdatePhoneNumberCreates a new background job to update a batch of numbers. At most one thousand numbers can be updated per API call. At least one of the updateable fields must be submitted.
-
numberBackgroundJobs.listPhoneNumbersJobsLists the phone numbers jobs
-
numberBackgroundJobs.retrievePhoneNumbersJobRetrieve a phone numbers job
-
numberBlockOrders.createNumberBlockOrderCreates a phone number block order.
-
numberBlockOrders.listNumberBlockOrdersGet a paginated list of number block orders.
-
numberBlockOrders.retrieveNumberBlockOrderGet an existing phone number block order.
-
numberBlocksBackgroundJobs.createPhoneNumberBlocksJobDeletePhoneNumberBlockCreates a new background job to delete all the phone numbers associated with the given block. We will only consider the phone number block as deleted after all phone numbers associated with it are removed, so multiple executions of this job may be necessary in case some of the phone numbers present errors during the deletion process.
-
numberBlocksBackgroundJobs.listPhoneNumberBlocksJobsLists the phone number blocks jobs
-
numberBlocksBackgroundJobs.retrievePhoneNumberBlocksJobRetrieves a phone number blocks job
-
numberConfigurations.deletePhoneNumberDelete a phone number
-
numberConfigurations.enableEmergencyPhoneNumberEnable emergency for a phone number
-
numberConfigurations.listPhoneNumbersList phone numbers
-
numberConfigurations.listPhoneNumbersWithMessagingSettingsList phone numbers with messaging settings
-
numberConfigurations.listPhoneNumbersWithVoiceSettingsList phone numbers with voice settings
-
numberConfigurations.retrievePhoneNumberRetrieve a phone number
-
numberConfigurations.retrievePhoneNumberWithMessagingSettingsRetrieve a phone number with messaging settings
-
numberConfigurations.retrievePhoneNumberWithVoiceSettingsRetrieve a phone number with voice settings
-
numberConfigurations.updatePhoneNumberUpdate a phone number
-
numberConfigurations.updatePhoneNumberWithMessagingSettingsUpdate a phone number with messaging settings
-
numberConfigurations.updatePhoneNumberWithVoiceSettingsUpdate a phone number with voice settings
-
numberLookup.getOperationReturns information about the provided phone number.
-
numberOrderDocuments.createNumberOrderDocumentUpload a phone number order document.
-
numberOrderDocuments.listNumberOrderDocumentsGets a paginated list of number order documents.
-
numberOrderDocuments.retrieveNumberOrderDocumentGets a single number order document.
-
numberOrderDocuments.updateNumberOrderDocumentUpdates a number order document.
-
numberOrders.createCommentCreate a comment
-
numberOrders.createNumberOrderCreates a phone number order.
-
numberOrders.listCommentsRetrieve all comments
-
numberOrders.listNumberOrdersGet a paginated list of number orders.
-
numberOrders.listSubNumberOrdersGet a paginated list of sub number orders.
-
numberOrders.markCommentReadMark a comment as read
-
numberOrders.retrieveCommentRetrieve a comment
-
numberOrders.retrieveNumberOrderGet an existing phone number order.
-
numberOrders.retrieveNumberOrderPhoneNumberGet an existing number order phone number.
-
numberOrders.retrieveNumberOrderPhoneNumbersGet a list of phone numbers associated to orders.
-
numberOrders.retrieveSubNumberOrderGet an existing sub number order.
-
numberOrders.updateNumberOrderUpdates a phone number order.
-
numberOrders.updateNumberOrderPhoneNumberUpdates a number order phone number.
-
numberOrders.updateSubNumberOrderUpdates a sub number order.
-
numberPortout.findPortoutCommentsReturns a list of comments for a portout request.
-
numberPortout.findPortoutRequestReturns the portout request based on the ID provided
-
numberPortout.listPortoutRequestReturns the portout requests according to filters
-
numberPortout.postPortRequestCommentCreates a comment on a portout request.
-
numberPortout.updatePortoutRequestAuthorize or reject portout request
-
numberReservations.createNumberReservationCreates a Phone Number Reservation for multiple numbers.
-
numberReservations.extendNumberReservationExpiryTimeExtends reservation expiry time on all phone numbers.
-
numberReservations.listNumberReservationsGets a paginated list of phone number reservations.
-
numberReservations.retrieveNumberReservationGets a single phone number reservation.
-
numberSearch.listAvailablePhoneNumberBlocksList available phone number blocks
-
numberSearch.listAvailablePhoneNumbersList available phone numbers
-
otaUpdates.otaUpdateGetThis API returns the details of an Over the Air (OTA) update.
-
otaUpdates.otaUpdatesListList OTA updates
-
outboundVoiceProfiles.createOutboundVoiceProfileCreate an outbound voice profile.
-
outboundVoiceProfiles.deleteOutboundVoiceProfileDeletes an existing outbound voice profile.
-
outboundVoiceProfiles.listOutboundVoiceProfilesGet all outbound voice profiles belonging to the user that match the given filters.
-
outboundVoiceProfiles.retrieveOutboundVoiceProfileRetrieves the details of an existing outbound voice profile.
-
outboundVoiceProfiles.updateOutboundVoiceProfileUpdates an existing outbound voice profile.
-
phoneNumberPorting.postPortabilityCheckRuns a portability check, returning the results immediately.
-
portingOrder.activatePortingOrderActivate every numbers of a porting order asynchronously.
-
portingOrder.cancelPortingOrderCancel this porting order
-
portingOrder.confirmPortingOrderConfirm your porting order.
-
portingOrder.createPortingOrderCreates a new porting order object.
-
portingOrder.createPortingOrderCommentCreates a new comment for a porting order.
-
portingOrder.deletePortingOrderRequest the cancellation of a porting order.
-
portingOrder.getPortingOrderRetrieves the details of an existing porting order.
-
portingOrder.getPortingOrderLoaTemplateDownload a porting order loa template
-
portingOrder.getPortingOrdersActivationJobReturns a porting activation job.
-
portingOrder.getPortingPhoneNumbersReturns a list of your porting phone numbers.
-
portingOrder.listPortingOrdersReturns a list of your porting order.
-
portingOrder.listPortingOrdersActivationJobsReturns a list of your porting activation jobs.
-
portingOrder.listPortingOrdersCommentsReturns a list of all comments of a porting order.
-
portingOrder.listPortingOrdersExceptionTypesReturns a list of all possible exception types for a porting order.
-
portingOrder.updatePortingOrderEdits the details of an existing porting order.
Any or all of a porting order’s attributes may be included in the resource object included in a PATCH request.
If a request does not include all of the attributes for a resource, the system will interpret the missing attributes as if they were included with their current values. To explicitly set something to null, it must be included in the request with a null value.
-
privateWirelessGateways.createPrivateWirelessGatewayAsynchronously create a Private Wireless Gateway for SIM cards for a previously created network.
-
privateWirelessGateways.deletePrivateWirelessGatewayDeletes the Private Wireless Gateway.
-
privateWirelessGateways.getPrivateWirelessGatewayRetrieve information about a Private Wireless Gateway.
-
privateWirelessGateways.getPrivateWirelessGatewaysGet all Private Wireless Gateways belonging to the user.
-
programmableFaxApplications.createFaxApplicationCreates a new Fax Application based on the parameters sent in the request. The application name and webhook URL are required. Once created, you can assign phone numbers to your application using the
/phone_numbersendpoint. -
programmableFaxApplications.deleteFaxApplicationPermanently deletes a Fax Application. Deletion may be prevented if the application is in use by phone numbers.
-
programmableFaxApplications.getFaxApplicationReturn the details of an existing Fax Application inside the 'data' attribute of the response.
-
programmableFaxApplications.listFaxApplicationsThis endpoint returns a list of your Fax Applications inside the 'data' attribute of the response. You can adjust which applications are listed by using filters. Fax Applications are used to configure how you send and receive faxes using the Programmable Fax API with Telnyx.
-
programmableFaxApplications.updateFaxApplicationUpdates settings of an existing Fax Application based on the parameters of the request.
-
programmableFaxCommands.deleteFaxDelete a fax
-
programmableFaxCommands.listFaxes -
programmableFaxCommands.refreshFaxRefreshes the inbound fax's media_url when it has expired
-
programmableFaxCommands.sendFax -
programmableFaxCommands.viewFaxView a fax
-
queueCommands.listQueueCallsRetrieve the list of calls in an existing queue
-
queueCommands.retrieveCallFromQueueRetrieve an existing call from an existing queue
-
queueCommands.retrieveCallQueueRetrieve an existing call queue
-
recordingsCommands.listRecordingsLists recordings for the authenticated user
-
recordingsCommands.retrieveRecordingRetrieve a recording from the authenticated user's recordings
-
reporting.createWdrReportAsynchronously create a report containing Wireless Detail Records (WDRs) for the SIM cards that consumed wireless data in the given time period.
-
reporting.deleteWdrReportDeletes one specific WDR report
-
reporting.getWdrReportReturns one specific WDR report
-
reporting.getWdrReportsReturns the WDR Reports that match the given parameters.
-
reports.createLedgerBillingGroupReportCreate a ledger billing group report
-
reports.retrieveLedgerBillingGroupReportRetrieve a ledger billing group report
-
requirements.docReqsRetrieveDocumentRequirementsRetrieve a document requirement record
-
requirements.listRequirementsList all requirements with filtering, sorting, and pagination
-
requirementTypes.docReqsListRequirementTypesList all requirement types ordered by created_at descending
-
requirementTypes.docReqsRetrieveRequirementTypeRetrieve a requirement type by id
-
roomParticipants.listRoomParticipants -
roomParticipants.viewRoomParticipantView a room participant.
-
rooms.createRoomSynchronously create a Room.
-
rooms.deleteRoomSynchronously delete a Room. Participants from that room will be kicked out, they won't be able to join that room anymore, and you won't be charged anymore for that room.
-
rooms.listRooms -
rooms.nestedListRoomSessions -
rooms.viewRoomView a room.
-
roomsClientTokens.createRoomClientTokenSynchronously create an Client Token to join a Room. Client Token is necessary to join a Telnyx Room. Client Token will expire after
token_ttl_secs, a Refresh Token is also provided to refresh a Client Token, the Refresh Token expires afterrefresh_token_ttl_secs. -
roomsClientTokens.refreshRoomClientTokenSynchronously refresh an Client Token to join a Room. Client Token is necessary to join a Telnyx Room. Client Token will expire after
token_ttl_secs. -
roomSessions.listRoomSessions -
roomSessions.nestedListRoomParticipants -
roomSessions.viewRoomSessionView a room session.
-
shortCodes.listShortCodesList short codes
-
shortCodes.retrieveShortCodeRetrieve a short code
-
shortCodes.updateShortCodeUpdate the settings for a specific short code. To unbind a short code from a profile, set the
messaging_profile_idtonullor an empty string. -
simCardGroupActions.simCardGroupActionGetThis API allows fetching detailed information about a SIM card group action resource to make follow-ups in an existing asynchronous operation.
-
simCardGroupActions.simCardGroupActionsGetThis API allows listing a paginated collection a SIM card group actions. It allows to explore a collection of existing asynchronous operation using specific filters.
-
simCardGroups.removeSimCardGroupPrivateWirelessGatewayThis action will asynchronously remove an existing Private Wireless Gateway definition from a SIM card group. Completing this operation defines that all SIM cards in the SIM card group will get their traffic handled by Telnyx's default mobile network configuration.
-
simCardGroups.setSimCardGroupPrivateWirelessGatewayThis action will asynchronously assign a provisioned Private Wireless Gateway to the SIM card group. Completing this operation defines that all SIM cards in the SIM card group will get their traffic controlled by the associated Private Wireless Gateway. This operation will also imply that new SIM cards assigned to a group will inherit its network definitions. If it's moved to a different group that doesn't have a Private Wireless Gateway, it'll use Telnyx's default mobile network configuration.
-
simCardGroups.simCardGroupDeletePermanently deletes a SIM card group
-
simCardGroups.simCardGroupsGetReturns the details regarding a specific SIM card group
-
simCardGroups.simCardGroupsGetAllGet all SIM card groups belonging to the user that match the given filters.
-
simCardGroups.simCardGroupsPostCreates a new SIM card group object
-
simCardGroups.simCardGroupUpdateUpdates a SIM card group
-
simCardOrders.simCardOrderGetGet a single SIM card order by its ID.
-
simCardOrders.simCardOrdersGetGet all SIM card orders according to filters.
-
simCardOrders.simCardOrdersPostCreates a new order for SIM cards.
-
simCardOrders.simCardOrdersPreviewPreview SIM card order purchases.
-
simCards.bulkSimCardNetworkPreferencesThis API allows dispatching the same operation described for the PUT sim_cards/:sim_card_id/network_preferences API for multiple SIM cards at once.
Although, a SIM card network preference may fail individually under any validation triggered as a consequence of its state. For example, a SIM can't have an in-progress OTA update for applying a Network Preference, so they'll fail when requested in this API. In that scenario, the specific error will be present in the response along with the successful definitions in the "errors" response node. -
simCards.postValidateRegistrationCodesIt validates whether SIM card registration codes are valid or not.
-
simCards.simCardDeleteThe SIM card will be decommissioned, removed from your account and you will stop being charged.
The SIM card won't be able to connect to the network after the deletion is completed, thus making it impossible to consume data.
Transitioning to the disabled state may take a period of time.
Until the transition is completed, the SIM card status will be disablingdisabling.
In order to re-enable the SIM card, you will need to re-register it. -
simCards.simCardDisableThe SIM card won't be able to connect to the network after the disabling is completed, thus making it impossible to consume data.
Transitioning to the disabled state may take a period of time.
Until the transition is completed, the SIM card status will bedisabling. -
simCards.simCardEnableThe SIM card will be able to connect to the network once the enabling is complete, thus making it possible to consume data.
To enable a SIM card, it must be associated with SIM card group.
Transitioning to the enabled state may take a period of time. Until the transition is completed, the SIM card status will beenabling. -
simCards.simCardGetReturns the details regarding a specific SIM card.
-
simCards.simCardNetworkPreferencesDeleteThis API asynchronously removes the custom-defined network preferences settings. After this operation is done the Telnyx default settings, the same applied for an unaltered SIM card, will be in place.
-
simCards.simCardNetworkPreferencesGetIt returns the network preferences currently applied in the SIM card.
-
simCards.simCardNetworkPreferencesPutThis API allows setting or updating a SIM card network preference.
Every SIM card has default network preferences defined on Telnyx. These preferences will determine how a SIMCard will connect to the network by considering a list of preferable operators.
There can be multiple scenarios where an operator can be preferred over another, for example, when a specific mobile operator can provide better network latency or better pricing. -
simCards.simCardPublicIpDeleteThis API asynchronously removes an existing public IP from a SIM card.
-
simCards.simCardPublicIpGetIt returns the public IP requested for a SIM card.
-
simCards.simCardPublicIpPostThis API will asynchronously map a random public IP to a SIM card, making it reachable on the public internet.
The request will return the resource as "provisioning" right away, and it'll eventually get "provisioned", meaning it completed the setup.
Setting up a public IP will generate charges, and we won't be able to provide the IP if the account doesn't have a balance. In that case, this operation will succeed, but its status will change to failed eventually, and the resource will be updated with the associated status. The IP resource will need to be deleted and re-created with our DELETE and POST APIs in this scenario. -
simCards.simCardRegisterRegister the SIM cards associated with the provided registration codes to the current user's account.
Ifsim_card_group_idis provided, the SIM cards will be associated with that group. Otherwise, the default group for the current user will be used. -
simCards.simCardSetStandbyThe SIM card will be able to connect to the network once the process to set it to standby has been completed, thus making it possible to consume data.
To set a SIM card to standby, it must be associated with SIM card group.
Transitioning to the standby state may take a period of time. Until the transition is completed, the SIM card status will besetting_standby. -
simCards.simCardsGetGet all SIM cards belonging to the user that match the given filters.
-
simCards.simCardUpdateUpdates a SIM card's group and tags
-
simCards.wirelessConnectivityLogsGetThis API allows listing a paginated collection of Wireless Connectivity Logs associated with a SIM Card, for troubleshooting purposes.
-
teXmlApplications.createTexmlApplicationCreates a TeXML Application.
-
teXmlApplications.deleteTexmlApplicationDeletes a TeXML Application.
-
teXmlApplications.findTexmlApplicationsReturns a list of your TeXML Applications.
-
teXmlApplications.getTexmlApplicationRetrieves the details of an existing TeXML Application.
-
teXmlApplications.updateTexmlApplicationUpdates settings of an existing TeXML Application.
-
verify.createVerificationCallTrigger a Call verification
-
verify.createVerificationFlashcallTrigger a Flash call verification
-
verify.createVerificationPsD2Trigger a PSD2 verification
-
verify.createVerificationSmsTrigger a SMS verification
-
verify.createVerificationWhatsappTrigger a Whatsapp verification
-
verify.createVerifyProfileCreates a new Verify profile to associate verifications with.
-
verify.deleteVerifyProfileDelete a Verify profile
-
verify.listVerificationsList verifications by phone number
-
verify.listVerifyProfilesGets a paginated list of Verify profiles.
-
verify.retrieveVerificationRetrieve a verification
-
verify.retrieveVerifyProfileGets a single Verify profile.
-
verify.updateVerifyProfileUpdate a Verify profile
-
verify.verifyVerificationCodeSubmit a verification code
-
wdrDetailReports.getPaginatedWdrsFetch all Wdr records
-
webhooks.getWebhookDeliveriesLists webhook_deliveries for the authenticated user
-
webhooks.getWebhookDeliveryProvides webhook_delivery debug data, such as timestamps, delivery status and attempts.
-
whatsAppContacts.checkContactVerify that a phone number belongs to a valid WhatsApp account. You must ensure that the status is valid before you can message a user, and you'll get their WhatsApp ID to use for messaging.
-
whatsAppDetailReports.deleteRequestDelete generated WhatsApp detail report by id
-
whatsAppDetailReports.getRequestFetch single whatsapp detail report by id.
-
whatsAppDetailReports.getRequestsFetch all previous requests for WhatsApp detail reports. WhatsApp detail reports are reports for pulling all WhatsApp records.
-
whatsAppDetailReports.submitRequestSubmit a request for new WhatsApp detail report. WhatsApp detail report pulls all raw WhatsApp data according to defined filters.
-
whatsAppMedia.deleteWhatsappMediaWhatsappUserIdMediaIdDelete uploaded media.
-
whatsAppMedia.getWhatsappMediaWhatsappUserIdMediaIdRetrieve uploaded media. Media is typically available for 30 days after uploading.
-
whatsAppMedia.uploadMediaUpload media. Accepted media types include image/jpeg, image/png, video/mp4, video/3gpp, audio/aac, audio/ogg.
-
whatsAppMessages.markMessageAsReadMark a message as read.
-
whatsAppMessages.sendMessageSend text messages, media/documents, and message templates to your customers.
-
whatsAppUsageAggregations.getUsageAggregationsSyncGenerate and fetch WhatsApp usage aggregations synchronously. This endpoint will both generate and fetch the WhatsApp aggregations over a specified time period.
-
whatsAppUsers.getUserRetrieve WhatsApp user information.
-
whatsAppUsers.updateWhatsAppWebhookUpdate webhook URL used for a given WhatsApp user.
-
openapi.previewSpecPreview an OpenAPI document before adding it as a source
-
openapi.addSourceAdd an OpenAPI source and register its operations as tools