Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

"Hello World" Example 1 - Gathering the information about workspace

  • There is a workspace "Demo API" with the API key “71c4123d242bdd38047bee838d17e3367dc3ea6748d0975217ce501e834a224c83cab8afd35c9b0e6ade806b7987fae80f97f5c8253cfbb9089cf21f” and Signi production environment https://api.signi.com. Use the API key of your workspace for your calls.

...

Code Block
{
    "user": {
        "email": "aplikace@signi.com"
    },
    "workspace": {
        "name": "iSmlouva marketing"
    },
    "token": {
        "expiration_date": "2030-08-07"
    },
    "links": {
        "tokens": "https://app.ismlouva.cz/api"
    }
}

"Hello World" Example 2 - Issuing the PDF file for the Signature

  • There is a workspace "Demo API" with the API key “71c4123d242bdd38047bee838d17e3367dc3ea6748d0975217ce501e834a224c83cab8afd35c9b0e6ade806b7987fae80f97f5c8253cfbb9089cf21f” and Signi production environment https://api.signi.com . Use the API key of your workspace for your calls.

...

  • Request - POST

  • Address - https://api.signi.com/api/v1/contract/ , with parameter Type with the value “doc”.

  • Autorization - Type: API Key , Placement in: Header, variable name: x-api-key , value: see API key above.

  • Body - type request multipart/form-data and two keys- data a uploaded_file_key of File type . The first contains the JSON file with end point parameter the second one is PDF file to be signed.

...

Section Params

...

Section Autorization

...

Section Body

...

  • contract_id - unique identification of the document useful for future calls regarding this document

  • the URLs for signing the documents by each signer.

Final Document Example

...

“Hello World” Example 3 - Issuing the Data Into the Template in Signi

  • There is a workspace "Demo API" with the API key “71c4123d242bdd38047bee838d17e3367dc3ea6748d0975217ce501e834a224c83cab8afd35c9b0e6ade806b7987fae80f97f5c8253cfbb9089cf21f” and Signi production environment https://api.signi.com . Use the API key of your workspace for your calls.

  • The proposer of the document is demo@signi.com . The signing counterparty is protistrana@firma.cz , you can change it to your e-mail to test the signing . The order of signing is set to proposers_before_counterparties i.e. the proposer signs the first (automatically in this case) and couterparty afterwards.

  • There is used the template Testovací smlouva with the ID template 7v1 and several parameters with ID 12, 131, 411, 421, 431 .

...