Accessing the Deskpro REST API
Last updated
Last updated
The Application Client provides an http client that your application can use to make requests to the Deskpro instance which is hosting the application.
The advantage of using the builtin client is that it saves you from worrying about the API authentication. The client will always use the credentials of the currently signed user.
You only need to obtain a reference to the from the Application Client. The following snippet will show you how to fetch the data for the signed in user
You don't need to specify the full URL of your resource, only the relative path. This client only supports the v2 API which you can inspect by going to the following url: