TextMarks API V2 - AutoDoc: Anybody / textmark_messages()

Method: textmark_messages() (GET) - List recently posted group/TextMark messages

Package: Anybody - Public data and methods for pre- or anonymous users (... View package)


Req? Name Type Description Test
REQ tm TextMark TextMark to get messages for
OPT api_key API Key API Key (Register here)
OPT since Timestamp Get only messages after this time (default 0)
OPT since_id Integer Get only messages after this ID (default 0)
OPT offset Integer 0-based result to start with (default 0)
OPT count Integer #results desired (max 100) (default 20)



  • Messages are returned with the newest first.
  • Each returned message will contain id, nick, name, time, and msg.
  • The id value of newest message can be passed in as since_id on subsequent queries to find only newer message.
  • See GroupLeader.messages() which allows the TextMark's group leader to access the same message set with more detail.
  • If the TextMark's public flag publish_messages is not set (see TextMarkManager.set_public_config()), error #2021 (ERR_REQUEST_ACCESS_DENIED).
  • "Messages" can originate from many places:


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


GET https://api2ssl.textmarks.com//Anybody/textmark_messages/


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