This v1 API  will be deprecated from 15th March 2020

Description:

To fetch all customers with id, user_name, first_name, last_name, email, phone_number, picture.

URL :  api/v1/helpdesk/customers-custom

           (Replace this URL with you helpdesk URL)

Parameters :

Name Data Type Required / Optional Description
api_key String Required An alphanumeric code that can be used to authenticate your API calls
ip String Optional IP address of the Customer/location where API call is being made from
token String Required Token generated for a user

HTTP Method : GET         

  •   URL Request Example:

https://www.stablehelpdesk.faveodemo.com/api/v1/helpdesk/customers-custom?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6Ly9wcm9kdWN0ZGVtb3VybC5jb20vc2FyZnJhei9wdWJsaWMvYXBpL3YxL2F1dGhlbnRpY2F0ZSIsImlhdCI6MTUzNDc1OTg5MiwiZXhwIjoxNTM0NzYwMTMyLCJuYmYiOjE1MzQ3NTk4OTIsImp0aSI6IlhBdzNrNGhwZXNUVWNFeVQifQ.TpuZ6Vwo9oMlt_LKRZYv2cU5UY8YBKqe06-66ioZA24

Response

  •   Response Format : JSON
  •   Returns JSON which contains below response

Sample JSON Success Response :

{

   "current_page": 1,

   "data": [

       {

           "id": 2,

           "user_name": "andy ggggg",

           "first_name": "Mandnish",

           "last_name": "From",

           "email": "andy-noreply@google.com",

           "phone_number": "",

           "profile_pic": "https://secure.gravatar.com/avatar/1959237f53833b25082ffc097447d5bc?s=80&r=g&d=identicon",

           "company": null,

           "active": 1,

           "telephone_extension": "",

           "mobile": "Not available",

           "telephone": "",

           "mobile_code": 0,

           "ban": 0,

           "role": "user",

           "is_delete": 0

       },



}

]

}

Response Description:

*click here to check

Possible Errors/Failures:

 *Please check the responses for some common errors

Leave a Reply

Your email address will not be published. Required fields are marked *