Skip to main content
POST
Create a certificate from a website content.

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 a website content.

name
string
required

Name of the certificate.

Example:

"Certificate"

description
string
required

Description of the certificate.

Example:

"Certificate description"

url
string
required

URL of the website that is going to be certified.

Example:

"https://trustos.telefonicatech.com/politica-privacidad/"

content
object

Additional content properties of the certificate.

Example:
public
enum<boolean>

Flag that indicates whether the certificate is public or not.

Available options:
true,
false
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.