GET
/
entities
/
{entityId}
/
datasources
/
mx
/
sat
/
certificados
curl --request GET \
  --url https://api.syntage.com/entities/{entityId}/datasources/mx/sat/certificados \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "/entities/91ab5678-1234-5678-9abc-def012345678/datasources/mx/sat/certificados",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@id": "/datasources/mx/sat/certificados/0197a365-6c09-7019-b072-6c756008cd2d",
      "@type": "SatCertificate",
      "id": "0197a365-6c09-7019-b072-6c756008cd2d",
      "link": "/entities/91ab5678-1234-5678-9abc-def012345678",
      "serialNumber": "00001000000516152485",
      "type": "efirma",
      "issuer": {
        "id-at-commonName": "AUTORIDAD CERTIFICADORA",
        "id-at-postalCode": "06300",
        "id-at-countryName": "MX",
        "id-at-localityName": "CUAUHTEMOC",
        "id-at-streetAddress": "AV. HIDALGO 77, COL. GUERRERO",
        "id-at-organizationName": "SERVICIO DE ADMINISTRACION TRIBUTARIA",
        "id-at-uniqueIdentifier": "SAT970701NN3",
        "pkcs-9-at-emailAddress": "contacto.tecnico@sat.gob.mx",
        "id-at-stateOrProvinceName": "CIUDAD DE MEXICO",
        "pkcs-9-at-unstructuredName": "responsable: ADMINISTRACION CENTRAL DE SERVICIOS TRIBUTARIOS AL CONTRIBUYENTE",
        "id-at-organizationalUnitName": "SAT-IES Authority"
      },
      "subject": {
        "id-at-name": "JUAN MANUEL PEREZ GONZALEZ",
        "id-at-commonName": "JUAN MANUEL PEREZ GONZALEZ",
        "id-at-countryName": "MX",
        "id-at-serialNumber": "PEGJ850101HDFRXN09",
        "id-at-organizationName": "JUAN MANUEL PEREZ GONZALEZ",
        "id-at-uniqueIdentifier": "PEGJ850101AA1",
        "pkcs-9-at-emailAddress": "juan.perez@example.com"
      },
      "validFrom": "2022-11-11 19:02:09",
      "validTo": "2026-11-11 19:02:49",
      "file": {
        "type": "sat.certificate.efirma",
        "resource": "/datasources/mx/sat/certificados/0197a365-6c09-7019-b072-6c756008cd2d",
        "mimeType": "application/x-x509-ca-cert",
        "extension": "cer",
        "filename": "91ab5678-1234-5678-9abc-def012345678-00001000000516152485.cer"
      },
      "status": "valid",
      "revokedAt": "2023-01-01T12:00:00Z",
      "createdAt": "2020-01-01T12:15:00.000Z",
      "updatedAt": "2020-01-01T12:15:00.000Z"
    }
  ],
  "hydra:totalItems": 1,
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:first": "<string>",
    "hydra:next": "<string>",
    "hydra:last": "<string>"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "/entities/91ab5678-1234-5678-9abc-def012345678/datasources/mx/sat/certificados{?validFrom[before],validFrom[strictly_before],validFrom[after],validFrom[strictly_after],validTo[before],validTo[strictly_before],validTo[after],validTo[strictly_after],order[validFrom],order[validTo],serialNumber,type}",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "IriTemplateMapping",
        "variable": "validFrom[before]",
        "property": "validFrom",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validFrom[strictly_before]",
        "property": "validFrom",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validFrom[after]",
        "property": "validFrom",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validFrom[strictly_after]",
        "property": "validFrom",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validTo[before]",
        "property": "validTo",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validTo[strictly_before]",
        "property": "validTo",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validTo[after]",
        "property": "validTo",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "validTo[strictly_after]",
        "property": "validTo",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "order[validFrom]",
        "property": "validFrom",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "order[validTo]",
        "property": "validTo",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "serialNumber",
        "property": "serialNumber",
        "required": false
      },
      {
        "@type": "IriTemplateMapping",
        "variable": "type",
        "property": "type",
        "required": false
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

Your API key is available in the Production and Sandbox dashboards.

Path Parameters

entityId
string
required

Query Parameters

id[lt]
string

The collection cursor pointer to the next page

id[gt]
string

The collection cursor pointer to the previous page

itemsPerPage
integer
default:20

The number of items per page

Required range: 1 <= x <= 1000
validFrom[before]
string

Filter certificates by validity start date (less than or equal <=)

validFrom[strictly_before]
string

Filter certificates by validity start date (less than <)

validFrom[after]
string

Filter certificates by validity start date (greater than or equal >=)

validFrom[strictly_after]
string

Filter certificates by validity start date (greater than >)

validTo[before]
string

Filter certificates by validity end date (less than or equal <=)

validTo[strictly_before]
string

Filter certificates by validity end date (less than <)

validTo[after]
string

Filter certificates by validity end date (greater than or equal >=)

validTo[strictly_after]
string

Filter certificates by validity end date (greater than >)

order[validFrom]
enum<string>

Order certificates by validity start date

Available options:
asc,
desc
Example:

"asc"

order[validTo]
enum<string>

Order certificates by validity end date

Available options:
asc,
desc
Example:

"asc"

serialNumber
string

Filter certificates by serial number (supports partial matching)

type
enum<string>

Filter certificates by type

Available options:
efirma,
csd

Response

200
application/ld+json

SAT Certificates

The response is of type object.