A user must authorize your account for you to access their information on Middesk. To do this you'll create a link to Middesk where they can approve access. The link's url looks like this:


Replace CLIENT_ID and CLIENT_REDIRECT_URI with your actual OAuth client_id and corresponding redirect_uri located on the credentials page in the Middesk developer settings dashboard. Replace REQUESTED_SCOPE with one of read_only or read_write.
On Middesk, the user will be prompted to log in to their Middesk account and authorize integration with your platform.

The link contains the parameters outlined below:

Request Parameters




The unique identifier provided to your OAuth client. Located on the credentials page.


The URL that a user is redirected to upon authorizing the account


The only option is code


Either read_only or read_write. Defaults to read_only if not specified.