Skip to main content
API Integration Quick Win
Quickly implement Ignisign API integration in your applications
Preparation Steps
1. Create an Account

Before integrating Ignisign, you need to create an account.

2. Obtain an API Key

To authenticate your API calls, you'll need an API key:

  1. Log in to the Ignisign Console
  2. Navigate to your application in the Applications section
  3. Click on "API Keys" in the left sidebar
  4. Select your environment (Development/Staging/Production)
  5. Click "Create API Key"
  6. Make note of the API key that starts with skv2_ - you'll need this for all API calls
API Integration
Authentication

All API calls to Ignisign require authentication. Add your API key to the request headers:

const headers = {
'Authorization': 'Bearer skv2_your_api_key_here',
'Content-Type': 'application/json'
};
Create a Signature Request in One Call

The most straightforward way to implement a signature workflow is to use the "Create Signature Request in One Call" endpoint:

curl -X POST \
https://api.ignisign.io/v4/signature-requests/one-call-sign \
-H 'Authorization: Bearer skv2_your_api_key_here' \
-H 'Content-Type: application/json' \
-d '{
  "title": "Contract signature",
  "signatureMethod": "SIMPLE_STD",
  "signers": [
    {
      "email": "[email protected]",
      "firstName": "John",
      "lastName": "Doe"
    }
  ],
  "documents": [
    {
      "originalName": "contract.pdf",
      "mimeType": "application/pdf",
      "base64": "JVBERi0xLjcKJb...[Base64 encoded content]"
    }
  ]
}'
tip

For a full description of the API endpoint parameters and response format, see the Create Signature Request in One Call API documentation.

Signature Workflow

The diagram below shows the basic workflow when creating a signature request:

What Happens Next

After creating a signature request:

  1. Signers receive an email with a link to sign the document
  2. Signers click the link and complete the signature process
  3. After all signers have signed, everyone receives an email with the signed document
Advanced: Implementing Webhook Integration (Optional)

For real-time updates about signature events, you can implement webhook integration:

1. Register a Webhook Endpoint
  1. In the Ignisign Console, go to your application settings
  2. Navigate to the "Webhooks" section
  3. Add a new webhook with your endpoint URL (e.g., `https://yourdomain.com/api/webhooks/ignisign`)
  4. Select the events you want to receive (especially "SIGNATURE_PROOF.GENERATED")
2. Implement the Webhook Handler

Create an endpoint in your application to receive webhook events:

// Express.js example
app.post('/api/webhooks/ignisign', (req, res) => {
const webhookData = req.body;

// Verify that the webhook is from Ignisign
// Process different webhook events
if (webhookData.topic === 'SIGNATURE_PROOF' && 
    webhookData.action === 'GENERATED' && 
    webhookData.msgNature === 'SUCCESS') {
  
  // Extract information from the webhook content
  const { 
    signatureRequestId, 
    signatureRequestExternalId,
    signatureProofUrl 
  } = webhookData.content;
  
  // Store the signature proof URL in your database
  // Download the proof if needed
  console.log(`Signature proof generated for request: ${signatureRequestId}`);
  console.log(`Proof URL: ${signatureProofUrl}`);
  
  // You can now download and store the proof
}

// Always respond with 200 OK to acknowledge receipt
res.status(200).send('Webhook received');
});
tip

For more details on handling signature proofs via webhooks, see the Signature Proof Webhooks documentation.

For DIY Users

If you're not a developer, you can achieve similar results using the Ignisign Console:

  1. Log in to the Ignisign Console
  2. Navigate to your application
  3. Go to "Signature Requests" and click "Create New"
  4. Follow the on-screen instructions to upload your document and add signers
  5. Click "Send" to initiate the signature process
Next Steps

After implementing this quick integration, you might want to explore: