Providers

Chave Mobile Digital

Portugese official electronic signature provider.

Chave Mobile Digital

chave móvel digital or Digital Mobile Key is the official portuguese digital signature service.

autenticacao.gov.pt web page

component

Ready to sign ?

Be ready to enter your PIN code, then you will recieve an OTP code on your mobile phone.

websocket API

Conversational API to sign a PDF with Chave Movel Digital service.

Sample websocket session :

--> connection
<-- { "state": "start" }
--> { "start": "", "auto_screenshot": 1}
<-- { "state": "stage1_input" }
--> { "phone": "+33 607650693", "pin": "1234", "pdf_file_path": "/session/path/to/file.pdf", "jwt": "xxx" }
<-- { "state": "stage1", "status": "OK", "progress": "root_page" }
<-- { "state": "stage1", "status": "OK", "progress": "credentials_page" }
<-- { "state": "stage1_input", "status": "OK", "progress": "upload_page" }
<-- { "state": "stage2", "status": "OK", "progress": "..." }
--> { "screenshot": "" }
<-- { "state": "screenshot", "screenshot": "..." }
<-- { "state": "stage2_input", "status": "OK", "progress": "otp" }
--> { "otp": "12345678" }
<-- { "state": "stage2", "status": "OK", "progress": "..." }
<-- { "state": "done", "status": "OK" }

TODO

Other possible queries :

--> { "upload_local": "..." }
--> { "upload_s3": "..." }

--> { "ping": "any message ..." }
<-- { "status": "OK", "progress": "any message" }

--> { "screenshot": "" }
<-- { "status": "OK", "screenshot": "xxxx" }

misc

usefull links :

manuel steps

API steps