Skip to content

Authentication

The VisiSign API uses API keys for authentication. Every request must include a valid key in the Authorization header.

Keys are prefixed with vsk_ followed by a 48-character hex string:

vsk_a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6

The full key is only shown once at creation. VisiSign stores a SHA-256 hash of the key — we can never retrieve the original.

Pass the key as a Bearer token:

Terminal window
curl https://api.visisign.app/v1/signature_requests \
-H "Authorization: Bearer vsk_your_key_here"

Go to Settings > API Keys in the VisiSign dashboard, or use the dashboard UI to generate a key. Keys are scoped to your organization.

Click Revoke next to any key in Settings. Revoked keys immediately stop working and cannot be restored.

Each key tracks:

FieldDescription
nameDisplay name you chose at creation
prefixFirst 12 characters (e.g. vsk_a1b2c3d4) for identification
last_used_atTimestamp of the most recent API request
created_atWhen the key was generated
  • Never commit keys to source control. Use environment variables or a secrets manager.
  • Use separate keys for production and development.
  • Rotate keys periodically. Create a new key, update your integration, then revoke the old one.
  • Revoke compromised keys immediately. There is no way to “pause” a key — revoke it and create a new one.

Requests with missing or invalid keys return 401 Unauthorized:

{
"error": {
"type": "unauthorized",
"message": "Invalid or missing API key."
}
}

Requests with a revoked or expired key also return 401.