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>

post/api/apps/{app_id}/comments/threads/{thread_id}/chat-screenshot-url

Request

  • Base URL: https://app.base44.com
  • URL: https://app.base44.com/api/apps/{app_id}/comments/threads/{thread_id}/chat-screenshot-url
  • Auth: HTTP bearer

Path parameters

app_idstring required

ID of the app.

thread_idstring required

ID of the comment thread, from thread.id in List comments called with the same branch_id.

Query parameters

branch_idstring

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.

urlstring nullable required

Signed link to the thread's screenshot, valid for one year, or null when the thread has no screenshot.

Example response

{
  "url": "https://static.base44.com/images/private/6820f3a4e7b91d003c45a1f2/4b1e9c2a7_shot.png?token=eyJhbGciOi"
}

Changes

    • breaking

      query request parameter branch_id list-of-types was narrowed by removing types null

    • info

      for the query request parameter branch_id, the type was generalized from no type to string

    • info

      added the new optional query request parameter branch_id