Skip to content

Document how to authenticate with public API using a project key#643

Merged
brody192 merged 2 commits intorailwayapp:mainfrom
pascal-giguere:document-public-api-project-key
Jan 10, 2025
Merged

Document how to authenticate with public API using a project key#643
brody192 merged 2 commits intorailwayapp:mainfrom
pascal-giguere:document-public-api-project-key

Conversation

@pascal-giguere
Copy link
Contributor

Current docs mention project keys as one of the key types supported by the public API, but doesn't mention how to use them.

This clarifies that requests authenticated with a project key must use a Project-Access-Token header (rather than Authorization), as found in the CLI's code here.

@brody192 brody192 self-requested a review December 21, 2024 22:37
@brody192
Copy link
Contributor

Thank you for the PR, this definitely makes it more clear!

Just had some minor fixed, hope you didn't mind.

@brody192 brody192 merged commit cef4aeb into railwayapp:main Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants