/v1/sign
Sign a JWT
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/jwt-api/v1/sign" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/jwt-api/v1/sign", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/jwt-api/v1/sign");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/jwt-api/v1/sign",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJuYW1lIjoiQWRhIiwiaWF0IjoxNzgwMTM1ODU0LCJleHAiOjE3ODAxMzk0NTR9.ioG5FjyOLaRMsefX8sAk_8z5KnTsj6ADuJxIbSKkbxc",
"header": {
"alg": "HS256",
"typ": "JWT"
},
"payload": {
"exp": 1780139454,
"iat": 1780135854,
"sub": "123",
"name": "Ada"
},
"algorithm": "HS256"
},
"meta": {
"timestamp": "2026-05-30T10:10:54.903Z",
"request_id": "14145667-35c5-49d8-b70f-1762721e3178"
},
"status": "ok",
"message": "OK",
"success": true
}