/ api v1 — rest + webhooks

API quickstart

Three steps: authenticate, create a document, listen for the webhook.

1. Authenticate

Create an API key in the dashboard under Settings → API keys. Send it as a Bearer token.

2. Create a signing request

http
POST https://app.mysig.my/api/v1/documents
Authorization: Bearer sk_live_...
Content-Type: multipart/form-data

file=@contract.pdf
title=Service Agreement
signing_mode=sequential
signers=[{"name":"Aisha","email":"aisha@acme.co"}]

Response:

json
{
  "id": "doc_3kf9...",
  "status": "sent",
  "signers": [
    { "id": "sgn_...", "email": "aisha@acme.co",
      "signing_url": "https://app.mysig.my/sign/8f1c..." }
  ]
}

3. Receive the webhook

Verify X-Mysig-Signature (HMAC-SHA256 of the body with your endpoint secret).

http
POST https://your-app.com/webhooks/mysig
X-Mysig-Signature: sha256=<hmac>

{ "event": "document.completed",
  "document": { "id": "doc_3kf9...", "download_url": "https://..." } }

Full reference and SDKs coming soon. Questions? info@tamingsolutions.com