Create comment screenshot link
Changed on<Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>
Returns a signed link to a thread's screenshot that works for one year, for pasting somewhere that outlives the one-hour links in List comments. Each call creates a new link, and a link can't be revoked before it expires.
The link opens the screenshot for anyone who has it, so share it only where that's fine.
This is limited to 120 requests per minute per app, shared by every other comments endpoint. A signed-in session has its own limit, and every personal access token for the workspace shares one. Some workspaces have a different limit. Every request that counts against the limit gets X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (Unix time in seconds) headers, and a 429 also gets Retry-After in seconds. If the limiter itself is unavailable, requests go through without these headers.
<Note>Call this as an editor of the app, with a personal access token sent as a Bearer token or from a signed-in session. Viewers in the app's workspace, read-only tokens, and workspace API keys are refused.</Note>
Request
- Base URLhttps://app.base44.com
- URLhttps://app.base44.com/api/apps/{app_id}/comments/threads/{thread_id}/chat-screenshot-url
- AuthHTTP bearer
Path parameters
ID of the app.
ID of the comment thread, from thread.id in List comments called with the same branch_id.
Query parameters
ID of the branch to work on, as returned by List branches. Omit it to work on the app's main branch.
Response
The link, or null when there's no screenshot.
Example response
{
"url": "https://static.base44.com/images/private/6820f3a4e7b91d003c45a1f2/4b1e9c2a7_shot.png?token=eyJhbGciOi"
}Changes
- info
added the new optional
queryrequest parameterbranch_id
- info
- info
the endpoint scheme security
PersonalAccessTokenAuthwas added to the API
- info