Syntage Extractions API
Extractions are tasks that retrieve data for an entity from a datasource. They are used to collect invoices, tax returns, tax status, tax compliance checks, RPC records, RUG guarantees, Buró de Crédito reports, BIL reports, and other datasource-backed records.An extraction runs asynchronously. Creating one starts or queues the work, and the returned Extraction resource tracks its status, options, timing, errors, and the number of resources created or updated.## How Extractions Work1. Create or retrieve the entity you want to extract data for.2. Create an extraction with the entity IRI, extractor name, and extractor options.3. Store the returned extraction ID.4. Retrieve the extraction until its `status` is `finished` or `failed`.5. Read the extracted data from the related resource endpoints, such as invoices or tax returns.If the same extraction is already pending or running for the same entity, extractor, and options, Syntage returns a duplicate extraction response instead of starting the same work again.## OptionsOptions containing a period (`.`) in the name like `period.from` are a way to denote object paths. For example, `period.from` should actually be sent as:```json{ "options": { "period": { "from": "2020-01-01", "to": "2020-12-31" } }}```Extractor names and options are specific to the data you are extracting. For extraction-backed resources, use the resource overview page for the extractor name, required credentials, supported options, and the endpoint where the extracted records can be read.# Extraction status| Status | Description || ------ | ----------- || pending | The initial extraction status. The extraction is enqueued and waiting to be processed. || waiting | The extraction does not meet the requirements to begin. || running | The extraction process started and is currently running. The running time varies depending on the extractor type and the entity's transactional volume. You may find partial data available in our API endpoints during this time. || finished | The extraction finished successfully. All data is available to be retrieved from our API endpoints. || failed | The extraction couldn't start or failed during the process. Our internal retry policies weren't able to finish the extraction successfully. We may have partial data available in our API endpoints, but new extractions should be created to ensure all the entity's data is available. You can check the [extraction error code](#section/Extraction-error-codes) to understand why it failed and determine whether it can be retried or not. || stopping | The extraction was requested to be stopped by the user. It is in the process of being stopped. || stopped | The extraction was stopped by the user after it started running. This extraction is included in billing. || cancelled | The extraction was stopped by the user before it started running. This extraction is not included in billing. |# Extraction error codes| Code | Description | Retryable || ---- | ----------- | --------- || invalid_credentials | The SAT [Credential](#tag/Credentials) is no longer valid. | No || login_failed | We couldn't log in with the SAT credential. | Yes || unrecoverable | The extraction process failed many times, and we reached a maximum number of retries. | Yes || sat_unavailable | We detected that SAT itself is down or unresponsive. | Yes || internal_error | We detected an internal error in our own infrastructure. | Yes || undefined | We couldn't determine the error cause and our internal team will investigate it. | Yes |
Syntage Extractions API is one of 65 APIs that Syntage publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Extractions. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, and a getting-started guide.
This API exposes 4 operations across 3 paths, and defines 18 schemas. It is described by OpenAPI 3.2.0, at version 2020-06-28.
Requests are made against 2 base URLs: https://api.syntage.com, https://api.sandbox.syntage.com.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Syntage Extractions API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as X-API-Key (ApiKey).
By default, every request must be authenticated.
ApiKey— Your API key is available in the [Production](https://app.syntage.com/settings/api-keys) and [Sandbox](https://app.sandbox.syntage.com/settings/api-keys) dashb…
Paths & Operations 4
Across 3 paths, the API surfaces 4 operations — 1 DELETE, 2 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.
Extractions are tasks that retrieve data for an entity from a datasource. They are used to collect invoices, tax returns, tax status, tax compliance checks, RPC records, RUG guara…
Schemas 18
The contract defines 18 schemas that model the data the API accepts and returns. The most detailed are Extraction (15 properties), CursorCollection (6 properties), Taxpayer (6 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Syntage 12
Other APIs Syntage publishes across the network.
This is an independent, third-party profile of Syntage Extractions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.
The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.
Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.
info@apievangelist.com
·
Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and
you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.