Professional Documents
Culture Documents
Response: User ID
Sample response: 24
Response (when username parameter is missing): Missing >>username<< parameter
Response (when user doesn’t exist): Wrong >>username<< parameter
RESPONSE (XML):
Response:
<xml>
<status>
ok
</status>
</xml>
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
BODY:
{"method":"phonebook.userid_read",
"params":{"access_token"="0005gOjCOlMH8F2BPo8mWqcGzycVHRLq","username":"myu
ser"}}
RESPONSE (EXTENDED):
Response:
{"result":{"uid": [user ID],"status":"ok"}}
Parameter Description
login your user to login to SMSEagle (see details in point API Authentication)
user_id (optional parameter) show only contacts created by user with given ID
responsetype (optional parameter) text = format response as text (default), xml = format
response as XML object
EXAMPLES:
https://url-of-smseagle/http_api/group_members_read?
access_token=0005gOjCOlMH8F2BPo8mWqcGzycVHRLq&group_id=11
RESPONSE:
Sample response: link