Skip to main content
GET
/
api-keys
List API keys
curl --request GET \
  --url https://xquik.com/api/v1/api-keys
import requests

url = "https://xquik.com/api/v1/api-keys"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://xquik.com/api/v1/api-keys', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://xquik.com/api/v1/api-keys"

req, _ := http.NewRequest("GET", url, nil)

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
Free - does not consume credits
curl https://xquik.com/api/v1/api-keys \
  -H "Cookie: session_token=YOUR_SESSION_TOKEN" | jq
const response = await fetch("https://xquik.com/api/v1/api-keys", {
  headers: { "Cookie": "session_token=YOUR_SESSION_TOKEN" },
});
const data = await response.json();
console.log(data.keys);
import requests

response = requests.get(
    "https://xquik.com/api/v1/api-keys",
    cookies={"session_token": "YOUR_SESSION_TOKEN"},
)
data = response.json()
print(data["keys"])
package main

import (
	"fmt"
	"io"
	"log"
	"net/http"
)

func main() {
	req, err := http.NewRequest("GET", "https://xquik.com/api/v1/api-keys", nil)
	if err != nil {
		log.Fatal(err)
	}
	req.AddCookie(&http.Cookie{Name: "session_token", Value: "YOUR_SESSION_TOKEN"})

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		log.Fatal(err)
	}
	defer resp.Body.Close()

	body, err := io.ReadAll(resp.Body)
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(string(body))
}

Headers

Dashboard session cookie. Format: session_token=YOUR_SESSION_TOKEN.
x-api-key
string
API key for the same account. Use this instead of Cookie for server-to-server management.
Authorization
string
OAuth bearer token for the same account. Format: Bearer YOUR_TOKEN.

Response

keys
array
Array of API key objects.
{
  "keys": [
    {
      "id": "42",
      "name": "Production",
      "prefix": "xq_a1b2",
      "isActive": true,
      "createdAt": "2026-02-24T10:30:00.000Z",
      "lastUsedAt": "2026-02-24T18:45:12.000Z"
    },
    {
      "id": "43",
      "name": "Staging",
      "prefix": "xq_c3d4",
      "isActive": true,
      "createdAt": "2026-02-20T09:00:00.000Z"
    }
  ]
}
Use a dashboard session cookie to inspect keys from the dashboard, or an API key or OAuth bearer token to automate key inventory for the same account.Related: Create API Key · Revoke API Key
Last modified on May 7, 2026