API3
dclaysmith at January 5th, 2017 07:35 — #1
I'm writing a integration with OnePageCRM that will need to poll for data every now and again.
With most of our integrations, customers would copy their API/Auth Key over manually (or use OAuth). With OnePage, we would have the user sign in--retrieving and storing their auth_key--when they connect their account.
At that point, is the auth_key valid indefinitely (or until they explicitly update it)?
Is this the recommended strategy for making API requests to OnePageCRM in the background?
Clay
liam at February 23rd, 2017 10:22 — #2
Hello Clay,
I'm sorry for the long delay - we somehow missed you post.
Yes, you have the right idea on how to work with our authentication. The auth key will be valid until you or the user themselves manually invalidates it via the logout endpoint (The mobile applications, which use the API won't trigger this, so it should be very rare that a user has to re-authenticate)
Please let us know if there is anything else we can help with, and apologies again for the long delay,
Liam
Powered by Discourse, best viewed with JavaScript enabled