SigningHub API Guide

Download OpenAPI specification:Download

Welcome

Welcome to SigningHub, a high trust digital signing solution for all your paperless business transactions. It is ideal for those organisations that recognise the value of using cryptographic digital signatures to protect their users and their documents against unauthorised or accidental or fraudulent changes.


Browse through the API content by selecting the relevant pages from the left panel. To quickly find specific web service information, enter search criteria in the search box on top left. .

More about SigningHub
To know more about SigningHub, explore the following links:
  • Go to  SigningHub Knowledge Base to view all the relevant information of SigningHub.
  • Visit the Ascertia Community Portal to find answers to contact SigningHub support staff through the  Live Chat provision Our support staff may be occupied with other priority tasks so live chat is offered on an "as available" basis. 
Intended Readership
This guide is intended for developers who will integrate SigningHub into their respective web applications using the RESTful web services, and user interface offered by SigningHub. It is assumed that the reader has a basic knowledge of REST, Java, C#, HTML, JavaScript, HTTP and TLS/SSL. There is no Software Developers Kit (SDK) for the integration, instead the integration uses HTML Forms and JSON so that integration is simple from any language including .Net, Java, PHP etc.

Main Tags
Most Popular Pages
Welcome
Prerequisites
Access Tokens
Quick Integration
Updates
SignalR
APIs Developer Guide
Appendix
Authentication
Account Management
Add Package
Upload Document
Get Workflow Details
Sign Document

General

This section entails the web services for managing the general operations i.e. About, System Settings, and Branding.

Platform Information

APIs for retrieving SigningHub platform information, service agreements, and application metadata.

Get Service Agreements

Business applications can use this service API to get terms of services and privacy policy that are configured in SigningHub Admin console.

For details how to configure this content in SigningHub follow this link.Note the content applies across the system.

A successful response is only possible if the content is set of course.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "version_number": 0,
  • "name": "string",
  • "description": "string",
  • "terms_of_service": "string",
  • "terms_of_service_url": "string",
  • "privacy_policy": "string",
  • "privacy_policy_url": "string"
}

About SigningHub

Business applications can use this service API to get the SigningHub version and build information.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

OAuth access token obtained as a result of "Client Credentials Authentication"

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "installation_name": "string",
  • "version": "string",
  • "build": "string",
  • "patents": {
    },
  • "copyright": "string"
}

Branding

APIs for retrieving branding assets, logos, favicons, avatars, and profile images.

Get Avatar Image

Business application can get the profile picture of a user.

query Parameters
q
string

Encrypted string used to identify the user.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
"string"

Get SigningHub Admin Branding

Retrieve the default branding of SigningHub Application as set by the SigningHub administrator via the administration console. This includes the logo, favicon and colours that comprise the branding options. Note this is not to be confused with the Enterprise level branding. For these settings click here.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

OAuth access token obtained as a result of "Client Credentials Authentication"

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json
x-base64
string

Responses

Response samples

Content type
application/json
{
  • "logo": "string",
  • "logo_url": "string",
  • "favicon": "string",
  • "favicon_url": "string",
  • "signature_logo": "string",
  • "signature_logo_url": "string",
  • "email_logo": "string",
  • "email_logo_url": "string",
  • "background_image": {
    },
  • "colors": {
    },
  • "slider_items": [
    ]
}

Get SH Admin Branding Favicon

Business application can get the application favicon configured in the application's admin console branding.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

OAuth access token obtained as a result of "Client Credentials Authentication"

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
"string"

Get Profile Picture of Recipient

Business application can get the profile picture of a recipient that has signed the document.

path Parameters
encryptKey
required
string

Encrypted string used to identify the recipient for which the photo is requested.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

OAuth access token obtained as a result of "Client Credentials Authentication"

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
"string"

Reference Data

APIs for retrieving reference information such as languages, countries, and time zones.

Get Languages

Business applications can use this service API to get the supported languages

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "default_language": "string",
  • "allow_changing_language": true,
  • "supported_languages": {
    }
}

Get Countries

Business applications can use this service API to get the supported countries

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "default_country": "string",
  • "allow_changing_country": true,
  • "supported_countries": {
    }
}

Get Timezones

Business applications can use this service API to get the supported timezones

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "default_timezone": "string",
  • "allow_changing_timezone": true,
  • "supported_timezones": {
    }
}

System Settings

APIs for retrieving system-wide configuration and application settings.

System Settings

Business applications can use this service API to get the system settings of a logged in enterprise user.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

OAuth access token obtained as a result of "Client Credentials Authentication"

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json

Responses

Response samples

Content type
application/json
{
  • "installation_name": "string",
  • "installation_type": "string",
  • "web_address": "string",
  • "api_address": "string",
  • "create_account_webpage": "string",
  • "privacy_policy_webpage": "string",
  • "term_of_services_webpage": "string",
  • "agree_privacy_policy_and_terms_of_service": true,
  • "default_country": "string",
  • "allow_changing_country": true,
  • "default_timezone": "string",
  • "allow_changing_timezone": true,
  • "default_language": "string",
  • "environment": 0,
  • "core_setting": {
    },
  • "password_policy": {
    },
  • "signature_types": {
    },
  • "support_email": "string",
  • "system_error_email": "string",
  • "system_maintenance_message": "string",
  • "session_timeout": 0,
  • "company_name": "string",
  • "allow_changing_language": true,
  • "allow_national_id": true,
  • "profile_logo_only": true,
  • "google_analytics_mobile_web": "string",
  • "bing_analytics_mobile_web": "string",
  • "error_notification_timeout": 0,
  • "allow_marketing_emails": true,
  • "hide_edit_signature_dialog": true,
  • "billing": {
    },
  • "content_security_policy": {
    },
  • "default_cloud_drive_settings": {
    },
  • "default_smtp_connector": {
    },
  • "default_sms_connector": {
    },
  • "default_push_notification_connector": {
    },
  • "default_geoip_connector": {
    },
  • "default_marketing_connector": {
    },
  • "default_artificial_intelligence_connector": {
    },
  • "default_captcha_connector": {
    },
  • "default_file_scanning_connector": {
    },
  • "default_enterprise_service_plan": {
    },
  • "default_individual_service_plan": {
    },
  • "global_sign_logo_visible": true,
  • "trusted_device_authentication": true,
  • "hide_forgot_reset_password_option": true,
  • "authentication_flow": "string",
  • "hide_password_profile": true
}

Verification

APIs for performing OTP verification and validation operations.

OTP Verification

Business applications can use this service API to verify an OTP, generated using OTP Login Authentication.

header Parameters
Authorization
required
string
Default: Bearer {access_token}

The OAuth access token obtained as a result of successful authentication via the "password" grant type.

Content-Type
required
string
Default: application/json
Accept
required
string
Default: application/json
x-otp
string
Default: 456789

OTP that is generated and sent to the user's mobile.

Responses

Response samples

Content type
application/json
{
  • "Message": "string"
}