TTNC API Functions index

SessionLogin

Authenticate with the API in order to perform requests on your account. Returns a SessionId which can be used to authenticate future requests for a period of 30 minutes, primarily used for storing your basket.

GetUserDetails

Retrieve details of the user account associated with the current API session login.

GetCards

List all saved cards on the account associated with the current API session. The TokenId can be passed to Order::PlaceOrder in order to pay for items.

AddCard

Adds a saved card to the account associated with the current API session. Returns a TokenId for use with Order::PlaceOrder.

GetNumbers

Retrieve a list of numbers in the account associated with the current API session.

Suspend

Suspend a number from receiving calls. This will turn the number off on the switch, but keep the number allocated to your account.

UnSuspend

Unsuspend a number so that it will return to its previous state.

DeleteNumber

Removes a specified number from your account. This will prevent the number from receiving calls, and remove any billing commitment from your account associated to this number.

GetNumberConfig

Retrieve configuration data for a specific number.

GetCallRates

Retrieve current call rates for the number types found in the account associated with the current API session.

SetDestination

Set up a new destination for the requested number.

SetHuntDelay

Set the duration between destinations for the requested number.

SetAlias

Change or set up the Alias (nickname) of a TTNC number. Use an Alias to quickly identify numbers.

EnableWhisper

Set up Call Whisper on a particular number.

DisableWhisper

Turn off Call Whisper on the specified number.

EnableScreeningCLI

Turn on Call Screening (CLI mode) on the specified number.

DisableScreeningCLI

Turn off Call Screening (CLI mode) on the specified number.

EnableScreeningDID

Turn on Call Screening (Dialled number mode) on the specified number.

DisableScreeningDID

Turn off Call Screening (Dialled Number mode) on the specified number.

EnableGreeting

Turn on Call Greeting on the specified number.

DisableGreeting

Turn off Call Greeting on the specified number.

EnableRecording

Turn on Call Recording on the specified number. This will play a recording disclaimer to the caller, unless a Call Greeting has been set.

DisableRecording

Turn off Call Recording on the specified number.

EnableNumberPresentation

Turn on Dialled Number Presentation on the specified number.

DisableNumberPresentation

Turn off Dialled Number Presentation on the specified number.

EnableUKRingtone

Turn on UK Ringtone on the specified number.

DisableUKRingtone

Turn off UK Ringtone on the specified number.

EnableRouteToAll

Turn on Forward to All on the specified number.

DisableRouteToAll

Turn on Voicemail on the specified number.

SetVoicemailDestination

Set the Voicemail destination of a number.

EnableVoicemail

Turn on Voicemail on the specified number.

DisableVoicemail

Turn off Voicemail on the specified number.

EnablePayPhoneAccess

Turn on Payphone Access on the specified freephone number. This function can only be used on freephone numbers (starting 080). Calls from BT public payphones incur a surcharge. Enabling Payphone access will allow these calls to come in and connect.

DisablePayPhoneAccess

Turn off Payphone Access on the specified freephone number. This function can only be used on freephone numbers (starting 080). Calls from BT public payphones incur a surcharge. Disabling Payphone access will prevent these calls from coming in and connecting.

SetMissedCallDestination

Turn on Missed Call Alert for the specified number.

SetMissedCallDestination - Disable

Turn off Missed Call Alert for the specified number.

GetMissedCallDestination

Get the current settings for Missed Call Alert for the specified number.

EnableCallQueueing

Turn on Call Queuing for the specified number.

DisableCallQueueing

Turn off Call Queueing for the specified number.

NewBlockingRule

Add a new Call Blocking rule from a number.

RemoveBlockingRule

Remove an existing Call Blocking rule from a number.

GetCallBlockingRules

Get a list of existing Call Blocking rules from a number.

AddTag

Add a tag to a number for descriptive and filtering purposes.

RemoveTag

Remove a specific tag form a number.

GetTags

Get a list of tags which are on a specific number.

GetTotals

Retrieve the summarised call data totals for number(s) in the account associated with the current API session.

GetCDRs

Retrieve call data records for the account associated with the current API session.

GetCDR (Single)

Retrieve a single call data record from a CDRUID or CDRRef.

Downloading CDRs

Download CDRs from the API for storage and processing locally.

Search

Search for numbers available to purchase.

ListRanges

Retrieve a list of all available ranges.

Allocate a Number

How to buy a number.

Make

Used to make a call. Creates two channels and bridges them together. This can be used to present your TTNC number as the CLI on the callee's phone.

GetAllCounts

Retrieve summarised totals of notifications for the account associated with the current API session.

AddToBasket

Adds an item to your basket.

ViewBasket

Display items currently in your basket.

RemoveFromBasket

Removes a specified item from your basket.

PlaceOrder

Places an order for the items in the current basket.

RecordingsList

Retrieve a list of available system recordings on the account associated to the current API session. These recordings can be used when setting up Call Services which require voice recordings to be played to the caller or receiver.

EncodeAndGet (Voicemail)

Download a specified Voicemail message. The voicemails are WAVE audio, Microsoft PCM, 16 bit, mono and 8000 Hz. They are encapsulated XML CDATA and are base64 encoded.

EncodeAndGet (Fax)

Download a Fax message. The faxes are saved either TIFF or PDF depending on the number configuration. They are encapsulated XML CDATA and are base64 encoded.

EncodeAndGet (Call Recording)

Download a Call Recording. The recordings are WAVE audio, Microsoft PCM, 16 bit, mono and 8000 Hz. They are encapsulated XML CDATA and are base64 encoded.

SendSMS

This function enables you to send SMS messages using the TTNC network. You can display any of your TTNC numbers as the sender of the SMS.

NoveroVKeys

This allows you to obtain a list of the myTTNC Applications set up on your account and their associated information.