Skip to main content

Certificate signature

Sign a document of MobbSign Server with a stored certificate.

Sign with a certificate​

POST/sign/certificate/{documentId} API key + App ID

Signs 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

  • documentIdstringRequired

    Identifier of the document to sign.

Request bodyapplication/json

  • certificateIdstringRequired

    Identifier of the certificate.

  • passwordstringRequired

    Password of the certificate.

  • pinstringRequired

    PIN of the certificate.

Response200 · application/json

  • documentIdstringOptional

    Identifier of the document.

  • statusstringOptional

    Status 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_KEY and APP_ID headers 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
200OKapplication/json
{
"documentId": "6f1c2d3e-4a5b-4c6d-8e7f-90a1b2c3d4e5",
"status": "SIGNED"
}