Skip to main content
GET
/
api
/
passport
/
{id}
Fetch a passport
curl --request GET \
  --url https://signsealship.com/api/passport/{id} \
  --header 'Authorization: Bearer <token>'
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://signsealship.com/api/passport/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://signsealship.com/api/passport/{id}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
{
  "passportId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "verifyCode": "<string>",
  "verifyUrl": "<string>",
  "docSha256": "<string>",
  "sealedSha256": "<string>",
  "status": "sealed",
  "createdAt": "2023-11-07T05:31:56Z"
}
{
"error": "A valid partner API key is required."
}
{
"error": "<string>"
}

Authorizations

Authorization
string
header
required

Partner API key. Send as Authorization: Bearer sss_pk_....

Path Parameters

id
string<uuid>
required

The passport's UUID from the seal response.

Response

The passport (seal fields minus timestamps, plus createdAt).

passportId
string<uuid>
verifyCode
string
verifyUrl
string
docSha256
string
sealedSha256
string
status
string
Example:

"sealed"

createdAt
string<date-time>