Welcome to Opt It Mobile

Opt It Mobile is the industry-leading text message marketing application that helps you engage, build brand awareness and create a direct dialogue with your customers.

Learn more at Opt It. If you have an account, please login.

Try Opt It Mobile. Start your 30 day free trial.

Help: Opt It Mobile

Developers & API: Members

Get a list of members information

Get a list of members information for the account.

URL:

http://api.optitmobile.com/1/members.{format}

Format:

xml, json

HTTP Method:

GET

Parameters:

  • phone - mobile phone number of the member with country code - 1 for U.S. phone numbers. Example: 12225551212
  • first_name - first name of the member
  • last_name - last name of the member
  • zip - zip code or postal code of the member
  • gender - gender of the member (male or female)

XML Response

<?xml version="1.0" encoding="UTF-8"?>
<members type="array" current_page="1" total_pages="1">
    <member>
        <id>123456</id>
        <phone>12225551212</phone>
        <first_name>Jim</first_name>
        <last_name>Smith</last_name>
        <address1>123 Main Street</address1>
        <address2>Suite 400 </address2>
        <city>Chicago</city>
        <state>IL</state>
        <zip>60654</zip>
        <gender>male</gender>
        <birth_date>1975-10-15</birth_date>
        <email_address>api@optit.com</email_address>
        <carrier_id>123</carrier_id>
        <carrier_name>verizon wireless</carrier_name>
        <mobile_status>active<mobile_status>
        <created_at>06/10/04 10:40 AM Central Standard Time</created_at>
        <url>http://api.optitmobile.com/1/members/{phone}.{format}</url>
    </member>
    <member>
        .......
    </member>
</members>


Get an individual member

Get an individual members information.

URL:

http://api.optitmobile.com/1/members/{phone}.{format}

Format:

xml, json

HTTP Method:

GET

XML Response

<?xml version="1.0" encoding="UTF-8"?>
    <member>
        <id>123456</id>
        <phone>12225551212</phone>
        <first_name>Jim</first_name>
        <last_name>Smith</last_name>
        <address1>123 Main Street</address1>
        <address2>Suite 400 </address2>
        <city>Chicago</city>
        <state>IL</state>
        <zip>60654</zip>
        <gender>male</gender>
        <birth_date>1975-10-15</birth_date>
        <email_address>api@optit.com</email_address>
        <carrier_id>123</carrier_id>
        <carrier_name>verizon wireless</carrier_name>
        <mobile_status>active<mobile_status>
        <created_at>06/10/04 10:40 AM Central Standard Time</created_at>
    </member>