GupShup Stream and Group APIs
|
Featured widget
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
API Methods
Public Stream
Groups Stream
User and post APIs
In order to prevent DOS attacks, we are currently throttling the number on requests from a particular IP address to these throttle limites. GupShup.getPublicStream
Parameters / Description
Sample RequestSample Response (XML)Sample Response (JSON)Error Codes
Sample Error Response (XML)Sample Error Response (JSON)Groups.getMessage
Parameters / Description
Sample Requesthttp://api.smsgupshup.com/GupshupAPI/rest?group=jumpy&method=groups .getMessage&v=1.0&format=xml Sample Response (XML)Sample Response (JSON)Error Codes
Sample Error Response (XML)Sample Error Response (JSON)Groups.getStream
Parameters / Description
Sample RequestSample Response (XML)Sample Response (JSON)Error Codes
Sample Error Response (XML)Sample Error Response (JSON)Groups.getInfo
Parameters / Description
Sample Requesthttp://api.smsgupshup.com/GupshupAPI/rest?group=jumpy&method=groups.getInfo &v=1.0&format=xml Sample Response (XML)Sample Response (JSON)Error Codes
Sample Error Response (XML)Sample Error Response (JSON)Groups.subscribeGroupToken
Parameters / Description
Sample Request - Phase ISample Response - Phase I (XML)Sample Response - Phase I (JSON)Sample Request - Phase IISample Response - Phase II (XML)Sample Response - Phase II (JSON)Error Codes
Sample Error Response (XML)Sample Error Response (JSON)API Throttling
DescriptionIn order to prevent Denial Of Service attacks, we are currently throttling the number on requests from a particular IP address to the following limits.
A throttle tag is appended with the response once a throttle warn limit is reached. Sample Throttle Response (XML)Sample Throttle Response (JSON)The following error response will be returned once the throttling limit is reached. Sample Throttle Error Response (XML)Sample Throttle Error Response (JSON)Challenge
Parameters / Description
Sample Request Sample Response (JSON)Sample Response (XML)Errors
Sample Error Response (JSON)Sample Error Response (XML)Login
Parameters / Description
Sample RequestSample Response (JSON)Sample Response (XML)Errors
Sample Error Response (JSON)Sample Error Response (XML)Group Post
Parameters / Description
Sample RequestSample Response (JSON)Sample Response (XML)Errors
Sample Error Response (JSON)Sample Error Response (XML)My Groups
Parameters / Description
Sample Requesthttp://api.smsgupshup.com/GupshupAPI/rest?token=IIQiU1107028137&method=users.getMyGroups&v=1.0 Sample Response (JSON)Sample Response (XML)Errors
Sample Error Response (JSON)Sample Error Response (XML)Logout
Parameters / Description
Sample Requesthttp://api.smsgupshup.com/GupshupAPI/rest?token=vmtzf757754542&method=users.logout&v=1.0 Sample Response (JSON)Sample Response (XML)Errors
Sample Response (JSON)Sample Error Response (XML)Users.getJoinedGroups
Parameters / Description
Sample RequestSample Response (JSON)Sample Response (XML)Errors
Users.getJoinedGroupsStream
Parameters / Description
Sample RequestSample ResponseSample Response (XML)Errors
Groups.postReply
Parameters / Description
Sample RequestSample ResponseSample Response (JSON):Error Codes :
Groups.getReplies
Parameters / Description
Sample Requesthttp://api.smsgupshup.com/GupshupAPI/rest?v=1.0&method=groups.getReplies&groupName=sriharigrp1 Sample Response(JSON)Sample Response (XML):Error Codes :
Groups.inviteFriends
Parameters / Description
Sample RequestSample ResponseSample Response(JSON)Error Codes :
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||