Certificate signature
Sign a document of MobbSign Server with a stored certificate.
Sign with a certificate
POST
/sign/certificate/{documentId} API key + App IDSigns a document with a certificate. The document must have been uploaded first. The request carries the password and the PIN of the certificate.
Path parameters
documentIdstringRequiredIdentifier of the document to sign.
Request bodyapplication/json
certificateIdstringRequiredIdentifier of the certificate.
passwordstringRequiredPassword of the certificate.
pinstringRequiredPIN of the certificate.
Response200 · application/json
documentIdstringOptionalIdentifier of the document.
statusstringOptionalStatus of the document.
PENDINGWaiting for signatures.IN_PROGRESSSome signers have signed.SIGNEDSigned by every signer.REJECTEDRejected.DELETEDDeleted.
Status codes
- 200The document has been signed.
- 401The
API_KEYandAPP_IDheaders are missing or are not valid. - 403Your credentials do not have permission for this resource.
- 404The document or the certificate does not exist, or does not belong to your
APP_ID.
curl -X POST 'https://mobbsign.mobbeel.com/api/v1/sign/certificate/{documentId}' \
-H 'API_KEY: <API_KEY>' \
-H 'APP_ID: <APP_ID>' \
-H 'Content-Type: application/json' \
-d '{
"certificateId": "c9a8b7d6-5e4f-4a3b-9c2d-1e0f9a8b7c6d",
"password": "certificate-password",
"pin": "1234"
}'
Responses
200OK
application/json{
"documentId": "6f1c2d3e-4a5b-4c6d-8e7f-90a1b2c3d4e5",
"status": "SIGNED"
}