Skip to content

UANATACA eSAW ONE-SHOT API DOCUMENTATION (v1)

eSAW One-Shot combines Uanataca single-use certificate issuance with eSignAnywhere (eSAW) for electronic signatures.

Testing: Uanataca https://api.sandbox.modernpki.com, eSAW https://demo.esignanywhere.net Production: Uanataca https://api.modernpki.com, eSAW https://saas.esignanywhere.net

Uanataca endpoints use client certificate authentication; eSAW endpoints use the ApiToken header.

Download OpenAPI description
Languages
Servers

https://docs.namirial.app/

Create

Create a certificate request and obtain esaw_token for use in the envelope

Operations

Request

Creates a certificate request for the signer. The response includes req_pk and esaw_token. Use esaw_token as requestToken in the envelope's SignaturePluginData (GenericSigningPluginBit4idOneShot) when sending the envelope.

Bodyapplication/jsonrequired
object

Request body must include rao, documents (optional), and request with profile, registration_authority, user data, id_document_type, etc.

curl -i -X POST \
  https://api.sandbox.modernpki.com/api/v1/esawoneshot \
  -H 'Content-Type: application/json' \
  -d '{
    "rao": {
      "username": "12345678",
      "password": "pwd123456",
      "pin": "18s876d4"
    },
    "request": {
      "profile": "PFnubeNC",
      "registration_authority": 1012,
      "communication_language": "ES",
      "id_document_type": "IDC",
      "id_document_country": "ES",
      "serial_number": "12976587A",
      "given_name": "John",
      "surname_1": "Smith",
      "surname_2": "Smith",
      "email": "test@test.com",
      "mobile_phone_number": "+34666777888"
    }
  }'

Responses

Certificate request created successfully

Bodyapplication/json
statusstring
Example: "ok"
req_pkinteger
Example: 113929
esaw_tokenstring

Token to pass as requestToken in the envelope's SignaturePluginData

Example: "ba4019803aaf2cd0a9755a688c8963901bfef4b942d7d2179e4e1e44c602"
Response
application/json
{ "status": "ok", "req_pk": 113929, "esaw_token": "ba4019803aaf2cd0a9755a688c8963901bfef4b942d7d2179e4e1e44c602" }

Files

Upload files for use in envelopes

Operations
Operations