Seal a passport version
curl --request POST \
--url https://signsealship.com/api/rooms/{roomCode}/passport \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://signsealship.com/api/rooms/{roomCode}/passport', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://signsealship.com/api/rooms/{roomCode}/passport"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"version": 123,
"verifyCode": "<string>",
"verifyUrl": "<string>",
"manifestSha256": "<string>",
"prevManifestSha256": "<string>",
"sealedSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "A valid partner API key is required."
}{
"error": "<string>"
}Endpoints
Seal a passport version
Mint the next Closing Passport version for a room — a dated, hash-chained, KMS-sealed snapshot, never an overwrite. Capped at 20 versions per room. Requires your partner key; the room must be yours.
POST
/
api
/
rooms
/
{roomCode}
/
passport
Seal a passport version
curl --request POST \
--url https://signsealship.com/api/rooms/{roomCode}/passport \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://signsealship.com/api/rooms/{roomCode}/passport', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://signsealship.com/api/rooms/{roomCode}/passport"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"version": 123,
"verifyCode": "<string>",
"verifyUrl": "<string>",
"manifestSha256": "<string>",
"prevManifestSha256": "<string>",
"sealedSha256": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}{
"error": "<string>"
}{
"error": "A valid partner API key is required."
}{
"error": "<string>"
}Authorizations
Partner API key. Send as Authorization: Bearer sss_pk_....
Path Parameters
The room's bearer code (40 lowercase hex characters; the read endpoint accepts 24–64).
Response
Passport version sealed.
The new version number, incrementing per room.
26 lowercase base32 characters (128 bits).
/v/room/{verifyCode}.
The prior version's manifestSha256 — the hash-chain link. null on version 1.