SITCA A.P.I. Documentation
Version 1.1.0
Choose from the menu to review A.P.I. details
Methods
There are six (6) functions/methods that are possible through the SITCA AdvancedSMS API. They are:
-
BALANCE
Use this function to determine your real-time balance which will be expressed in XCD (Eastern Caribbean Currency). Click above for more details -
CANCEL
Use this function to cancel an existing broadcast. You will need a reference-code to identify which broadcast to cancel. Click above for more details. -
EMPTYPHONEBOOK
Use this function to delete all telephone numbers associated with your account. Click above for more details. -
HISTORY
Use this function to get historic data of a broadcast. This data will be in the form of a Microsoft Excel file accessible via a link that is returned in the request. Click above for more information. -
SCHEDULE
Use this function to schedule broadcasts. Include the numbers you want to broadcast to and your message. Click above for more details -
STATUS
Use this function to determine summary information about a broadcast, such as when it started/ended as well as how many messages have been sent and how many are remaining. Click above for more details.
Balance
Title |
Get real-time balance |
---|---|
URL |
|
Method |
|
Data Params |
Example: |
Example:
|
|
Success Response | |
Content:
|
|
Possible Error Responses | |
Content: Bad Data, data supplied is invalid
Content: System Error
|
|
Sample Call | |
|
|
Notes |
In the event of a System Error, ensure you include in your support call/email the reference-code that was returned |
History
Title |
Get the history of a broadcast as it relates to delivery status |
---|---|
URL |
|
Method |
|
Data Params |
|
Example:
|
|
Success Response |
|
Content:
|
|
Possible Error Responses |
|
Content: Bad Data, data supplied is invalid
Content: System Error
|
|
Sample Call |
|
|
|
Notes |
In the event of a System Error, ensure you include in your support call/email the reference-code that
was returned |
Empty Phone Book
Title |
Delete all phone book entries from phone book |
---|---|
URL |
|
Method |
|
Data Params |
Example: |
Example:
|
|
Success Response | |
Content: Content:
|
|
Possible Error Response(s) | |
Content: Bad Data, data supplied is invalid
Content: System Error
|
|
Sample Call | |
|
|
Notes |
In the event of a System Error, ensure you include in your support call/email the reference-code that was returned |
Status
Title |
Get the status of an already scheduled broadcast |
---|---|
URL |
|
Method |
|
Data Params |
|
Example:
|
|
Success Response |
|
Content:
|
|
Possible Error Responses |
|
Content: Bad Data, data supplied is invalid
Content: System Error
|
|
Sample Call |
|
|
|
Notes |
In the event of a System Error, ensure you include in your support call/email the reference-code that was returned |
Cancel Broadcast
Title |
Cancel a scheduled or already running broadcast |
---|---|
URL |
|
Method |
|
Data Params |
|
Example:
|
|
Success Response | |
Content:
|
|
Possible Error Responses | |
Content: Bad Data, data supplied is invalid
Content: System Error
|
|
Sample Call | |
|
|
Notes |
In the event of a System Error, ensure you include in your support call/email the reference-code that was returned. Additionally, this immediately cancels the broadcast. You may want to get status in terms of how many messages were sent and remaining to be sent prior to issuing this command. |
Schedule a broadcast
Title |
Schedule a broadcast |
---|---|
URL |
|
Method |
POST |
Data Params |
|
Example: |
|
|
|
Success Response |
|
Content:
|
|
Possible Error Responses |
|
Content: Bad Data, data supplied is invalid
Content: System Error
Content: No recipients specified in request
Content: Invalid date specified
Content: Invalid credentials
|
|
Sample Call |
|
|
|
Notes |
|
In the event of a System Error, ensure you include in your support call/email the reference-code that was returned. If the parameter expectReply is set to 1 then the messageFrom parameter will be ignored and replaced with a random SITCA number. This enables the recipient to reply to the message sent. Replies will be saved in your history. History can be downloaded manually. Support for history download via the API will be implemented in a future update. |