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
Path Parameters
Response
Passport version sealed.