Get the list of keywords for the authenticated user.
http://api.optitmobile.com/1/keywords.{format}
xml, json
GET
<?xml version="1.0" encoding="UTF-8"?>
<keywords type="array" current_page="1" total_pages="1" >
<keyword>
<id>123456</id>
<internal_name>KEYORD1</internal_name>
<keyword_name>KEYORD1</keyword_name>
<short_code>46786</short_code>
<status>active</status>
<created_at >06/10/04 10:40 AM Central Standard Time</created_at>
<keyword_type >subscription</ keyword_type>
<mobile_subscription_count>1233</ mobile_subscription_count>
<url>http://api.optitmobile.com/1/keywords/{keyword_id}.{format}</url>
<url_subscriptions>http://api.optitmobile.com/1/keywords/{keyword_id}/subscriptions.{format}
</url_subscriptions>
<url_interests>http://api.optitmobile.com/1/keywords/{keyword_id}/interests.{format}
</url_interests>
</keyword>
<keyword>
.........
</keyword>
</keywords>
Get an individual keyword
http://api.optitmobile.com/1/keywords/{keyword_id}.{format}
xml, json
GET
<?xml version="1.0" encoding="UTF-8"?>
<keyword>
<id>123456</id>
<internal_name>KEYORD1</internal_name>
<keyword_name>KEYORD1</keyword_name>
<short_code>46786</short_code>
<status>active</status>
<created_at >06/10/04 10:40 AM Central Standard Time</created_at>
<keyword_type >subscription</ keyword_type>
<mobile_subscription_count>1233</ mobile_subscription_count>
<url_subscriptions>http://api.optitmobile.com/1/keywords/{keyword_id}/subscriptions.{format}
</url_subscriptions>
<url_interests>http://api.optitmobile.com/1/keywords/{keyword_id}/interests.{format}
</url_interests>
<billing_type>per-message</billing_type>
<interest_id>56473</interest_id>
<welcome_msg_type>semi-custom</welcome_msg_type>
<welcome_msg>Thanks for joining our Mobile VIP Club. Show this to receive 10% off your bill.</welcome_msg>
<web_form_verification_msg_type>semi-custom</web_form_verification_msg_type>
<web_form_verification_msg>Thanks for your interest in our Mobile VIP Club. Please verify your phone number.
</web_form_verification_msg>
<already_subscribed_msg_type>custom</already_subscribed_msg_type>
<already_subscribed_msg>You already joined our VIP Mobile Club. Stay tuned for the latest updates and offers.
</already_subscribed_msg>
</keyword>
Checks to see if a keyword is already being used on the short code in your account. If it does not already exist, you will be allowed to add it to your account.
http://api.optitmobile.com/1/keywords/exists.{format}
xml, json
GET
<?xml version="1.0" encoding="UTF-8"?>
<keyword>
<exists>false</exists>
<keyword_name>KEYORD1</keyword_name>
<short_code>46786</short_code>
</keyword>
Adds a new keyword for the short code assigned to your account. This will default to a Subscription keyword type and will use the standard Opt It messaging unless other message parameters are included in your POST. Your account will be billed based on your account plan and the billing type you submit.
http://api.optitmobile.com/1/keywords.{format}
xml, json
POST
<?xml version="1.0" encoding="UTF-8"?>
<keyword>
<id>123456</id>
<internal_name>KEYORD1</internal_name>
<keyword_name>KEYORD1</keyword_name>
<short_code>46786</short_code>
<status>active</status>
<created_at >06/10/04 10:40 AM Central Standard Time</created_at>
<keyword_type >subscription</ keyword_type>
<mobile_subscription_count>1233</ mobile_subscription_count>
<url_subscriptions>http://api.optitmobile.com/1/keywords/{keyword_id}/subscriptions.{format}
</url_subscriptions>
<url_interests>http://api.optitmobile.com/1/keywords/{keyword_id}/interests.{format}
</url_interests>
<billing_type>per-message</billing_type>
<interest_id>56473</interest_id>
<welcome_msg_type>semi-custom</welcome_msg_type>
<welcome_msg>Thanks for joining our Mobile VIP Club. Show this to receive 10% off your bill.</welcome_msg>
<web_form_verification_msg_type>semi-custom</web_form_verification_msg_type>
<web_form_verification_msg>Thanks for your interest in our Mobile VIP Club. Please verify your phone number.
</web_form_verification_msg>
<already_subscribed_msg_type>custom</already_subscribed_msg_type>
<already_subscribed_msg>You already joined our VIP Mobile Club. Stay tuned for the latest updates and offers.
</already_subscribed_msg>
</keyword>
Updates an existing keyword. All parameters are optional, but you must supply the message type in order to update the contents of a message.
http://api.optitmobile.com/1/keywords/{keyword_id}.{format}
xml, json
PUT
<?xml version="1.0" encoding="UTF-8"?>
<keyword>
<id>123456</id>
<internal_name>KEYORD1</internal_name>
<keyword_name>KEYORD1</keyword_name>
<short_code>46786</short_code>
<status>active</status>
<created_at >06/10/04 10:40 AM Central Standard Time</created_at>
<keyword_type >subscription</ keyword_type>
<mobile_subscription_count>1233</ mobile_subscription_count>
<url_subscriptions>http://api.optitmobile.com/1/keywords/{keyword_id}/subscriptions.{format}
</url_subscriptions>
<url_interests>http://api.optitmobile.com/1/keywords/{keyword_id}/interests.{format}
</url_interests>
<billing_type>per-message</billing_type>
<interest_id>56473</interest_id>
<welcome_msg_type>semi-custom</welcome_msg_type>
<welcome_msg>Thanks for joining our Mobile VIP Club. Show this to receive 10% off your bill.</welcome_msg>
<web_form_verification_msg_type>semi-custom</web_form_verification_msg_type>
<web_form_verification_msg>Thanks for your interest in our Mobile VIP Club. Please verify your phone number.
</web_form_verification_msg>
<already_subscribed_msg_type>custom</already_subscribed_msg_type>
<already_subscribed_msg>You already joined our VIP Mobile Club. Stay tuned for the latest updates and offers.
</already_subscribed_msg>
</keyword>
For additional support, visit our support page.
©2005-2011 Opt It, Inc. All rights reserved.