Message-ID: <1793394542.15747.1614957964167.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15746_1623465876.1614957964167" ------=_Part_15746_1623465876.1614957964167 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html Quick Start Reference Sheet

Quick Start Reference Sheet

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

Here's a summary of the different calls available, if you are building y= our own client.

=20
=20
=20
=20
=20
=20

 

=20
=20
=20
=20
Resource Method Action
sms&= nbsp; POST

Send an SMS

sm= s/<scheduledID> DELETE

Delete a previously scheduled SMS

a= ccount  GET  Retrieve account details on your own account
a= ccount/<account ID>  GET 

Retrieve account details on your own account = or an account you created

a= ccount/sub  PUT

Create a sub-account

= account POST Modify account details
c= redits GET

Get the number of credits on the account

<= /td>
= credits POST

Transfer a number of credits to another accou= nt

deliveryReports GET

Get a list of delivery reports available

<= /td>
deliveryReport/<name> GET 1

Get the contents of a delivery report whose n= ame is '<name>'. Using a name of 'all' retrieves all reports.

deliveryReport/<name>/<from>/<to> GET Same as 1 above, but for specific dates/times
deliveryReport/<name>/custom/<tag>  GET 2 

Same as 1 above, but restricts results to a s= pecific custom string tag (specified when you send the SMS)

deliveryReport/<name>/custom/<tag>
/<from>/= <to>

GET Same as 2 above, but for specific dates/times
= keywords/<keyword>  GET

Check the availability of the keyword '<ke= yword>'

gr= oups  GET

Get a list of the available send groups

gr= oup/<group name or ID>  POST Add number(s) to a given send group
gro= up/<group name or ID> PUT

Create a group with the given name

gro= up/<group name or ID>  GET Get group details including numbers in a group
=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

The API is accessed at the following URL (and alternatively withou= t SSL):

=20
=20
=20
=20
=20
=20
=20

https://api.textmarketer.co.uk/se= rvices/rest/<resource (see table)>

=20
=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

e.g., the credits resource can be accessed via the URL:

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20
=20

https://ap= i.textmarketer.co.uk/services/rest/credits

=20
=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

 There is also a sand= box service available via the URL (not available via SSL/https):

=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20
=20

http://sandbox.textmarketer.biz/s= ervices/rest/

=20
=20
=20
=20
=20

 

=20
=20
=20
=20
=20
=20

See more about here.

Authentication is handled by passing your API username/password as GET/P= OST arguments, or you can use HTTP Basic= Authentication.

See more on Authentication.

=20
=20
=20
=20 =20
=20
=20
You must know
=20
=20
=20
=20

 

 

=20
=20
=20
------=_Part_15746_1623465876.1614957964167--