Zertidox Requests API

Create and follow requests.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 3

GET /solicitudes List requests #
POST /solicitudes Create a request #
GET /solicitudes/{id} Retrieve a request #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/zertidox-com:zertidox-com-requests-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

zertidox-com-requests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Zertidox Requests API
  version: 1.0.0
  summary: Order Spanish certificates, valuations and legal documents and follow their status.
  description: 'REST API of Zertidox Business. JSON over HTTPS; field names are in Spanish. Rate limit per account: between 30 and 600 requests per minute depending on the account plan (30 per minute for webhook management). A 429 response says which limit applies.'
  contact:
    name: Zertidox
    url: https://zertidox.com/contacto
servers:
- url: https://zertidox.com/api/v1
security:
- apiKey: []
tags:
- name: Requests
  description: Create and follow requests.
paths:
  /solicitudes:
    get:
      operationId: listSolicitudes
      tags:
      - Requests
      summary: List requests
      description: Lists the requests of the account, newest first.
      security:
      - apiKey: []
      parameters:
      - name: estado
        in: query
        required: false
        description: Filter by status.
        schema:
          type: string
          enum:
          - PENDIENTE_PAGO
          - PAGADA
          - ENVIADA_AL_MJ
          - ESPERANDO_CERTIFICADO
          - ENTREGADA
          - REEMBOLSADA
          - REQUIERE_REVISION
          - RECHAZADA
          - REQUIERE_FIRMA
          - FIRMADA
          - REVISION_ABOGADO
          - REVISADA
          - EN_PROCESO
          - CADUCADA
      - name: limit
        in: query
        required: false
        description: Page size, 1–100.
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 20
      - name: offset
        in: query
        required: false
        description: Items to skip.
        schema:
          type: integer
          minimum: 0
          default: 0
      responses:
        '200':
          description: A page of requests.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListaSolicitudes'
              example:
                data:
                - id: clx0example
                  referencia: CD-1792078788561-8ACCA12F
                  tipo: NACIMIENTO
                  estado: ENVIADA_AL_MJ
                  precio: '0'
                  pagado: true
                  clienteNombre: Client 0042
                  createdAt: '2026-10-15T09:00:00.000Z'
                limit: 20
                offset: 0
        '400':
          description: Unknown `estado` value.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: 'Estado inválido. Valores: PENDIENTE_PAGO, PAGADA, …'
        '401':
          description: The API key is missing, invalid or revoked, or the account has no active Business plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: API key inválida o inactiva
        '429':
          description: Rate limit exceeded. Wait one minute before retrying. More than 30 failed authentications per minute from the same IP also return 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Rate limit excedido para plan FREE. Máximo 30 req/min.
                plan: FREE
    post:
      operationId: createSolicitud
      tags:
      - Requests
      summary: Create a request
      description: 'Creates a request. With `pago: "plan"` it is paid at once from the monthly Zertidox Business balance and processing starts; the Zapier integration always sends it. Types with `requiereFirma: true` in the catalog cannot be paid this way. Without `pago` it is created unpaid (`PENDIENTE_PAGO`). Each call creates (and charges) a new request unless you send the same `Idempotency-Key`. The `estado` in the response is the one at creation time; read the request again for its current status.'
      security:
      - apiKey: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: false
        description: 'Optional, 1–255 visible ASCII characters. Repeating a key returns the original request (200, `Idempotent-Replayed: true`) instead of creating another one.'
        schema:
          type: string
          maxLength: 255
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - tipo
              - datos
              properties:
                tipo:
                  type: string
                  description: A `tipo` from `GET /catalogo`.
                datos:
                  type: object
                  additionalProperties: true
                  description: Field values keyed by the `nombre` of each catalog field.
                clienteNombre:
                  type: string
                  minLength: 1
                  maxLength: 120
                  description: Your internal reference.
                pago:
                  type: string
                  enum:
                  - plan
                  description: Pay from the Zertidox Business balance.
            example:
              tipo: CONSULTORIA_FIANZA
              datos:
                importeFianza: '1200'
                nombreArrendador: Inmuebles Ejemplo S.L.
                direccionVivienda: Calle Mayor 1, 2.º B, 28013 Madrid
                fechaEntregaLlaves: '2026-09-30'
                descripcionHechos: Entregué las llaves en buen estado y la fianza no se ha devuelto.
              clienteNombre: Client 0042
              pago: plan
      responses:
        '200':
          description: Replay of an earlier call with the same `Idempotency-Key`.
          headers:
            Idempotent-Replayed:
              schema:
                type: string
                enum:
                - 'true'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolicitudResumen'
              example:
                id: clx0example
                referencia: CD-1792078788561-8ACCA12F
                tipo: NACIMIENTO
                estado: ENVIADA_AL_MJ
                precio: '0'
                pagado: true
                clienteNombre: Client 0042
                createdAt: '2026-10-15T09:00:00.000Z'
        '201':
          description: Request created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolicitudCreada'
              example:
                id: clx0example
                referencia: CD-1792078788561-8ACCA12F
                tipo: CONSULTORIA_FIANZA
                estado: PENDIENTE_PAGO
                precio: 0
                pagado: true
                clienteNombre: Client 0042
                createdAt: '2026-10-15T09:00:00.000Z'
                cubiertoPorPlan: true
        '400':
          description: 'Invalid body (`Body inválido`) or data rejected by the request type. Codes include `CAMPOS_REQUERIDOS` (missing fields, listed in `campos`), `TIPO_NO_DISPONIBLE`, `AUTORIZACION_REQUERIDA` (civil-registry certificates need a signed authorization first, so they cannot be paid with `pago: "plan"` through the API), `IDEMPOTENCY_KEY_INVALIDA`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: 'Faltan campos obligatorios: fechaNacimiento'
                code: CAMPOS_REQUERIDOS
                campos:
                - fechaNacimiento
        '401':
          description: The API key is missing, invalid or revoked, or the account has no active Business plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: API key inválida o inactiva
        '402':
          description: 'Not covered by the Business plan. Codes: `SALDO_INSUFICIENTE` (balance too low this month), `PRODUCTO_NO_ELEGIBLE`. The body includes `saldoRestanteEur` and `precioEur`. Nothing is created or charged.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: SALDO_INSUFICIENTE
                code: SALDO_INSUFICIENTE
                saldoRestanteEur: 0
                precioEur: …
        '409':
          description: 'Codes: `IDEMPOTENCY_EN_CURSO` (the first call with that key is still running; retry in a minute), `PEDIDO_YA_EN_PROCESO`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Esa petición aún se está procesando. Reinténtala en un minuto.
                code: IDEMPOTENCY_EN_CURSO
        '429':
          description: Rate limit exceeded. Wait one minute before retrying. More than 30 failed authentications per minute from the same IP also return 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Rate limit excedido para plan FREE. Máximo 30 req/min.
                plan: FREE
        '500':
          description: '`COBERTURA_NO_SELLADA`: the payment could not be recorded and the balance is returned. The request stays created and unpaid; retry with an `Idempotency-Key` to avoid a second one.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: No hemos podido registrar el pedido. Inténtalo de nuevo.
                code: COBERTURA_NO_SELLADA
  /solicitudes/{id}:
    get:
      operationId: getSolicitud
      tags:
      - Requests
      summary: Retrieve a request
      description: Returns one request of the account, with its status history and delivered documents.
      security:
      - apiKey: []
      parameters:
      - name: id
        in: path
        required: true
        description: Request ID or public reference (CD-…).
        schema:
          type: string
        example: CD-1792078788561-8ACCA12F
      responses:
        '200':
          description: The request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SolicitudDetalle'
              example:
                id: clx0example
                referencia: CD-1792078788561-8ACCA12F
                tipo: NACIMIENTO
                estado: ENTREGADA
                precio: '0'
                pagado: true
                clienteNombre: Client 0042
                createdAt: '2026-10-15T09:00:00.000Z'
                updatedAt: '2026-10-15T10:00:00.000Z'
                historial:
                - estado: ENTREGADA
                  nota: null
                  createdAt: '2026-10-15T10:00:00.000Z'
                - estado: ENVIADA_AL_MJ
                  nota: null
                  createdAt: '2026-10-15T09:05:00.000Z'
                documentos:
                - id: clx0doc0example
                  nombre: certificado-nacimiento.pdf
                  url: https://zertidox.com/api/documentos/clx0doc0example?ref=CD-1792078788561-8ACCA12F
                  tipo: application/pdf
                  createdAt: '2026-10-15T10:00:00.000Z'
        '401':
          description: The API key is missing, invalid or revoked, or the account has no active Business plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: API key inválida o inactiva
        '404':
          description: No request with that ID or reference in this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: No encontrada
        '429':
          description: Rate limit exceeded. Wait one minute before retrying. More than 30 failed authentications per minute from the same IP also return 429.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Rate limit excedido para plan FREE. Máximo 30 req/min.
                plan: FREE
webhooks:
  solicitudEstado:
    post:
      operationId: avisoEstado
      security: []
      parameters:
      - name: X-Zertidox-Signature
        in: header
        required: true
        description: '`t=<unix seconds>,v1=<hex HMAC-SHA256 of "<t>.<raw body>" with the webhook secret>`.'
        schema:
          type: string
      - name: X-Zertidox-Event
        in: header
        required: true
        description: Event name.
        schema:
          type: string
          enum:
          - solicitud.estado_cambiado
          - solicitud.completada
          - solicitud.rechazada
          - solicitud.tramitada
          - solicitud.listo_para_descarga
      summary: Request status changed
      description: 'Sent to each active webhook of the account when a request changes status. Headers: `X-Zertidox-Event` (event name) and `X-Zertidox-Signature: t=,v1=`, where `v1` is HMAC-SHA256 of `.` with the webhook `secret`. Reply with any 2xx within 10 seconds; redirects (3xx) count as failures. A failed delivery is retried up to twice by a scheduled job, roughly 10 and 20 minutes after the first attempt; each retry carries a new `t` and signature but the same body. To ignore duplicates, keep the `solicitudId` + `estado` + `updatedAt` you have already processed. A 410 response disables the webhook. Test-mode accounts get simulated events, sent once without retries and with `modoPrueba: true`.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Aviso'
            example:
              evento: solicitud.completada
              solicitudId: clx0example
              referencia: CD-1792078788561-8ACCA12F
              tipo: NACIMIENTO
              estado: ENTREGADA
              nota: null
              updatedAt: '2026-10-15T10:00:00.000Z'
      responses:
        '200':
          description: Received.
      tags:
      - Requests
components:
  schemas:
    SolicitudResumen:
      type: object
      properties:
        id:
          type: string
        referencia:
          type: string
          description: Public reference (CD-… live, PR-… test mode).
        tipo:
          type: string
          description: Request type, as listed in `GET /catalogo`.
        estado:
          $ref: '#/components/schemas/Estado'
        precio:
          type:
          - string
          - number
          description: Amount charged in EUR (decimal string). 0 when covered by the Business balance.
        pagado:
          type: boolean
        clienteNombre:
          type:
          - string
          - 'null'
          description: Your internal reference for the end client.
        createdAt:
          type: string
          format: date-time
    Estado:
      type: string
      enum:
      - PENDIENTE_PAGO
      - PAGADA
      - ENVIADA_AL_MJ
      - ESPERANDO_CERTIFICADO
      - ENTREGADA
      - REEMBOLSADA
      - REQUIERE_REVISION
      - RECHAZADA
      - REQUIERE_FIRMA
      - FIRMADA
      - REVISION_ABOGADO
      - REVISADA
      - EN_PROCESO
      - CADUCADA
      description: Request status.
    SolicitudDetalle:
      allOf:
      - $ref: '#/components/schemas/SolicitudResumen'
      - type: object
        properties:
          updatedAt:
            type: string
            format: date-time
          historial:
            type: array
            description: Status history, newest first.
            items:
              type: object
              properties:
                estado:
                  $ref: '#/components/schemas/Estado'
                nota:
                  type:
                  - string
                  - 'null'
                  description: Only notes written for the end client; internal notes are returned as null.
                createdAt:
                  type: string
                  format: date-time
          documentos:
            type: array
            description: Delivered documents.
            items:
              type: object
              properties:
                id:
                  type: string
                nombre:
                  type: string
                url:
                  type: string
                  format: uri
                  description: 'Direct download link, no API key needed. Anyone who has the link can download the document: keep it private. Omitted when the request has no `referencia`.'
                tipo:
                  type: string
                createdAt:
                  type: string
                  format: date-time
    SolicitudCreada:
      allOf:
      - $ref: '#/components/schemas/SolicitudResumen'
      - type: object
        properties:
          cubiertoPorPlan:
            type: boolean
            description: True when paid from the Zertidox Business balance.
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable message (in Spanish).
        code:
          type: string
          description: Stable machine-readable code, when the error has one.
      additionalProperties: true
    ListaSolicitudes:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/SolicitudResumen'
        limit:
          type: integer
        offset:
          type: integer
        modoPrueba:
          type: boolean
          description: Present (true) only for test-mode accounts.
    Aviso:
      type: object
      properties:
        evento:
          type: string
          enum:
          - solicitud.estado_cambiado
          - solicitud.completada
          - solicitud.rechazada
          - solicitud.tramitada
          - solicitud.listo_para_descarga
        solicitudId:
          type: string
        referencia:
          type: string
        tipo:
          type: string
        estado:
          $ref: '#/components/schemas/Estado'
        nota:
          type:
          - string
          - 'null'
        updatedAt:
          type: string
          format: date-time
        modoPrueba:
          type: boolean
          description: Present (true) only on simulated test-mode events.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      bearerFormat: cd_…
      description: 'Send `Authorization: Bearer cd_…`. Keys are created at https://zertidox.com/dashboard/api-keys and need an active Zertidox Business plan.'