SealRoute Docs
  • Getting Started
  • API Reference
  • SDKs
  • Guides
  • VIDA
  • Embedding
  • Webhooks
Information
Submissions
    List all submissionsgetCreate a submissionpostGet a submissiongetArchive a submissiondeleteGet submission documentsgetCreate submissions from emailspostCreate a submission from PDFpostCreate a submission from DOCXpostCreate a submission from HTMLpost
Submitters
    Get a submittergetUpdate a submitterputList all submittersget
Templates
    List all templatesgetGet a templategetUpdate a templateputArchive a templatedeleteCreate a template from PDFpostCreate a template from Word DOCXpostCreate a template from HTMLpostUpdate template documentsputClone a templatepostMerge templatespost
e-Meterai Stamps
    List e-Meterai stampsgetStamp a PDF with e-MeteraipostGet an e-Meterai stampget
powered by Zudoku
SealRoute API
SealRoute API

e-Meterai Stamps

Apply an e-Meterai stamp to a PDF directly, without a signing workflow or VIDA verification. Each stamp uses one e-Meterai credit.


List e-Meterai stamps

GET
https://sealroute.com
/emeterai_stamps

The API endpoint returns the e-Meterai stamps of the account, newest first.

List e-Meterai stamps › query Parameters

limit
​integer

The number of stamps to return. Default value is 10. Maximum value is 100.

after
​integer

The unique identifier of the stamp to start the list from.

before
​integer

The unique identifier of the stamp to end the list with.

List e-Meterai stamps › Responses

200

OK

​object[]
​object
GET/emeterai_stamps
curl --request GET \ --url https://sealroute.com/emeterai_stamps
shell
Example Responses
{ "data": [ { "id": 0, "status": "pending", "filename": "filename", "code_document": "VD010", "page": 0, "x": 0, "y": 0, "serial_number": "serial_number", "error": "error", "document_url": "document_url", "created_at": "created_at", "updated_at": "updated_at" } ], "pagination": { "count": 0, "next": 0, "prev": 0 } }
json
application/json

Stamp a PDF with e-Meterai

POST
https://sealroute.com
/emeterai_stamps

The API endpoint queues an e-Meterai stamp for the uploaded PDF. Poll the stamp until its status is stamped, then download document_url.

Stamp a PDF with e-Meterai › Request Body

file
​string · required

Base64-encoded PDF.

filename
​string

File name of the PDF.

Example: agreement.pdf
code_document
​string

Peruri document type code. The account default is used if not specified.

Example: VD010
page
​string

Page number, or last for the last page. Defaults to 1.

Example: 1
x
​number

Stamp X position in PDF points from the bottom-left corner. Give both x and y, or neither to use the bottom margin.

y
​number

Stamp Y position in PDF points from the bottom-left corner.

Stamp a PDF with e-Meterai › Responses

Created

id
​integer · required

Unique identifier of the stamp.

status
​string · enum · required

Stamping status.

Enum values:
pending
stamped
failed
filename
​string · required

Name of the uploaded PDF.

code_document
​string · required

Peruri document type code.

Example: VD010
page
​integer · required

Page the stamp is placed on.

created_at
​string · required

Creation date.

updated_at
​string · required

Last update date.

x
​number | null

Stamp X position in PDF points from the bottom-left corner.

y
​number | null

Stamp Y position in PDF points from the bottom-left corner.

serial_number
​string | null

Peruri serial number, set once stamped.

error
​string | null

Failure reason when status is failed.

document_url
​string | null

Download URL of the stamped PDF, set once stamped.

POST/emeterai_stamps
curl --request POST \ --url https://sealroute.com/emeterai_stamps \ --header 'Content-Type: application/json' \ --data ' { "file": "file", "filename": "agreement.pdf", "code_document": "VD010", "page": "1", "x": 0, "y": 0 } '
shell
Example Request Body
{ "file": "file", "filename": "agreement.pdf", "code_document": "VD010", "page": "1", "x": 0, "y": 0 }
json
Example Responses
{ "id": 0, "status": "pending", "filename": "filename", "code_document": "VD010", "page": 0, "x": 0, "y": 0, "serial_number": "serial_number", "error": "error", "document_url": "document_url", "created_at": "created_at", "updated_at": "updated_at" }
json
application/json

Get an e-Meterai stamp

GET
https://sealroute.com
/emeterai_stamps/{id}

The API endpoint returns the status of a stamp and, once stamped, the download URL.

Get an e-Meterai stamp › path Parameters

id
​integer · required

The unique identifier of the stamp.

Get an e-Meterai stamp › Responses

200

OK

id
​integer · required

Unique identifier of the stamp.

status
​string · enum · required

Stamping status.

Enum values:
pending
stamped
failed
filename
​string · required

Name of the uploaded PDF.

code_document
​string · required

Peruri document type code.

Example: VD010
page
​integer · required

Page the stamp is placed on.

created_at
​string · required

Creation date.

updated_at
​string · required

Last update date.

x
​number | null

Stamp X position in PDF points from the bottom-left corner.

y
​number | null

Stamp Y position in PDF points from the bottom-left corner.

serial_number
​string | null

Peruri serial number, set once stamped.

error
​string | null

Failure reason when status is failed.

document_url
​string | null

Download URL of the stamped PDF, set once stamped.

GET/emeterai_stamps/{id}
curl --request GET \ --url https://sealroute.com/emeterai_stamps/:id
shell
Example Responses
{ "id": 0, "status": "pending", "filename": "filename", "code_document": "VD010", "page": 0, "x": 0, "y": 0, "serial_number": "serial_number", "error": "error", "document_url": "document_url", "created_at": "created_at", "updated_at": "updated_at" }
json
application/json

Templates