List all API keys for the authenticated customer
curl --request GET \
--url https://api.platform.soax.com/v1/api-keys/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.soax.com/v1/api-keys/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.soax.com/v1/api-keys/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.platform.soax.com/v1/api-keys/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.soax.com/v1/api-keys/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.platform.soax.com/v1/api-keys/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.soax.com/v1/api-keys/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "3f8a2c1e-5b6d-4e7f-8a9b-0c1d2e3f4a5b",
"name": "Production backend",
"scopes": [
"proxy:packages:read",
"proxy:analytics:read",
"account:read",
"api-keys:read",
"api-keys:write"
],
"package_ids": null,
"status": "active",
"created_at": "2026-06-01T09:30:00Z",
"updated_at": "2026-06-01T09:30:00Z",
"last_used_at": "2026-08-11T08:14:52Z"
},
{
"id": "7c2d9e0f-1a2b-4c3d-8e9f-a0b1c2d3e4f5",
"name": "CI analytics reader",
"scopes": [
"proxy:analytics:read"
],
"package_ids": [
"b2f0c3d4-e5a6-4b7c-8d9e-0f1a2b3c4d5e"
],
"status": "revoked",
"created_at": "2026-04-20T15:00:00Z",
"updated_at": "2026-07-01T10:00:00Z",
"last_used_at": "2026-06-30T23:59:01Z"
}
]{
"detail": "Invalid API key"
}{
"detail": "Missing required scope: proxy:packages:read"
}{
"error": "Rate limit exceeded: 5 per 1 second"
}API Keys
List API keys
Retrieve all API keys belonging to your organization, including revoked ones. Key secrets are never returned — only metadata. Requires the api-keys:read scope.
GET
/
v1
/
api-keys
/
List all API keys for the authenticated customer
curl --request GET \
--url https://api.platform.soax.com/v1/api-keys/ \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.platform.soax.com/v1/api-keys/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.platform.soax.com/v1/api-keys/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.platform.soax.com/v1/api-keys/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.platform.soax.com/v1/api-keys/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.platform.soax.com/v1/api-keys/")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.platform.soax.com/v1/api-keys/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body[
{
"id": "3f8a2c1e-5b6d-4e7f-8a9b-0c1d2e3f4a5b",
"name": "Production backend",
"scopes": [
"proxy:packages:read",
"proxy:analytics:read",
"account:read",
"api-keys:read",
"api-keys:write"
],
"package_ids": null,
"status": "active",
"created_at": "2026-06-01T09:30:00Z",
"updated_at": "2026-06-01T09:30:00Z",
"last_used_at": "2026-08-11T08:14:52Z"
},
{
"id": "7c2d9e0f-1a2b-4c3d-8e9f-a0b1c2d3e4f5",
"name": "CI analytics reader",
"scopes": [
"proxy:analytics:read"
],
"package_ids": [
"b2f0c3d4-e5a6-4b7c-8d9e-0f1a2b3c4d5e"
],
"status": "revoked",
"created_at": "2026-04-20T15:00:00Z",
"updated_at": "2026-07-01T10:00:00Z",
"last_used_at": "2026-06-30T23:59:01Z"
}
]{
"detail": "Invalid API key"
}{
"detail": "Missing required scope: proxy:packages:read"
}{
"error": "Rate limit exceeded: 5 per 1 second"
}Authorizations
API key secret (starts with s_live_). Create keys in the dashboard under Settings → API keys, or via POST /v1/api-keys/. Send it as Authorization: Bearer <secret>.
Was this page helpful?
⌘I