Authentication

You'll need to authenticate your requests to access any of the endpoints in the Stellify API. In this guide, we'll look at how authentication works. Stellify offers two ways to authenticate your API requests: Basic authentication and OAuth2 with a token — OAuth2 is the recommended way.

Basic authentication

You should know!

Instructions on how to get your API token can be found in the Stellify documentation

With basic authentication, you use an API/ personal access token to authenticate your HTTP requests. These tokens may be granted abilities / scopes which specify which actions the tokens are allowed to perform.

Example request with basic auth

curl -G https://api.stellify.com/v1/user/8728d713-f6ce-44dc-b54e-8fb44baadf17 \
  -H "Authorization: Bearer {token}"

Please don't commit your Stellify API token to GitHub!

Always keep your token safe and reset it if you suspect it has been compromised.

Please be aware that our API documentation is under construction.