# Detalhes do Signatário

Visualizar estado atual do Signatário.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-v3",
    "version": "2.1"
  },
  "servers": [
    {
      "url": "https://sandbox.clicksign.com/api/v3/"
    }
  ],
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  },
  "security": [
    {
      "Authorization": []
    }
  ],
  "paths": {
    "/envelopes/{envelope_id}/signers/{signer_id}": {
      "get": {
        "summary": "Detalhes do Signatário",
        "description": "Visualizar estado atual do Signatário.",
        "operationId": "api-detalhes-do-signatario",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Access Token gerado pelo gestor da conta",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "Content-type",
            "in": "header",
            "description": "Content-type padrão para todas requisições JSON:API",
            "schema": {
              "type": "string",
              "enum": [
                "application/vnd.api+json"
              ],
              "default": "application/vnd.api+json"
            }
          },
          {
            "name": "envelope_id",
            "in": "path",
            "description": "ID do Envelope que possui o signatário",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "signer_id",
            "in": "path",
            "description": "ID do Signatário que deseja visualizar",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "OK": {
                    "value": "{\n\t\"data\": {\n\t\t\"id\": \"305b7b99-7669-4b1b-b0a9-7cbf61ffc680\",\n\t\t\"type\": \"signers\",\n\t\t\"links\": {\n\t\t\t\"self\": \"https://sandbox.clicksign.com/api/v3/envelopes/b8239d23-230a-4ab7-82f2-6d68b3fee0fd/signers/305b7b99-7669-4b1b-b0a9-7cbf61ffc680\"\n\t\t},\n\t\t\"attributes\": {\n\t\t\t\"name\": \"Signer One\",\n\t\t\t\"birthday\": null,\n\t\t\t\"email\": \"signer.one@example.com\",\n\t\t\t\"phone_number\": null,\n\t\t\t\"location_required_enabled\": false,\n\t\t\t\"has_documentation\": true,\n\t\t\t\"documentation\": null,\n\t\t\t\"refusable\": false,\n\t\t\t\"group\": 1,\n\t\t\t\"communicate_events\": {\n\t\t\t\t\"document_signed\": \"email\",\n\t\t\t\t\"signature_request\": \"email\",\n\t\t\t\t\"signature_reminder\": \"email\"\n\t\t\t},\n\t\t\t\"created\": \"2024-03-07T09:15:01.530-03:00\",\n\t\t\t\"modified\": \"2024-03-07T09:15:01.530-03:00\"\n\t\t}\n\t}\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "305b7b99-7669-4b1b-b0a9-7cbf61ffc680"
                        },
                        "type": {
                          "type": "string",
                          "example": "signers"
                        },
                        "links": {
                          "type": "object",
                          "properties": {
                            "self": {
                              "type": "string",
                              "example": "https://sandbox.clicksign.com/api/v3/envelopes/b8239d23-230a-4ab7-82f2-6d68b3fee0fd/signers/305b7b99-7669-4b1b-b0a9-7cbf61ffc680"
                            }
                          }
                        },
                        "attributes": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "example": "Signer One"
                            },
                            "birthday": {},
                            "email": {
                              "type": "string",
                              "example": "signer.one@example.com"
                            },
                            "phone_number": {},
                            "location_required_enabled": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "has_documentation": {
                              "type": "boolean",
                              "example": true,
                              "default": true
                            },
                            "documentation": {},
                            "refusable": {
                              "type": "boolean",
                              "example": false,
                              "default": true
                            },
                            "group": {
                              "type": "integer",
                              "example": 1,
                              "default": 0
                            },
                            "communicate_events": {
                              "type": "object",
                              "properties": {
                                "document_signed": {
                                  "type": "string",
                                  "example": "email"
                                },
                                "signature_request": {
                                  "type": "string",
                                  "example": "email"
                                },
                                "signature_reminder": {
                                  "type": "string",
                                  "example": "email"
                                }
                              }
                            },
                            "created": {
                              "type": "string",
                              "example": "2024-03-07T09:15:01.530-03:00"
                            },
                            "modified": {
                              "type": "string",
                              "example": "2024-03-07T09:15:01.530-03:00"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Not Found": {
                    "value": "{\n\t\"errors\": [\n\t\t{\n\t\t\t\"title\": \"Registro não encontrado\",\n\t\t\t\"detail\": \"O registro identificado por 305b7b99-7669-4b1b-b0a9-7cbf61ffc681 não pôde ser encontrado\",\n\t\t\t\"code\": \"404\",\n\t\t\t\"status\": \"404\"\n\t\t}\n\t]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string",
                            "example": "Registro não encontrado"
                          },
                          "detail": {
                            "type": "string",
                            "example": "O registro identificado por 305b7b99-7669-4b1b-b0a9-7cbf61ffc681 não pôde ser encontrado"
                          },
                          "code": {
                            "type": "string",
                            "example": "404"
                          },
                          "status": {
                            "type": "string",
                            "example": "404"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "503": {
            "description": "503",
            "content": {
              "application/json": {
                "examples": {
                  "Service Unavailable": {
                    "value": "// O erro pode estar relacionado a não ativação do envelope em sua conta.\n// Entre em contato com o suporte para ativar ajuda@clicksign.com.\n{\n\t\"errors\": [\n\t\t{\n\t\t\t\"code\": \"service_unavailable\",\n\t\t\t\"status\": 503,\n\t\t\t\"title\": \"Verificação\",\n\t\t\t\"detail\": \"Serviço indisponível\"\n\t\t}\n\t]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "code": {
                            "type": "string",
                            "example": "service_unavailable"
                          },
                          "status": {
                            "type": "integer",
                            "example": 503,
                            "default": 0
                          },
                          "title": {
                            "type": "string",
                            "example": "Verificação"
                          },
                          "detail": {
                            "type": "string",
                            "example": "Serviço indisponível"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```