Test API Key
curl --request GET \
--url https://api.cuttr.com/api/platform/v1/test \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.cuttr.com/api/platform/v1/test"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.cuttr.com/api/platform/v1/test', 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.cuttr.com/api/platform/v1/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$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.cuttr.com/api/platform/v1/test"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
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.cuttr.com/api/platform/v1/test")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cuttr.com/api/platform/v1/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"status": "working",
"team_id": 42,
"key_name": "my-production-key",
"timestamp": "2025-01-15T10:30:00.000Z"
}
{
"error": "Invalid API key"
}
{
"error": "Insufficient balance"
}
{
"error": "Rate limit exceeded"
}
Endpoints
Test API Key
Verify your API key is working correctly
GET
/
api
/
platform
/
v1
/
test
Test API Key
curl --request GET \
--url https://api.cuttr.com/api/platform/v1/test \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://api.cuttr.com/api/platform/v1/test"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://api.cuttr.com/api/platform/v1/test', 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.cuttr.com/api/platform/v1/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$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.cuttr.com/api/platform/v1/test"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
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.cuttr.com/api/platform/v1/test")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cuttr.com/api/platform/v1/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"status": "working",
"team_id": 42,
"key_name": "my-production-key",
"timestamp": "2025-01-15T10:30:00.000Z"
}
{
"error": "Invalid API key"
}
{
"error": "Insufficient balance"
}
{
"error": "Rate limit exceeded"
}
Headers
Simple health-check endpoint to verify your API key, billing account, and rate limit are all working. This endpoint is free and does not deduct from your wallet.This is the best way to confirm your integration is set up correctly before making billable requests.
Response
string
Always
"working" on success.integer
The team ID associated with your API key.
string
The name you gave this API key when you created it.
string
ISO 8601 timestamp of the request.
{
"status": "working",
"team_id": 42,
"key_name": "my-production-key",
"timestamp": "2025-01-15T10:30:00.000Z"
}
{
"error": "Invalid API key"
}
{
"error": "Insufficient balance"
}
{
"error": "Rate limit exceeded"
}
⌘I

