The HootSuite Engagement API is located at https://api.hootsuite.com/api/2/
Authentication with the API is based on OAuth 2. Make sure to read the OAuth 2 documentation to learn about how to obtain Access Tokens and how you use them in requests against the API.
Note: While some endpoints don't require user authorization (example: provisioning a new HootSuite member via POST /members), you still need to present a valid Access Token to authenticate your App against the respective endpoint. We suggest you obtain an Access Token using your own member account to represent your App.
The /messages endpoint provides access to HootSuite's rich publishing capabilities. The single POST method enables publishing to multiple social networks with built-in message scheduling and geo-location capabilities.
| HTTP Method | Description |
|---|---|
|
|
Post messages to one or more social networks defined in a HootSuite account. This method provides access to the rich functionality available via the web dashboard, including scheduling, geo-location and posting to multiple networks. Required Parameters:
Optional Parameters:
Sample Response:Sample CodecURL PHP Ruby |
|
|
Get messages for a social network by stream type. Sort order is always reverse chronological, ie. newest first. Messages from up to 5 streams can also be queried in one request by providing a "streams" array that contains a set of the below parameters for each stream as an array. By default, this will return one JSON object per stream; Using the "interleaved" parameter, you can retrieve messages from all requested streams in one merged result set, ordered reverse chronologically. Note that the number of streams you can request from this endpoint is limited to 300 per hour (e.g. 300 requests for single streams, or 60 requests for 5 streams at a time). Required Parameters:
Optional Parameters:
Notes:
2. Sample request for multiple streams: Returns:An array of objects: One per stream, containing the requested socialNetworkId and type, and an array of the returned messages.Sample Response:3. Sample request for multiple streams, interleaved: Returns:An array of messages in the same format as with a simple request (see example above).Sample CodecURL PHP Ruby |
Social media blunders make headlines, and these headlines make business executives nervous. We’ve all seen...
Read More
A growing number of governments, from municipal to federal, are increasing their engagement through social...
Read More
by Ryan Holmes, HootSuite CEO Last year, Facebook marked a new milestone in its nine-year history. It...
Read More
Ahhh, Wednesday again… which means another wonderful wiggly gif! HootSuite’s Greg Williams -aka gwilli- has thousands of these ‘wiggly’ images...
Read More