Share a surface
Mints a time-limited signed share URL for an app surface that the caller can hand out, without making the surface publicly visible. Scoped to the caller’s workspace, and the caller must be able to access the surface’s backing conversation. The optional ttl_secs sets the validity window, defaulting to 7 days and constrained to between 1 minute and 30 days (out-of-range values are rejected). Returns the surface id, the tokenized URL, and its expiry as a Unix timestamp. Returns 404 if the surface is not found.
Authorizations
Personal Access Token. Send as Authorization: Bearer hq_pat_....
Path Parameters
Surface id
Body
Seconds the signed URL stays valid for. None defaults to 7 days; clamped to the [1 min, 30 day] inclusive range. Anything outside that range is rejected so a typo in the SPA can't mint a year-long link.