This is my first time having to try and create a custom API to work with the Oauth process and I am having some issues with it.
I am trying to create a way for my business to pull our guest data staying in our hotel via Rest API for that software and then putting that into our Keap account. There is never any time someone will manually login to authenticate them selves so I’m not sure how to get these tokens. There is no end user so it doesn’t make sense to try and make someone log in therefore I have no way of getting the token back and stored. Basically I want this code to run in the background that no one sees and it will pull our guest data from our PMS(property management system) and then upload/update contact information in our keap account to get them put onto email campaigns and things like that.
I might just be misunderstanding how to go about this but if anyone has any help that would be great.
I am trying to write this using the php code provided on GitHub. I already have working php Rest API code for my PMS so the only part I need is to figure out how to get through the authorization process on keap and then update contact information after that.