Signing a document

How to sign a document

To do so, simply use the following mutation: (Don’t forget to replace it with the ID of an existing document.)

mutation {
  signDocument(id: "DOCUMENT_ID")
}

Please note that you can only sign using the account linked to the API token. This means you cannot use this method to enable others to sign documents directly through your application.

Additionally, you will only be able to sign a document if you are listed as one of its signers. Otherwise, the response will return the error: signature_not_found.

You can test the signing process in Altair:

You can check what each of these parameters means directly in the full GraphQL API documentation, in the Docs menu of Altair. If you're not sure how to do that, check out our tutorial on Using Altair.

If Altair doesn't help you integrate with the API, check out some examples of how to make these requests in other ways: https://graphql.org/graphql-js/graphql-clients/

Para importar e usar no Postman

Last updated

Was this helpful?