Helpdesk REST API Authentication with SAML

Creation date: 5/19/2021 4:34 AM    Updated: 5/19/2021 4:35 AM    api saml
Question:

I'd like to use the REST API but can't find any documentation on how to authenticate with an account that's using SAML authentication against Microsoft 365. It's not mentioned anywhere in the Helpdesk API docs. If it's possible, can you please send me a link to the documentation?


Answer:

Yes, this is possible. We've recently introduced token-based authentication for the API.

After a user has signed in via SAML, open the helpdesk app and go to "[helpdesk-url] /User/Token" in your browser. You'll see your auth token.

Pass this token when calling API methods in the "Authorization" header like this:

Authorization: bearer [token]

And it should work.
Frequently asked questions and answers on our Helpdesk solution. Feel free to submit your quick questions; we will answer them and add the answers to this collection.