How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

X-Road (NIIS) Tokens API

resources related to Tokens

X-Road (NIIS) Tokens API is one of 40 APIs that X-Road (NIIS) publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Tokens. The published artifact set on APIs.io includes an OpenAPI specification and 4 JSON Schemas.

This API exposes 11 operations across 9 paths, and defines 37 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against a single base URL, /api/v1.

11 operations 9 paths 37 schemas 1 DELETE2 GET1 PATCH2 POST5 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://{security-server-host}:4000/api/v1
Authentication
API Key
License
Resource Areas
1

Authentication & Security 1

X-Road (NIIS) Tokens API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — X-Road-ApiKey token=

Paths & Operations 11

Across 9 paths, the API surfaces 11 operations — 1 DELETE, 2 GET, 1 PATCH, 2 POST, 5 PUT. Each is listed below with its method, path, parameters, and response codes.

Tokens 11

resources related to Tokens

GET
/tokens
CS administrator views the tokens of the central server
getTokens → 200401403500
PUT
/tokens/{token_id}/login
login to token
loginToken 1 param body → 200400401403404500
PUT
/tokens/{token_id}/logout
logout from token
logoutToken 1 param → 200400401403404500
GET
/tokens/{id}
get security server token information
getToken 1 param → 200400401403404406500
DELETE
/tokens/{id}
delete security server token
deleteToken 1 param → 204400401403404406409500
PATCH
/tokens/{id}
update security server token information
updateToken 1 param body → 200400401403404406500
PUT
/tokens/{id}/pin
update security server software token pin code
updateTokenPin 1 param body → 204400401403404406500
POST
/tokens/{id}/keys-with-csrs
add a new key and generate a csr for it
addKeyAndCsr 1 param body → 201400401403404406409500
POST
/tokens/{id}/keys
add new key
addKey 1 param body → 201400401403404406409500
PUT
/tokens/{id}/login
login to token
putTokensByIdLogin 1 param body → 200400401403404406500
PUT
/tokens/{id}/logout
logout from token
putTokensByIdLogout 1 param → 200400401403404406500

Schemas 37

The contract defines 37 schemas that model the data the API accepts and returns. The most detailed are CertificateDetails (18 properties), Token_2 (12 properties), Token_3 (12 properties), TokenCertificate (11 properties). Each schema is shown below with its type and property counts.

Token
object
Token. Also includes the possible actions that can be done to this object, e.g DELETE (only for token related operations and does not consider user authorizati…
9 properties 7 required
ConfigurationSigningKey
object
Signing context (key identifier used by the signer and signing certificate) for signing the global configuration. Also includes the possible actions that can b…
10 properties 6 required
ConfigurationSigningKeys
array
array containing the configuration signing keys
TokenPassword
object
password for logging in to the token
1 property
KeyLabel
object
1 property
KeyAlgorithm
string
Key type
PossibleKeyAction
string
an action to change state or edit keys
TokenStatus
string
token status
PossibleTokenAction
string
an action to change state or edit tokens
ConfigurationType
string
configuration type
KeyWithCertificateSigningRequestId
object
Key and TokenCertificateSigningRequest id
2 properties 2 required
KeyLabelWithCsrGenerate
object
2 properties 2 required
TokenPinUpdate
object
2 properties 2 required
ErrorInfo
TokenType
string
token type
TokenName
object
1 property 1 required
Token_2
object
Token. Also includes the possible actions that can be done to this object, e.g DELETE (only for token related operations and does not consider user authorizati…
12 properties 9 required
TokenCertificate
object
Certificate that is stored in a Token (auth or sign cert). Also includes the possible actions that can be done to this object, e.g DELETE (only for cert relate…
11 properties 6 required
KeyUsage
string
certificate key usage
PossibleActions
array
array containing the possible actions that can be done for this item
CertificateStatus
string
certificate status
PossibleAction
string
an action to change state or edit token, key, cert or csr
KeyUsageType
string
intended usage for the key (signing or authentication)
KeyLabel_2
object
1 property
CertificateOcspStatus
string
certificate status
Key
object
Key for the certificate. Also includes the possible actions that can be done to this object, e.g DELETE (only for key related operations and does not consider…
10 properties 6 required
CsrGenerate
object
request to generate a CSR
6 properties 4 required
CsrFormat
string
format of the certificate signing request (PEM or DER)
KeyValuePair
object
key-value pair of strings
2 properties 2 required
TokenPassword_2
object
1 property
TokenCertificateSigningRequest
object
CSR for certificate that is stored in a Token. Also includes the possible actions that can be done to this object, e.g DELETE (only for csr related operations…
4 properties 3 required
CertificateDetails
object
certificate details for any kind of certificate (TLS, auth, sign)
18 properties 16 required
TokenStatus_2
string
token type
Token_3
object
Token. Also includes the possible actions that can be done to this object, e.g DELETE (only for token related operations and does not consider user authorizati…
12 properties 9 required
KeyLabel_3
object
1 property
TokenPassword_3
object
1 property
TokenStatus_3
string
token type

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

x-road-global-tokens-api-openapi.yml Raw ↑

Other APIs X-Road (NIIS) publishes across the network.

X-Road Management Services (SOAP)
X-Road Environmental and Operational Monitoring (SOAP)
X-Road (NIIS) Backups API
X-Road (NIIS) Certificate Authorities API
X-Road (NIIS) Certification Services API
X-Road (NIIS) Clients API
X-Road (NIIS) Configuration Parts API
X-Road (NIIS) Configuration Source Anchors API
X-Road (NIIS) Configuration Sources API
X-Road (NIIS) Dataspace API
X-Road (NIIS) Diagnostics API
X-Road (NIIS) Ds Tls Certification Authorities API
Where this information came from

This is an independent, third-party profile of X-Road (NIIS) Tokens API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.