Coopanest API
  1. envelopes
Coopanest API
  • Coopanest GATEWAY
    • assinatura-digital
      • envelopes
        • Pegar envelope por id
          GET
        • Pegar assinaturas do envelope
          GET
        • Pegar dados externos do envelope
          GET
        • Pegar dados externos do envelope Options
          OPTIONS
        • Pegar assinaturas do envelope Options
          OPTIONS
        • Pegar envelope por Id Options
          OPTIONS
        • Criar assinatura digital
          POST
        • Criar assinatura digital Options
          OPTIONS
      • hello
        • Assinatura digital hello
        • Assinatura digital hello Options
      • webhook
        • autentique
          • Autentique webhook GET
          • Autentique webhook POST
          • Autentique webhook OPTIONS
      • health
        • Health
        • Health Options
    • email
      • Enviar email
      • Enviar email Options
    • pdf
      • Gerar pdf via template
      • Gerar pdf via template Options
    • aplicacao
      • coopaapi
        • cooperados
          • demonstrativo
            • Get Demonstrativos
            • Get Demonstrativos Options
          • perfil
            • foto
              • Atualizar perfil foto Options
              • Atualizar Foto Perfil
            • pj
              • Get Dados Perfil PJ
              • Atualizar dados perfil PJ
              • Perfil PJ Options
            • Get Dados Perfil
            • Atualizar Perfil
            • Perfil Options
        • registros
          • Registros
          • Registros Options
      • portal
        • auth
          • login
            • Login
            • Login Options
          • validate
            • Validar Conexão
            • Validar Conexão Options
        • guias
          • {id}
            • Get Guia por Id
            • Get Guia por Id Options
          • Get Guias
          • Get Guias Options
    • storage
      • presigned-url
        • Criar url pré assinada
        • Criar url pré assinada Notas fiscais PJ
    • Esquemas
      • Raiz
        • Empty Schema
  • Coopanest Processador Documentos
    • api
      • pdf
        • generate
          • Gerar Pdf Sincrono
  1. envelopes

Criar assinatura digital

POST
/assinatura-digital/envelopes

Requisição

Parâmetros Header

Parâmetros Bodymultipart/form-data

Respostas

🟢200Correto
application/json
200 response
Headers

Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.coopanestrio.dev.br/assinatura-digital/envelopes' \
--header 'x-api-key: joao' \
--form 'name="Documento"' \
--form 'signers=""' \
--form 'signers=""' \
--form 'deadlineAt="Sun Nov 30 2025"' \
--form 'file=@""' \
--form 'externalReference="[object Object]"'
Response Response Example
{
    "id": 1,
    "name": "Documento Portal",
    "deadlineAt": "2025-12-10T00:00:00.000Z",
    "serviceData": {
        "id": "80109e9bdfd6aa18a299b08f08c2f428e899030f0962d1d2a",
        "name": "Documento Portal",
        "sortable": false,
        "refusable": false,
        "__typename": "Document",
        "created_at": "2025-11-30T21:16:01.000000Z",
        "signatures": [
            {
                "link": null,
                "name": null,
                "user": {
                    "id": "9fdb6a612145017c306336ca215a11ac3c4df710",
                    "name": "Coopanest Rio Dev",
                    "email": "dev1@coopanestrio.org.br",
                    "__typename": "User"
                },
                "email": "dev1@coopanestrio.org.br",
                "action": null,
                "public_id": "c5a78a16ce3111f0800e42010a2b601f",
                "__typename": "Signature",
                "created_at": "2025-11-30T21:16:01.000000Z"
            },
            {
                "link": null,
                "name": "Joao Paulo 1",
                "user": {
                    "id": "af4839ce6eb1f23ac6c4dfa5a5792d5e258a7a7d",
                    "name": "João Paulo Ferreira Neto",
                    "email": "joaopauloneto3687@gmail.com",
                    "__typename": "User"
                },
                "email": "joaopauloneto3687@gmail.com",
                "action": {
                    "name": "SIGN",
                    "__typename": "Action"
                },
                "public_id": "c5b0b3adce3111f0800e42010a2b601f",
                "__typename": "Signature",
                "created_at": "2025-11-30T21:16:01.000000Z"
            },
            {
                "link": null,
                "name": "Joao Paulo 2",
                "user": {
                    "id": "e15329d5318ff9ba7cbf2fe6c6d2f7d494f90418",
                    "name": "João Paulo Ferreira Neto",
                    "email": "joaopauloneto3689@gmail.com",
                    "__typename": "User"
                },
                "email": "joaopauloneto3689@gmail.com",
                "action": {
                    "name": "SIGN",
                    "__typename": "Action"
                },
                "public_id": "c5b897cbce3111f0800e42010a2b601f",
                "__typename": "Signature",
                "created_at": "2025-11-30T21:16:01.000000Z"
            }
        ]
    },
    "externalReference": {
        "tipo": "PF",
        "backend": "aplicacao",
        "conexao": "{64214214-0F4A-98D3B-F1F0-4214}",
        "id_empresa": null,
        "id_cooperado": "4214124",
        "tipo_contrato": "CONTRATO_PF"
    },
    "provider": "autentique",
    "providerId": "80109e9bdfd6aa18a299b08f08c2f428e899030f0962d1d2a",
    "createdAt": "2025-11-30T21:16:02.322Z",
    "updatedAt": "2025-11-30T21:16:02.322Z",
    "status": "CREATED",
    "deletedAt": null
}
Modificado em 2025-12-01 02:48:23
Página anterior
Pegar envelope por Id Options
Próxima página
Criar assinatura digital Options
Built with