GET api/certificates/{code}

Returns certificate information and PDF content by verification code.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Hexadecimal certificate verification code.

string

Required

Body Parameters

None.

Response Information

Resource Description

Certificate information and Base64-encoded PDF content.

CertificateResponse
NameDescriptionTypeAdditional information
CertificateCode

Certificate verification code.

string

None.

Type

Certificate type.

CertificateTypeId

None.

Date

Certificate date.

date

None.

TalkId

Related communication identifier, when available.

integer

None.

Hash

Certificate hash.

string

None.

HasTimestamp

Whether the certificate has a timestamp.

boolean

None.

ContentType

Content media type.

string

None.

Content

PDF content, serialized as Base64 in JSON.

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
{
  "CertificateCode": "sample string 1",
  "Type": "None",
  "Date": "2026-10-24T18:29:58.5747638+02:00",
  "TalkId": 1,
  "Hash": "sample string 3",
  "HasTimestamp": true,
  "ContentType": "sample string 4",
  "Content": "QEA="
}

application/xml, text/xml

Sample:
<CertificateResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PuntoNeutro.WebApi.Models">
  <CertificateCode>sample string 1</CertificateCode>
  <Content>QEA=</Content>
  <ContentType>sample string 4</ContentType>
  <Date>2026-10-24T18:29:58.5747638+02:00</Date>
  <HasTimestamp>true</HasTimestamp>
  <Hash>sample string 3</Hash>
  <TalkId>1</TalkId>
  <Type>None</Type>
</CertificateResponse>