API endpoints for Cybersign's sponsored user onboarding flow, including authentication, data enrichment, phone verification, KYC status check, document signing preparation (upload/download URLs), certificate management, and document signing.
Cybersign Sponsored Onboarding & Signing API (1.1.0)
https://docs.cybersign.gt/_mock/openapi/
https://api.cybersign.com/v1/
Determines the expiry time of the generated pre-signed URL based on expected file size:
tier-1: Up to 20MB (7 min expiry)tier-2: Up to 40MB (14 min expiry)tier-3: Up to 80MB (28 min expiry)tier-4: Up to 100MB (35 min expiry)tier-5: Up to 120MB (42 min expiry)
- Mock server
https://docs.cybersign.gt/_mock/openapi/documents/upload-url
- Production Server
https://api.cybersign.com/v1/documents/upload-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cybersign.gt/_mock/openapi/documents/upload-url \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"file_tier": "tier-1",
"file_name": "documento.pdf"
}'Pre-signed URL and associated data generated successfully.
The base URL endpoint to which the upload request should be sent.
Key-value pairs that must be included as form fields in the upload request (e.g., multipart/form-data).
The full path/key where the object will be stored in the bucket.
Base64-encoded policy document governing the upload permissions.
A unique ULID generated by Cybersign to identify this specific document upload instance.
{ "url": "https://your-bucket-name.s3.your-region.amazonaws.com/", "fields": { "key": "user-uuid/onboarding-ulid/documento.pdf", "x-amz-algorithm": "AWS4-HMAC-SHA256", "x-amz-credential": "AKIAEXAMPLE/20240101/us-east-1/s3/aws4_request", "x-amz-date": "20240101T120000Z", "policy": "eyJleHBpcmF0aW9uIjoiMjAyNC0wMS0wMVQxMjowNzowMFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJ5b3VyLWJ1Y2tldC1uYW1lIn0seyJrZXkiOiJ1c2VyLXV1aWQvb25ib2FyZGluZy11bGlkL2RvY3VtZW50by5wZGYifV19", "x-amz-signature": "a1b2c3d4e5f6..." }, "doc_ulid": "01JE9KCR0H22PDY9C1GYZABCDE", "doc_path": "user-uuid/onboarding-ulid/documento.pdf" }
- Mock server
https://docs.cybersign.gt/_mock/openapi/documents/download-url
- Production Server
https://api.cybersign.com/v1/documents/download-url
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.cybersign.gt/_mock/openapi/documents/download-url?document-path=user-uuid%2Fonboarding-ulid%2Fdocument-name.pdf' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "download_url": "https://your-bucket-name.s3.your-region.amazonaws.com/user-uuid/onboarding-ulid/documento.pdf?AWSAccessKeyId=...&Expires=...&Signature=..." }
The identifier of the user's certificate (obtained from GET /certificates) to use for signing.
The identifier of the user's certificate (obtained from GET /certificates) to use for signing.
The cryptographic standard to use for the signature.
One-Time Password details for MFA verification.
- Mock server
https://docs.cybersign.gt/_mock/openapi/documents/{doc-ulid}/sign
- Production Server
https://api.cybersign.com/v1/documents/{doc-ulid}/sign
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.cybersign.gt/_mock/openapi/documents/01JE9KCR0H22PDY9C1GYZABCDE/sign \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"file_name": "my-file.pdf",
"certificate_id": "cert_thmb_abc123def456",
"signature_format": "PKCS7",
"otp": {
"value": "123456",
"type": "sms"
},
"visible_signature_options": {
"page_number": 0,
"position_x": 0.4378,
"position_y": 0.3577,
"include_date": true,
"include_initials": false,
"include_motive": true,
"include_signature_graphic": true,
"motive": "Aprobación de documento"
}
}'{ "message": "Document signed successfully.", "doc_ulid": "01JE9KCR0H22PDY9C1GYZABCDE" }