I am currently in the beginning stages of integrating a Knack application with Shiphero and there isn’t much in the documentation regarding the formatting of the auth headers to gain access with my Auth Token and Refresh token. Was wondering if you could point me in the right direction. Going to dive into the github link as well and see if I can find some anwers.
Thanks for reaching out and welcome to our community.
Our apologies for that, we added a small clarification on our Overview section for it Getting Started – Developer Resources | ShipHero
The header will have to include an
Authorization: Bearer <your token>
For example, if you are using Altair as an IDE this is how it will look like:
I found this article that might help https://www.contentful.com/blog/2021/01/14/GraphQL-via-HTTP-in-five-ways/
There is an example of how to pull that with got. I haven’t tried it before but I was able to run that with node.
Or if not try our example at GraphQL Primer – Developer Resources | ShipHero
Let me know if that doesn’t help.