You can access Stormkit API by using API Keys. Currently, there are two-level API keys:
gear
icon of the Team you would like to access toThis API Key will grant access to all applications owned by the team.
This API Key will grant access to the specified environment.
Once the API Key is obtained, add an Authorization
header and use the API key. For example:
# Using the Environment Level API Key:
curl -X GET \
-H 'Authorization: <api_key>' \
-H 'Content-Type: application/javascript' \
'https://api.stormkit.io/v1/redirects'
# Using the Team Level API Key:
curl -X GET \
-H 'Authorization: <api_key>' \
-H 'Content-Type: application/javascript' \
'https://api.stormkit.io/v1/redirects?appId=48961&envId=58181'