Get Your Keys
To authenticate and interact with Splight's API, you need an access key. Follow the steps below to generate one from the Splight web interface or directly through the API.
Web Interface
Using the API
POST https://api.splight.com/v3/account/credentials/access/Example Request
curl --request POST \
--url https://api.splight.com/v3/account/credentials/access/ \
--header 'authorization: Splight <access_id> <secret_key>' \import http.client
conn = http.client.HTTPSConnection("api.splight.com")
headers = { 'authorization': "Splight <access_id> <secret_key>" }
conn.request("POST", "/v3/account/credentials/access/", headers=headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))Example Response
{
"access_id": "2c9ab486-7d73-4e9e-99e4-eb7cda16d5a9",
"id": 1,
"description": null,
"created_date": "2023-10-01T12:00:00Z",
"last_used": null,
"organization": "org_86DQsme8bptKaU",
"secret_key": "b827ca2df332445f4bbd2055da0e6b83da8e5eae0c916a5c193973b2fac7465a"
}Last updated
Was this helpful?



