CallerIDs
Methods
ActivateCallerID
Activates the CallerID by the verification code.
To call this method, make sure your service account has one of the following roles:
Parameters
callerid_id:
number
The id of the callerID object
callerid_number:
string
The callerID number that can be used instead of callerid_id
verification_code:
string
The verification code, see the VerifyCallerID function
Returns
result:
number
1
AddCallerID
Adds a new caller ID. Caller ID is the phone that is displayed to the called user. This number can be used for call back.
To call this method, make sure your service account has one of the following roles:
Parameters
callerid_number:
string
The callerID number in E.164 format
Returns
callerid_id:
number
The id of the callerID object
result:
number
1
DelCallerID
Deletes the CallerID. Note: you cannot delete a CID permanently (the antispam defence).
To call this method, make sure your service account has one of the following roles:
Parameters
callerid_id:
number
The id of the callerID object
callerid_number:
string
The callerID number that can be used instead of callerid_id
Returns
result:
number
1
GetCallerIDs
Gets the account callerIDs.
To call this method, make sure your service account has one of the following roles:
Parameters
active:
boolean
OptionalWhether the account is active to filter
callerid_id:
number
OptionalThe id of the callerID object to filter
callerid_number:
string
OptionalThe phone number to filter
count:
number
OptionalDefaults on:Â Â 20The max returning record count
offset:
number
OptionalDefaults on:Â Â 0The first N records are skipped in the output
order_by:
string
OptionalThe following values are available: 'caller_number' (ascent order), 'verified_until' (ascent order)
Returns
count:
number
The returned record count
result:
total_count:
number
The total found record count
VerifyCallerID
Gets a verification code via phone call to the callerid_number.
To call this method, make sure your service account has one of the following roles:
Parameters
callerid_id:
number
The id of the callerID object
callerid_number:
string
The callerID number that can be used instead of callerid_id
Returns
result:
number
1