ohdontforget.com api specification

ohdontforget.com provides an XMLRPC server for third parties to integrate into their applications. An XML-RPC message is an HTTP-POST request. The body of the request is in XML. A procedure executes on the server and the value it returns is also formatted in XML.

If you are interested in obtaining an API key, please email: ohdontforget@gmail.com

URL for XMLRPC Requests

http://api.ohdontforget.com/RPC2

RPC Method: send

parametertypedefinition
api_keystringThe API Key provided by ohdontforget.com
phonestringThe ten digit cell phone number
datestring/iso8601The date to send the text message
textstringThe text message. The message must be shorter than 160 characters.
timezonestring/intThe time zone offset from GMT/UTC
(4 = EDT, 5 = EST, 5 = CDT, 6 = CST)
providerstringThis is an optional parameter for the cell provider. Sending a provider overrides the default cell provider for the cell number provided. ODF stores the override on the server so future request do not need to include the provider. Send empty string for none.

Sample XMLRPC Request

    <?xml version="1.0"?>
    <methodCall>
    <methodName>send</methodName>
        <params>
            <param><value><string>API_KEY_PROVIDED_BY_ODF</string></value></param>
            <param><value><string>5551231234</string></value></param>
            <param><value><string>2008-10-01 12:00:00</string></value></param>
            <param><value><string>Test Message from ODF</string></value></param>
            <param><value><int>4</int></value></param>
            <param><value><string></string></value></param>
        </params>
    </methodCall>
    
Dates may also be sent in the ISO 8601 date format: 20080717T14:08:55

Supported Providers


Copyright © 2008 ohdontforget.com - All Rights Reserved