Signer Configuration
There are two ways to configure signers in a signature request:1. Account-Based Signing (Requires Skribble Account)
Only specifyaccount_email if you want to force the signer to use or create a Skribble account:
2. No-Account Signing (Recommended)
Specify bothaccount_email and signer_identity_data to allow signing without requiring a Skribble account:
signer_identity_data, Skribble generates a unique signing URL that allows direct access without account creation. This is the recommended approach for most use cases.
Callback Integration
Skribble provides three types of callbacks to track the signature request lifecycle:Callback Types
-
Success Callback (
callback_success_url)- Triggered when all signatures are completed
- Receives the final document ID
- Use this to download the signed document
-
Error Callback (
callback_error_url)- Triggered when an error occurs
- Provides error details
-
Update Callback (
callback_update_url)- Triggered after each individual signature
- Includes the signature ID that was just completed
Dynamic URL Parameters
Skribble automatically replaces these placeholders in your callback URLs:SKRIBBLE_SIGNATURE_REQUEST_ID: The ID of the signature requestSKRIBBLE_DOCUMENT_ID: The ID of the final signed documentSKRIBBLE_SIGNATURE_ID: The ID of the completed signature (only for update callbacks)
Example Implementation
Best Practices for Callbacks
URL Configuration
URL Configuration
- Use HTTPS endpoints for security
- Include request/document IDs in the URL for easy routing
- Keep URLs under 2048 characters
- Handle URL encoding properly
Error Handling
Error Handling
- Implement proper error handling in your webhook endpoints
- Return appropriate HTTP status codes
- Log webhook events for debugging
- Set up retry logic for failed webhook deliveries
Document Handling
Document Handling
- Download and store signed documents promptly
- Implement proper file storage security
- Update your database with document status
- Clean up temporary files
Key Components
Document
The PDF file that needs to be signed. Can be provided as a URL, base64 content, or existing document ID.
Signers
One or more people who need to sign the document, with optional signing sequence.
Visual Signature
The appearance and position of signatures on the document.
Workflow
The signing process including notifications, reminders, and completion handling.
Signature Request Lifecycle
1
Creation
Create a signature request by specifying the document and signers
2
Notification
Signers receive email notifications with signing instructions or direct signing URLs
3
Signing
Signers review and sign the document in sequence (if specified)
4
Completion
All parties receive the final signed document
Example Structure
Here’s what a typical signature request looks like:Best Practices
Document Preparation
Document Preparation
- Verify base64 content is valid if applicable
- Ensure document is not password protected and/or URL is public
- Optimize file size (recommended max: 40MB)
Signer Configuration
Signer Configuration
- Always provide both
account_emailandsigner_identity_dataunless you specifically need to force account creation - Use the same email address in both
account_emailandsigner_identity_data.email_address - Add optional signer details (name, language) in
signer_identity_datafor better user experience - Consider using
sequencefor ordered signing when document order matters
Status Handling
A signature request can have the following overall statuses:OPEN: The signature request is active and waiting for signaturesSIGNED: All required signatures have been completedWITHDRAWN: The signature request was cancelled
Best Practice for Document Handling
The recommended workflow for handling signed documents is:- Configure a success callback endpoint that receives the document ID
- When the callback is triggered, use the provided document ID to retrieve the signed document
- Process and store the document as needed