Surepass
Stamps

Download stamp PDF

GET
/api/v1/stamps/download-pdf

Get the vendor-provided download URL for a completed stamp PDF. PDF bytes are not streamed through the API. The response contains a short-lived signed URL.

Pass the stamp instance ID (stamps[].stamp_id from order-status or list), not the order ID.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Bearer token authentication. Paste your access token below.

Query Parameters

client_id*string

Stamp instance client ID (stamp_inst_...).

Response Body

Signed download URL for the stamp PDF.

application/json
  1. response

Standard response envelope.

status_code?integer

HTTP status code echoed in the response body.

message?string

Human-readable result message.

success?boolean

true when the request succeeded.

data?
Example Request
curl -X GET 'https://prod-esign-api-v2.surepass.app/api/v1/stamps/download-pdf?client_id=string'
Example Response
{
  "data": {
    "stamp_id": "stamp_inst_uNeOUwjMVGNFexnxFSCP",
    "url": "https://example-bucket.s3.amazonaws.com/sample-estamp.pdf?X-Amz-Signature=...",
    "expires_in": 3600,
    "page_count": 1
  },
  "status_code": 200,
  "message": "Success",
  "success": true
}