Api reference
List images from a workspace's chats, newest first
GET
/v1/workspaces/{workspaceId}/photosAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
workspaceId*string
Query Parameters
before?string
Opaque nextBefore cursor from a previous page.
limit?integer
Range
1 <= value <= 200Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/workspaces/string/photos"{ "photos": [ { "attachment": { "fileId": "string", "name": "string", "mimeType": "string", "sizeBytes": 0, "kind": "image" }, "sessionId": "string", "itemId": "string", "createdAt": "string", "source": "message" } ], "nextBefore": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}{ "error": "string"}