4.47b

TextMarks API V2 - AutoDoc: RegisteredUser / login()

Method: login() (POST) - Attempt to authenticate user/password

Package: RegisteredUser - Manage authenticated user's account/profile (... View package)

Args:

Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
OPT api_key API Key API Key (Register here)

Test:


Docs:

  • Verifies user login for external sites.
  • Timestamps last login.
  • Also (first time) opts in the user by verifying the password sent by the Anybody.register_user API method.

Resp:

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

HTTP:

POST https://api2ssl.textmarks.com//RegisteredUser/login/

More:

This page documents a single API function login() within the RegisteredUser 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: