PUT Change request signer

Changed on

Este endpoint permite alterar o signatário de uma solicitação.
Além de alterar o signatário, é enviado um e-mail/whatsapp e gerada uma nova signing_key.

Só solicitações pendentes podem ter o signatário alterado. Os erros respondem 404 com a chave error.

put/api/requests/change-signer

Request

  • Base URL
    https://app.plugsign.com.br
  • URL
    https://app.plugsign.com.br/api/requests/change-signer
  • Auth
    API key in header Authorization

Request body

signing_keystring required

Signing key do request.

contactstring required

E-mail ou Celular com WhatsApp para envio.

messagestring required

Mensagem enviada para o novo destinatário (1 a 255 caracteres).

Response

200

messagestring

Mensagem de confirmação retornada pela API.

new_signing_keystring

Nova chave de assinatura gerada após a alteração do signatário.

Example response

{
  "message": "Contato alterado e mensagem enviada com sucesso!",
  "new_signing_key": "hKslujMlIKLB7Y7jmBF7dTkpkd4l9oB6"
}

Changes

    • breaking

      the request property's minLength was increased from 0 to 1

    • warning

      the request property's maxLength was set to 255

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status