Skip to main content
POST
/
api
/
rooms
/
{roomCode}
/
rotate
Rotate the room link
curl --request POST \
  --url https://signsealship.com/api/rooms/{roomCode}/rotate \
  --header 'Authorization: Bearer <token>'
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};

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

url = "https://signsealship.com/api/rooms/{roomCode}/rotate"

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

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

print(response.text)
{
  "roomCode": "<string>",
  "roomUrl": "<string>"
}
{
"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

roomCode
string
required

The room's bearer code (40 lowercase hex characters; the read endpoint accepts 24–64).

Response

New code issued.

roomCode
string
roomUrl
string