Skip to main content
Question

Restful API Authentication


Hey All,

I have code that is ran from outside of QB that uses the XML API to accomplish various things, and I'm looking to move from the XML API to the restful one. Currently, each job uses the XML API call API_Authenticate in order to verify the username/password of a user, then get a ticket that is supplied to further calls. Is there an equivalent way of doing this with the restful API? I was looking at the various auth methods on this page https://developer.quickbase.com/auth and thought that maybe getTempTokenDBID was what I wanted, but I get 400 responses with the message "Domain not allowed" from that call. Is the best way to use the API from an external job to use permanent user tokens?

Thanks!



------------------------------
Cody Medaris
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+9

The REST API requires you provide a usertoken from an external server. Temp token is for something like a codepage. In your header you would provide a key for 'Authorization' and set it to QB-USER-TOKEN xxxxxx_xxx_xxxxxxxxxxxxxxxxxxxxxxx



------------------------------
Chayce Duncan
------------------------------