Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 3
Message 1 of 2

GraphQL Authorization and Endpoint Selection

I am having a difficult time understanding how to go about authorizing myself through GraphQL (using a personal access token via GitHub) and defining an endpoint (the GitHub GraphQL endpoint) in GraphQL calls.

I am migrating from the REST API v3, so I am unsure on how I would go about doing the same in GraphQL (alongside authorization.) I will be using GraphQL.js within my code-base. Thank you for any help you can provide!
1 Reply
Community Manager
Message 2 of 2

Re: GraphQL Authorization and Endpoint Selection

The documentation has information on the GraphQL endpoint to use. Authenticating with GraphQL describes the process to use to create a personal access token. Finally, Communicating with GraphQL talks about how to communicate that personal access token to the server via an `Authorization` header.