Buscar Documento por UUID ou Referência

O processo para buscar um documento por UUID ou Referência pode ser feito seguindo esta requisição:

Busca um documento pelo UUID

get
Autorizações
Parâmetros de rota
uuidstringObrigatório

UUID do documento criado

Respostas
200
Documento retornado com sucesso
application/json
Respostaall of
get
GET /api/documents/my-company/{uuid} HTTP/1.1
Host: app.staging.gtsign.giro.tech
Authorization: YOUR_API_KEY
Accept: */*
{
  "uuid": "text",
  "name": "text",
  "externalIdentification": "text",
  "hashMD5": "text",
  "hashSha256": "text",
  "originalDocument": {
    "id": 1,
    "contentType": "text",
    "fileName": "text",
    "presignedUrl": "text",
    "processed": true
  },
  "signedDocument": {
    "id": 1,
    "contentType": "text",
    "fileName": "text",
    "presignedUrl": "text",
    "processed": true
  },
  "status": "CREATED",
  "deadline": "2025-07-19",
  "notificationPeriodDelivery": 3,
  "personSignatures": [
    {
      "uuid": "text",
      "email": "text",
      "name": "text",
      "status": "PENDING",
      "signatureType": "PART",
      "notificationChannel": "EMAIL",
      "person": {
        "uuid": "text",
        "cpf": "text"
      },
      "birth": "2025-07-19",
      "personSignatureDate": "2025-07-19T02:40:00.276Z"
    }
  ],
  "company": {
    "id": 1
  },
  "originalDocumentDate": "2025-07-19T02:40:00.276Z",
  "signedDocumentDate": "2025-07-19T02:40:00.276Z"
}

Busca um documento pela Identificação Externa

get
Autorizações
Parâmetros de rota
externalIdentificationstringObrigatório

Identificação Externa do documento criado

Respostas
200
Documento retornado com sucesso
application/json
Respostaall of
get
GET /api/documents/my-company/external-identification/{externalIdentification} HTTP/1.1
Host: app.staging.gtsign.giro.tech
Authorization: YOUR_API_KEY
Accept: */*
{
  "uuid": "text",
  "name": "text",
  "externalIdentification": "text",
  "hashMD5": "text",
  "hashSha256": "text",
  "originalDocument": {
    "id": 1,
    "contentType": "text",
    "fileName": "text",
    "presignedUrl": "text",
    "processed": true
  },
  "signedDocument": {
    "id": 1,
    "contentType": "text",
    "fileName": "text",
    "presignedUrl": "text",
    "processed": true
  },
  "status": "CREATED",
  "deadline": "2025-07-19",
  "notificationPeriodDelivery": 3,
  "personSignatures": [
    {
      "uuid": "text",
      "email": "text",
      "name": "text",
      "status": "PENDING",
      "signatureType": "PART",
      "notificationChannel": "EMAIL",
      "person": {
        "uuid": "text",
        "cpf": "text"
      },
      "birth": "2025-07-19",
      "personSignatureDate": "2025-07-19T02:40:00.276Z"
    }
  ],
  "company": {
    "id": 1
  },
  "originalDocumentDate": "2025-07-19T02:40:00.276Z",
  "signedDocumentDate": "2025-07-19T02:40:00.276Z"
}

Atualizado