> ## Documentation Index
> Fetch the complete documentation index at: https://docs-platform.services-valid.com.br/llms.txt
> Use this file to discover all available pages before exploring further.

# Obter detalhes do processo

> Retorna os detalhes de um processo de assinatura incluindo signatários e arquivos relacionados.

## Parâmetros de Path

<ParamField path="signature_process" type="string" required>
  UUID do processo de assinatura. **Exemplo**:
  `8e3b2e50-8b9a-4d7a-9b8c-1e2f3a4b5c6d`
</ParamField>

## Resposta

<ResponseField name="signature_process" type="object">
  Dados do processo.

  <Expandable title="Detalhes">
    <ResponseField name="uuid" type="string">
      UUID do processo.
    </ResponseField>

    <ResponseField name="code" type="string">
      Código do processo.
    </ResponseField>

    <ResponseField name="type" type="integer">
      Tipo.
    </ResponseField>

    <ResponseField name="state" type="integer">
      Estado.
    </ResponseField>

    <ResponseField name="created_at" type="string">
      Data de criação.
    </ResponseField>

    <ResponseField name="updated_at" type="string">
      Data de atualização.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="signers" type="array">
  Signatários vinculados.

  <Expandable title="Signatário">
    <ResponseField name="code" type="string">
      Código.
    </ResponseField>

    <ResponseField name="uuid" type="string">
      UUID.
    </ResponseField>

    <ResponseField name="files" type="array">
      Arquivos assinados ou a assinar por este signatário.

      <Expandable title="Arquivo Signatário">
        <ResponseField name="code" type="string">
          Código arquivo.
        </ResponseField>

        <ResponseField name="uuid" type="string">
          Identificador.
        </ResponseField>

        <ResponseField name="type" type="integer">
          Tipo de assinatura.
        </ResponseField>

        <ResponseField name="signed_at" type="string">
          Data da assinatura (se houver).
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="files" type="array">
  Arquivos do processo.

  <Expandable title="Arquivo">
    <ResponseField name="code" type="string">
      Código.
    </ResponseField>

    <ResponseField name="uuid" type="string">
      UUID.
    </ResponseField>

    <ResponseField name="type" type="integer">
      Tipo de arquivo.
    </ResponseField>

    <ResponseField name="signers" type="array">
      Lista de quem assinou este arquivo.

      <Expandable title="Signer">
        <ResponseField name="code" type="string">
          Código arquivo.
        </ResponseField>

        <ResponseField name="uuid" type="string">
          Identificador.
        </ResponseField>

        <ResponseField name="signed_at" type="string">
          Data da assinatura (se houver).
        </ResponseField>
      </Expandable>
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseExample>
  ```json 200 OK theme={"theme":"catppuccin-latte"}
  {
    "signature_process": {
      "code": "PRC-2023-001",
      "uuid": "8e3b2e50-8b9a-4d7a-9b8c-1e2f3a4b5c6d",
      "type": 1,
      "state": 1,
      "created_at": "2023-10-15T14:30:00Z",
      "updated_at": "2023-10-15T14:35:00Z"
    },
    "signers": [
      {
        "code": "SIG-001",
        "uuid": "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        "files": [
          {
            "code": "DOC-001",
            "uuid": "5e6f7a8b-9c0d-1a2b-3c4d-1e2f3a4b5c6d",
            "type": 1,
            "signed_at": null
          }
        ]
      }
    ],
    "files": [
      {
        "code": "DOC-001",
        "uuid": "5e6f7a8b-9c0d-1a2b-3c4d-1e2f3a4b5c6d",
        "type": 1,
        "signers": []
      }
    ]
  }
  ```

  ```json 401 Não autenticado theme={"theme":"catppuccin-latte"}
  ```

  ```json 403 Não autorizado theme={"theme":"catppuccin-latte"}
  ```
</ResponseExample>
