Class TextMessagingService
public static
String
|
|
public static
String
|
#
getBalance( type $key, type $secret )
Returns the cash balance on your account in your registered currency |
public static
String
|
|
public static
String
|
#
getAllGroupContacts( type $key, type $secret, type $groupName )
Returns all the contacts in a given group. It returns them with contact name and number. |
public static
String
|
#
deleteGroup( type $key, type $secret, type $groupName )
Deletes a group on your account on SMSJuice |
public static
String
|
#
deleteContactFromGroup( type $key, type $secret, type $groupName, type $contactNumber )
Delete a contact from a contacts group |
public static
String
|
#
sendMessage(
Send a message to the intended recipients through the SMSJuice HTTP API |
public static
String
|
#
getMessageReport( type $key, type $secret, type $messageId )
Returns a message report detailing the sending times, delivery times, and delivery status of a message |
public static
String
|
#
addGroup(
Add a ne contacts group onto one's SMSJuice account, just as one would if they were to login on our web interface |
public static
String
|
#
addContactToGroup(
Add contacts (names & numbers OR just a numbers, or both) to an existing group on your SMSJuice account |
string |
API_URL
|
#
"https://api.smsjuice.com"
|
string |
SEND_URI
|
#
"/send"
|
string |
GROUPS_URI
|
#
"/groups"
|
string |
CONTACTS_URI
|
#
"/groups/contacts"
|
string |
GET_ALL_GROUPS_URI
|
#
"/groups/all"
|
string |
GET_ALL_GROUP_CONTACTS_URI
|
#
"/groups/contacts/all"
|
string |
GET_BALANCE
|
#
"/balance"
|
string |
GET_CREDIT
|
#
"/credit"
|
string |
GET_MESSAGE_REPORT
|
#
"/query"
|