Skip to article
API v1 · Development version

Your first API request

Code examples for the implemented status request.

Not a production release

The reference describes implemented code. Signing workflow, billing and customer webhooks remain unfinished. This documentation does not activate access.

Before running the example

Examples require an explicitly enabled, correctly configured deployment and an approved agreement with read access. These conditions are not automatically met in the local demo. Set SIGNERAD_API_KEY on your server.

Interpret the response

A 200 response contains environment, contract reference and capabilities. draft_cases and document_uploads are true; signing_cases and webhooks remain false. A successful status request does not make the complete signing flow available.

Code examples · run on your server

cURL
curl --fail-with-body --connect-timeout 5 --max-time 15 \
  -H "Authorization: Bearer $SIGNERAD_API_KEY" \
  https://api.signerad.nu/v1/status
JavaScript
const response = await fetch("https://api.signerad.nu/v1/status", {
  headers: { Authorization: `Bearer ${process.env.SIGNERAD_API_KEY}` },
  signal: AbortSignal.timeout(15000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const status = await response.json();
console.log(status.capabilities);
TypeScript
const response = await fetch("https://api.signerad.nu/v1/status", {
  headers: { Authorization: `Bearer ${process.env.SIGNERAD_API_KEY}` },
  signal: AbortSignal.timeout(15000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const status: unknown = await response.json();
console.log(status); // Validate against OpenAPI before using external data.
Python
import json, os, urllib.request

request = urllib.request.Request(
    "https://api.signerad.nu/v1/status",
    headers={"Authorization": "Bearer " + os.environ["SIGNERAD_API_KEY"]},
)
with urllib.request.urlopen(request, timeout=15) as response:
    status = json.load(response)
print(status["capabilities"])
C# / .NET
using System.Net.Http.Headers;

using var client = new HttpClient { Timeout = TimeSpan.FromSeconds(15) };
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(
    "Bearer", Environment.GetEnvironmentVariable("SIGNERAD_API_KEY"));
using var response = await client.GetAsync("https://api.signerad.nu/v1/status");
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());

Was this article helpful?

Quick feedback for this page view.

Updated 2026-10-24 · 1.0.0-dev.8

Search documentation

12 results