Sadq.IntegrationSDK
1.0.0
dotnet add package Sadq.IntegrationSDK --version 1.0.0
NuGet\Install-Package Sadq.IntegrationSDK -Version 1.0.0
<PackageReference Include="Sadq.IntegrationSDK" Version="1.0.0" />
<PackageVersion Include="Sadq.IntegrationSDK" Version="1.0.0" />
<PackageReference Include="Sadq.IntegrationSDK" />
paket add Sadq.IntegrationSDK --version 1.0.0
#r "nuget: Sadq.IntegrationSDK, 1.0.0"
#:package Sadq.IntegrationSDK@1.0.0
#addin nuget:?package=Sadq.IntegrationSDK&version=1.0.0
#tool nuget:?package=Sadq.IntegrationSDK&version=1.0.0
Sadq.IntegrationSDK
Client SDK for the Sadq e-signature IntegrationService API (v1). Handles authentication, envelope creation, signer invitations, envelope status, file download, webhooks, and more.
- Target:
netstandard2.0— runs on .NET Framework 4.6.2+, .NET Core 2.0+, .NET 5 / 6 / 7 / 8, Unity 2018+, Xamarin, Mono. - Dependencies: only
System.Text.Json(for JSON serialization).
Install
dotnet add package Sadq.IntegrationSDK
Or in a csproj:
<PackageReference Include="Sadq.IntegrationSDK" Version="1.0.0" />
Quick start
The SDK is split into two clients — one for auth, one for API calls. Both are constructed directly; no DI container required.
using Sadq.IntegrationSDK;
using Sadq.IntegrationSDK.Auth.Models;
using Sadq.IntegrationSDK.Settings;
using Sadq.IntegrationSDK.V1.Models.Requests;
// 1. Acquire a bearer token.
using var auth = new SadqAuthClient(new SadqSdkOptions
{
BaseUrl = "https://api.sadq.sa", // gateway / host root
});
var token = await auth.Auth.AuthenticateAsync(new SadqTokenRequest
{
Username = "...",
Password = "...",
AccountId = new Guid("..."),
AccountSecret = "...",
});
// 2. Use the token for every API call.
using var sadq = new SadqIntegrationClient(new IntegrationOptions
{
BaseUrl = "https://api.sadq.sa",
AccessToken = token.AccessToken,
});
// Initiate an envelope from a base64 file:
var resp = await sadq.V1.Documents.InitiateEnvelopeAsync(new EnvelopRequest
{
File = new EnvelopFile { fileName = "contract.pdf", File = base64 },
});
// Check its status:
var status = await sadq.V1.Documents.GetEnvelopeStatusAsync(resp.Data.EnvelopeId);
// Register a webhook:
var webhook = await sadq.V1.Webhooks.CreateAsync(new WebHookCreateDto
{
WebhookUrl = "https://yoursite.example/sadq-events",
IsDefault = true,
});
API surface
SadqAuthClient
Auth.AuthenticateAsync(SadqTokenRequest)— fetch a bearer token.
SadqIntegrationClient
V1.Documents—InitiateEnvelopeAsync,InitiateEnvelopeMultipartAsync,InitiateByTemplateAsync,BulkInitiateEnvelopeAsync,InitiateAndInviteAsync,GetEnvelopeStatusAsync,GetEnvelopeStatusByReferenceNumberAsync,DownloadAsync,DownloadEnvelopeFilesAsync,DownloadCompletedBase64Async,CancelEnvelopeAsync.V1.Invitations—InviteAsync,InviteByEnvelopeAsync,BulkInviteAsync,RemindAsync,BulkRemindAsync,ExtendInvitationAsync,ExtendEnvelopeInvitationsAsync.V1.Webhooks—CreateAsync,GetAccountWebhooksAsync,BulkCreateAsync,GetByIdAsync,DeleteAsync.V2.Invitations—SendInvitationAsync.V3.Invitations—InitiateInvitationAsync.
Errors
All API calls return BaseResponse<T> — inspect ErrorCode before reading
Data. Transport/HTTP failures surface as SadqApiException; configuration
problems surface as SadqSdkOptionsException.
License
Proprietary — © Sadq Solutions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 6.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 142 | 4/21/2026 |