GET
/
events
curl --request GET \
  --url https://api.syntage.com/events \
  --header 'X-API-Key: <api-key>'
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "hydra:Collection",
  "hydra:member": [
    {
      "@id": "/events/91106968-1abd-4d64-85c1-4e73d96fb997",
      "@type": "Event",
      "id": "e0a24894-7fbf-48ae-bfb0-efaae30a6319",
      "taxpayer": {
        "@id": "/taxpayers/PEIC211118IS0",
        "@type": "Taxpayer",
        "id": "PEIC211118IS0",
        "personType": "physical",
        "registrationDate": "2023-12-25",
        "name": "Pedro Infante Cruz"
      },
      "type": "credential.updated",
      "source": "/extractions/91106968-1abd-4d64-85c1-4e73d96fb997",
      "resource": "/credentials/91106968-1abd-4d64-85c1-4e73d96fb997",
      "data": {
        "object": {
          "id": "91106968-1abd-4d64-85c1-4e73d96fb997",
          "rfc": "PEIC211118IS0",
          "type": "ciec",
          "status": "valid",
          "createdAt": "2020-01-17 11:47:27"
        },
        "changes": {
          "status": {
            "old": "pending",
            "new": "valid"
          }
        }
      },
      "createdAt": "2020-01-01T12:15:00.000Z",
      "updatedAt": "2020-01-01T12:15:00.000Z"
    }
  ],
  "hydra:view": {
    "@id": "<string>",
    "@type": "hydra:PartialCollectionView",
    "hydra:next": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[lt]=9b8e5365-0b36-45f5-9c76-fbe439632367",
    "hydra:last": "/entity/2a15f539-3251-48e1-aaeb-a154dc9c6edb/resource?id[gt]=9b8e5365-0b36-45f5-9c76-fbe439632367"
  },
  "hydra:search": {
    "@type": "<string>",
    "hydra:template": "<string>",
    "hydra:variableRepresentation": "<string>",
    "hydra:mapping": [
      {
        "@type": "<string>",
        "variable": "<string>",
        "property": "<string>",
        "required": true
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

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

Query Parameters

type
enum<string>

Filter events by type (exact match)

Available options:
credential.created,
credential.updated,
credential.deleted,
link.created,
link.updated,
link.deleted,
file.created,
extraction.created,
extraction.updated,
invoice.created,
invoice.updated,
invoice.deleted,
invoice_payment.created,
invoice_payment.updated,
invoice_line_item.created,
invoice_line_item.updated,
tax_return.created,
tax_return.updated,
tax_return.deleted,
export.created,
export.updated,
tax_status.created,
tax_status.updated,
tax_status.deleted,
tax_compliance_check.created,
tax_compliance_check.updated,
tax_compliance_check.deleted,
tax_retention.created,
tax_retention.updated,
tax_retention.deleted,
electronic_accounting_record.created,
electronic_accounting_record.updated,
electronic_accounting_record.deleted,
rpc_entidades.created,
rpc_entidades.updated,
rpc_acto.created,
rpc_acto.updated,
rpc_socios.created,
rpc_socios.updated,
rug_garantia.created,
rug_garantia.updated,
buro_de_credito_report.created,
buro_de_credito_report.updated
Example:

"credential.updated"

taxpayer.id
string

Filter events by taxpayer (exact match)

Required string length: 12 - 13
Example:

"PEIC211118IS0"

source
string

Filter events by source (exact match)

Example:

"/extractions/91106968-1abd-4d64-85c1-4e73d96fb997"

resource
string

Filter events by resource (exact match)

Example:

"/credentials/91106968-1abd-4d64-85c1-4e73d96fb997"

createdAt[before]
string

Filter by resource creation date (less than or equal <=)

createdAt[strictly_before]
string

Filter by resource creation date (less than <)

createdAt[after]
string

Filter by resource creation date (greater than or equal >=)

createdAt[strictly_after]
string

Filter by resource creation date (greater than >)

order[createdAt]
enum<string>

Order by resource creation date

Available options:
asc,
desc
Example:

"asc"

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

Response

200
application/ld+json

Event collection response

The response is of type object.