Can I talk to the Drift API directly with HTTP requests?
We have several custom attributes for our visitors that I would like to draw from Drift's backend and save them in our own database.
Is this possible? How do we talk to the Drift backend to retrieve such information?
I created an App and have access to a clientID, Secret ID and Verification Token but there aren't any docs on how to use these to do a simple HTTP GET request to this endpoint for example:
https://driftapi.com/[email protected]
Comments
-
Hi @[email protected] !
You've already started by creating the app which is a good thing. What you would have to do is pull a contact model for each contact: https://devdocs.drift.com/docs/contact-model
And this document would help with listing the attributes you have: https://devdocs.drift.com/docs/listing-custom-attributes#property-definition
That would get you information there and you could use something like Postman if you wanted to just pull the data.
Hope that helps to get you started!
Best,
Ben