ByDomuDevelopers

Detalle de sobre de firma

GEThttps://api.bydomu.com/v1/envelopes/{id}

This reference is generated from the API’s code, so descriptions are in Spanish. Names, parameters and examples are the same in every language.

El sobre con su documento, sus campos y el estado de cada destinatario. Las fotos de verificación (selfie y documento de identidad) llegan como URLs firmadas de lectura temporal.

Permission required

documents:read

Required header

X-API-Key · secret key

Access level

Level 2 · automatic on Inmobiliaria Pro

Path parameters

1 · required
idstring · required
ID del sobre

Response 200

EnvelopeDetail · 20 fields
dataid · name · status · signingMode · expiresAt · completedAt · createdAt · updatedAt · deal · createdBy · subject · message · documentHtml · documentPdfUrl · documentHash · requireSelfie · requireEmailOtp · requireIdDocument · fields · recipients
idstring
namestring
statusstringDRAFT, IN_PROGRESS, COMPLETED, EXPIRED, CANCELLED, DECLINED
signingModestringSEQUENTIAL, PARALLEL
expiresAtstring
completedAtstring
createdAtstring
updatedAtstring
dealid · title
idstring
titlestring
createdByfirstName · lastName
firstNamestring
lastNamestring
subjectstring
messagestring
documentHtmlstringHTML saneado del documento
documentPdfUrlstring
documentHashstring
requireSelfieboolean
requireEmailOtpboolean
requireIdDocumentboolean
fields[]id · type · recipientId
idstring
typestring
recipientIdstring
recipients[]id · name · email · role · order · status · signedAt · signerIp · otpVerified · openedAt · selfieData · idDocumentData · fields
idstring
namestring
emailstring
rolestringSIGNER, CC, VIEWER
orderinteger
statusstringPENDING, NOTIFIED, SIGNED, DECLINED
signedAtstring
signerIpstring
otpVerifiedboolean
openedAtstring
selfieDatastringURL firmada de lectura temporal
idDocumentDatastringURL firmada de lectura temporal
fields[]id · type · pageNumber · positionX · positionY · width · height · required · label · value
idstring
typestring
pageNumberinteger
positionXnumber
positionYnumber
widthnumber
heightnumber
requiredboolean
labelstring
valuestring

Possible errors

shaped as { "error": { "code", "message" } }
  • 401UNAUTHORIZED
  • 403FORBIDDEN
  • 404NOT_FOUND
  • 429RATE_LIMITED
  • 500INTERNAL_ERROR
RequestGET/v1/envelopes/{id}
Official SDK · @bydomu/sdk · not on npm yet
import { ByDomu } from "@bydomu/sdk";

const bydomu = new ByDomu({
  apiKey: process.env.BYDOMU_API_KEY,
});

const { data } = await bydomu.envelopes.get("clx1env001");
200 OK · example
{
  "data": {
    "id": "clx1env001",
    "name": "Contrato de arrendamiento - Apto 301",
    "status": "DRAFT",
    "signingMode": "SEQUENTIAL",
    "expiresAt": "2026-10-30T23:59:59.000Z",
    "completedAt": "2026-09-22T15:10:00.000Z",
    "createdAt": "2026-09-15T09:00:00.000Z",
    "updatedAt": "2026-09-22T15:10:00.000Z",
    "deal": {
      "id": "clx1deal002",
      "title": "Arriendo Apto 301"
    },
    "createdBy": {
      "firstName": "Carlos",
      "lastName": "Rodríguez"
    },
    "subject": "Firma del contrato",
    "message": "Adjunto el contrato para tu firma.",
    "documentHtml": "<h1>Contrato de arrendamiento</h1>…",
    "documentPdfUrl": "https://cdn.bydomu.com/envelopes/clx1env001.pdf",
    "documentHash": "9f86d081884c7d65…",
    "requireSelfie": false,
    "requireEmailOtp": true,
    "requireIdDocument": false,
    "fields": [
      {
        "id": "clx1fld001",
        "type": "SIGNATURE",
        "recipientId": "clx1rcp001"
      }
    ],
    "recipients": [
      {
        "id": "clx1rcp001",
        "name": "María González",
        "email": "[email protected]",
        "role": "SIGNER",
        "order": 1,
        "status": "PENDING",
        "signedAt": "2026-09-22T15:10:00.000Z",
        "signerIp": "181.49.10.2",
        "otpVerified": true,
        "openedAt": "2026-09-22T15:00:00.000Z",
        "selfieData": "https://files.bydomu.com/signed/selfie.jpg?sig=…",
        "idDocumentData": "https://files.bydomu.com/signed/cedula.jpg?sig=…",
        "fields": [
          {
            "id": "clx1fld001",
            "type": "SIGNATURE",
            "pageNumber": 1,
            "positionX": 120,
            "positionY": 640,
            "width": 180,
            "height": 48,
            "required": true,
            "label": "Firma del arrendatario",
            "value": "María González"
          }
  …