Skip to main content
All CollectionsCustom integrations
Dokobit integration in Journeys using Webhooks
Dokobit integration in Journeys using Webhooks

Settings for the Dokobit endpoints and webhook in Journeys

Helga Kolbrún Magnúsdóttir avatar
Written by Helga Kolbrún Magnúsdóttir
Updated over 4 months ago

Related articles

You can send a document to e-signing via Dokobit in Journeys, using Dokobit Portal API.

You first need your access token, you can that in the Dokobit API Dashboard. Go to "Usage statistics" → "Expand your account" → "API access token".

In Journeys under integrations you can create a new integration, name it "Dokobit" and add a logo.

Authentication:

Authentication type is none

Create an endpoint to test the token

Click on "Add Endpoint" button and choose "Api"

You can test the token by creating an endpoint called "Testing the token".

Now setup like this and past the token inside brackets in the url

Expand the ""Request values" and paste you access token in the Test request

Press Save and then Test

Then you should get a response like this if all everything is ok

Send document to signing

Now let's create an endpoint which we can call "Send document to signing"

Choose "Add Endpoint" - "API"

Where the last part (d6kclsj394hk8) is your access token

And the JSON should be like this:

{
"name": "Contract",
"type": "pdf",
"files": [
{
"name": "Contract.pdf",
"digest": "53eb2b7c370815d028b717b90876bbcd76140d3897e399f46329d014ca383c23",
"content": "JVBERi0xLjQKMyAwIG9iago8PC9UeXBlIC9QYWdlCi9QYXJlbnQgMSAwIFIKL01lZGlhQm94IFswIDAgNTk1LjMyIDg0Mi4wNF0KL1Jlc291cmNlcyAyIDAgUgovQ29udGVudHMgNCAwIFI+PgplbmRvYmoKNCAwIG9iago8PC9GaWx0ZXIgL0ZsYXRlRGVjb2RlIC9MZW5ndGggNzE+PgpzdHJlYW0KeJwzUvDiMtAzNVco5ypUMFDwUjBUKAfSWUDsDsTpQFFDPQMgUABBGBOFSs7l0g8J8DFUcMlXCOQK5AIrUkAmi9K5ADZmFKUKZW5kc3RyZWFtCmVuZG9iagoxIDAgb2JqCjw8L1R5cGUgL1BhZ2VzCi9LaWRzIFszIDAgUiBdCi9Db3VudCAxCi9NZWRpYUJveCBbMCAwIDU5NS4yOCA4NDEuODldCj4+CmVuZG9iago1IDAgb2JqCjw8L0ZpbHRl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ers": [
{
"name": "John Smith",
"email": "james@demo.com",
"phone": "+3546660000"
}
],
"postback_url": "http://test.com",
"require_account": "0"
}

Open the Request values and edit the following information

  • signers_name -> your name

  • signers_email -> your email

  • signers_phone -> your phone

Press "Add Endpoint" button at the bottom of page to save this info.

Expand now this endpoint "Send document to signing" and press "Test" for Request values.

The response you get should be like this

If this is successful you just need to change the type of pdfDocument to file and save:

Copy the token on the third line, the one in green here in the screenshot above, you need to use it in the endpoint to get the document. You can press "Test" again to be able to copy the token from the response pop up window.

Webhooks

We use webhooks to listen to when the document has been signed, here are more information about webhooks.

Create a new endpoint but now select "Webhook"

Turn of the toggle for "Subscribe using external url"

This is the text you copy into the "Payload values"

{
"file": "https://app.dokobit.com/api/signing/421b3e7148eb5448de5722b88892f261d0e16031/download",
"name": "Contract",
"type": "pdf",
"files": [
{
"url": "https://app.dokobit.com/api/signing/58430719ef14ca6ef2645df77745354b823c43e2e493854e80a1e6ff599a1602/file-download",
"name": "Contract.pdf",
"type": null,
"mime_type": "application/pdf"
}
],
"token": "421b3e7148eb5448de5722b88892f261d0e16031",
"action": "signer_signed",
"status": "completed",
"signers": [
{
"code": "",
"type": "signer",
"email": "",
"token": "",
"status": "signed",
"country": "is",
"last_name": "",
"signature": {
"seal": false,
"level": "PAdES-LT",
"errors": [],
"timemark": [],
"warnings": [],
"timestamp": {
"qualified": true
},
"certificate": {
"owner": "",
"value": "",
"issuer": "",
"valid_to": "2025-02-11 15:10:01",
"qualified": true,
"valid_from": "2020-02-11 15:10:03"
},
"signing_time": "2024-04-18T13:19:56+03:00"
},
"first_name": "",
"signing_method": null,
"is_in_trash_bin": false,
"meta_information": {
"city": null,
"company": null,
"country": null,
"position": null,
"postal_code": null,
"subdivision": null,
"signing_purpose": null,
"signing_location": null
},
"is_qualified_electronic_signature": true
},
{
"code": null,
"type": "viewer",
"email": null,
"token": "1b7d614e4afc6b3959cce8c4edb18dd5e7deb10f",
"status": "pending",
"country": null,
"last_name": "",
"signature": [],
"first_name": "50skills",
"signing_method": null,
"is_in_trash_bin": false,
"meta_information": {
"city": null,
"company": null,
"country": null,
"position": null,
"postal_code": null,
"subdivision": null,
"signing_purpose": null,
"signing_location": null
},
"is_qualified_electronic_signature": false
}
],
"deadline": null,
"template": null,
"categories": [],
"signed_file": [
{
"url": "https://app.dokobit.com/api/signing/421b3e7148eb5448de5722b88892f261d0e16031/download"
}
],
"date_created": "2024-04-18T13:19:23+03:00",
"signer_token": "2c43b4ed99f1817bcf3b618f9edc7e139bd795e4",
"signing_deadline": null,
"is_qualified_signature_required": false
}

Press "Add Webhook" button at the bottom of the page to save this.

Expand now Webhook and click on "Add conditions" - there are three conditions you need to put in.

Press "Add element"

  1. The first condition is the Token, you select that like this

Make sure to the "Select value in the journey builder" is on like this

Click on "Add element" to crate the second condition.

2. The second condition is the Status

Here is "Select value in the journey builder" is off and you write "completed" in as the value

3. The third condition is the Action

Again the "Select value in the journey builder" is off and you write "signing_completed" in as the value

Press Save and the conditions should look like this

Get document file

To be able to get the signed document and use it you need to add an endpoint, lets call it "Get document file".

This is a GET request and the URL is:

Where the last part (d6kclsj394hk8) is your access token.

Press "Add Endpoint" to save this.

Open the Request values

Now you need to paste in the token you copied from the "Send document to signing" endpoint previously.

Press "Save" and then "Test". The reponse should be similar to this.

Did this answer your question?