REST API reference
Authentication
Base URL
All the endpoints of the SourceLevel REST API are located under the following base URL:
https://api.sourcelevel.io/
Authentication
To access the SourceLevel REST API, you must include the Authorization
header in your requests with the bearer token provided.
Obtaining an API Key
- Go to the SourceLevel
Settings > API Keys
page. - Generate a new API key as needed.
Using the API Key
Once you have your API key, include it in the Authorization
header of your API requests as follows:
Authorization: Bearer 9c934aecd3d5246dc2ad2d6646b82cac330e94c57d7a9e633323d9f87aeb23c5
With the valid bearer token, you'll be able to access the SourceLevel REST API and utilize its various endpoints for managing deployments.