4.18j

TextMarks API V2 - AutoDoc: TextMarkManager / set_basic_request_handler()

Method: set_basic_request_handler() (POST) - Configure basic request handler

Package: TextMarkManager - Manage a TextMark owned by authenticated user (... View package)

Args:

Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
REQ tm TextMark TextMark keyword/TRI owned by auth_user
REQ response SMS Text Text message to respond with
OPT api_key API Key API Key (Register here)
OPT notify_sms Bool (0/1) Notify manager (by SMS) when requested

Test:


Docs:

  • Set TextMark such that when somebody texts the keyword tm to 41411, it responds with a preset text message.
  • See request_handler() for a description of various types of request handlers.

Resp:

JSON response.head.rescode==0 for success, or error code otherwise.
JSON-P callback: (as 'jsonp' param, optional) (blank for none)

HTTP:

POST http://help.api2.textmarks.com//TextMarkManager/set_basic_request_handler/

More:

This page documents a single API function set_basic_request_handler() within the TextMarkManager package of the TextMarks Text Message API.
You may use the interactive form above to invoke this function and observe its actual JSON response.

More resources: