TextMarks API V2 - AutoDoc: GroupLeader / send_one_message()

Method: send_one_message() (POST) - Send text message to a single TextMark group member

Package: GroupLeader - Broadcast and manage messages and members (... View package)


Req? Name Type Description Test
REQ auth_user User User account / phone# used for login
REQ auth_pass Password Password
REQ tm TextMark TextMark group led by auth_user
REQ msg SMS Text Text message to send
REQ to User User account / phone# to send to (must be member of tm)
OPT api_key API Key API Key (Register here)



  • You may only send messages to users who have joined your TextMark group. Attempt to send to a non-member results in error #2035 (ERR_REQUEST_NOT_GROUP_MEMBER).
  • To broadcast to all group members, see the broadcast_message method of this API package.
  • There are a number of ways to get members for your group.
  • The TextMark is put in the receiving user's context so that one and two char Contextual Responses (without keyword) are still directed to your TextMark. You may use this to send multiple-choice questions, etc.


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


POST https://api2ssl.textmarks.com//GroupLeader/send_one_message/


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