Skip to main content
POST
Create a certificate from an asset.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

qualified
enum<boolean>

Flag that indicates whether the certificate should be qualified sign.

Available options:
true,
false
networkId
string
required

Network identifier where the trustpoint will be registered.

Example:

10004

Body

application/json

Data needed for the creation of a certificate from an asset.

name
string
required

Name of the certificate.

Example:

"Certificate"

description
string
required

Description of the certificate.

Example:

"Certificate description"

assetId
string
required

Identifier of the asset that is going to be certified.

Example:

"asset-01"

from
number

Timestamp from which to start retrieving asset transactions to certify.

Example:

1234567

to
number

Timestamp from which to stop retrieving asset transactions to certify.

Example:

1234567

content
object

Additional content properties of the certificate.

Example:
public
boolean

Flag that indicates whether the certificate is public or not.

Example:

true

expires
number

Timestamp of the expiration date of the certificate.

Example:

1234567890

certificatePin
string

PIN of the certificate.

Example:

"1234"

externalId
string

Custom identifier of the certificate.

Example:

"extcertid"

Response

Successful certificate creation.

statusCode
integer

Request status code.

Example:

201

message
string

Message returned by the request.

Example:

"Certificate created"

data
object

Data returned by the request.