Message-ID: <106697717.15863.1614958497159.JavaMail.confluence@wiki> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_15862_1740528023.1614958497159" ------=_Part_15862_1740528023.1614958497159 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Get the availability of a given reply keyword.
A reply keyword allo=
ws you receive incoming text messages to your account by providing people w=
ith a keyword, which they text to the short code 88802, e.g. text 'INFO' to=
88802 to see this in action.
Hashtable<String, String> result =3D tmClient.getKeyword("= gold"); System.out.println("The 'gold' keyword is available (" + result.g= et("available") + "), recycled ("+ result.get("rec= ycle") + ")");=20
Arguments:
String keyword:
The keyword to check is availability
Returns:
an Hashtable with two keys: 'available' and 'recycle' e.g. result.get(&q= uot;available")
Hastable key | Value |
---|---|
available | Whether this keyword is currently available from= Text Marketer. |
recycle | Whether this keyword has been recycled (previous= ly used). |
Specific error codes:
None.
error code 400 is reported if the keyword name is not specified. See General error codes.