Documentation

LogIn

This API is used for contact messages list .
Method: Post

Base URL : https://hubbucs.com/site/api/hubb/messages
Mandatory Parameters Sample Description
key 374593457034859 The company account API key, you can get from company settings > API settings
user_id 552 id for user to authenticate
contact_id 235463 Contact with messages


Example:


				

Example :

https://hubbucs.com/site/api/hubb/messages?key=12134651Gsuid7349&user_id=XXXXX

Response :

  1. {
  2. total_records:20,
  3. Messages:[
  4. {
  5. sender_id:342
  6. sender:John
  7. sender_phone:346364632332
  8. receiver:Wisly
  9. receiver_phone:6412342333
  10. body:This is a message
  11. action_date:Action Date
  12. }
  13. ]
  14. }
  15. ------OR------
  16. {
  17. "error_message":"error message"
  18. }